From b3745cd12824d5057e0193ab937d30e68944d413 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 7 May 2024 01:39:14 -0300 Subject: [PATCH 001/110] add polkadot-sdk patch --- Cargo.lock | 5759 ++++++++++++++++++++++++++++++++++++++-------------- Cargo.toml | 365 ++-- 2 files changed, 4370 insertions(+), 1754 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9844744cf8..9fe2445793 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -21,6 +21,15 @@ 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.3", +] + [[package]] name = "addr2line" version = "0.21.0" @@ -266,21 +275,21 @@ dependencies = [ "apollo-platform", "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "liquidity-proxy", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -288,10 +297,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -306,18 +315,223 @@ dependencies = [ "num-traits", ] +[[package]] +name = "aquamarine" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +dependencies = [ + "include_dir", + "itertools", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "arc-swap" version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" +[[package]] +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools", + "num-bigint", + "num-traits", + "paste", + "rustc_version 0.4.0", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-scale" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", +] + +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "ark-transcript", + "digest 0.10.7", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3 0.10.8", +] + [[package]] name = "array-bytes" version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" +[[package]] +name = "array-bytes" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" + [[package]] name = "arrayref" version = "0.3.7" @@ -437,23 +651,23 @@ dependencies = [ name = "assets" version = "1.3.1" dependencies = [ - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tiny-keccak", ] @@ -462,30 +676,30 @@ name = "assets-rpc" version = "0.1.0" dependencies = [ "assets-runtime-api", - "common", + "common 0.1.0", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "assets-runtime-api" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -744,24 +958,46 @@ dependencies = [ name = "band" version = "1.0.1" dependencies = [ - "common", + "common 0.1.0", "fallible-iterator 0.3.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "oracle-proxy", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "xst", ] +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.1" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff", + "ark-scale 0.0.12", + "ark-serialize", + "ark-std", + "dleq_vrf", + "fflonk", + "merlin 3.0.0", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "ring 0.1.0", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "base-x" version = "0.2.11" @@ -774,6 +1010,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + [[package]] name = "base58" version = "0.2.0" @@ -812,31 +1054,31 @@ name = "beefy-gadget" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "async-trait", "fnv", "futures 0.3.30", "log", "parity-scale-codec", "parking_lot 0.12.2", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-keystore", "sc-network", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-gossip", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-beefy", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "wasm-timer", ] @@ -854,9 +1096,9 @@ dependencies = [ "parking_lot 0.12.2", "sc-rpc", "serde", - "sp-beefy", - "sp-core", - "sp-runtime", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -866,22 +1108,22 @@ version = "0.1.0" source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "anyhow", - "beefy-merkle-tree", + "beefy-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "bridge-common", "bridge-types", "ckb-merkle-mountain-range", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -893,11 +1135,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -909,9 +1151,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "beefy-merkle-tree" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "sp-api 4.0.0-dev", + "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -919,9 +1171,9 @@ name = "beefy-merkle-tree" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "sp-api", - "sp-beefy", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -1104,6 +1356,18 @@ dependencies = [ "tracing", ] +[[package]] +name = "bounded-collections" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "bridge-channel" version = "0.1.1" @@ -1111,20 +1375,20 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "once_cell", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "rlp", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -1134,15 +1398,15 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bitvec", "bridge-types", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", - "sp-core", - "sp-io", - "sp-runtime", + "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -1152,16 +1416,16 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bridge-common", "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -1171,25 +1435,25 @@ dependencies = [ "assets", "bridge-channel", "bridge-types", - "common", + "common 0.1.0", "dispatch", "evm-fungible-app", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-keyring", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "xcm", ] @@ -1200,17 +1464,17 @@ version = "0.1.0" dependencies = [ "bridge-proxy-runtime-api", "bridge-types", - "common", + "common 0.1.0", "jsonrpsee", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -1221,9 +1485,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -1236,8 +1500,8 @@ dependencies = [ "ethash", "ethbloom", "ethereum-types", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "getrandom 0.2.14", "hex-literal", "libsecp256k1", @@ -1248,11 +1512,11 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "xcm", ] @@ -1262,6 +1526,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + [[package]] name = "bstr" version = "1.9.1" @@ -1300,6 +1573,12 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" +[[package]] +name = "bytemuck" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" + [[package]] name = "byteorder" version = "1.5.0" @@ -1383,18 +1662,18 @@ dependencies = [ "assets", "ceres-governance-platform", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -1402,10 +1681,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -1417,28 +1696,28 @@ dependencies = [ "assets", "ceres-liquidity-locker", "ceres-token-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -1450,17 +1729,17 @@ version = "1.2.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -1468,10 +1747,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -1482,29 +1761,29 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "getrandom 0.2.14", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -1514,22 +1793,22 @@ name = "ceres-staking" version = "1.0.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -1539,27 +1818,27 @@ version = "1.2.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -1581,6 +1860,15 @@ dependencies = [ "smallvec", ] +[[package]] +name = "cfg-expr" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +dependencies = [ + "smallvec", +] + [[package]] name = "cfg-if" version = "1.0.0" @@ -1769,15 +2057,15 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "paste", "rustc-hex", @@ -1785,17 +2073,37 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "static_assertions", "strum 0.25.0", "thiserror", ] +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + [[package]] name = "concurrent-queue" version = "2.4.0" @@ -1811,6 +2119,26 @@ version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" +[[package]] +name = "const-random" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom 0.2.14", + "once_cell", + "tiny-keccak", +] + [[package]] name = "constant_time_eq" version = "0.1.5" @@ -1878,7 +2206,16 @@ version = "0.88.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.88.2", +] + +[[package]] +name = "cranelift-bforest" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" +dependencies = [ + "cranelift-entity 0.95.1", ] [[package]] @@ -1889,14 +2226,34 @@ checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" dependencies = [ "arrayvec 0.7.4", "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-entity", - "cranelift-isle", + "cranelift-bforest 0.88.2", + "cranelift-codegen-meta 0.88.2", + "cranelift-codegen-shared 0.88.2", + "cranelift-entity 0.88.2", + "cranelift-isle 0.88.2", "gimli 0.26.2", "log", - "regalloc2", + "regalloc2 0.3.2", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" +dependencies = [ + "bumpalo", + "cranelift-bforest 0.95.1", + "cranelift-codegen-meta 0.95.1", + "cranelift-codegen-shared 0.95.1", + "cranelift-entity 0.95.1", + "cranelift-isle 0.95.1", + "gimli 0.27.3", + "hashbrown 0.13.2", + "log", + "regalloc2 0.6.1", "smallvec", "target-lexicon", ] @@ -1907,7 +2264,16 @@ version = "0.88.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" dependencies = [ - "cranelift-codegen-shared", + "cranelift-codegen-shared 0.88.2", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" +dependencies = [ + "cranelift-codegen-shared 0.95.1", ] [[package]] @@ -1916,6 +2282,12 @@ version = "0.88.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" +[[package]] +name = "cranelift-codegen-shared" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" + [[package]] name = "cranelift-entity" version = "0.88.2" @@ -1925,13 +2297,34 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +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", + "cranelift-codegen 0.88.2", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-frontend" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" +dependencies = [ + "cranelift-codegen 0.95.1", "log", "smallvec", "target-lexicon", @@ -1944,12 +2337,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470" [[package]] -name = "cranelift-native" -version = "0.88.2" +name = "cranelift-isle" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" + +[[package]] +name = "cranelift-native" +version = "0.88.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" dependencies = [ - "cranelift-codegen", + "cranelift-codegen 0.88.2", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-native" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" +dependencies = [ + "cranelift-codegen 0.95.1", "libc", "target-lexicon", ] @@ -1960,14 +2370,30 @@ version = "0.88.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b" dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", + "cranelift-codegen 0.88.2", + "cranelift-entity 0.88.2", + "cranelift-frontend 0.88.2", + "itertools", + "log", + "smallvec", + "wasmparser 0.89.1", + "wasmtime-types 1.0.2", +] + +[[package]] +name = "cranelift-wasm" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" +dependencies = [ + "cranelift-codegen 0.95.1", + "cranelift-entity 0.95.1", + "cranelift-frontend 0.95.1", "itertools", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.102.0", + "wasmtime-types 8.0.1", ] [[package]] @@ -2037,6 +2463,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -2251,28 +2689,28 @@ version = "1.0.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -2284,29 +2722,29 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -2392,6 +2830,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "derive_builder" version = "0.11.2" @@ -2442,30 +2891,30 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "strum 0.25.0", "technical", ] @@ -2474,17 +2923,17 @@ dependencies = [ name = "dex-api-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "dex-runtime-api", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -2492,40 +2941,40 @@ name = "dex-manager" version = "0.2.0" dependencies = [ "assets", - "common", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "dex-manager-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "dex-manager-runtime-api", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -2535,22 +2984,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "dex-runtime-api" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -2584,6 +3033,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -2635,16 +3085,16 @@ version = "0.1.1" source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -2658,12 +3108,56 @@ dependencies = [ "syn 2.0.60", ] +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-scale 0.0.10", + "ark-secret-scalar", + "ark-serialize", + "ark-std", + "ark-transcript", + "arrayvec 0.7.4", + "rand_core 0.6.4", + "zeroize", +] + [[package]] name = "doc-comment" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" +[[package]] +name = "docify" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" +dependencies = [ + "common-path", + "derive-syn-parse 0.2.0", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.60", + "termcolor", + "toml 0.8.12", + "walkdir", +] + [[package]] name = "downcast" version = "0.11.0" @@ -2716,11 +3210,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ "der 0.6.1", - "elliptic-curve", - "rfc6979", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", "signature 1.6.4", ] +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.9", + "digest 0.10.7", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", +] + [[package]] name = "ed25519" version = "1.5.3" @@ -2806,18 +3314,37 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ - "base16ct", - "crypto-bigint", + "base16ct 0.1.1", + "crypto-bigint 0.4.9", "der 0.6.1", "digest 0.10.7", - "ff", + "ff 0.12.1", "generic-array 0.14.7", - "group", + "group 0.12.1", "hkdf", "pem-rfc7468", "pkcs8 0.9.0", "rand_core 0.6.4", - "sec1", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.5", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.7", + "group 0.13.0", + "pkcs8 0.10.2", + "rand_core 0.6.4", + "sec1 0.7.3", "subtle", "zeroize", ] @@ -2917,16 +3444,16 @@ dependencies = [ "assets", "async-std", "bridge-types", - "common", + "common 0.1.0", "env_logger", "ethabi", "ethabi-contract", "ethabi-derive", "ethereum-types", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -2934,11 +3461,11 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-multisig 3.2.3", "pallet-scheduler", "pallet-sudo", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "parity-util-mem", "parking_lot 0.12.2", @@ -2948,9 +3475,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", - "sp-keystore", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tiny-keccak", "tokio", ] @@ -2959,18 +3486,18 @@ dependencies = [ name = "eth-bridge-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "eth-bridge", "eth-bridge-runtime-api", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -2980,9 +3507,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3127,9 +3654,9 @@ dependencies = [ "bridge-types", "dispatch", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-traits", @@ -3138,10 +3665,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3153,6 +3680,19 @@ dependencies = [ "futures 0.3.30", ] +[[package]] +name = "expander" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "fake-simd" version = "0.1.2" @@ -3177,13 +3717,13 @@ version = "1.2.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", "env_logger", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "log", "mock-liquidity-source", @@ -3191,9 +3731,9 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-scheduler", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -3201,11 +3741,11 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -3218,9 +3758,9 @@ dependencies = [ "farming-runtime-api", "jsonrpsee", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3229,8 +3769,8 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3253,25 +3793,25 @@ name = "faucet" version = "0.1.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "rewards", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -3294,6 +3834,29 @@ dependencies = [ "subtle", ] +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fflonk" +version = "0.1.0" +source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "merlin 3.0.0", +] + [[package]] name = "fiat-crypto" version = "0.2.8" @@ -3418,28 +3981,52 @@ 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" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", + "linregress 0.5.3", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "static_assertions", +] + [[package]] name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", - "linregress", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "linregress 0.4.4", "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", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "static_assertions", ] @@ -3449,13 +4036,13 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "Inflector", - "array-bytes", + "array-bytes 4.2.0", "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "gethostname", "handlebars", "itertools", @@ -3467,25 +4054,25 @@ dependencies = [ "rand_pcg", "sc-block-builder", "sc-cli", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-client-db", - "sc-executor", + "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "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", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "thousands", ] @@ -3507,15 +4094,15 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3523,16 +4110,16 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3547,6 +4134,18 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-metadata" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" @@ -3556,23 +4155,62 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "substrate-rpc-client", "tokio", ] +[[package]] +name = "frame-support" +version = "4.0.0-dev" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural 4.0.0-dev", + "impl-trait-for-tuples", + "k256 0.13.3", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-core-hashing-proc-macro 9.0.0", + "sp-debug-derive 8.0.0", + "sp-genesis-builder", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-metadata-ir", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-weights 20.0.0", + "static_assertions", + "tt-call", +] + [[package]] name = "frame-support" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "bitflags 1.3.2", - "frame-metadata", - "frame-support-procedural", + "frame-metadata 15.1.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "impl-trait-for-tuples", - "k256", + "k256 0.11.6", "log", "once_cell", "parity-scale-codec", @@ -3580,48 +4218,85 @@ dependencies = [ "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-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tt-call", ] +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "cfg-expr 0.15.8", + "derive-syn-parse 0.1.5", + "expander", + "frame-support-procedural-tools 4.0.0-dev", + "itertools", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "frame-support-procedural" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "Inflector", - "cfg-expr", - "derive-syn-parse", - "frame-support-procedural-tools", + "cfg-expr 0.10.3", + "derive-syn-parse 0.1.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "itertools", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "proc-macro-crate", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" @@ -3632,21 +4307,39 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "frame-system" +version = "4.0.0-dev" +dependencies = [ + "cfg-if", + "frame-support 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version 22.0.0", + "sp-weights 20.0.0", +] + [[package]] name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] @@ -3655,14 +4348,14 @@ name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3671,7 +4364,7 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3679,11 +4372,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -3704,7 +4397,7 @@ dependencies = [ "cargo-platform", "clap", "clap_lex", - "common", + "common 0.1.0", "derive_more", "dex-api-rpc", "dex-manager-rpc", @@ -3712,7 +4405,7 @@ dependencies = [ "eth-bridge-rpc", "exit-future", "farming-rpc", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "frame-benchmarking-cli", "frame-remote-externalities", "framenode-chain-spec", @@ -3741,13 +4434,13 @@ dependencies = [ "sc-basic-authorship", "sc-chain-spec", "sc-cli", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-client-db", - "sc-consensus", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-slots", - "sc-executor", + "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-finality-grandpa", "sc-informant", "sc-network", @@ -3758,28 +4451,28 @@ dependencies = [ "sc-transaction-pool", "serde", "serde_json", - "sp-api", - "sp-arithmetic", - "sp-beefy", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-finality-grandpa", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", - "sp-timestamp", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-transaction-pool", - "sp-trie", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "substrate-bip39", "substrate-build-script-utils", "substrate-frame-rpc-system", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "tokio", "trading-pair-rpc", @@ -3793,9 +4486,9 @@ dependencies = [ name = "framenode-chain-spec" version = "3.3.0" dependencies = [ - "common", + "common 0.1.0", "faucet", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-runtime", "hex-literal", "iroha-migration", @@ -3812,9 +4505,9 @@ dependencies = [ "serde_json", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "xor-fee", ] @@ -3840,7 +4533,7 @@ dependencies = [ "ceres-liquidity-locker-benchmarking", "ceres-staking", "ceres-token-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "demeter-farming-platform-benchmarking", "dex-api", @@ -3855,12 +4548,12 @@ dependencies = [ "farming", "farming-runtime-api", "faucet", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "frame-election-provider-support", "frame-executive", "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -3891,7 +4584,7 @@ dependencies = [ "pallet-authorship", "pallet-babe", "pallet-bags-list", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-beefy", "pallet-beefy-mmr", "pallet-collective", @@ -3912,7 +4605,7 @@ dependencies = [ "pallet-session", "pallet-staking", "pallet-sudo", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-utility", @@ -3932,23 +4625,23 @@ dependencies = [ "rewards-runtime-api", "scale-info", "serde", - "sp-api", - "sp-beefy", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-inherents", - "sp-mmr-primitives", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-npos-elections", - "sp-offchain", - "sp-runtime", + "sp-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-session", - "sp-staking", - "sp-std", - "sp-tracing", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-transaction-pool", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "static_assertions", "substrate-bridge-app", "substrate-bridge-channel", @@ -3964,6 +4657,15 @@ dependencies = [ "xst-benchmarking", ] +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] + [[package]] name = "fs2" version = "0.4.3" @@ -4138,12 +4840,12 @@ dependencies = [ "chrono", "clap", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-runtime", "num-format", "pallet-staking", - "sp-io", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -4163,6 +4865,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -4230,6 +4933,17 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +dependencies = [ + "fallible-iterator 0.2.0", + "indexmap 1.9.3", + "stable_deref_trait", +] + [[package]] name = "gimli" version = "0.28.1" @@ -4273,7 +4987,18 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ - "ff", + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", "rand_core 0.6.4", "subtle", ] @@ -4317,6 +5042,12 @@ version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +[[package]] +name = "hash-db" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" + [[package]] name = "hash256-std-hasher" version = "0.15.2" @@ -4340,6 +5071,9 @@ name = "hashbrown" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.5", +] [[package]] name = "hashbrown" @@ -4360,19 +5094,19 @@ dependencies = [ "assets", "ceres-governance-platform", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hermes-governance-platform", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -4380,10 +5114,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -4688,6 +5422,25 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "include_dir" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +dependencies = [ + "proc-macro2", + "quote", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -4801,17 +5554,17 @@ name = "iroha-migration" version = "0.1.0" dependencies = [ "assets", - "common", + "common 0.1.0", "ed25519-dalek-iroha", "eth-bridge", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-multisig 4.0.0-dev", "parity-scale-codec", "parity-util-mem", @@ -4820,10 +5573,10 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -4831,20 +5584,20 @@ dependencies = [ name = "iroha-migration-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "iroha-migration-runtime-api", "jsonrpsee", - "sp-api", - "sp-blockchain", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "iroha-migration-runtime-api" version = "0.1.0" dependencies = [ - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -5034,8 +5787,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" dependencies = [ "cfg-if", - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.8", +] + +[[package]] +name = "k256" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +dependencies = [ + "cfg-if", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", + "once_cell", "sha2 0.10.8", ] @@ -5053,22 +5819,22 @@ name = "kensetsu" version = "0.0.1" dependencies = [ "assets", - "common", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -5077,18 +5843,18 @@ name = "kensetsu-benchmarking" version = "0.1.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "kensetsu", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "pool-xyk", "price-tools", - "sp-arithmetic", - "sp-core", - "sp-runtime", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -5154,17 +5920,17 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bridge-types", "ethabi", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -5177,11 +5943,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -5193,9 +5959,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -5261,7 +6027,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" dependencies = [ "asn1_der", - "bs58", + "bs58 0.4.0", "ed25519-dalek 1.0.1", "either", "fnv", @@ -5279,7 +6045,7 @@ dependencies = [ "prost-build", "rand 0.8.5", "rw-stream-sink", - "sec1", + "sec1 0.3.0", "sha2 0.10.8", "smallvec", "thiserror", @@ -5357,7 +6123,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ - "bs58", + "bs58 0.4.0", "ed25519-dalek 2.1.1", "log", "multiaddr 0.17.1", @@ -5787,16 +6553,31 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" dependencies = [ - "nalgebra", + "nalgebra 0.27.1", "statrs", ] [[package]] -name = "linux-raw-sys" -version = "0.0.46" +name = "linregress" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +dependencies = [ + "nalgebra 0.32.5", +] + +[[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 = "linux-raw-sys" version = "0.3.8" @@ -5815,13 +6596,13 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", "fallible-iterator 0.2.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-chain-spec", "framenode-runtime", "hex-literal", @@ -5832,8 +6613,8 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -5841,11 +6622,11 @@ dependencies = [ "qa-tools", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -5857,21 +6638,21 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "liquidity-proxy", "mock-liquidity-source", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -5879,10 +6660,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -5892,31 +6673,31 @@ dependencies = [ name = "liquidity-proxy-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "jsonrpsee", "liquidity-proxy-runtime-api", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "liquidity-proxy-runtime-api" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -5985,6 +6766,54 @@ dependencies = [ "libc", ] +[[package]] +name = "macro_magic" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +dependencies = [ + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "macro_magic_core" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +dependencies = [ + "const-random", + "derive-syn-parse 0.1.5", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "macro_magic_core_macros" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "macro_magic_macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +dependencies = [ + "macro_magic_core", + "quote", + "syn 2.0.60", +] + [[package]] name = "match_cfg" version = "0.1.0" @@ -6068,16 +6897,34 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +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", + "hash-db 0.15.2", "hashbrown 0.12.3", ] +[[package]] +name = "memory-db" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +dependencies = [ + "hash-db 0.16.0", +] + [[package]] name = "memory_units" version = "0.4.0" @@ -6096,6 +6943,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + [[package]] name = "minimal-lexical" version = "0.2.1" @@ -6130,15 +6989,15 @@ dependencies = [ "futures 0.3.30", "log", "parity-scale-codec", - "sc-client-api", + "sc-client-api 4.0.0-dev", "sc-offchain 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-api", - "sp-beefy", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-mmr-primitives", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6150,11 +7009,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-mmr-primitives", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6162,24 +7021,24 @@ name = "mock-liquidity-source" version = "0.1.0" dependencies = [ "assets", - "common", + "common 0.1.0", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -6264,20 +7123,20 @@ version = "0.3.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -6285,11 +7144,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "vested-rewards", @@ -6350,16 +7209,16 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bridge-common", "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6384,13 +7243,29 @@ checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" dependencies = [ "approx", "matrixmultiply", - "nalgebra-macros", + "nalgebra-macros 0.1.0", "num-complex", "num-rational", "num-traits", "rand 0.8.5", "rand_distr", - "simba", + "simba 0.5.1", + "typenum", +] + +[[package]] +name = "nalgebra" +version = "0.32.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros 0.2.1", + "num-complex", + "num-rational", + "num-traits", + "simba 0.8.1", "typenum", ] @@ -6405,6 +7280,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "nalgebra-macros" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "names" version = "0.13.0" @@ -6622,6 +7508,18 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.30.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +dependencies = [ + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", + "memchr", +] + [[package]] name = "object" version = "0.32.2" @@ -6678,20 +7576,20 @@ name = "oracle-proxy" version = "1.0.0" dependencies = [ "band", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6701,23 +7599,23 @@ dependencies = [ "jsonrpsee", "oracle-proxy-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "oracle-proxy-runtime-api" version = "1.0.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6725,24 +7623,24 @@ name = "order-book" version = "0.1.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-chain-spec", "framenode-runtime", "hex-literal", "orml-tokens", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-collective", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -6752,25 +7650,25 @@ name = "order-book-benchmarking" version = "0.1.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-chain-spec", "framenode-runtime", "hex-literal", "order-book", "orml-tokens", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-collective", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -6780,16 +7678,16 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "orml-traits", "orml-utilities", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6797,14 +7695,14 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6812,17 +7710,17 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev", "impl-trait-for-tuples", "num-traits", "orml-utilities", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "xcm", ] @@ -6831,13 +7729,13 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6846,8 +7744,8 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", "sha2 0.10.8", ] @@ -6857,8 +7755,8 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", "sha2 0.10.8", ] @@ -6867,15 +7765,15 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", - "pallet-timestamp", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6883,13 +7781,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6897,23 +7795,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "pallet-authorship", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-babe", "sp-consensus-vrf", - "sp-io", - "sp-runtime", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6922,13 +7820,26 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-balances" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -6936,14 +7847,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6951,15 +7862,15 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", - "sp-runtime", - "sp-std", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6967,10 +7878,10 @@ name = "pallet-beefy-mmr" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", - "beefy-merkle-tree", - "frame-support", - "frame-system", + "array-bytes 4.2.0", + "beefy-merkle-tree 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "pallet-beefy", "pallet-mmr", @@ -6978,11 +7889,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -6990,16 +7901,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7007,17 +7918,17 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7026,17 +7937,17 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7044,17 +7955,17 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7062,22 +7973,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-finality-grandpa", - "sp-io", - "sp-runtime", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7086,14 +7997,14 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7101,19 +8012,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7121,16 +8032,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7138,16 +8049,16 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7155,15 +8066,15 @@ name = "pallet-multisig" version = "3.2.3" source = "git+https://github.com/soramitsu/sora2-frame-pallets.git?branch=polkadot-v0.9.38#9762e3948a5823a312df658862c2d2311267d6aa" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7171,15 +8082,15 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7187,16 +8098,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7204,16 +8115,16 @@ name = "pallet-preimage" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7221,13 +8132,13 @@ name = "pallet-randomness-collective-flip" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7235,15 +8146,15 @@ name = "pallet-scheduler" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] @@ -7252,20 +8163,20 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "impl-trait-for-tuples", "log", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-session", - "sp-staking", - "sp-std", - "sp-trie", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7273,10 +8184,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "orml-traits", "pallet-authorship", @@ -7284,11 +8195,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7296,13 +8207,31 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] @@ -7310,17 +8239,17 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7328,15 +8257,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7347,11 +8276,11 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] @@ -7362,8 +8291,8 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] @@ -7372,15 +8301,15 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7390,9 +8319,9 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-traits", @@ -7401,10 +8330,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "xcm", ] @@ -7621,17 +8550,17 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" name = "permissions" version = "1.1.0" dependencies = [ - "common", - "frame-support", - "frame-system", - "pallet-balances", + "common 0.1.0", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -7849,29 +8778,29 @@ dependencies = [ "assets", "band", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "num-traits", "oracle-proxy", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "price-tools", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "xst", @@ -7883,28 +8812,28 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -7978,31 +8907,31 @@ version = "1.0.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -8027,7 +8956,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ "thiserror", - "toml", + "toml 0.5.11", ] [[package]] @@ -8054,6 +8983,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "proc-macro2" version = "1.0.81" @@ -8182,29 +9122,29 @@ version = "1.1.1" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -8214,28 +9154,28 @@ version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -8244,31 +9184,31 @@ dependencies = [ name = "pswap-distribution-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "jsonrpsee", "parity-scale-codec", "pswap-distribution-runtime-api", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "pswap-distribution-runtime-api" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -8277,26 +9217,26 @@ version = "0.1.0" dependencies = [ "assets", "band", - "common", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-chain-spec", "framenode-runtime", "multicollateral-bonding-curve-pool", "oracle-proxy", "order-book", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "pool-xyk", "price-tools", "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "xst", ] @@ -8564,23 +9504,23 @@ name = "referrals" version = "1.1.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -8595,6 +9535,18 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" +dependencies = [ + "fxhash", + "log", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.10.4" @@ -8645,13 +9597,13 @@ version = "0.1.0" dependencies = [ "anyhow", "clap", - "common", + "common 0.1.0", "dex-manager", "env_logger", "frame-election-provider-support", "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "framenode-runtime", "hex", "jsonrpsee", @@ -8660,10 +9612,10 @@ dependencies = [ "parity-scale-codec", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tokio", "xst", @@ -8684,25 +9636,25 @@ name = "rewards" version = "1.3.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex", "hex-literal", "libsecp256k1", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -8710,30 +9662,30 @@ dependencies = [ name = "rewards-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "jsonrpsee", "parity-scale-codec", "rewards-runtime-api", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "rewards-runtime-api" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -8742,11 +9694,36 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ - "crypto-bigint", + "crypto-bigint 0.4.9", "hmac 0.12.1", "zeroize", ] +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", + "fflonk", + "merlin 3.0.0", +] + [[package]] name = "ring" version = "0.16.20" @@ -8917,6 +9894,20 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "rustix" +version = "0.36.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.8", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", +] + [[package]] name = "rustix" version = "0.37.27" @@ -9044,6 +10035,15 @@ dependencies = [ "rustc_version 0.2.3", ] +[[package]] +name = "safe_arch" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +dependencies = [ + "bytemuck", +] + [[package]] name = "same-file" version = "1.0.6" @@ -9053,14 +10053,24 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "sc-allocator" +version = "4.1.0-dev" +dependencies = [ + "log", + "sp-core 21.0.0", + "sp-wasm-interface 14.0.0", + "thiserror", +] + [[package]] name = "sc-allocator" version = "4.1.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9074,17 +10084,17 @@ dependencies = [ "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-proposer-metrics", "sc-telemetry", - "sc-transaction-pool-api", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "substrate-prometheus-endpoint", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9093,14 +10103,14 @@ version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "parity-scale-codec", - "sc-client-api", - "sp-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9114,8 +10124,8 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9134,7 +10144,7 @@ name = "sc-cli" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "chrono", "clap", "fdlimit", @@ -9146,7 +10156,7 @@ dependencies = [ "rand 0.8.5", "regex", "rpassword", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-client-db", "sc-keystore", "sc-network", @@ -9157,18 +10167,43 @@ dependencies = [ "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde", "serde_json", - "sp-blockchain", - "sp-core", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tiny-bip39", "tokio", ] +[[package]] +name = "sc-client-api" +version = "4.0.0-dev" +dependencies = [ + "fnv", + "futures 0.3.30", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-executor 0.10.0-dev", + "sc-transaction-pool-api 4.0.0-dev", + "sc-utils 4.0.0-dev", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-core 21.0.0", + "sp-database 4.0.0-dev", + "sp-externalities 0.19.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-statement-store", + "sp-storage 13.0.0", + "substrate-prometheus-endpoint 0.10.0-dev", +] + [[package]] name = "sc-client-api" version = "4.0.0-dev" @@ -9179,20 +10214,20 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.2", - "sc-executor", - "sc-transaction-pool-api", + "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-database", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage", - "substrate-prometheus-endpoint", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9200,7 +10235,7 @@ name = "sc-client-db" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "hash-db", + "hash-db 0.15.2", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -9209,16 +10244,41 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.2", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-state-db", "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sc-consensus" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "futures 0.3.30", + "futures-timer", + "libp2p", + "log", + "mockall", + "parking_lot 0.12.2", + "sc-client-api 4.0.0-dev", + "sc-utils 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev", + "thiserror", ] [[package]] @@ -9233,16 +10293,16 @@ dependencies = [ "log", "mockall", "parking_lot 0.12.2", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", - "substrate-prometheus-endpoint", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9256,22 +10316,22 @@ dependencies = [ "log", "parity-scale-codec", "sc-block-builder", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9284,32 +10344,32 @@ dependencies = [ "fork-tree", "futures 0.3.30", "log", - "merlin", + "merlin 2.0.1", "num-bigint", "num-rational", "num-traits", "parity-scale-codec", "parking_lot 0.12.2", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-consensus-epochs", "sc-consensus-slots", "sc-keystore", "sc-telemetry", "schnorrkel", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-babe", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9320,10 +10380,10 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "fork-tree", "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sp-blockchain", - "sp-runtime", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9336,17 +10396,38 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-telemetry", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sc-executor" +version = "0.10.0-dev" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-executor-common 0.10.0-dev", + "sc-executor-wasmtime 0.10.0-dev", + "schnellru", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-io 23.0.0", + "sp-panic-handler 8.0.0", + "sp-runtime-interface 17.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "sp-wasm-interface 14.0.0", + "tracing", ] [[package]] @@ -9357,30 +10438,41 @@ dependencies = [ "lru", "parity-scale-codec", "parking_lot 0.12.2", - "sc-executor-common", + "sc-executor-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "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", + "sc-executor-wasmtime 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tracing", "wasmi", ] +[[package]] +name = "sc-executor-common" +version = "0.10.0-dev" +dependencies = [ + "sc-allocator 4.1.0-dev", + "sp-maybe-compressed-blob 4.1.0-dev", + "sp-wasm-interface 14.0.0", + "thiserror", + "wasm-instrument", +] + [[package]] name = "sc-executor-common" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sc-allocator 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "wasm-instrument", "wasmi", @@ -9392,13 +10484,29 @@ version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "log", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sc-allocator 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-executor-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "wasmi", ] +[[package]] +name = "sc-executor-wasmtime" +version = "0.10.0-dev" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "rustix 0.36.17", + "sc-allocator 4.1.0-dev", + "sc-executor-common 0.10.0-dev", + "sp-runtime-interface 17.0.0", + "sp-wasm-interface 14.0.0", + "wasmtime 8.0.1", +] + [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" @@ -9409,11 +10517,11 @@ dependencies = [ "log", "once_cell", "rustix 0.35.16", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", - "wasmtime", + "sc-allocator 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-executor-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "wasmtime 1.0.2", ] [[package]] @@ -9422,7 +10530,7 @@ version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "ahash 0.8.5", - "array-bytes", + "array-bytes 4.2.0", "async-trait", "dyn-clone", "finality-grandpa", @@ -9435,24 +10543,24 @@ dependencies = [ "rand 0.8.5", "sc-block-builder", "sc-chain-spec", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-gossip", "sc-telemetry", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "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", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9465,10 +10573,10 @@ dependencies = [ "futures 0.3.30", "futures-timer", "log", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9476,13 +10584,13 @@ name = "sc-keystore" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "async-trait", "parking_lot 0.12.2", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9491,7 +10599,7 @@ name = "sc-network" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "async-trait", "asynchronous-codec", "backtrace", @@ -9509,20 +10617,20 @@ dependencies = [ "pin-project", "rand 0.8.5", "sc-block-builder", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde", "serde_json", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "unsigned-varint", "zeroize", @@ -9539,10 +10647,10 @@ dependencies = [ "log", "prost", "prost-build", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "unsigned-varint", ] @@ -9561,15 +10669,15 @@ dependencies = [ "linked_hash_set", "parity-scale-codec", "prost-build", - "sc-consensus", + "sc-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "serde", "smallvec", - "sp-blockchain", - "sp-consensus", - "sp-finality-grandpa", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-finality-grandpa 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev", "thiserror", ] @@ -9587,15 +10695,15 @@ dependencies = [ "linked_hash_set", "parity-scale-codec", "prost-build", - "sc-consensus", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde", "smallvec", - "sp-blockchain", - "sp-consensus", - "sp-finality-grandpa", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9612,8 +10720,8 @@ dependencies = [ "lru", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tracing", ] @@ -9622,19 +10730,19 @@ name = "sc-network-light" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "futures 0.3.30", "libp2p", "log", "parity-scale-codec", "prost", "prost-build", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9643,7 +10751,7 @@ name = "sc-network-sync" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "async-trait", "fork-tree", "futures 0.3.30", @@ -9654,19 +10762,19 @@ dependencies = [ "parity-scale-codec", "prost", "prost-build", - "sc-client-api", - "sc-consensus", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-finality-grandpa", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9675,7 +10783,7 @@ name = "sc-network-transactions" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "futures 0.3.30", "libp2p", "log", @@ -9684,9 +10792,9 @@ dependencies = [ "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus", - "sp-runtime", - "substrate-prometheus-endpoint", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9694,7 +10802,7 @@ name = "sc-offchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "bytes", "fnv", "futures 0.3.30", @@ -9707,14 +10815,14 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", "rand 0.8.5", - "sc-client-api", + "sc-client-api 4.0.0-dev", "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-api", - "sp-core", - "sp-offchain", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-offchain 4.0.0-dev", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "threadpool", "tracing", ] @@ -9724,7 +10832,7 @@ name = "sc-offchain" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "bytes", "fnv", "futures 0.3.30", @@ -9737,14 +10845,14 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", "rand 0.8.5", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api", - "sp-core", - "sp-offchain", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "threadpool", "tracing", ] @@ -9781,7 +10889,7 @@ version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "log", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9796,21 +10904,21 @@ dependencies = [ "parking_lot 0.12.2", "sc-block-builder", "sc-chain-spec", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-rpc-api", "sc-tracing", - "sc-transaction-pool-api", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-offchain", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-session", - "sp-version", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tokio", ] @@ -9822,14 +10930,14 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "sc-chain-spec", - "sc-transaction-pool-api", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -9842,7 +10950,7 @@ dependencies = [ "jsonrpsee", "log", "serde_json", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tokio", "tower", "tower-http", @@ -9853,7 +10961,7 @@ name = "sc-rpc-spec-v2" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "futures 0.3.30", "futures-util", "hex", @@ -9862,14 +10970,14 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", "sc-chain-spec", - "sc-client-api", - "sc-transaction-pool-api", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tokio-stream", ] @@ -9892,10 +11000,10 @@ dependencies = [ "rand 0.8.5", "sc-block-builder", "sc-chain-spec", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-client-db", - "sc-consensus", - "sc-executor", + "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-informant", "sc-keystore", "sc-network", @@ -9913,26 +11021,26 @@ dependencies = [ "sc-telemetry", "sc-tracing", "sc-transaction-pool", - "sc-transaction-pool-api", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-session", - "sp-state-machine", - "sp-storage", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "static_init", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "tempfile", "thiserror", "tokio", @@ -9948,7 +11056,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.2", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -9962,7 +11070,7 @@ dependencies = [ "nix 0.26.4", "sc-client-db", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tokio", ] @@ -9981,9 +11089,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -10020,16 +11128,16 @@ dependencies = [ "parking_lot 0.12.2", "regex", "rustc-hash", - "sc-client-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-rpc-server", "sc-tracing-proc-macro", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-tracing", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tracing", "tracing-log", @@ -10060,17 +11168,32 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.2", - "sc-client-api", - "sc-transaction-pool-api", + "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-transaction-pool", - "substrate-prometheus-endpoint", + "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sc-transaction-pool-api" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "futures 0.3.30", + "log", + "parity-scale-codec", + "serde", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "thiserror", ] @@ -10083,29 +11206,43 @@ dependencies = [ "futures 0.3.30", "log", "serde", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "backtrace", + "async-channel 1.9.0", "futures 0.3.30", "futures-timer", "lazy_static", "log", "parking_lot 0.12.2", "prometheus", + "sp-arithmetic 16.0.0", ] [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "backtrace", + "futures 0.3.30", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.2", + "prometheus", +] + +[[package]] +name = "sc-utils" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "backtrace", "futures 0.3.30", @@ -10172,7 +11309,7 @@ dependencies = [ "arrayvec 0.5.2", "curve25519-dalek 2.1.3", "getrandom 0.1.16", - "merlin", + "merlin 2.0.1", "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", @@ -10230,7 +11367,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ - "base16ct", + "base16ct 0.1.1", "der 0.6.1", "generic-array 0.14.7", "pkcs8 0.9.0", @@ -10238,6 +11375,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.9", + "generic-array 0.14.7", + "pkcs8 0.10.2", + "subtle", + "zeroize", +] + [[package]] name = "secp256k1" version = "0.24.3" @@ -10361,6 +11512,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -10483,6 +11643,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ + "digest 0.10.7", "rand_core 0.6.4", ] @@ -10498,6 +11659,19 @@ dependencies = [ "paste", ] +[[package]] +name = "simba" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" +dependencies = [ + "approx", + "num-complex", + "num-traits", + "paste", + "wide", +] + [[package]] name = "siphasher" version = "0.3.11" @@ -10585,24 +11759,57 @@ dependencies = [ "sha-1", ] +[[package]] +name = "sp-api" +version = "4.0.0-dev" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-metadata-ir", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "thiserror", +] + [[package]] name = "sp-api" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "hash-db", + "hash-db 0.15.2", "log", "parity-scale-codec", - "sp-api-proc-macro", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "blake2", + "expander", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" @@ -10615,6 +11822,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + [[package]] name = "sp-application-crypto" version = "7.0.0" @@ -10623,9 +11843,35 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-application-crypto" +version = "23.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", ] [[package]] @@ -10638,10 +11884,40 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "16.0.0" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 8.0.0", "static_assertions", ] +[[package]] +name = "sp-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + [[package]] name = "sp-beefy" version = "4.0.0-dev" @@ -10650,13 +11926,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -10665,10 +11941,27 @@ version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-blockchain" +version = "4.0.0-dev" +dependencies = [ + "futures 0.3.30", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "schnellru", + "sp-api 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-database 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "thiserror", ] [[package]] @@ -10681,11 +11974,43 @@ dependencies = [ "lru", "parity-scale-codec", "parking_lot 0.12.2", - "sp-api", - "sp-consensus", - "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures 0.3.30", + "log", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "futures 0.3.30", + "log", + "parity-scale-codec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -10698,12 +12023,12 @@ dependencies = [ "futures 0.3.30", "log", "parity-scale-codec", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-version", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -10715,14 +12040,14 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -10731,21 +12056,21 @@ version = "0.10.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "async-trait", - "merlin", + "merlin 2.0.1", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-consensus", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -10756,8 +12081,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", - "sp-timestamp", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -10768,9 +12093,51 @@ dependencies = [ "parity-scale-codec", "scale-info", "schnorrkel", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags 1.3.2", + "blake2", + "dyn-clonable", + "ed25519-zebra", + "futures 0.3.30", + "hash-db 0.15.2", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.2", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", ] [[package]] @@ -10778,20 +12145,20 @@ name = "sp-core" version = "7.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "array-bytes", + "array-bytes 4.2.0", "base58", "bitflags 1.3.2", "blake2", "dyn-clonable", "ed25519-zebra", "futures 0.3.30", - "hash-db", + "hash-db 0.15.2", "hash256-std-hasher", "impl-serde", "lazy_static", "libsecp256k1", "log", - "merlin", + "merlin 2.0.1", "parity-scale-codec", "parking_lot 0.12.2", "primitive-types", @@ -10802,83 +12169,231 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", + "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "21.0.0" +dependencies = [ + "array-bytes 6.2.2", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra", + "futures 0.3.30", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.2", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 9.0.0", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", "ss58-registry", "substrate-bip39", "thiserror", "tiny-bip39", + "tracing", "zeroize", ] [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "blake2", "byteorder", "digest 0.10.7", "sha2 0.10.8", "sha3 0.10.8", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "twox-hash", ] [[package]] -name = "sp-core-hashing-proc-macro" +name = "sp-core-hashing" version = "5.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing", - "syn 1.0.109", + "blake2", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "twox-hash", ] [[package]] -name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-core-hashing" +version = "9.0.0" dependencies = [ - "kvdb", - "parking_lot 0.12.2", + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", ] [[package]] -name = "sp-debug-derive" +name = "sp-core-hashing-proc-macro" version = "5.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "syn 1.0.109", ] [[package]] -name = "sp-debug-derive" +name = "sp-core-hashing-proc-macro" version = "5.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "proc-macro2", "quote", + "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "syn 1.0.109", ] [[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-core-hashing-proc-macro" +version = "9.0.0" dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std", - "sp-storage", -] + "quote", + "sp-core-hashing 9.0.0", + "syn 2.0.60", +] + +[[package]] +name = "sp-database" +version = "4.0.0-dev" +dependencies = [ + "kvdb", + "parking_lot 0.12.2", +] + +[[package]] +name = "sp-database" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "kvdb", + "parking_lot 0.12.2", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-externalities" +version = "0.19.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0", + "sp-storage 13.0.0", +] + +[[package]] +name = "sp-finality-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] [[package]] name = "sp-finality-grandpa" @@ -10890,12 +12405,49 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +dependencies = [ + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", ] [[package]] @@ -10906,12 +12458,37 @@ dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] +[[package]] +name = "sp-io" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", + "futures 0.3.30", + "libsecp256k1", + "log", + "parity-scale-codec", + "secp256k1", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", +] + [[package]] name = "sp-io" version = "7.0.0" @@ -10925,14 +12502,37 @@ dependencies = [ "log", "parity-scale-codec", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "23.0.0" +dependencies = [ + "bytes", + "ed25519-dalek 2.1.1", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime-interface 17.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-trie 22.0.0", "tracing", "tracing-core", ] @@ -10943,11 +12543,27 @@ version = "7.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "strum 0.24.1", ] +[[package]] +name = "sp-keystore" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "futures 0.3.30", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.2", + "schnorrkel", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + [[package]] name = "sp-keystore" version = "0.13.0" @@ -10955,23 +12571,70 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "async-trait", "futures 0.3.30", - "merlin", + "merlin 2.0.1", "parity-scale-codec", "parking_lot 0.12.2", "schnorrkel", "serde", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] +[[package]] +name = "sp-keystore" +version = "0.27.0" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.2", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "thiserror", +] + +[[package]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" +dependencies = [ + "thiserror", + "zstd 0.12.4", +] + [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "thiserror", - "zstd", + "zstd 0.11.2+zstd.1.5.2", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-mmr-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", ] [[package]] @@ -10984,11 +12647,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", ] @@ -11000,10 +12663,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-offchain" +version = "4.0.0-dev" +dependencies = [ + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", ] [[package]] @@ -11011,9 +12683,19 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "backtrace", + "lazy_static", + "regex", ] [[package]] @@ -11026,6 +12708,15 @@ dependencies = [ "regex", ] +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + [[package]] name = "sp-rpc" version = "6.0.0" @@ -11033,7 +12724,29 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -11050,14 +12763,53 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] +[[package]] +name = "sp-runtime" +version = "24.0.0" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + [[package]] name = "sp-runtime-interface" version = "7.0.0" @@ -11067,15 +12819,44 @@ dependencies = [ "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", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "static_assertions", ] +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" @@ -11088,6 +12869,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + [[package]] name = "sp-session" version = "4.0.0-dev" @@ -11095,11 +12887,24 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -11109,9 +12914,29 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", ] [[package]] @@ -11119,26 +12944,91 @@ name = "sp-state-machine" version = "0.13.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "hash-db", + "hash-db 0.15.2", "log", "parity-scale-codec", "parking_lot 0.12.2", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tracing", ] +[[package]] +name = "sp-state-machine" +version = "0.28.0" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "rand 0.8.5", + "smallvec", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "thiserror", + "tracing", + "trie-db 0.27.1", +] + +[[package]] +name = "sp-statement-store" +version = "4.0.0-dev" +dependencies = [ + "aes-gcm 0.10.3", + "curve25519-dalek 4.1.2", + "ed25519-dalek 2.1.1", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sha2 0.10.8", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "thiserror", + "x25519-dalek 2.0.1", +] + +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" + [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +[[package]] +name = "sp-std" +version = "8.0.0" + +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + [[package]] name = "sp-storage" version = "7.0.0" @@ -11146,34 +13036,79 @@ source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38# dependencies = [ "impl-serde", "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-storage" +version = "13.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "async-trait", + "futures-timer", + "log", + "parity-scale-codec", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", + "tracing-subscriber", ] [[package]] -name = "sp-timestamp" -version = "4.0.0-dev" +name = "sp-tracing" +version = "6.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "async-trait", - "futures-timer", - "log", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", - "thiserror", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", + "tracing-subscriber", ] [[package]] name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +version = "10.0.0" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 8.0.0", "tracing", "tracing-core", "tracing-subscriber", @@ -11184,8 +13119,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -11197,11 +13132,34 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "ahash 0.8.5", + "hash-db 0.15.2", + "hashbrown 0.12.3", + "lazy_static", + "memory-db 0.31.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.2", + "scale-info", + "schnellru", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", + "trie-db 0.24.0", + "trie-root 0.17.0", ] [[package]] @@ -11210,23 +13168,62 @@ version = "7.0.0" source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "ahash 0.8.5", - "hash-db", + "hash-db 0.15.2", "hashbrown 0.12.3", "lazy_static", - "memory-db", + "memory-db 0.31.0", "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.2", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "thiserror", "tracing", - "trie-db", + "trie-db 0.24.0", "trie-root 0.17.0", ] +[[package]] +name = "sp-trie" +version = "22.0.0" +dependencies = [ + "ahash 0.8.5", + "hash-db 0.16.0", + "hashbrown 0.13.2", + "lazy_static", + "memory-db 0.32.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.2", + "scale-info", + "schnellru", + "sp-core 21.0.0", + "sp-std 8.0.0", + "thiserror", + "tracing", + "trie-db 0.27.1", + "trie-root 0.18.0", +] + +[[package]] +name = "sp-version" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + [[package]] name = "sp-version" version = "5.0.0" @@ -11237,13 +13234,40 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 9.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version-proc-macro 8.0.0", "thiserror", ] +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -11255,6 +13279,29 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "wasmi", + "wasmtime 1.0.2", +] + [[package]] name = "sp-wasm-interface" version = "7.0.0" @@ -11263,9 +13310,21 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "wasmi", - "wasmtime", + "wasmtime 1.0.2", +] + +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 8.0.0", + "wasmtime 8.0.1", ] [[package]] @@ -11277,10 +13336,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -11292,10 +13351,24 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", ] [[package]] @@ -11393,7 +13466,7 @@ checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" dependencies = [ "approx", "lazy_static", - "nalgebra", + "nalgebra 0.27.1", "num-traits", "rand 0.8.5", ] @@ -11487,9 +13560,9 @@ source = "git+https://github.com/sora-xor/sora2-common.git#37ff77936b52149508697 dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-traits", @@ -11498,10 +13571,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -11511,20 +13584,20 @@ source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198a dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "once_cell", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "rlp", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -11547,12 +13620,23 @@ dependencies = [ "log", "parity-scale-codec", "sc-rpc-api", - "sc-transaction-pool-api", - "sp-api", + "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" +dependencies = [ + "hyper", + "log", + "prometheus", + "thiserror", + "tokio", ] [[package]] @@ -11577,7 +13661,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -11589,10 +13673,10 @@ dependencies = [ "build-helper", "cargo_metadata", "filetime", - "sp-maybe-compressed-blob", + "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "strum 0.24.1", "tempfile", - "toml", + "toml 0.5.11", "walkdir", "wasm-opt", ] @@ -11684,24 +13768,24 @@ name = "technical" version = "0.1.0" dependencies = [ "assets", - "common", + "common 0.1.0", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "twox-hash", ] @@ -11760,10 +13844,12 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.9.9" -source = "git+https://github.com/sora-xor/thread_local-rs.git?branch=patch-1.0.1#14cf6d022ff79c11648a10acee5b81c82ace3939" +version = "1.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ - "lazy_static", + "cfg-if", + "once_cell", ] [[package]] @@ -11956,6 +14042,40 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.22.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + [[package]] name = "tower" version = "0.4.13" @@ -12089,40 +14209,40 @@ name = "trading-pair" version = "0.1.0" dependencies = [ "assets", - "common", + "common 0.1.0", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "trading-pair-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "trading-pair-runtime-api", ] @@ -12133,9 +14253,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -12144,20 +14264,33 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" dependencies = [ - "hash-db", + "hash-db 0.15.2", "hashbrown 0.12.3", "log", "rustc-hex", "smallvec", ] +[[package]] +name = "trie-db" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +dependencies = [ + "hash-db 0.16.0", + "hashbrown 0.13.2", + "log", + "rustc-hex", + "smallvec", +] + [[package]] name = "trie-root" version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "652931506d2c1244d7217a70b99f56718a7b4161b37f04e7cd868072a99f68cd" dependencies = [ - "hash-db", + "hash-db 0.15.2", ] [[package]] @@ -12166,7 +14299,16 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" dependencies = [ - "hash-db", + "hash-db 0.15.2", +] + +[[package]] +name = "trie-root" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" +dependencies = [ + "hash-db 0.16.0", ] [[package]] @@ -12233,23 +14375,23 @@ dependencies = [ "log", "parity-scale-codec", "sc-cli", - "sc-executor", + "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sc-service", "serde", "serde_json", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities", - "sp-io", - "sp-keystore", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-version", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "substrate-rpc-client", - "zstd", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] @@ -12446,12 +14588,12 @@ version = "1.2.1" dependencies = [ "assets", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex", "hex-literal", "itertools", @@ -12459,8 +14601,8 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -12469,10 +14611,10 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", ] @@ -12480,17 +14622,17 @@ dependencies = [ name = "vested-rewards-rpc" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "jsonrpsee", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "vested-rewards-runtime-api", ] @@ -12498,13 +14640,13 @@ dependencies = [ name = "vested-rewards-runtime-api" version = "0.1.0" dependencies = [ - "common", + "common 0.1.0", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -12741,6 +14883,16 @@ dependencies = [ "indexmap 1.9.3", ] +[[package]] +name = "wasmparser" +version = "0.102.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +dependencies = [ + "indexmap 1.9.3", + "url", +] + [[package]] name = "wasmtime" version = "1.0.2" @@ -12760,15 +14912,43 @@ dependencies = [ "rayon", "serde", "target-lexicon", - "wasmparser", - "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", + "wasmparser 0.89.1", + "wasmtime-cache 1.0.2", + "wasmtime-cranelift 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit 1.0.2", + "wasmtime-runtime 1.0.2", "windows-sys 0.36.1", ] +[[package]] +name = "wasmtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.30.4", + "once_cell", + "paste", + "psm", + "rayon", + "serde", + "target-lexicon", + "wasmparser 0.102.0", + "wasmtime-cache 8.0.1", + "wasmtime-cranelift 8.0.1", + "wasmtime-environ 8.0.1", + "wasmtime-jit 8.0.1", + "wasmtime-runtime 8.0.1", + "windows-sys 0.45.0", +] + [[package]] name = "wasmtime-asm-macros" version = "1.0.2" @@ -12778,6 +14958,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" version = "1.0.2" @@ -12793,9 +14982,29 @@ dependencies = [ "rustix 0.35.16", "serde", "sha2 0.9.9", - "toml", + "toml 0.5.11", "windows-sys 0.36.1", - "zstd", + "zstd 0.11.2+zstd.1.5.2", +] + +[[package]] +name = "wasmtime-cache" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" +dependencies = [ + "anyhow", + "base64 0.21.7", + "bincode", + "directories-next", + "file-per-thread-logger", + "log", + "rustix 0.36.17", + "serde", + "sha2 0.10.8", + "toml 0.5.11", + "windows-sys 0.45.0", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] @@ -12805,18 +15014,55 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" dependencies = [ "anyhow", - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", + "cranelift-codegen 0.88.2", + "cranelift-entity 0.88.2", + "cranelift-frontend 0.88.2", + "cranelift-native 0.88.2", + "cranelift-wasm 0.88.2", "gimli 0.26.2", "log", "object 0.29.0", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.89.1", + "wasmtime-environ 1.0.2", +] + +[[package]] +name = "wasmtime-cranelift" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" +dependencies = [ + "anyhow", + "cranelift-codegen 0.95.1", + "cranelift-entity 0.95.1", + "cranelift-frontend 0.95.1", + "cranelift-native 0.95.1", + "cranelift-wasm 0.95.1", + "gimli 0.27.3", + "log", + "object 0.30.4", + "target-lexicon", + "thiserror", + "wasmparser 0.102.0", + "wasmtime-cranelift-shared", + "wasmtime-environ 8.0.1", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +dependencies = [ + "anyhow", + "cranelift-codegen 0.95.1", + "cranelift-native 0.95.1", + "gimli 0.27.3", + "object 0.30.4", + "target-lexicon", + "wasmtime-environ 8.0.1", ] [[package]] @@ -12826,16 +15072,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" dependencies = [ "anyhow", - "cranelift-entity", - "gimli 0.26.2", + "cranelift-entity 0.88.2", + "gimli 0.26.2", + "indexmap 1.9.3", + "log", + "object 0.29.0", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.89.1", + "wasmtime-types 1.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" +dependencies = [ + "anyhow", + "cranelift-entity 0.95.1", + "gimli 0.27.3", "indexmap 1.9.3", "log", - "object 0.29.0", + "object 0.30.4", "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.102.0", + "wasmtime-types 8.0.1", ] [[package]] @@ -12857,12 +15122,36 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-runtime", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", + "wasmtime-runtime 1.0.2", "windows-sys 0.36.1", ] +[[package]] +name = "wasmtime-jit" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +dependencies = [ + "addr2line 0.19.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.27.3", + "log", + "object 0.30.4", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", + "wasmtime-jit-icache-coherence", + "wasmtime-runtime 8.0.1", + "windows-sys 0.45.0", +] + [[package]] name = "wasmtime-jit-debug" version = "1.0.2" @@ -12874,6 +15163,28 @@ dependencies = [ "rustix 0.35.16", ] +[[package]] +name = "wasmtime-jit-debug" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +dependencies = [ + "object 0.30.4", + "once_cell", + "rustix 0.36.17", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.45.0", +] + [[package]] name = "wasmtime-runtime" version = "1.0.2" @@ -12893,22 +15204,58 @@ dependencies = [ "rand 0.8.5", "rustix 0.35.16", "thiserror", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", + "wasmtime-asm-macros 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", "windows-sys 0.36.1", ] +[[package]] +name = "wasmtime-runtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.8.0", + "paste", + "rand 0.8.5", + "rustix 0.36.17", + "wasmtime-asm-macros 8.0.1", + "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", + "windows-sys 0.45.0", +] + [[package]] name = "wasmtime-types" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.88.2", + "serde", + "thiserror", + "wasmparser 0.89.1", +] + +[[package]] +name = "wasmtime-types" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +dependencies = [ + "cranelift-entity 0.95.1", "serde", "thiserror", - "wasmparser", + "wasmparser 0.102.0", ] [[package]] @@ -13027,7 +15374,7 @@ dependencies = [ "ccm", "curve25519-dalek 3.2.0", "der-parser 8.2.0", - "elliptic-curve", + "elliptic-curve 0.12.3", "hkdf", "hmac 0.12.1", "log", @@ -13038,7 +15385,7 @@ dependencies = [ "rcgen 0.10.0", "ring 0.16.20", "rustls 0.19.1", - "sec1", + "sec1 0.3.0", "serde", "sha1", "sha2 0.10.8", @@ -13176,6 +15523,16 @@ dependencies = [ "rustix 0.38.34", ] +[[package]] +name = "wide" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0e39d2c603fdc0504b12b458cf1f34e0b937ed2f4f2dc20796e3e86f34e11f" +dependencies = [ + "bytemuck", + "safe_arch", +] + [[package]] name = "widestring" version = "1.1.0" @@ -13269,6 +15626,15 @@ dependencies = [ "windows_x86_64_msvc 0.42.2", ] +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + [[package]] name = "windows-sys" version = "0.48.0" @@ -13287,6 +15653,21 @@ dependencies = [ "windows-targets 0.52.5", ] +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -13480,6 +15861,15 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +[[package]] +name = "winnow" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.50.0" @@ -13570,7 +15960,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "xcm-procedural", ] @@ -13591,28 +15981,28 @@ name = "xor-fee" version = "0.1.0" dependencies = [ "assets", - "common", - "frame-benchmarking", - "frame-support", - "frame-system", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "pallet-transaction-payment", "parity-scale-codec", "permissions", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] @@ -13622,20 +16012,20 @@ dependencies = [ "assets", "band", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "mock-liquidity-source", "oracle-proxy", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "permissions", "pool-xyk", @@ -13643,11 +16033,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", ] @@ -13659,30 +16049,30 @@ dependencies = [ "assets", "band", "ceres-liquidity-locker", - "common", + "common 0.1.0", "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "oracle-proxy", "orml-currencies", "orml-tokens", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 4.0.0-dev", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "technical", "trading-pair", "xst", @@ -13757,7 +16147,16 @@ version = "0.11.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" dependencies = [ - "zstd-safe", + "zstd-safe 5.0.2+zstd.1.5.2", +] + +[[package]] +name = "zstd" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +dependencies = [ + "zstd-safe 6.0.6", ] [[package]] @@ -13770,6 +16169,16 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "6.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +dependencies = [ + "libc", + "zstd-sys", +] + [[package]] name = "zstd-sys" version = "2.0.10+zstd.1.5.6" @@ -13779,3 +16188,211 @@ dependencies = [ "cc", "pkg-config", ] + +[[patch.unused]] +name = "frame-election-provider-support" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-executive" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-benchmarking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-aura" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-authorship" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-babe" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-bags-list" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-collective" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-democracy" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" + +[[patch.unused]] +name = "pallet-grandpa" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-identity" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-im-online" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-membership" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-multisig" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-offences" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-preimage" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-scheduler" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-session" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-staking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-sudo" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-utility" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-basic-authorship" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-chain-spec" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-slots" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-informant" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-network" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-rpc-api" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-service" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-telemetry" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-block-builder" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-keyring" +version = "24.0.0" + +[[patch.unused]] +name = "sp-npos-elections" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-rpc" +version = "6.0.0" + +[[patch.unused]] +name = "sp-session" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" + +[[patch.unused]] +name = "try-runtime-cli" +version = "0.10.0-dev" diff --git a/Cargo.toml b/Cargo.toml index 429593f571..b4be48ce69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,94 +1,93 @@ -[patch.crates-io] -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-executive = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-democracy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-elections-phragmen = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-identity = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-im-online = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-membership = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-multisig = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-offences = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-utility = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-basic-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-slots = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-executor = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-informant = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-network = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-rpc-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-service = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-telemetry = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-application-crypto = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-block-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-inherents = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-offchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-npos-elections = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime-interface = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-storage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-trie = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-version = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-keyring = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -substrate-frame-rpc-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-merkle-tree = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-preimage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -substrate-wasm-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -try-runtime-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } - -pallet-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# [patch.crates-io] +# frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-executive = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-system-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-democracy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-elections-phragmen = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-identity = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-im-online = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-membership = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-multisig = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-offences = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-transaction-payment = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-utility = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-basic-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-chain-spec = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-client-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-consensus-slots = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-executor = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-informant = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-network = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-rpc-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-service = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sc-telemetry = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-application-crypto = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-block-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-inherents = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-keystore = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-offchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-npos-elections = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-runtime-interface = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-storage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-trie = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-version = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-keyring = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-mmr-primitives = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-preimage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# substrate-wasm-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# try-runtime-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } #jsonrpc-core = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } #jsonrpc-ws-server = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } @@ -114,99 +113,99 @@ orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-modu orml-utilities = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v0.9.38" } [patch."https://github.com/paritytech/substrate.git"] -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-executive = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-election-provider-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-democracy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-elections-phragmen = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-identity = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-im-online = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-membership = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-multisig = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-offences = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-utility = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-bags-list = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-basic-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-slots = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-executor = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-informant = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-network = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-rpc-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-service = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-telemetry = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-application-crypto = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-block-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-inherents = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-offchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-npos-elections = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime-interface = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-storage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-trie = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-version = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-keyring = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -substrate-frame-rpc-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-merkle-tree = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-preimage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -substrate-wasm-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -try-runtime-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } +frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } +frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } +frame-system-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/system/benchmarking" } +frame-system-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/system/rpc/runtime-api" } +frame-election-provider-support = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-support" } +pallet-aura = { path = "../sora-polkadot-sdk/substrate/frame/aura" } +pallet-authorship = { path = "../sora-polkadot-sdk/substrate/frame/authorship" } +pallet-babe = { path = "../sora-polkadot-sdk/substrate/frame/babe" } +pallet-balances = { path = "../sora-polkadot-sdk/substrate/frame/balances" } +pallet-collective = { path = "../sora-polkadot-sdk/substrate/frame/collective" } +pallet-democracy = { path = "../sora-polkadot-sdk/substrate/frame/democracy" } +pallet-elections-phragmen = { path = "../sora-polkadot-sdk/substrate/frame/elections-phragmen" } +pallet-grandpa = { path = "../sora-polkadot-sdk/substrate/frame/grandpa" } +pallet-identity = { path = "../sora-polkadot-sdk/substrate/frame/identity" } +pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } +pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } +pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } +pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } +pallet-insecure-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip" } +pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } +pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } +pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } +pallet-timestamp = { path = "../sora-polkadot-sdk/substrate/frame/timestamp" } +pallet-transaction-payment = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment" } +pallet-transaction-payment-rpc = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc" } +pallet-transaction-payment-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc/runtime-api" } +pallet-utility = { path = "../sora-polkadot-sdk/substrate/frame/utility" } +pallet-bags-list = { path = "../sora-polkadot-sdk/substrate/frame/bags-list" } +pallet-election-provider-multi-phase = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-multi-phase" } +sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-authorship" } +sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } +sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} +sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} +# sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} +sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} +sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} +sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} +sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} +# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} +sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} +sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} +sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} +sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} +sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} +sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} +sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} +sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} +sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} +sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} +sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} +sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} +# sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} +sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} +sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} +sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} +# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} +# sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} +sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} +sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} +sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} +sp-npos-elections = { path = "../sora-polkadot-sdk/substrate/primitives/npos-elections"} +sp-runtime = { path = "../sora-polkadot-sdk/substrate/primitives/runtime"} +sp-runtime-interface = { path = "../sora-polkadot-sdk/substrate/primitives/runtime-interface"} +sp-session = { path = "../sora-polkadot-sdk/substrate/primitives/session"} +sp-staking = { path = "../sora-polkadot-sdk/substrate/primitives/staking"} +sp-std = { path = "../sora-polkadot-sdk/substrate/primitives/std"} +sp-storage = { path = "../sora-polkadot-sdk/substrate/primitives/storage"} +sp-timestamp = { path = "../sora-polkadot-sdk/substrate/primitives/timestamp"} +sp-transaction-pool = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-pool"} +sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} +sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} +sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} +sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} +# sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} +sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } +substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } +# mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } +substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } +# sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } +substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } +try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } -pallet-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } [patch."https://github.com/sora-xor/sora2-common.git"] beefy-light-client = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } From 28d0c03fe125d9c77a02da294e4161f9cc2cf771 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 8 May 2024 20:21:18 -0300 Subject: [PATCH 002/110] change versions --- Cargo.lock | 12606 +++------------- Cargo.toml | 391 +- _Cargo.lock | 8864 +++++++++++ __Cargo.lock | 8452 +++++++++++ rust-toolchain.toml => _rust-toolchain.toml | 0 common/Cargo.toml | 18 +- node/Cargo.toml | 100 +- node/chain_spec/Cargo.toml | 22 +- pallets/apollo-platform/Cargo.toml | 20 +- pallets/assets/Cargo.toml | 16 +- pallets/assets/rpc/Cargo.toml | 12 +- pallets/assets/runtime-api/Cargo.toml | 6 +- pallets/band/Cargo.toml | 19 +- pallets/bridge-proxy/Cargo.toml | 22 +- pallets/bridge-proxy/rpc/Cargo.toml | 12 +- pallets/bridge-proxy/runtime-api/Cargo.toml | 6 +- pallets/ceres-governance-platform/Cargo.toml | 20 +- pallets/ceres-launchpad/Cargo.toml | 18 +- pallets/ceres-liquidity-locker/Cargo.toml | 16 +- .../benchmarking/Cargo.toml | 18 +- pallets/ceres-staking/Cargo.toml | 16 +- pallets/ceres-token-locker/Cargo.toml | 18 +- pallets/demeter-farming-platform/Cargo.toml | 18 +- .../benchmarking/Cargo.toml | 20 +- pallets/dex-api/Cargo.toml | 20 +- pallets/dex-api/rpc/Cargo.toml | 12 +- pallets/dex-api/runtime-api/Cargo.toml | 6 +- pallets/dex-manager/Cargo.toml | 16 +- pallets/dex-manager/rpc/Cargo.toml | 12 +- pallets/dex-manager/runtime-api/Cargo.toml | 6 +- pallets/eth-bridge/Cargo.toml | 28 +- pallets/eth-bridge/rpc/Cargo.toml | 12 +- pallets/eth-bridge/runtime-api/Cargo.toml | 6 +- pallets/farming/Cargo.toml | 24 +- pallets/farming/rpc/Cargo.toml | 6 +- pallets/farming/runtime-api/Cargo.toml | 4 +- pallets/faucet/Cargo.toml | 22 +- pallets/hermes-governance-platform/Cargo.toml | 18 +- pallets/iroha-migration/Cargo.toml | 18 +- pallets/iroha-migration/rpc/Cargo.toml | 8 +- .../iroha-migration/runtime-api/Cargo.toml | 2 +- pallets/kensetsu/Cargo.toml | 21 +- pallets/kensetsu/benchmarking/Cargo.toml | 12 +- pallets/liquidity-proxy/Cargo.toml | 18 +- .../liquidity-proxy/benchmarking/Cargo.toml | 18 +- pallets/liquidity-proxy/rpc/Cargo.toml | 12 +- .../liquidity-proxy/runtime-api/Cargo.toml | 6 +- pallets/mock-liquidity-source/Cargo.toml | 18 +- .../Cargo.toml | 20 +- pallets/oracle-proxy/Cargo.toml | 19 +- pallets/oracle-proxy/rpc/Cargo.toml | 8 +- pallets/oracle-proxy/runtime-api/Cargo.toml | 6 +- pallets/order-book/Cargo.toml | 20 +- pallets/order-book/benchmarking/Cargo.toml | 20 +- pallets/permissions/Cargo.toml | 14 +- pallets/pool-xyk/Cargo.toml | 16 +- pallets/pool-xyk/benchmarking/Cargo.toml | 18 +- pallets/price-tools/Cargo.toml | 20 +- pallets/pswap-distribution/Cargo.toml | 20 +- .../benchmarking/Cargo.toml | 24 +- pallets/pswap-distribution/rpc/Cargo.toml | 12 +- .../pswap-distribution/runtime-api/Cargo.toml | 6 +- pallets/qa-tools/Cargo.toml | 16 +- pallets/referrals/Cargo.toml | 16 +- pallets/rewards/Cargo.toml | 18 +- pallets/rewards/rpc/Cargo.toml | 12 +- pallets/rewards/runtime-api/Cargo.toml | 6 +- pallets/technical/Cargo.toml | 18 +- pallets/trading-pair/Cargo.toml | 16 +- pallets/trading-pair/rpc/Cargo.toml | 12 +- pallets/trading-pair/runtime-api/Cargo.toml | 6 +- pallets/vested-rewards/Cargo.toml | 18 +- pallets/vested-rewards/rpc/Cargo.toml | 12 +- pallets/vested-rewards/runtime-api/Cargo.toml | 6 +- pallets/xor-fee/Cargo.toml | 28 +- pallets/xst/Cargo.toml | 20 +- pallets/xst/benchmarking/Cargo.toml | 18 +- runtime/Cargo.toml | 118 +- utils/generate-bags/Cargo.toml | 10 +- utils/remote-ext/Cargo.toml | 16 +- utils/wasm-builder/Cargo.toml | 2 +- 81 files changed, 20296 insertions(+), 11330 deletions(-) create mode 100644 _Cargo.lock create mode 100644 __Cargo.lock rename rust-toolchain.toml => _rust-toolchain.toml (100%) diff --git a/Cargo.lock b/Cargo.lock index 9fe2445793..d7a8558c3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,136 +45,25 @@ 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.7", -] - -[[package]] -name = "aead" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" -dependencies = [ - "generic-array 0.14.7", - "rand_core 0.6.4", -] - -[[package]] -name = "aead" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" -dependencies = [ - "crypto-common", - "generic-array 0.14.7", -] - -[[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", - "cipher 0.3.0", - "cpufeatures", - "opaque-debug 0.3.1", -] - -[[package]] -name = "aes" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" -dependencies = [ - "cfg-if", - "cipher 0.4.4", - "cpufeatures", -] - -[[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-gcm" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" -dependencies = [ - "aead 0.5.2", - "aes 0.8.4", - "cipher 0.4.4", - "ctr 0.9.2", - "ghash 0.5.1", - "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.1", -] - -[[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.1", -] - [[package]] name = "ahash" version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.14", + "getrandom 0.2.15", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.5" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7d5a2cecb58716e47d67d5703a249964b14c7be1ec3cad3affc295b2d1c35d" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.14", + "getrandom 0.2.15", "once_cell", "version_check", "zerocopy", @@ -213,98 +102,11 @@ dependencies = [ "winapi", ] -[[package]] -name = "anstream" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is-terminal", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" - -[[package]] -name = "anstyle-parse" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "anstyle-wincon" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c" -dependencies = [ - "anstyle", - "windows-sys 0.48.0", -] - [[package]] name = "anyhow" -version = "1.0.82" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" - -[[package]] -name = "apollo-platform" -version = "1.3.1" -dependencies = [ - "apollo-platform", - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "liquidity-proxy", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "vested-rewards", -] +checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" [[package]] name = "approx" @@ -329,12 +131,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "arc-swap" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" - [[package]] name = "ark-bls12-381" version = "0.4.0" @@ -392,7 +188,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", - "rustc_version 0.4.0", + "rustc_version", "zeroize", ] @@ -559,149 +355,30 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" -[[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", -] - -[[package]] -name = "asn1-rs" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" -dependencies = [ - "asn1-rs-derive 0.4.0", - "asn1-rs-impl", - "displaydoc", - "nom", - "num-traits", - "rusticata-macros", - "thiserror", - "time", -] - -[[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 1.0.109", - "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 1.0.109", - "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 1.0.109", -] - -[[package]] -name = "asn1_der" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "155a5a185e42c6b77ac7b88a15143d930a9e9727a5b7b77eed417404ab15c247" - -[[package]] -name = "assert_cmd" -version = "2.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00ad3f3a942eee60335ab4342358c161ee296829e0d16ff42fc1d6cb07815467" -dependencies = [ - "anstyle", - "bstr", - "doc-comment", - "predicates 3.1.0", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - [[package]] name = "assets" version = "1.3.1" dependencies = [ "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "tiny-keccak", ] -[[package]] -name = "assets-rpc" -version = "0.1.0" -dependencies = [ - "assets-runtime-api", - "common 0.1.0", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "assets-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "async-attributes" version = "1.1.2" @@ -731,9 +408,9 @@ checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" dependencies = [ "concurrent-queue", "event-listener 5.3.0", - "event-listener-strategy 0.5.1", + "event-listener-strategy 0.5.2", "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -744,7 +421,7 @@ checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.0.2", + "fastrand 2.1.0", "futures-lite 2.3.0", "slab", ] @@ -780,7 +457,7 @@ dependencies = [ "polling 2.8.0", "rustix 0.37.27", "slab", - "socket2 0.4.10", + "socket2", "waker-fn", ] @@ -820,7 +497,7 @@ checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ "event-listener 4.0.3", "event-listener-strategy 0.4.0", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -880,7 +557,7 @@ dependencies = [ "log", "memchr", "once_cell", - "pin-project-lite 0.2.14", + "pin-project-lite", "pin-utils", "slab", "wasm-bindgen-futures", @@ -888,9 +565,9 @@ dependencies = [ [[package]] name = "async-task" -version = "4.7.0" +version = "4.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" @@ -900,20 +577,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", -] - -[[package]] -name = "asynchronous-codec" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4057f2c32adbb2fc158e22fb38433c8e9bbf76b75a4732c7c0cbaf695fb65568" -dependencies = [ - "bytes", - "futures-sink", - "futures-util", - "memchr", - "pin-project-lite 0.2.14", + "syn 2.0.61", ] [[package]] @@ -922,22 +586,11 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" -[[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.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" @@ -960,19 +613,19 @@ version = "1.0.1" dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "oracle-proxy", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "xst", ] @@ -993,17 +646,11 @@ dependencies = [ "merlin 3.0.0", "rand_chacha 0.3.1", "rand_core 0.6.4", - "ring 0.1.0", + "ring", "sha2 0.10.8", "zeroize", ] -[[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" @@ -1028,12 +675,6 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64ct" version = "1.6.0" @@ -1041,170 +682,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] -name = "beef" -version = "0.5.2" +name = "bincode" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" dependencies = [ "serde", ] -[[package]] -name = "beefy-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "fnv", - "futures 0.3.30", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-keystore", - "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-gossip", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "beefy-gadget-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "beefy-gadget", - "futures 0.3.30", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-rpc", - "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "beefy-light-client" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "anyhow", - "beefy-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "bridge-common", - "bridge-types", - "ckb-merkle-mountain-range", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "beefy-light-client-rpc" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "beefy-light-client-runtime-api", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "beefy-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "sp-api 4.0.0-dev", - "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "beefy-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[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.64.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" -dependencies = [ - "bitflags 1.3.2", - "cexpr", - "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex", - "syn 1.0.109", -] - [[package]] name = "bitflags" version = "1.3.2" @@ -1225,7 +710,6 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", - "serde", "tap", "wyz", ] @@ -1260,30 +744,6 @@ dependencies = [ "constant_time_eq 0.3.0", ] -[[package]] -name = "blake2s_simd" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", -] - -[[package]] -name = "blake3" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "cc", - "cfg-if", - "constant_time_eq 0.3.0", -] - [[package]] name = "block-buffer" version = "0.7.3" @@ -1315,16 +775,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[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" @@ -1342,18 +792,16 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "blocking" -version = "1.5.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" +checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" dependencies = [ "async-channel 2.2.1", "async-lock 3.3.0", "async-task", - "fastrand 2.0.2", "futures-io", "futures-lite 2.3.0", "piper", - "tracing", ] [[package]] @@ -1371,61 +819,21 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "once_cell", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "rlp", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "bridge-common" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bitvec", - "bridge-types", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "bridge-data-signer" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-common", - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -1438,62 +846,29 @@ dependencies = [ "common 0.1.0", "dispatch", "evm-fungible-app", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", "technical", - "xcm", -] - -[[package]] -name = "bridge-proxy-rpc" -version = "0.1.0" -dependencies = [ - "bridge-proxy-runtime-api", - "bridge-types", - "common 0.1.0", - "jsonrpsee", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "bridge-proxy-runtime-api" -version = "0.1.0" -dependencies = [ - "bridge-types", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "bridge-types" version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "derivative", "ethabi", @@ -1502,7 +877,7 @@ dependencies = [ "ethereum-types", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", - "getrandom 0.2.14", + "getrandom 0.2.15", "hex-literal", "libsecp256k1", "orml-traits", @@ -1512,20 +887,14 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "xcm", + "sp-consensus-beefy", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", ] -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - [[package]] name = "bs58" version = "0.5.1" @@ -1535,31 +904,11 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "bstr" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" -dependencies = [ - "memchr", - "regex-automata 0.4.6", - "serde", -] - -[[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.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -1591,69 +940,11 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" -[[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.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-platform" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" -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.22", - "serde", - "serde_json", -] - [[package]] name = "cc" -version = "1.0.95" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" -dependencies = [ - "jobserver", - "libc", - "once_cell", -] - -[[package]] -name = "ccm" -version = "0.3.0" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aca1a8fbc20b50ac9673ff014abfb2b5f4085ee1a850d408f14a159c5853ac7" -dependencies = [ - "aead 0.3.2", - "cipher 0.2.5", - "subtle", -] +checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" [[package]] name = "ceres-governance-platform" @@ -1665,15 +956,15 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -1681,109 +972,42 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] [[package]] -name = "ceres-launchpad" -version = "1.0.0" +name = "ceres-liquidity-locker" +version = "1.2.0" dependencies = [ "assets", "ceres-liquidity-locker", - "ceres-token-locker", "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", - "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", + "price-tools", "pswap-distribution", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "ceres-liquidity-locker" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - -[[package]] -name = "ceres-liquidity-locker-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "getrandom 0.2.14", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -1794,21 +1018,21 @@ version = "1.0.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -1821,36 +1045,27 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] -[[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" @@ -1875,36 +1090,6 @@ 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.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" -dependencies = [ - "cfg-if", - "cipher 0.4.4", - "cpufeatures", -] - -[[package]] -name = "chacha20poly1305" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" -dependencies = [ - "aead 0.5.2", - "chacha20", - "cipher 0.4.4", - "poly1305", - "zeroize", -] - [[package]] name = "chrono" version = "0.4.38" @@ -1913,54 +1098,10 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", - "wasm-bindgen", "windows-targets 0.52.5", ] -[[package]] -name = "cid" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ed9c8b2d17acb8110c46f1da5bf4a696d745e1474a16db0cd2b49cd0249bf2" -dependencies = [ - "core2", - "multibase", - "multihash 0.16.3", - "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.7", -] - -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", - "zeroize", -] - [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -1970,85 +1111,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "clang-sys" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "4.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0827b011f6f8ab38590295339817b0d26f344aa4932c3ced71b45b0c54b4a9" -dependencies = [ - "clap_builder", - "clap_derive", - "once_cell", -] - -[[package]] -name = "clap_builder" -version = "4.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9441b403be87be858db6a23edb493e7f694761acdc3343d5a0fcaafd304cbc9e" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "clap_lex" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" - -[[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 = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "comfy-table" -version = "6.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba" -dependencies = [ - "strum 0.24.1", - "strum_macros 0.24.3", - "unicode-width", -] - [[package]] name = "common" version = "0.1.0" @@ -2057,15 +1119,15 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "paste", "rustc-hex", @@ -2073,12 +1135,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "static_assertions", "strum 0.25.0", "thiserror", @@ -2106,9 +1168,9 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ "crossbeam-utils", ] @@ -2134,7 +1196,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.14", + "getrandom 0.2.15", "once_cell", "tiny-keccak", ] @@ -2151,37 +1213,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" -[[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.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] - [[package]] name = "core-foundation-sys" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" -[[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" @@ -2201,290 +1238,77 @@ dependencies = [ ] [[package]] -name = "cranelift-bforest" +name = "cranelift-entity" version = "0.88.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" +checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" dependencies = [ - "cranelift-entity 0.88.2", + "serde", ] [[package]] -name = "cranelift-bforest" +name = "cranelift-entity" version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" dependencies = [ - "cranelift-entity 0.95.1", + "serde", ] [[package]] -name = "cranelift-codegen" -version = "0.88.2" +name = "crc32fast" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ - "arrayvec 0.7.4", - "bumpalo", - "cranelift-bforest 0.88.2", - "cranelift-codegen-meta 0.88.2", - "cranelift-codegen-shared 0.88.2", - "cranelift-entity 0.88.2", - "cranelift-isle 0.88.2", - "gimli 0.26.2", - "log", - "regalloc2 0.3.2", - "smallvec", - "target-lexicon", + "cfg-if", ] [[package]] -name = "cranelift-codegen" -version = "0.95.1" +name = "crossbeam-utils" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" -dependencies = [ - "bumpalo", - "cranelift-bforest 0.95.1", - "cranelift-codegen-meta 0.95.1", - "cranelift-codegen-shared 0.95.1", - "cranelift-entity 0.95.1", - "cranelift-isle 0.95.1", - "gimli 0.27.3", - "hashbrown 0.13.2", - "log", - "regalloc2 0.6.1", - "smallvec", - "target-lexicon", -] +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" [[package]] -name = "cranelift-codegen-meta" -version = "0.88.2" +name = "crunchy" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" -dependencies = [ - "cranelift-codegen-shared 0.88.2", -] +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] -name = "cranelift-codegen-meta" -version = "0.95.1" +name = "crypto-bigint" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" +checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" dependencies = [ - "cranelift-codegen-shared 0.95.1", + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", ] [[package]] -name = "cranelift-codegen-shared" -version = "0.88.2" +name = "crypto-bigint" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] [[package]] -name = "cranelift-codegen-shared" -version = "0.95.1" +name = "crypto-common" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" - -[[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-entity" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" -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 0.88.2", - "log", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-frontend" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" -dependencies = [ - "cranelift-codegen 0.95.1", - "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-isle" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" - -[[package]] -name = "cranelift-native" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" -dependencies = [ - "cranelift-codegen 0.88.2", - "libc", - "target-lexicon", -] - -[[package]] -name = "cranelift-native" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" -dependencies = [ - "cranelift-codegen 0.95.1", - "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 0.88.2", - "cranelift-entity 0.88.2", - "cranelift-frontend 0.88.2", - "itertools", - "log", - "smallvec", - "wasmparser 0.89.1", - "wasmtime-types 1.0.2", -] - -[[package]] -name = "cranelift-wasm" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" -dependencies = [ - "cranelift-codegen 0.95.1", - "cranelift-entity 0.95.1", - "cranelift-frontend 0.95.1", - "itertools", - "log", - "smallvec", - "wasmparser 0.102.0", - "wasmtime-types 8.0.1", -] - -[[package]] -name = "crc" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" - -[[package]] -name = "crc32fast" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" - -[[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.7", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-bigint" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" -dependencies = [ - "generic-array 0.14.7", - "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.7", - "rand_core 0.6.4", - "typenum", -] +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array 0.14.7", + "typenum", +] [[package]] name = "crypto-mac" @@ -2506,24 +1330,6 @@ dependencies = [ "subtle", ] -[[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 = "ctr" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" -dependencies = [ - "cipher 0.4.4", -] - [[package]] name = "curve25519-dalek" version = "2.1.3" @@ -2561,8 +1367,8 @@ dependencies = [ "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms 3.4.0", - "rustc_version 0.4.0", + "platforms", + "rustc_version", "subtle", "zeroize", ] @@ -2575,439 +1381,164 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", -] - -[[package]] -name = "cxx" -version = "1.0.121" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21db378d04296a84d8b7d047c36bb3954f0b46529db725d7e62fb02f9ba53ccc" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", + "syn 2.0.61", ] [[package]] -name = "cxx-build" -version = "1.0.121" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e5262a7fa3f0bae2a55b767c223ba98032d7c328f5c13fa5cdc980b77fc0658" +name = "demeter-farming-platform" +version = "1.0.0" dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn 2.0.60", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", ] [[package]] -name = "cxxbridge-flags" -version = "1.0.121" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8dcadd2e2fb4a501e1d9e93d6e88e6ea494306d8272069c92d5a9edf8855c0" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.121" +name = "der" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad08a837629ad949b73d032c637653d069e909cffe4ee7870b02301939ce39cc" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", + "const-oid", + "zeroize", ] [[package]] -name = "darling" -version = "0.14.4" +name = "der" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ - "darling_core", - "darling_macro", + "const-oid", + "zeroize", ] [[package]] -name = "darling_core" -version = "0.14.4" +name = "derivative" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ - "fnv", - "ident_case", "proc-macro2", "quote", - "strsim", "syn 1.0.109", ] [[package]] -name = "darling_macro" -version = "0.14.4" +name = "derive-syn-parse" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" dependencies = [ - "darling_core", + "proc-macro2", "quote", "syn 1.0.109", ] [[package]] -name = "data-encoding" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" - -[[package]] -name = "data-encoding-macro" -version = "0.1.14" +name = "derive-syn-parse" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ - "data-encoding", - "data-encoding-macro-internal", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "data-encoding-macro-internal" -version = "0.1.12" +name = "derive_more" +version = "0.99.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ - "data-encoding", + "proc-macro2", + "quote", "syn 1.0.109", ] [[package]] -name = "demeter-farming-platform" -version = "1.0.0" +name = "dex-api" +version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "demeter-farming-platform-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "vested-rewards", -] - -[[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" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" -dependencies = [ - "const-oid", - "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.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" -dependencies = [ - "asn1-rs 0.5.2", - "displaydoc", - "nom", - "num-bigint", - "num-traits", - "rusticata-macros", -] - -[[package]] -name = "deranged" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive-syn-parse" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive-syn-parse" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[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 1.0.109", -] - -[[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 1.0.109", -] - -[[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 0.4.0", - "syn 1.0.109", -] - -[[package]] -name = "dex-api" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "strum 0.25.0", "technical", ] -[[package]] -name = "dex-api-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "dex-runtime-api", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "dex-manager" version = "0.2.0" dependencies = [ "assets", "common 0.1.0", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "dex-manager-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "dex-manager-runtime-api", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "dex-manager-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "dex-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] -[[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" @@ -3038,51 +1569,9 @@ dependencies = [ "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", - "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 = "dispatch" version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", "frame-benchmarking 4.0.0-dev", @@ -3091,21 +1580,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "displaydoc" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3125,12 +1603,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - [[package]] name = "docify" version = "0.2.8" @@ -3152,30 +1624,18 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.60", + "syn 2.0.61", "termcolor", - "toml 0.8.12", + "toml", "walkdir", ] -[[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.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" -[[package]] -name = "dtoa" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" - [[package]] name = "dyn-clonable" version = "0.9.0" @@ -3244,7 +1704,6 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "pkcs8 0.10.2", "signature 2.2.0", ] @@ -3256,8 +1715,6 @@ checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.2.0", "ed25519 1.5.3", - "rand 0.7.3", - "serde", "sha2 0.9.9", "zeroize", ] @@ -3270,11 +1727,8 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek 4.1.2", "ed25519 2.2.3", - "rand_core 0.6.4", - "serde", "sha2 0.10.8", "subtle", - "zeroize", ] [[package]] @@ -3321,9 +1775,6 @@ dependencies = [ "ff 0.12.1", "generic-array 0.14.7", "group 0.12.1", - "hkdf", - "pem-rfc7468", - "pkcs8 0.9.0", "rand_core 0.6.4", "sec1 0.3.0", "subtle", @@ -3349,38 +1800,6 @@ dependencies = [ "zeroize", ] -[[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 1.0.109", -] - -[[package]] -name = "enumflags2" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" -dependencies = [ - "enumflags2_derive", -] - -[[package]] -name = "enumflags2_derive" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "env_logger" version = "0.10.2" @@ -3419,9 +1838,9 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -3450,10 +1869,10 @@ dependencies = [ "ethabi-contract", "ethabi-derive", "ethereum-types", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -3461,57 +1880,26 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-multisig 3.2.3", + "pallet-balances", "pallet-scheduler", "pallet-sudo", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.2", + "parking_lot", "permissions", "rlp", "rustc-hex", "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-std 8.0.0", "tiny-keccak", "tokio", ] -[[package]] -name = "eth-bridge-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "eth-bridge", - "eth-bridge-runtime-api", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "eth-bridge-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "ethabi" version = "17.2.0" @@ -3601,7 +1989,7 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3612,7 +2000,7 @@ checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3623,7 +2011,7 @@ checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -3633,30 +2021,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ "event-listener 4.0.3", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] name = "event-listener-strategy" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332f51cb23d20b0de8458b86580878211da09bcd4503cb579c225b3d124cabb3" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener 5.3.0", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] name = "evm-fungible-app" version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", "dispatch", "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "hex-literal", "orml-currencies", "orml-traits", @@ -3665,32 +2053,24 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "exit-future" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" -dependencies = [ - "futures 0.3.30", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] name = "expander" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" dependencies = [ "blake2", "fs-err", + "prettier-please", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -3721,9 +2101,9 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "env_logger", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -3731,9 +2111,9 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "pallet-scheduler", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -3741,38 +2121,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", ] -[[package]] -name = "farming-rpc" -version = "0.1.0" -dependencies = [ - "farming-runtime-api", - "jsonrpsee", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "farming-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "fastrand" version = "1.9.0" @@ -3784,9 +2142,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "faucet" @@ -3794,36 +2152,27 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "rewards", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] -[[package]] -name = "fdlimit" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" -dependencies = [ - "libc", -] - [[package]] name = "ff" version = "0.12.1" @@ -3863,44 +2212,6 @@ version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - -[[package]] -name = "filetime" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", -] - -[[package]] -name = "finality-grandpa" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" -dependencies = [ - "either", - "futures 0.3.30", - "futures-timer", - "log", - "num-traits", - "parity-scale-codec", - "parking_lot 0.12.2", - "scale-info", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -3913,12 +2224,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "fixedbitset" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" - [[package]] name = "fixnum" version = "0.6.0" @@ -3932,40 +2237,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "flate2" -version = "1.0.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4556222738635b7a3417ae6130d8f52201e45a0c4d1a907f0826383adb5f85e7" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - -[[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 = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", -] - [[package]] name = "form_urlencoded" version = "1.2.1" @@ -3975,12 +2246,6 @@ dependencies = [ "percent-encoding", ] -[[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" @@ -4008,118 +2273,42 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "linregress 0.4.4", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", "static_assertions", ] -[[package]] -name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "Inflector", - "array-bytes 4.2.0", - "chrono", - "clap", - "comfy-table", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "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 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-client-db", - "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-service", - "sc-sysinfo", - "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "thousands", -] - -[[package]] -name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-election-provider-support" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-election-provider-solution-type", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-try-runtime", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", ] [[package]] @@ -4146,22 +2335,6 @@ dependencies = [ "serde", ] -[[package]] -name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "futures 0.3.30", - "log", - "parity-scale-codec", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-rpc-client", - "tokio", -] - [[package]] name = "frame-support" version = "4.0.0-dev" @@ -4204,11 +2377,11 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "bitflags 1.3.2", "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "impl-trait-for-tuples", "k256 0.11.6", "log", @@ -4218,18 +2391,18 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-core-hashing-proc-macro 5.0.0", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-weights 4.0.0", "tt-call", ] @@ -4247,18 +2420,18 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "Inflector", "cfg-expr 0.10.3", "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "itertools", "proc-macro2", "quote", @@ -4270,19 +2443,19 @@ name = "frame-support-procedural-tools" version = "4.0.0-dev" dependencies = [ "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate", + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -4294,13 +2467,13 @@ version = "3.0.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", @@ -4328,389 +2501,59 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version 5.0.0", + "sp-weights 4.0.0", ] [[package]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "autocfg", ] [[package]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" dependencies = [ - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", ] [[package]] -name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "framenode" -version = "3.3.0" -dependencies = [ - "ahash 0.8.5", - "ansi_term", - "assert_cmd", - "assets-rpc", - "beefy-gadget", - "beefy-gadget-rpc", - "beefy-light-client", - "beefy-light-client-rpc", - "bridge-proxy-rpc", - "bridge-types", - "bumpalo", - "cargo-platform", - "clap", - "clap_lex", - "common 0.1.0", - "derive_more", - "dex-api-rpc", - "dex-manager-rpc", - "enum-as-inner", - "eth-bridge-rpc", - "exit-future", - "farming-rpc", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-benchmarking-cli", - "frame-remote-externalities", - "framenode-chain-spec", - "framenode-runtime", - "futures 0.3.30", - "futures-timer", - "hex-literal", - "iroha-migration", - "iroha-migration-rpc", - "jsonrpsee", - "leaf-provider-rpc", - "libsecp256k1", - "liquidity-proxy-rpc", - "log", - "mmr-gadget", - "mmr-rpc", - "oracle-proxy-rpc", - "pallet-multisig 3.2.3", - "pallet-sudo", - "pallet-transaction-payment-rpc", - "parity-scale-codec", - "parking_lot 0.12.2", - "pswap-distribution-rpc", - "rewards", - "rewards-rpc", - "sc-basic-authorship", - "sc-chain-spec", - "sc-cli", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-client-db", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus-aura", - "sc-consensus-babe", - "sc-consensus-slots", - "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-finality-grandpa", - "sc-informant", - "sc-network", - "sc-rpc", - "sc-rpc-api", - "sc-service", - "sc-telemetry", - "sc-transaction-pool", - "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-transaction-pool", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-bip39", - "substrate-build-script-utils", - "substrate-frame-rpc-system", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "tokio", - "trading-pair-rpc", - "trie-root 0.16.0", - "try-runtime-cli", - "vested-rewards-rpc", - "xor-fee", -] - -[[package]] -name = "framenode-chain-spec" -version = "3.3.0" -dependencies = [ - "common 0.1.0", - "faucet", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-runtime", - "hex-literal", - "iroha-migration", - "order-book", - "pallet-multisig 3.2.3", - "parity-scale-codec", - "permissions", - "rewards", - "sc-finality-grandpa", - "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-service", - "serde", - "serde_json", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "xor-fee", -] - -[[package]] -name = "framenode-runtime" -version = "3.3.0" -dependencies = [ - "apollo-platform", - "assets", - "assets-runtime-api", - "band", - "beefy-light-client", - "beefy-light-client-runtime-api", - "bridge-channel", - "bridge-data-signer", - "bridge-proxy", - "bridge-proxy-runtime-api", - "bridge-types", - "ceres-governance-platform", - "ceres-launchpad", - "ceres-liquidity-locker", - "ceres-liquidity-locker-benchmarking", - "ceres-staking", - "ceres-token-locker", - "common 0.1.0", - "demeter-farming-platform", - "demeter-farming-platform-benchmarking", - "dex-api", - "dex-manager", - "dex-manager-runtime-api", - "dex-runtime-api", - "dispatch", - "env_logger", - "eth-bridge", - "eth-bridge-runtime-api", - "evm-fungible-app", - "farming", - "farming-runtime-api", - "faucet", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-election-provider-support", - "frame-executive", - "frame-remote-externalities", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime", - "framenode-chain-spec", - "hermes-governance-platform", - "hex-literal", - "iroha-migration", - "iroha-migration-runtime-api", - "kensetsu", - "kensetsu-benchmarking", - "leaf-provider", - "leaf-provider-runtime-api", - "liquidity-proxy", - "liquidity-proxy-benchmarking", - "liquidity-proxy-runtime-api", - "log", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "multisig-verifier", - "oracle-proxy", - "oracle-proxy-runtime-api", - "order-book", - "order-book-benchmarking", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-aura", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-collective", - "pallet-democracy", - "pallet-election-provider-multi-phase", - "pallet-elections-phragmen", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-membership", - "pallet-mmr", - "pallet-multisig 3.2.3", - "pallet-multisig 4.0.0-dev", - "pallet-offences", - "pallet-preimage", - "pallet-randomness-collective-flip", - "pallet-scheduler", - "pallet-session", - "pallet-staking", - "pallet-sudo", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-utility", - "parachain-bridge-app", - "parity-scale-codec", - "parity-scale-codec-derive", - "permissions", - "pool-xyk", - "pool-xyk-benchmarking", - "price-tools", - "pswap-distribution", - "pswap-distribution-benchmarking", - "pswap-distribution-runtime-api", - "qa-tools", - "referrals", - "rewards", - "rewards-runtime-api", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-block-builder", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-npos-elections", - "sp-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-transaction-pool", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", - "substrate-bridge-app", - "substrate-bridge-channel", - "substrate-wasm-builder", - "technical", - "tokio", - "trading-pair", - "trading-pair-runtime-api", - "vested-rewards", - "vested-rewards-runtime-api", - "xor-fee", - "xst", - "xst-benchmarking", -] - -[[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] - -[[package]] -name = "fs2" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" -dependencies = [ - "libc", - "winapi", -] - -[[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.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", - "futures-sink", + "futures-core", + "futures-sink", ] [[package]] @@ -4748,7 +2591,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", "waker-fn", ] @@ -4758,11 +2601,11 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.0.2", + "fastrand 2.1.0", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite", ] [[package]] @@ -4773,18 +2616,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", -] - -[[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.9", - "webpki 0.22.4", + "syn 2.0.61", ] [[package]] @@ -4799,19 +2631,12 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" -[[package]] -name = "futures-timer" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" - [[package]] name = "futures-util" version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ - "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -4819,35 +2644,11 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite", "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 = "generate-bags" -version = "0.1.0" -dependencies = [ - "chrono", - "clap", - "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-runtime", - "num-format", - "pallet-staking", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "generic-array" version = "0.12.4" @@ -4868,16 +2669,6 @@ dependencies = [ "zeroize", ] -[[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" @@ -4891,9 +2682,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "js-sys", @@ -4903,23 +2694,12 @@ dependencies = [ ] [[package]] -name = "ghash" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" -dependencies = [ - "opaque-debug 0.3.1", - "polyval 0.5.3", -] - -[[package]] -name = "ghash" -version = "0.5.1" +name = "getrandom_or_panic" +version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "opaque-debug 0.3.1", - "polyval 0.6.2", + "rand_core 0.6.4", ] [[package]] @@ -4929,7 +2709,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ "fallible-iterator 0.2.0", - "indexmap 1.9.3", "stable_deref_trait", ] @@ -4950,25 +2729,6 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "globset" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", -] - [[package]] name = "gloo-timers" version = "0.2.6" @@ -5003,39 +2763,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap 2.2.6", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "handlebars" -version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" -dependencies = [ - "log", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "hash-db" version = "0.15.2" @@ -5072,14 +2799,14 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", ] [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "heck" @@ -5097,16 +2824,16 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hermes-governance-platform", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -5114,22 +2841,13 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] -[[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.3.9" @@ -5151,15 +2869,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" -[[package]] -name = "hkdf" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" -dependencies = [ - "hmac 0.12.1", -] - [[package]] name = "hmac" version = "0.8.1" @@ -5201,150 +2910,34 @@ dependencies = [ ] [[package]] -name = "home" -version = "0.5.9" +name = "humantime" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] -name = "hostname" -version = "0.3.1" +name = "iana-time-zone" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ - "libc", - "match_cfg", - "winapi", + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows-core", ] [[package]] -name = "http" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" -dependencies = [ - "bytes", - "http", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "http-range-header" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" - -[[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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[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.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite 0.2.14", - "socket2 0.5.6", - "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.9", - "rustls-native-certs", - "tokio", - "tokio-rustls 0.23.4", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows-core 0.52.0", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" +name = "iana-time-zone-haiku" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ "cc", ] -[[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.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.5.0" @@ -5355,35 +2948,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "if-addrs" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "if-watch" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" -dependencies = [ - "async-io 2.3.2", - "core-foundation", - "fnv", - "futures 0.3.30", - "if-addrs", - "ipnet", - "log", - "rtnetlink", - "system-configuration", - "tokio", - "windows", -] - [[package]] name = "impl-codec" version = "0.6.0" @@ -5459,16 +3023,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.3", -] - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array 0.14.7", + "hashbrown 0.14.5", ] [[package]] @@ -5489,25 +3044,6 @@ 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" @@ -5520,35 +3056,11 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi", "libc", "windows-sys 0.48.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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" -dependencies = [ - "socket2 0.5.6", - "widestring", - "windows-sys 0.48.0", - "winreg", -] - -[[package]] -name = "ipnet" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" - [[package]] name = "iroha-migration" version = "0.1.0" @@ -5557,15 +3069,15 @@ dependencies = [ "common 0.1.0", "ed25519-dalek-iroha", "eth-bridge", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "orml-currencies", "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-multisig 4.0.0-dev", + "pallet-balances", + "pallet-multisig", "parity-scale-codec", "parity-util-mem", "permissions", @@ -5573,40 +3085,20 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] -[[package]] -name = "iroha-migration-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "iroha-migration-runtime-api", - "jsonrpsee", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "iroha-migration-runtime-api" -version = "0.1.0" -dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "is-terminal" version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi", "libc", "windows-sys 0.52.0", ] @@ -5626,15 +3118,6 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" -[[package]] -name = "jobserver" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" -dependencies = [ - "libc", -] - [[package]] name = "js-sys" version = "0.3.69" @@ -5649,137 +3132,13 @@ name = "jsonrpc-core" version = "17.0.0" source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" dependencies = [ - "futures 0.3.30", + "futures", "log", "serde", "serde_derive", "serde_json", ] -[[package]] -name = "jsonrpsee" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" -dependencies = [ - "jsonrpsee-core", - "jsonrpsee-proc-macros", - "jsonrpsee-server", - "jsonrpsee-types", - "jsonrpsee-ws-client", - "tracing", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" -dependencies = [ - "futures-util", - "http", - "jsonrpsee-core", - "jsonrpsee-types", - "pin-project", - "rustls-native-certs", - "soketto", - "thiserror", - "tokio", - "tokio-rustls 0.24.1", - "tokio-util", - "tracing", - "webpki-roots 0.25.4", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" -dependencies = [ - "anyhow", - "arrayvec 0.7.4", - "async-lock 2.8.0", - "async-trait", - "beef", - "futures-channel", - "futures-timer", - "futures-util", - "globset", - "hyper", - "jsonrpsee-types", - "parking_lot 0.12.2", - "rand 0.8.5", - "rustc-hash", - "serde", - "serde_json", - "soketto", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" -dependencies = [ - "heck", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "jsonrpsee-server" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" -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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - -[[package]] -name = "jsonrpsee-ws-client" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" -dependencies = [ - "http", - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", -] - [[package]] name = "k256" version = "0.11.6" @@ -5814,51 +3173,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "kensetsu" -version = "0.0.1" -dependencies = [ - "assets", - "common 0.1.0", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", -] - -[[package]] -name = "kensetsu-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "kensetsu", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "pool-xyk", - "price-tools", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - [[package]] name = "kv-log-macro" version = "1.0.7" @@ -5869,1257 +3183,1044 @@ dependencies = [ ] [[package]] -name = "kvdb" -version = "0.13.0" +name = "lazy_static" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" -dependencies = [ - "smallvec", -] +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] -name = "kvdb-memorydb" -version = "0.13.0" +name = "libc" +version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" -dependencies = [ - "kvdb", - "parking_lot 0.12.2", -] +checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" [[package]] -name = "kvdb-rocksdb" -version = "0.17.0" +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + +[[package]] +name = "libsecp256k1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" +checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" dependencies = [ - "kvdb", - "num_cpus", - "parking_lot 0.12.2", - "regex", - "rocksdb", - "smallvec", + "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 = "lazy_static" -version = "1.4.0" +name = "libsecp256k1-core" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" +dependencies = [ + "crunchy", + "digest 0.9.0", + "subtle", +] [[package]] -name = "lazycell" -version = "1.3.0" +name = "libsecp256k1-gen-ecmult" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" +checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +dependencies = [ + "libsecp256k1-core", +] [[package]] -name = "leaf-provider" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +name = "libsecp256k1-gen-genmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" dependencies = [ - "bridge-types", - "ethabi", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "libsecp256k1-core", ] [[package]] -name = "leaf-provider-rpc" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +name = "linregress" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" dependencies = [ - "jsonrpsee", - "leaf-provider-runtime-api", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "nalgebra 0.27.1", + "statrs", ] [[package]] -name = "leaf-provider-runtime-api" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +name = "linregress" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ - "bridge-types", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "nalgebra 0.32.5", ] [[package]] -name = "libc" -version = "0.2.153" +name = "linux-raw-sys" +version = "0.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" [[package]] -name = "libloading" -version = "0.8.3" +name = "linux-raw-sys" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" -dependencies = [ - "cfg-if", - "windows-targets 0.52.5", -] +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] -name = "libm" -version = "0.2.8" +name = "linux-raw-sys" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] -name = "libp2p" -version = "0.50.1" +name = "linux-raw-sys" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7b0104790be871edcf97db9bd2356604984e623a08d825c3f27852290266b8" -dependencies = [ - "bytes", - "futures 0.3.30", - "futures-timer", - "getrandom 0.2.14", - "instant", - "libp2p-core 0.38.0", - "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 0.16.0", - "parking_lot 0.12.2", - "pin-project", - "smallvec", -] +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] -name = "libp2p-core" -version = "0.38.0" +name = "lock_api" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ - "asn1_der", - "bs58 0.4.0", - "ed25519-dalek 1.0.1", - "either", - "fnv", - "futures 0.3.30", - "futures-timer", - "instant", - "log", - "multiaddr 0.16.0", - "multihash 0.16.3", - "multistream-select", - "once_cell", - "parking_lot 0.12.2", - "pin-project", - "prost", - "prost-build", - "rand 0.8.5", - "rw-stream-sink", - "sec1 0.3.0", - "sha2 0.10.8", - "smallvec", - "thiserror", - "unsigned-varint", - "void", - "zeroize", + "autocfg", + "scopeguard", ] [[package]] -name = "libp2p-core" -version = "0.39.2" +name = "log" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" dependencies = [ - "either", - "fnv", - "futures 0.3.30", - "futures-timer", - "instant", - "libp2p-identity", - "log", - "multiaddr 0.17.1", - "multihash 0.17.0", - "multistream-select", - "once_cell", - "parking_lot 0.12.2", - "pin-project", - "quick-protobuf", - "rand 0.8.5", - "rw-stream-sink", - "smallvec", - "thiserror", - "unsigned-varint", - "void", + "value-bag", ] [[package]] -name = "libp2p-dns" -version = "0.38.0" +name = "mach" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e42a271c1b49f789b92f7fc87749fa79ce5c7bdc88cbdfacb818a4bca47fec5" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" dependencies = [ - "futures 0.3.30", - "libp2p-core 0.38.0", - "log", - "parking_lot 0.12.2", - "smallvec", - "trust-dns-resolver", + "libc", ] [[package]] -name = "libp2p-identify" -version = "0.41.1" +name = "macro_magic" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c052d0026f4817b44869bfb6810f4e1112f43aec8553f2cb38881c524b563abf" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" dependencies = [ - "asynchronous-codec", - "futures 0.3.30", - "futures-timer", - "libp2p-core 0.38.0", - "libp2p-swarm", - "log", - "lru", - "prost", - "prost-build", - "prost-codec", - "smallvec", - "thiserror", - "void", + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.61", ] [[package]] -name = "libp2p-identity" -version = "0.1.3" +name = "macro_magic_core" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" dependencies = [ - "bs58 0.4.0", - "ed25519-dalek 2.1.1", - "log", - "multiaddr 0.17.1", - "multihash 0.17.0", - "quick-protobuf", - "rand 0.8.5", - "sha2 0.10.8", - "thiserror", - "zeroize", + "const-random", + "derive-syn-parse 0.1.5", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "libp2p-kad" -version = "0.42.1" +name = "macro_magic_core_macros" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2766dcd2be8c87d5e1f35487deb22d765f49c6ae1251b3633efe3b25698bd3d2" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ - "arrayvec 0.7.4", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures 0.3.30", - "futures-timer", - "instant", - "libp2p-core 0.38.0", - "libp2p-swarm", - "log", - "prost", - "prost-build", - "rand 0.8.5", - "sha2 0.10.8", - "smallvec", - "thiserror", - "uint", - "unsigned-varint", - "void", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "libp2p-mdns" -version = "0.42.0" +name = "macro_magic_macros" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04f378264aade9872d6ccd315c0accc18be3a35d15fc1b9c36e5b6f983b62b5b" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ - "data-encoding", - "futures 0.3.30", - "if-watch", - "libp2p-core 0.38.0", - "libp2p-swarm", - "log", - "rand 0.8.5", - "smallvec", - "socket2 0.4.10", - "tokio", - "trust-dns-proto", - "void", + "macro_magic_core", + "quote", + "syn 2.0.61", ] [[package]] -name = "libp2p-metrics" -version = "0.11.0" +name = "matchers" +version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad8a64f29da86005c86a4d2728b8a0719e9b192f4092b609fd8790acb9dec55" +checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" dependencies = [ - "libp2p-core 0.38.0", - "libp2p-identify", - "libp2p-kad", - "libp2p-ping", - "libp2p-swarm", - "prometheus-client", + "regex-automata 0.1.10", ] [[package]] -name = "libp2p-mplex" -version = "0.38.0" +name = "matrixmultiply" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03805b44107aa013e7cbbfa5627b31c36cbedfdfb00603c0311998882bc4bace" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ - "asynchronous-codec", - "bytes", - "futures 0.3.30", - "libp2p-core 0.38.0", - "log", - "nohash-hasher", - "parking_lot 0.12.2", - "rand 0.8.5", - "smallvec", - "unsigned-varint", + "autocfg", + "rawpointer", ] [[package]] -name = "libp2p-noise" -version = "0.41.0" +name = "memchr" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a978cb57efe82e892ec6f348a536bfbd9fee677adbe5689d7a93ad3a9bffbf2e" -dependencies = [ - "bytes", - "curve25519-dalek 3.2.0", - "futures 0.3.30", - "libp2p-core 0.38.0", - "log", - "once_cell", - "prost", - "prost-build", - "rand 0.8.5", - "sha2 0.10.8", - "snow", - "static_assertions", - "thiserror", - "x25519-dalek 1.1.1", - "zeroize", -] +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] -name = "libp2p-ping" -version = "0.41.0" +name = "memfd" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "929fcace45a112536e22b3dcfd4db538723ef9c3cb79f672b98be2cc8e25f37f" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "futures 0.3.30", - "futures-timer", - "instant", - "libp2p-core 0.38.0", - "libp2p-swarm", - "log", - "rand 0.8.5", - "void", + "rustix 0.38.34", ] [[package]] -name = "libp2p-quic" -version = "0.7.0-alpha" +name = "memoffset" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e7c867e95c8130667b24409d236d37598270e6da69b3baf54213ba31ffca59" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" dependencies = [ - "bytes", - "futures 0.3.30", - "futures-timer", - "if-watch", - "libp2p-core 0.38.0", - "libp2p-tls", - "log", - "parking_lot 0.12.2", - "quinn-proto", - "rand 0.8.5", - "rustls 0.20.9", - "thiserror", - "tokio", + "autocfg", ] [[package]] -name = "libp2p-request-response" -version = "0.23.0" +name = "memoffset" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3236168796727bfcf4927f766393415361e2c644b08bedb6a6b13d957c9a4884" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ - "async-trait", - "bytes", - "futures 0.3.30", - "instant", - "libp2p-core 0.38.0", - "libp2p-swarm", - "log", - "rand 0.8.5", - "smallvec", - "unsigned-varint", + "autocfg", ] [[package]] -name = "libp2p-swarm" -version = "0.41.1" +name = "memory-db" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a35472fe3276b3855c00f1c032ea8413615e030256429ad5349cdf67c6e1a0" +checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" dependencies = [ - "either", - "fnv", - "futures 0.3.30", - "futures-timer", - "instant", - "libp2p-core 0.38.0", - "libp2p-swarm-derive", - "log", - "pin-project", - "rand 0.8.5", - "smallvec", - "thiserror", - "tokio", - "void", + "hash-db 0.15.2", + "hashbrown 0.12.3", ] [[package]] -name = "libp2p-swarm-derive" -version = "0.31.0" +name = "memory-db" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d527d5827582abd44a6d80c07ff8b50b4ee238a8979e05998474179e79dc400" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "heck", - "quote", - "syn 1.0.109", + "hash-db 0.16.0", ] [[package]] -name = "libp2p-tcp" -version = "0.38.0" +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 = "b4b257baf6df8f2df39678b86c578961d48cc8b68642a12f0f763f56c8e5858d" +checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" dependencies = [ - "futures 0.3.30", - "futures-timer", - "if-watch", - "libc", - "libp2p-core 0.38.0", - "log", - "socket2 0.4.10", - "tokio", + "byteorder", + "keccak", + "rand_core 0.5.1", + "zeroize", ] [[package]] -name = "libp2p-tls" -version = "0.1.0" +name = "merlin" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ - "futures 0.3.30", - "futures-rustls", - "libp2p-core 0.39.2", - "libp2p-identity", - "rcgen 0.10.0", - "ring 0.16.20", - "rustls 0.20.9", - "thiserror", - "webpki 0.22.4", - "x509-parser 0.14.0", - "yasna", + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", ] [[package]] -name = "libp2p-wasm-ext" -version = "0.38.0" +name = "miniz_oxide" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb1a35299860e0d4b3c02a3e74e3b293ad35ae0cee8a056363b0c862d082069" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ - "futures 0.3.30", - "js-sys", - "libp2p-core 0.38.0", - "parity-send-wrapper", - "wasm-bindgen", - "wasm-bindgen-futures", + "adler", ] [[package]] -name = "libp2p-webrtc" -version = "0.4.0-alpha" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb6cd86dd68cba72308ea05de1cebf3ba0ae6e187c40548167955d4e3970f6a" +name = "mock-liquidity-source" +version = "0.1.0" dependencies = [ - "async-trait", - "asynchronous-codec", - "bytes", - "futures 0.3.30", - "futures-timer", - "hex", - "if-watch", - "libp2p-core 0.38.0", - "libp2p-noise", - "log", - "multihash 0.16.3", - "prost", - "prost-build", - "prost-codec", - "rand 0.8.5", - "rcgen 0.9.3", + "assets", + "common 0.1.0", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", "serde", - "stun", - "thiserror", - "tinytemplate", - "tokio", - "tokio-util", - "webrtc", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", ] [[package]] -name = "libp2p-websocket" -version = "0.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d705506030d5c0aaf2882437c70dab437605f21c5f9811978f694e6917a3b54" +name = "multicollateral-bonding-curve-pool" +version = "0.3.0" dependencies = [ - "either", - "futures 0.3.30", - "futures-rustls", - "libp2p-core 0.38.0", - "log", - "parking_lot 0.12.2", - "quicksink", - "rw-stream-sink", - "soketto", - "url", - "webpki-roots 0.22.6", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", ] [[package]] -name = "libp2p-yamux" -version = "0.42.0" +name = "nalgebra" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f63594a0aa818642d9d4915c791945053877253f08a3626f13416b5cd928a29" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" dependencies = [ - "futures 0.3.30", - "libp2p-core 0.38.0", - "log", - "parking_lot 0.12.2", - "thiserror", - "yamux", + "approx", + "matrixmultiply", + "nalgebra-macros 0.1.0", + "num-complex", + "num-rational", + "num-traits", + "rand 0.8.5", + "rand_distr", + "simba 0.5.1", + "typenum", ] [[package]] -name = "libredox" -version = "0.1.3" +name = "nalgebra" +version = "0.32.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" dependencies = [ - "bitflags 2.5.0", - "libc", + "approx", + "matrixmultiply", + "nalgebra-macros 0.2.1", + "num-complex", + "num-rational", + "num-traits", + "simba 0.8.1", + "typenum", ] [[package]] -name = "librocksdb-sys" -version = "0.8.3+7.4.4" +name = "nalgebra-macros" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" +checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" dependencies = [ - "bindgen", - "bzip2-sys", - "cc", - "glob", - "libc", - "libz-sys", - "tikv-jemalloc-sys", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "libsecp256k1" -version = "0.7.1" +name = "nalgebra-macros" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" dependencies = [ - "arrayref", - "base64 0.13.1", - "digest 0.9.0", - "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde", - "sha2 0.9.9", - "typenum", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "libsecp256k1-core" -version = "0.3.0" +name = "nodrop" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" [[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" +name = "nohash-hasher" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "num-bigint" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ - "libsecp256k1-core", + "num-integer", + "num-traits", ] [[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" +name = "num-complex" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ - "libsecp256k1-core", + "num-traits", ] [[package]] -name = "libz-sys" -version = "1.1.16" +name = "num-format" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" +checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "cc", - "pkg-config", - "vcpkg", + "arrayvec 0.7.4", + "itoa", ] [[package]] -name = "link-cplusplus" -version = "1.0.9" +name = "num-integer" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "cc", + "num-traits", ] [[package]] -name = "linked-hash-map" -version = "0.5.6" +name = "num-rational" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +dependencies = [ + "num-bigint", + "num-integer", + "num-traits", +] [[package]] -name = "linked_hash_set" -version = "0.1.4" +name = "num-traits" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ - "linked-hash-map", + "autocfg", + "libm", ] [[package]] -name = "linregress" -version = "0.4.4" +name = "num_cpus" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "nalgebra 0.27.1", - "statrs", + "hermit-abi", + "libc", ] [[package]] -name = "linregress" -version = "0.5.3" +name = "object" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ - "nalgebra 0.32.5", + "crc32fast", + "hashbrown 0.12.3", + "indexmap 1.9.3", + "memchr", ] [[package]] -name = "linux-raw-sys" -version = "0.0.46" +name = "object" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +dependencies = [ + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", + "memchr", +] [[package]] -name = "linux-raw-sys" -version = "0.1.4" +name = "object" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] [[package]] -name = "linux-raw-sys" -version = "0.3.8" +name = "once_cell" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] -name = "linux-raw-sys" -version = "0.4.13" +name = "opaque-debug" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] -name = "liquidity-proxy" -version = "0.1.0" +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "oracle-proxy" +version = "1.0.0" dependencies = [ - "assets", - "ceres-liquidity-locker", + "band", "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "fallible-iterator 0.2.0", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-chain-spec", - "framenode-runtime", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", - "itertools", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "order-book", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "qa-tools", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "vested-rewards", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "liquidity-proxy-benchmarking" -version = "0.1.0" +name = "orml-currencies" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "liquidity-proxy", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-traits", + "orml-utilities", "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "vested-rewards", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "liquidity-proxy-rpc" -version = "0.1.0" +name = "orml-tokens" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "common 0.1.0", - "jsonrpsee", - "liquidity-proxy-runtime-api", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-traits", "parity-scale-codec", + "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "liquidity-proxy-runtime-api" -version = "0.1.0" +name = "orml-traits" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "common 0.1.0", + "frame-support 4.0.0-dev", + "impl-trait-for-tuples", + "num-traits", + "orml-utilities", "parity-scale-codec", + "paste", "scale-info", "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", ] [[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +name = "orml-utilities" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "autocfg", - "scopeguard", + "frame-support 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "log" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +name = "pallet-balances" +version = "4.0.0-dev" dependencies = [ - "value-bag", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "lru" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" +name = "pallet-multisig" +version = "4.0.0-dev" dependencies = [ - "hashbrown 0.12.3", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "lru-cache" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +name = "pallet-scheduler" +version = "4.0.0-dev" dependencies = [ - "linked-hash-map", + "docify", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", ] [[package]] -name = "lz4" -version = "1.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" +name = "pallet-session" +version = "4.0.0-dev" dependencies = [ - "libc", - "lz4-sys", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "impl-trait-for-tuples", + "log", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-session", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", ] [[package]] -name = "lz4-sys" -version = "1.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +name = "pallet-sudo" +version = "4.0.0-dev" dependencies = [ - "cc", - "libc", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +name = "pallet-timestamp" +version = "4.0.0-dev" dependencies = [ - "libc", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] -name = "macro_magic" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +name = "pallet-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "macro_magic_core", - "macro_magic_macros", - "quote", - "syn 2.0.60", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] -name = "macro_magic_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +name = "pallet-transaction-payment" +version = "4.0.0-dev" dependencies = [ - "const-random", - "derive-syn-parse 0.1.5", - "macro_magic_core_macros", - "proc-macro2", - "quote", - "syn 2.0.60", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "macro_magic_core_macros" -version = "0.4.3" +name = "parity-bytes" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] +checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" [[package]] -name = "macro_magic_macros" -version = "0.4.2" +name = "parity-scale-codec" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "macro_magic_core", - "quote", - "syn 2.0.60", + "arrayvec 0.7.4", + "bitvec", + "byte-slice-cast", + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", ] [[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" +name = "parity-scale-codec-derive" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "regex-automata 0.1.10", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - -[[package]] -name = "matrixmultiply" -version = "0.3.8" +name = "parity-util-mem" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" dependencies = [ - "autocfg", - "rawpointer", + "cfg-if", + "impl-trait-for-tuples", + "parity-util-mem-derive", + "primitive-types", + "winapi", ] [[package]] -name = "md-5" -version = "0.10.6" +name = "parity-util-mem-derive" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ - "cfg-if", - "digest 0.10.7", + "proc-macro2", + "syn 1.0.109", + "synstructure", ] [[package]] -name = "memchr" -version = "2.7.2" +name = "parity-wasm" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] -name = "memfd" -version = "0.6.4" +name = "parking" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" -dependencies = [ - "rustix 0.38.34", -] +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] -name = "memmap2" -version = "0.5.10" +name = "parking_lot" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" dependencies = [ - "libc", + "lock_api", + "parking_lot_core", ] [[package]] -name = "memoffset" -version = "0.6.5" +name = "parking_lot_core" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ - "autocfg", + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.52.5", ] [[package]] -name = "memoffset" -version = "0.7.1" +name = "paste" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] -name = "memoffset" +name = "pbkdf2" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "autocfg", + "crypto-mac 0.11.1", ] [[package]] -name = "memory-db" -version = "0.31.0" +name = "pbkdf2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", + "digest 0.10.7", ] [[package]] -name = "memory-db" -version = "0.32.0" +name = "percent-encoding" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "permissions" +version = "1.1.0" dependencies = [ - "hash-db 0.16.0", + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "memory_units" -version = "0.4.0" +name = "pin-project-lite" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] -name = "merlin" -version = "2.0.1" +name = "pin-utils" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] -name = "merlin" -version = "3.0.0" +name = "piper" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" dependencies = [ - "byteorder", - "keccak", - "rand_core 0.6.4", - "zeroize", + "atomic-waker", + "fastrand 2.1.0", + "futures-io", ] [[package]] -name = "minimal-lexical" -version = "0.2.1" +name = "pkcs8" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +dependencies = [ + "der 0.6.1", + "spki 0.6.0", +] [[package]] -name = "miniz_oxide" -version = "0.7.2" +name = "pkcs8" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "adler", + "der 0.7.9", + "spki 0.7.3", ] [[package]] -name = "mio" -version = "0.8.11" +name = "platforms" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", -] +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] -name = "mmr-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ - "futures 0.3.30", + "autocfg", + "bitflags 1.3.2", + "cfg-if", + "concurrent-queue", + "libc", "log", - "parity-scale-codec", - "sc-client-api 4.0.0-dev", - "sc-offchain 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev", - "sp-beefy 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "pin-project-lite", + "windows-sys 0.48.0", ] [[package]] -name = "mmr-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "polling" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" dependencies = [ - "anyhow", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 0.38.34", + "tracing", + "windows-sys 0.52.0", ] [[package]] -name = "mock-liquidity-source" -version = "0.1.0" +name = "pool-xyk" +version = "1.2.0" dependencies = [ "assets", + "band", + "ceres-liquidity-locker", "common 0.1.0", + "demeter-farming-platform", "dex-manager", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", + "num-traits", + "oracle-proxy", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", + "price-tools", + "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", + "trading-pair", + "xst", ] [[package]] -name = "mockall" -version = "0.11.4" +name = "ppv-lite86" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "lazy_static", - "mockall_derive", - "predicates 2.1.5", - "predicates-tree", -] +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] -name = "mockall_derive" -version = "0.11.4" +name = "prettier-please" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" +checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" dependencies = [ - "cfg-if", "proc-macro2", - "quote", - "syn 1.0.109", + "syn 2.0.61", ] [[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 0.16.3", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint", - "url", -] - -[[package]] -name = "multiaddr" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b36f567c7099511fa8612bbbb52dda2419ce0bdbacf31714e3a5ffdb766d3bd" -dependencies = [ - "arrayref", - "byteorder", - "data-encoding", - "log", - "multibase", - "multihash 0.17.0", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint", - "url", -] - -[[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 = "multicollateral-bonding-curve-pool" -version = "0.3.0" +name = "price-tools" +version = "1.0.0" dependencies = [ "assets", "ceres-liquidity-locker", @@ -7127,4137 +4228,537 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", - "price-tools", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", - "trading-pair", - "vested-rewards", ] [[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.7", - "multihash-derive", - "sha2 0.10.8", - "sha3 0.10.8", - "unsigned-varint", -] - -[[package]] -name = "multihash" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" -dependencies = [ - "core2", - "multihash-derive", - "unsigned-varint", -] - -[[package]] -name = "multihash-derive" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" -dependencies = [ - "proc-macro-crate", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", -] - -[[package]] -name = "multimap" -version = "0.8.3" +name = "primitive-types" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" - -[[package]] -name = "multisig-verifier" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ - "bridge-common", - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[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.30", - "log", - "pin-project", - "smallvec", - "unsigned-varint", + "uint", ] [[package]] -name = "nalgebra" -version = "0.27.1" +name = "proc-macro-crate" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.1.0", - "num-complex", - "num-rational", - "num-traits", - "rand 0.8.5", - "rand_distr", - "simba 0.5.1", - "typenum", + "once_cell", + "toml_edit 0.19.15", ] [[package]] -name = "nalgebra" -version = "0.32.5" +name = "proc-macro-crate" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.2.1", - "num-complex", - "num-rational", - "num-traits", - "simba 0.8.1", - "typenum", + "toml_edit 0.21.1", ] [[package]] -name = "nalgebra-macros" -version = "0.1.0" +name = "proc-macro-error" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ + "proc-macro-error-attr", "proc-macro2", "quote", "syn 1.0.109", + "version_check", ] [[package]] -name = "nalgebra-macros" -version = "0.2.1" +name = "proc-macro-error-attr" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", -] - -[[package]] -name = "names" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" -dependencies = [ - "rand 0.8.5", + "version_check", ] [[package]] -name = "netlink-packet-core" +name = "proc-macro-warning" 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 1.3.2", - "byteorder", - "libc", - "netlink-packet-core", - "netlink-packet-utils", -] - -[[package]] -name = "netlink-packet-utils" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34" -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.30", - "log", - "netlink-packet-core", - "netlink-sys", - "thiserror", - "tokio", -] - -[[package]] -name = "netlink-sys" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" -dependencies = [ - "bytes", - "futures 0.3.30", - "libc", - "log", - "tokio", -] - -[[package]] -name = "nix" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" -dependencies = [ - "bitflags 1.3.2", - "cfg-if", - "libc", - "memoffset 0.6.5", -] - -[[package]] -name = "nix" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" -dependencies = [ - "bitflags 1.3.2", - "cfg-if", - "libc", - "memoffset 0.7.1", - "pin-utils", -] - -[[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - -[[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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ - "memchr", - "minimal-lexical", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "num-bigint" -version = "0.4.4" +name = "proc-macro2" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" dependencies = [ - "autocfg", - "num-integer", - "num-traits", + "unicode-ident", ] [[package]] -name = "num-complex" -version = "0.4.5" +name = "psm" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" dependencies = [ - "num-traits", + "cc", ] [[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[package]] -name = "num-format" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" -dependencies = [ - "arrayvec 0.7.4", - "itoa", -] - -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "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.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi 0.3.9", - "libc", -] - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "crc32fast", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "memchr", -] - -[[package]] -name = "object" -version = "0.30.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" -dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", -] - -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -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.2", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "oracle-proxy" -version = "1.0.0" -dependencies = [ - "band", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "oracle-proxy-rpc" -version = "1.0.0" -dependencies = [ - "jsonrpsee", - "oracle-proxy-runtime-api", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "oracle-proxy-runtime-api" -version = "1.0.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "order-book" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-chain-spec", - "framenode-runtime", - "hex-literal", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-collective", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - -[[package]] -name = "order-book-benchmarking" -version = "0.1.0" +name = "pswap-distribution" +version = "1.1.1" dependencies = [ "assets", + "ceres-liquidity-locker", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-chain-spec", - "framenode-runtime", - "hex-literal", - "order-book", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-collective", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - -[[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" -dependencies = [ + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", + "permissions", + "pool-xyk", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" -dependencies = [ - "frame-support 4.0.0-dev", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "xcm", -] - -[[package]] -name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v0.9.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" -dependencies = [ - "frame-support 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "p256" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" -dependencies = [ - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - -[[package]] -name = "p384" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" -dependencies = [ - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - -[[package]] -name = "pallet-aura" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-aura", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-babe" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "pallet-authorship", - "pallet-session", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-babe", - "sp-consensus-vrf", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-bags-list" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-balances" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-beefy-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "array-bytes 4.2.0", - "beefy-merkle-tree 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "pallet-beefy", - "pallet-mmr", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-beefy 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-collective" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-democracy" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-identity" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "enumflags2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-im-online" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "pallet-authorship", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-membership" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-multisig" -version = "3.2.3" -source = "git+https://github.com/soramitsu/sora2-frame-pallets.git?branch=polkadot-v0.9.38#9762e3948a5823a312df658862c2d2311267d6aa" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-multisig" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-offences" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-preimage" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-randomness-collective-flip" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "safe-mix", - "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-scheduler" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "log", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-staking" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "orml-traits", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "jsonrpsee", - "pallet-transaction-payment-rpc-runtime-api", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "pallet-transaction-payment", - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-utility" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "parachain-bridge-app" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "xcm", -] - -[[package]] -name = "parity-bytes" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" - -[[package]] -name = "parity-db" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" -dependencies = [ - "blake2", - "crc32fast", - "fs2", - "hex", - "libc", - "log", - "lz4", - "memmap2", - "parking_lot 0.12.2", - "rand 0.8.5", - "siphasher", - "snap", - "winapi", -] - -[[package]] -name = "parity-scale-codec" -version = "3.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" -dependencies = [ - "arrayvec 0.7.4", - "bitvec", - "byte-slice-cast", - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "impl-trait-for-tuples", - "parity-util-mem-derive", - "primitive-types", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure", -] - -[[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.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.10", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.5.1", - "smallvec", - "windows-targets 0.52.5", -] - -[[package]] -name = "parse" -version = "0.1.0" -dependencies = [ - "framenode-runtime", - "hex", - "parity-scale-codec", - "rustc-hex", - "scale-info", -] - -[[package]] -name = "paste" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" - -[[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.7", -] - -[[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 0.13.1", -] - -[[package]] -name = "pem-rfc7468" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d159833a9105500e0398934e205e0773f0b27529557134ecfc51c27646adac" -dependencies = [ - "base64ct", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "permissions" -version = "1.1.0" -dependencies = [ - "common 0.1.0", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pest" -version = "2.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "311fb059dee1a7b802f036316d790138c613a4e8b180c822e3925a662e9f0c95" -dependencies = [ - "memchr", - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73541b156d32197eecda1a4014d7f868fd2bcb3c550d5386087cfba442bf69c" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c35eeed0a3fab112f75165fdc026b3913f4183133f19b49be773ac9ea966e8bd" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "pest_meta" -version = "2.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2adbf29bb9776f28caece835398781ab24435585fe0d4dc1374a61db5accedca" -dependencies = [ - "once_cell", - "pest", - "sha2 0.10.8", -] - -[[package]] -name = "petgraph" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" -dependencies = [ - "fixedbitset", - "indexmap 2.2.6", -] - -[[package]] -name = "pin-project" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[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.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "piper" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" -dependencies = [ - "atomic-waker", - "fastrand 2.0.2", - "futures-io", -] - -[[package]] -name = "pkcs8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" -dependencies = [ - "der 0.6.1", - "spki 0.6.0", -] - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der 0.7.9", - "spki 0.7.3", -] - -[[package]] -name = "pkg-config" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" - -[[package]] -name = "platforms" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" - -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite 0.2.14", - "windows-sys 0.48.0", -] - -[[package]] -name = "polling" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" -dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi 0.3.9", - "pin-project-lite 0.2.14", - "rustix 0.38.34", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "poly1305" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" -dependencies = [ - "cpufeatures", - "opaque-debug 0.3.1", - "universal-hash 0.5.1", -] - -[[package]] -name = "polyval" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug 0.3.1", - "universal-hash 0.4.1", -] - -[[package]] -name = "polyval" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug 0.3.1", - "universal-hash 0.5.1", -] - -[[package]] -name = "pool-xyk" -version = "1.2.0" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "num-traits", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", - "xst", -] - -[[package]] -name = "pool-xyk-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "predicates" -version = "2.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" -dependencies = [ - "difflib", - "float-cmp", - "itertools", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" -dependencies = [ - "anstyle", - "difflib", - "predicates-core", -] - -[[package]] -name = "predicates-core" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" - -[[package]] -name = "predicates-tree" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "prettyplease" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" -dependencies = [ - "proc-macro2", - "syn 1.0.109", -] - -[[package]] -name = "price-tools" -version = "1.0.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", -] - -[[package]] -name = "primitive-types" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" -dependencies = [ - "thiserror", - "toml 0.5.11", -] - -[[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 1.0.109", - "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-warning" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "proc-macro2" -version = "1.0.81" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "prometheus" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" -dependencies = [ - "cfg-if", - "fnv", - "lazy_static", - "memchr", - "parking_lot 0.12.2", - "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.2", - "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 1.0.109", -] - -[[package]] -name = "prost" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" -dependencies = [ - "bytes", - "prost-derive", -] - -[[package]] -name = "prost-build" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" -dependencies = [ - "bytes", - "heck", - "itertools", - "lazy_static", - "log", - "multimap", - "petgraph", - "prettyplease", - "prost", - "prost-types", - "regex", - "syn 1.0.109", - "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.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" -dependencies = [ - "anyhow", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "prost-types" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" -dependencies = [ - "prost", -] - -[[package]] -name = "psm" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" -dependencies = [ - "cc", -] - -[[package]] -name = "pswap-distribution" -version = "1.1.1" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "scale-info", - "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", -] - -[[package]] -name = "pswap-distribution-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - -[[package]] -name = "pswap-distribution-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "jsonrpsee", - "parity-scale-codec", - "pswap-distribution-runtime-api", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pswap-distribution-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "qa-tools" -version = "0.1.0" -dependencies = [ - "assets", - "band", - "common 0.1.0", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-chain-spec", - "framenode-runtime", - "multicollateral-bonding-curve-pool", - "oracle-proxy", - "order-book", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "pool-xyk", - "price-tools", - "rand 0.8.5", - "rand_chacha 0.3.1", - "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "xst", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-protobuf" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6da84cc204722a989e01ba2f6e1e276e190f22263d0cb6ce8526fcdb0d2e1f" -dependencies = [ - "byteorder", -] - -[[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.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" -dependencies = [ - "bytes", - "rand 0.8.5", - "ring 0.16.20", - "rustc-hash", - "rustls 0.20.9", - "slab", - "thiserror", - "tinyvec", - "tracing", - "webpki 0.22.4", -] - -[[package]] -name = "quote" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -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.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.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.14", -] - -[[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 = "rawpointer" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" - -[[package]] -name = "rayon" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] -name = "rcgen" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" -dependencies = [ - "pem", - "ring 0.16.20", - "time", - "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 0.16.20", - "time", - "yasna", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" -dependencies = [ - "bitflags 2.5.0", -] - -[[package]] -name = "redox_users" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" -dependencies = [ - "getrandom 0.2.14", - "libredox", - "thiserror", -] - -[[package]] -name = "ref-cast" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "referrals" -version = "1.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[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 = "regalloc2" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" -dependencies = [ - "fxhash", - "log", - "slice-group-by", - "smallvec", -] - -[[package]] -name = "regex" -version = "1.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.3", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" - -[[package]] -name = "remote-ext" -version = "0.1.0" -dependencies = [ - "anyhow", - "clap", - "common 0.1.0", - "dex-manager", - "env_logger", - "frame-election-provider-support", - "frame-remote-externalities", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "framenode-runtime", - "hex", - "jsonrpsee", - "liquidity-proxy", - "log", - "parity-scale-codec", - "serde", - "serde_json", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tokio", - "xst", -] - -[[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 = "rewards" -version = "1.3.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex", - "hex-literal", - "libsecp256k1", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", -] - -[[package]] -name = "rewards-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "jsonrpsee", - "parity-scale-codec", - "rewards-runtime-api", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "rewards-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" -dependencies = [ - "crypto-bigint 0.4.9", - "hmac 0.12.1", - "zeroize", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac 0.12.1", - "subtle", -] - -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", - "fflonk", - "merlin 3.0.0", -] - -[[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 0.7.1", - "web-sys", - "winapi", -] - -[[package]] -name = "ring" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" -dependencies = [ - "cc", - "cfg-if", - "getrandom 0.2.14", - "libc", - "spin 0.9.8", - "untrusted 0.9.0", - "windows-sys 0.52.0", -] - -[[package]] -name = "rlp" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" -dependencies = [ - "bytes", - "rustc-hex", -] - -[[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.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" -dependencies = [ - "libc", - "rtoolbox", - "windows-sys 0.48.0", -] - -[[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.30", - "log", - "netlink-packet-route", - "netlink-proto", - "nix 0.24.3", - "thiserror", - "tokio", -] - -[[package]] -name = "rtoolbox" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "rtp" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a095411ff00eed7b12e4c6a118ba984d113e1079582570d56a5ee723f11f80" -dependencies = [ - "async-trait", - "bytes", - "rand 0.8.5", - "serde", - "thiserror", - "webrtc-util", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[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.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver 1.0.22", -] - -[[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.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" -dependencies = [ - "bitflags 1.3.2", - "errno 0.2.8", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", -] - -[[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", -] - -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" -dependencies = [ - "bitflags 2.5.0", - "errno 0.3.8", - "libc", - "linux-raw-sys 0.4.13", - "windows-sys 0.52.0", -] - -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64 0.13.1", - "log", - "ring 0.16.20", - "sct 0.6.1", - "webpki 0.21.4", -] - -[[package]] -name = "rustls" -version = "0.20.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" -dependencies = [ - "log", - "ring 0.16.20", - "sct 0.7.1", - "webpki 0.22.4", -] - -[[package]] -name = "rustls" -version = "0.21.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fecbfb7b1444f477b345853b1fce097a2c6fb637b2bfb87e6bc5db0f043fae4" -dependencies = [ - "log", - "ring 0.17.8", - "rustls-webpki", - "sct 0.7.1", -] - -[[package]] -name = "rustls-native-certs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" -dependencies = [ - "openssl-probe", - "rustls-pemfile", - "schannel", - "security-framework", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.7", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" -dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", -] - -[[package]] -name = "rustversion" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" - -[[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.30", - "pin-project", - "static_assertions", -] - -[[package]] -name = "ryu" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" - -[[package]] -name = "safe-mix" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" -dependencies = [ - "rustc_version 0.2.3", -] - -[[package]] -name = "safe_arch" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" -dependencies = [ - "bytemuck", -] - -[[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" -dependencies = [ - "log", - "sp-core 21.0.0", - "sp-wasm-interface 14.0.0", - "thiserror", -] - -[[package]] -name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "log", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "futures 0.3.30", - "futures-timer", - "log", - "parity-scale-codec", - "sc-block-builder", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-proposer-metrics", - "sc-telemetry", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "memmap2", - "sc-chain-spec-derive", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-telemetry", - "serde", - "serde_json", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "array-bytes 4.2.0", - "chrono", - "clap", - "fdlimit", - "futures 0.3.30", - "libp2p", - "log", - "names", - "parity-scale-codec", - "rand 0.8.5", - "regex", - "rpassword", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-client-db", - "sc-keystore", - "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-service", - "sc-telemetry", - "sc-tracing", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "serde_json", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keyring", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tiny-bip39", - "tokio", -] - -[[package]] -name = "sc-client-api" -version = "4.0.0-dev" -dependencies = [ - "fnv", - "futures 0.3.30", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-executor 0.10.0-dev", - "sc-transaction-pool-api 4.0.0-dev", - "sc-utils 4.0.0-dev", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-core 21.0.0", - "sp-database 4.0.0-dev", - "sp-externalities 0.19.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-statement-store", - "sp-storage 13.0.0", - "substrate-prometheus-endpoint 0.10.0-dev", -] - -[[package]] -name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "fnv", - "futures 0.3.30", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "hash-db 0.15.2", - "kvdb", - "kvdb-memorydb", - "kvdb-rocksdb", - "linked-hash-map", - "log", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-state-db", - "schnellru", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "futures 0.3.30", - "futures-timer", - "libp2p", - "log", - "mockall", - "parking_lot 0.12.2", - "sc-client-api 4.0.0-dev", - "sc-utils 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev", - "thiserror", -] - -[[package]] -name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures 0.3.30", - "futures-timer", - "libp2p", - "log", - "mockall", - "parking_lot 0.12.2", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sc-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures 0.3.30", - "log", - "parity-scale-codec", - "sc-block-builder", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus-slots", - "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "fork-tree", - "futures 0.3.30", - "log", - "merlin 2.0.1", - "num-bigint", - "num-rational", - "num-traits", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus-epochs", - "sc-consensus-slots", - "sc-keystore", - "sc-telemetry", - "schnorrkel", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "fork-tree", - "parity-scale-codec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures 0.3.30", - "futures-timer", - "log", - "parity-scale-codec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-telemetry", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-executor" -version = "0.10.0-dev" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-executor-common 0.10.0-dev", - "sc-executor-wasmtime 0.10.0-dev", - "schnellru", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-io 23.0.0", - "sp-panic-handler 8.0.0", - "sp-runtime-interface 17.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "sp-wasm-interface 14.0.0", - "tracing", -] - -[[package]] -name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "lru", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-executor-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-executor-wasmi", - "sc-executor-wasmtime 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "wasmi", -] - -[[package]] -name = "sc-executor-common" -version = "0.10.0-dev" -dependencies = [ - "sc-allocator 4.1.0-dev", - "sp-maybe-compressed-blob 4.1.0-dev", - "sp-wasm-interface 14.0.0", - "thiserror", - "wasm-instrument", -] - -[[package]] -name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "sc-allocator 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "wasm-instrument", - "wasmi", -] - -[[package]] -name = "sc-executor-wasmi" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "log", - "sc-allocator 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-executor-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "wasmi", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.10.0-dev" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "log", - "rustix 0.36.17", - "sc-allocator 4.1.0-dev", - "sc-executor-common 0.10.0-dev", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", - "wasmtime 8.0.1", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "cfg-if", - "libc", - "log", - "once_cell", - "rustix 0.35.16", - "sc-allocator 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-executor-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "wasmtime 1.0.2", -] - -[[package]] -name = "sc-finality-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "ahash 0.8.5", - "array-bytes 4.2.0", - "async-trait", - "dyn-clone", - "finality-grandpa", - "fork-tree", - "futures 0.3.30", - "futures-timer", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-gossip", - "sc-telemetry", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "ansi_term", - "futures 0.3.30", - "futures-timer", - "log", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "parking_lot 0.12.2", - "serde_json", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "asynchronous-codec", - "backtrace", - "bytes", - "either", - "fnv", - "futures 0.3.30", - "futures-timer", - "ip_network", - "libp2p", - "log", - "lru", - "parity-scale-codec", - "parking_lot 0.12.2", - "pin-project", - "rand 0.8.5", - "sc-block-builder", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "serde_json", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "unsigned-varint", - "zeroize", -] - -[[package]] -name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "cid", - "futures 0.3.30", - "libp2p", - "log", - "prost", - "prost-build", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "unsigned-varint", + "technical", ] [[package]] -name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "quote" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ - "async-trait", - "bitflags 1.3.2", - "bytes", - "futures 0.3.30", - "futures-timer", - "libp2p", - "linked_hash_set", - "parity-scale-codec", - "prost-build", - "sc-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "smallvec", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-finality-grandpa 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev", - "thiserror", + "proc-macro2", ] [[package]] -name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "async-trait", - "bitflags 1.3.2", - "bytes", - "futures 0.3.30", - "futures-timer", - "libp2p", - "linked_hash_set", - "parity-scale-codec", - "prost-build", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "smallvec", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", ] [[package]] -name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ - "ahash 0.8.5", - "futures 0.3.30", - "futures-timer", - "libp2p", - "log", - "lru", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tracing", + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", ] [[package]] -name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" dependencies = [ - "array-bytes 4.2.0", - "futures 0.3.30", - "libp2p", - "log", - "parity-scale-codec", - "prost", - "prost-build", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "ppv-lite86", + "rand_core 0.5.1", ] [[package]] -name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "fork-tree", - "futures 0.3.30", - "libp2p", - "log", - "lru", - "mockall", - "parity-scale-codec", - "prost", - "prost-build", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-finality-grandpa 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "ppv-lite86", + "rand_core 0.6.4", ] [[package]] -name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "array-bytes 4.2.0", - "futures 0.3.30", - "libp2p", - "log", - "parity-scale-codec", - "pin-project", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "getrandom 0.1.16", ] [[package]] -name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "array-bytes 4.2.0", - "bytes", - "fnv", - "futures 0.3.30", - "futures-timer", - "hyper", - "hyper-rustls", - "libp2p", - "num_cpus", - "once_cell", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "sc-client-api 4.0.0-dev", - "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-offchain 4.0.0-dev", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "threadpool", - "tracing", + "getrandom 0.2.15", ] [[package]] -name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rand_distr" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ - "array-bytes 4.2.0", - "bytes", - "fnv", - "futures 0.3.30", - "futures-timer", - "hyper", - "hyper-rustls", - "libp2p", - "num_cpus", - "once_cell", - "parity-scale-codec", - "parking_lot 0.12.2", + "num-traits", "rand 0.8.5", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-peerset 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "threadpool", - "tracing", ] [[package]] -name = "sc-peerset" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" dependencies = [ - "futures 0.3.30", - "libp2p", - "log", - "sc-utils 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "serde_json", - "wasm-timer", + "rand_core 0.5.1", ] [[package]] -name = "sc-peerset" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" dependencies = [ - "futures 0.3.30", - "libp2p", - "log", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde_json", - "wasm-timer", + "bitflags 2.5.0", ] [[package]] -name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "ref-cast" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ - "log", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "ref-cast-impl", ] [[package]] -name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "ref-cast-impl" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ - "futures 0.3.30", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-rpc-api", - "sc-tracing", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-session", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tokio", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "referrals" +version = "1.1.0" dependencies = [ - "jsonrpsee", + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", "parity-scale-codec", - "sc-chain-spec", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "permissions", "scale-info", "serde", - "serde_json", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "regex" +version = "1.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ - "http", - "jsonrpsee", - "log", - "serde_json", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tokio", - "tower", - "tower-http", + "aho-corasick", + "memchr", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] -name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" dependencies = [ - "array-bytes 4.2.0", - "futures 0.3.30", - "futures-util", + "regex-syntax 0.6.29", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.8.3", +] + +[[package]] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + +[[package]] +name = "regex-syntax" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" + +[[package]] +name = "rewards" +version = "1.3.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", - "jsonrpsee", - "log", + "hex-literal", + "libsecp256k1", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", "parity-scale-codec", - "parking_lot 0.12.2", - "sc-chain-spec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "permissions", + "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tokio-stream", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", ] [[package]] -name = "sc-service" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rfc6979" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ - "async-trait", - "directories", - "exit-future", - "futures 0.3.30", - "futures-timer", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "pin-project", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-client-db", - "sc-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-informant", - "sc-keystore", - "sc-network", - "sc-network-bitswap", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-network-light", - "sc-network-sync", - "sc-network-transactions", - "sc-offchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-rpc", - "sc-rpc-server", - "sc-rpc-spec-v2", - "sc-storage-monitor", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_init", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tempfile", - "thiserror", - "tokio", - "tracing", - "tracing-futures", + "crypto-bigint 0.4.9", + "hmac 0.12.1", + "zeroize", ] [[package]] -name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "hmac 0.12.1", + "subtle", ] [[package]] -name = "sc-storage-monitor" +name = "ring" version = "0.1.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" dependencies = [ - "clap", - "futures 0.3.30", - "log", - "nix 0.26.4", - "sc-client-db", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tokio", + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", + "fflonk", + "merlin 3.0.0", ] [[package]] -name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" dependencies = [ - "futures 0.3.30", - "libc", - "log", - "rand 0.8.5", - "rand_pcg", - "regex", - "sc-telemetry", - "serde", - "serde_json", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "bytes", + "rustc-hex", ] [[package]] -name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rustc-demangle" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" + +[[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 = [ - "chrono", - "futures 0.3.30", - "libp2p", - "log", - "parking_lot 0.12.2", - "pin-project", - "rand 0.8.5", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "serde_json", - "thiserror", - "wasm-timer", + "semver", ] [[package]] -name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rustix" +version = "0.35.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" dependencies = [ - "ansi_term", - "atty", - "chrono", - "lazy_static", + "bitflags 1.3.2", + "errno 0.2.8", + "io-lifetimes 0.7.5", "libc", - "log", - "once_cell", - "parking_lot 0.12.2", - "regex", - "rustc-hash", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-rpc-server", - "sc-tracing-proc-macro", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", - "tracing-log", - "tracing-subscriber", + "linux-raw-sys 0.0.46", + "windows-sys 0.42.0", ] [[package]] -name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rustix" +version = "0.36.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", + "bitflags 1.3.2", + "errno 0.3.9", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", ] [[package]] -name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "rustix" +version = "0.37.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ - "async-trait", - "futures 0.3.30", - "futures-timer", - "linked-hash-map", - "log", - "num-traits", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-client-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-transaction-pool", - "substrate-prometheus-endpoint 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "bitflags 1.3.2", + "errno 0.3.9", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] -name = "sc-transaction-pool-api" -version = "4.0.0-dev" +name = "rustix" +version = "0.38.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "async-trait", - "futures 0.3.30", - "log", - "parity-scale-codec", - "serde", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "thiserror", + "bitflags 2.5.0", + "errno 0.3.9", + "libc", + "linux-raw-sys 0.4.13", + "windows-sys 0.52.0", ] [[package]] -name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures 0.3.30", - "log", - "serde", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] +name = "rustversion" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" [[package]] -name = "sc-utils" -version = "4.0.0-dev" -dependencies = [ - "async-channel 1.9.0", - "futures 0.3.30", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.2", - "prometheus", - "sp-arithmetic 16.0.0", -] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] -name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "safe_arch" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" dependencies = [ - "backtrace", - "futures 0.3.30", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.2", - "prometheus", + "bytemuck", ] [[package]] -name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ - "backtrace", - "futures 0.3.30", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.2", - "prometheus", + "winapi-util", ] [[package]] name = "scale-info" -version = "2.11.2" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", @@ -11269,32 +4770,23 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.2" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "schannel" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" -dependencies = [ - "windows-sys 0.52.0", -] - [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "6b0cf7da6fc4477944d5529807234f66802fcb618fc62b9c05bedca7f9be6c43" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -11318,48 +4810,27 @@ dependencies = [ ] [[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "scratch" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" - -[[package]] -name = "sct" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - -[[package]] -name = "sct" -version = "0.7.1" +name = "schnorrkel" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.10.8", + "subtle", + "zeroize", ] [[package]] -name = "sdp" -version = "0.5.3" +name = "scopeguard" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d22a5ef407871893fd72b4562ee15e4742269b173959db4b8df6f538c414e13" -dependencies = [ - "rand 0.8.5", - "substring", - "thiserror", - "url", -] +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "sec1" @@ -11379,104 +4850,54 @@ dependencies = [ name = "sec1" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct 0.2.0", - "der 0.7.9", - "generic-array 0.14.7", - "pkcs8 0.10.2", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" -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-framework" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "core-foundation-sys", - "libc", + "base16ct 0.2.0", + "der 0.7.9", + "generic-array 0.14.7", + "pkcs8 0.10.2", + "subtle", + "zeroize", ] [[package]] -name = "semver" -version = "0.6.0" +name = "secp256k1" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" +checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" dependencies = [ - "semver-parser", + "secp256k1-sys", ] [[package]] -name = "semver" -version = "0.9.0" +name = "secp256k1-sys" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" dependencies = [ - "semver-parser", + "cc", ] [[package]] -name = "semver" -version = "1.0.22" +name = "secrecy" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" +checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" dependencies = [ - "serde", + "zeroize", ] [[package]] -name = "semver-parser" -version = "0.7.0" +name = "semver" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.198" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" +checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" dependencies = [ "serde_derive", ] @@ -11492,20 +4913,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.198" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" +checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "serde_json" -version = "1.0.116" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -11521,30 +4942,6 @@ dependencies = [ "serde", ] -[[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", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] - [[package]] name = "sha2" version = "0.8.2" @@ -11612,12 +5009,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - [[package]] name = "signal-hook-registry" version = "1.4.2" @@ -11672,12 +5063,6 @@ dependencies = [ "wide", ] -[[package]] -name = "siphasher" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" - [[package]] name = "slab" version = "0.4.9" @@ -11687,41 +5072,12 @@ dependencies = [ "autocfg", ] -[[package]] -name = "slice-group-by" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" - [[package]] name = "smallvec" version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" -[[package]] -name = "snap" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" - -[[package]] -name = "snow" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" -dependencies = [ - "aes-gcm 0.10.3", - "blake2", - "chacha20poly1305", - "curve25519-dalek 4.1.2", - "rand_core 0.6.4", - "ring 0.17.8", - "rustc_version 0.4.0", - "sha2 0.10.8", - "subtle", -] - [[package]] name = "socket2" version = "0.4.10" @@ -11732,33 +5088,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "socket2" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "soketto" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" -dependencies = [ - "base64 0.13.1", - "bytes", - "flate2", - "futures 0.3.30", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1", -] - [[package]] name = "sp-api" version = "4.0.0-dev" @@ -11766,384 +5095,137 @@ dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "blake2", - "expander", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "blake2", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-application-crypto" -version = "23.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "16.0.0" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0", - "static_assertions", -] - -[[package]] -name = "sp-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-blockchain" -version = "4.0.0-dev" -dependencies = [ - "futures 0.3.30", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "schnellru", - "sp-api 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-database 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "thiserror", -] - -[[package]] -name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "futures 0.3.30", - "log", - "lru", - "parity-scale-codec", - "parking_lot 0.12.2", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-database 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "futures 0.3.30", - "log", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", + "sp-externalities 0.19.0", + "sp-metadata-ir", "sp-runtime 24.0.0", "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", "thiserror", ] [[package]] -name = "sp-consensus" -version = "0.10.0-dev" +name = "sp-api" +version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "async-trait", - "futures 0.3.30", + "hash-db 0.15.2", "log", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "sp-version 5.0.0", "thiserror", ] [[package]] -name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-api-proc-macro" +version = "4.0.0-dev" dependencies = [ - "async-trait", - "futures 0.3.30", - "log", - "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "Inflector", + "blake2", + "expander", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "blake2", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-slots", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", ] [[package]] -name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-application-crypto" +version = "23.0.0" dependencies = [ - "async-trait", - "merlin 2.0.1", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-consensus-slots", - "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", ] [[package]] -name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ + "integer-sqrt", + "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", + "static_assertions", ] [[package]] -name = "sp-consensus-vrf" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-arithmetic" +version = "16.0.0" dependencies = [ + "integer-sqrt", + "num-traits", "parity-scale-codec", "scale-info", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-std 8.0.0", + "static_assertions", ] [[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures 0.3.30", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", "parity-scale-codec", - "parking_lot 0.12.2", - "primitive-types", - "rand 0.8.5", - "regex", "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "strum 0.24.1", ] [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "base58", @@ -12151,7 +5233,7 @@ dependencies = [ "blake2", "dyn-clonable", "ed25519-zebra", - "futures 0.3.30", + "futures", "hash-db 0.15.2", "hash256-std-hasher", "impl-serde", @@ -12160,21 +5242,21 @@ dependencies = [ "log", "merlin 2.0.1", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "primitive-types", "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing 5.0.0", + "sp-debug-derive 5.0.0", + "sp-externalities 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", "ss58-registry", "substrate-bip39", "thiserror", @@ -12192,10 +5274,10 @@ dependencies = [ "bitflags 1.3.2", "blake2", "bounded-collections", - "bs58 0.5.1", + "bs58", "dyn-clonable", "ed25519-zebra", - "futures 0.3.30", + "futures", "hash-db 0.16.0", "hash256-std-hasher", "impl-serde", @@ -12204,13 +5286,13 @@ dependencies = [ "log", "merlin 2.0.1", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "paste", "primitive-types", "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", @@ -12238,21 +5320,7 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.8", "sha3 0.10.8", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", "twox-hash", ] @@ -12275,18 +5343,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.3 dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "syn 1.0.109", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing 5.0.0", "syn 1.0.109", ] @@ -12296,24 +5353,7 @@ version = "9.0.0" dependencies = [ "quote", "sp-core-hashing 9.0.0", - "syn 2.0.60", -] - -[[package]] -name = "sp-database" -version = "4.0.0-dev" -dependencies = [ - "kvdb", - "parking_lot 0.12.2", -] - -[[package]] -name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "kvdb", - "parking_lot 0.12.2", + "syn 2.0.61", ] [[package]] @@ -12328,21 +5368,21 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +version = "8.0.0" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.61", ] [[package]] name = "sp-debug-derive" version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -12352,19 +5392,8 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.3 dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", + "sp-storage 7.0.0", ] [[package]] @@ -12377,42 +5406,6 @@ dependencies = [ "sp-storage 13.0.0", ] -[[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "sp-genesis-builder" version = "0.1.0" @@ -12444,23 +5437,9 @@ dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", "thiserror", ] @@ -12472,44 +5451,19 @@ dependencies = [ "bytes", "ed25519 1.5.3", "ed25519-dalek 1.0.1", - "futures 0.3.30", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures 0.3.30", + "futures", "libsecp256k1", "log", "parity-scale-codec", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-keystore 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-trie 7.0.0", "tracing", "tracing-core", ] @@ -12539,12 +5493,11 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +version = "24.0.0" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "strum 0.24.1", ] @@ -12554,30 +5507,13 @@ version = "0.13.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "async-trait", - "futures 0.3.30", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.2", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures 0.3.30", + "futures", "merlin 2.0.1", "parity-scale-codec", - "parking_lot 0.12.2", - "schnorrkel", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "parking_lot", + "schnorrkel 0.9.1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", "thiserror", ] @@ -12586,106 +5522,38 @@ name = "sp-keystore" version = "0.27.0" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "sp-core 21.0.0", "sp-externalities 0.19.0", "thiserror", ] [[package]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -dependencies = [ - "thiserror", - "zstd 0.12.4", -] - -[[package]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "thiserror", - "zstd 0.11.2+zstd.1.5.2", -] - -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -dependencies = [ - "frame-metadata 16.0.0", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-npos-elections" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-metadata-ir" +version = "0.1.0" dependencies = [ + "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 8.0.0", ] [[package]] -name = "sp-offchain" +name = "sp-mmr-primitives" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", "sp-api 4.0.0-dev", "sp-core 21.0.0", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-runtime 24.0.0", -] - -[[package]] -name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 8.0.0", + "thiserror", ] [[package]] @@ -12698,16 +5566,6 @@ dependencies = [ "regex", ] -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - [[package]] name = "sp-panic-handler" version = "8.0.0" @@ -12717,16 +5575,6 @@ dependencies = [ "regex", ] -[[package]] -name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "rustc-hash", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "sp-runtime" version = "7.0.0" @@ -12741,34 +5589,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", + "sp-weights 4.0.0", ] [[package]] @@ -12801,30 +5627,12 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0", + "sp-runtime-interface-proc-macro 6.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "sp-tracing 6.0.0", + "sp-wasm-interface 7.0.0", "static_assertions", ] @@ -12851,19 +5659,7 @@ version = "6.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "Inflector", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -12874,24 +5670,24 @@ name = "sp-runtime-interface-proc-macro" version = "11.0.0" dependencies = [ "Inflector", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -12910,13 +5706,13 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -12927,34 +5723,14 @@ dependencies = [ "hash-db 0.15.2", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-panic-handler 5.0.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", "thiserror", "tracing", ] @@ -12966,7 +5742,7 @@ dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "rand 0.8.5", "smallvec", "sp-core 21.0.0", @@ -12979,39 +5755,11 @@ dependencies = [ "trie-db 0.27.1", ] -[[package]] -name = "sp-statement-store" -version = "4.0.0-dev" -dependencies = [ - "aes-gcm 0.10.3", - "curve25519-dalek 4.1.2", - "ed25519-dalek 2.1.1", - "hkdf", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sha2 0.10.8", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "thiserror", - "x25519-dalek 2.0.1", -] - [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" - [[package]] name = "sp-std" version = "8.0.0" @@ -13025,21 +5773,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", ] [[package]] @@ -13058,46 +5793,32 @@ dependencies = [ name = "sp-timestamp" version = "4.0.0-dev" dependencies = [ + "async-trait", "parity-scale-codec", "sp-inherents 4.0.0-dev", "sp-runtime 24.0.0", "sp-std 8.0.0", + "thiserror", ] [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures-timer", - "log", - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", - "tracing-subscriber", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", "tracing", "tracing-core", "tracing-subscriber", @@ -13114,71 +5835,23 @@ dependencies = [ "tracing-subscriber", ] -[[package]] -name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - [[package]] name = "sp-trie" version = "7.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "ahash 0.8.5", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.2", - "scale-info", - "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", "hash-db 0.15.2", "hashbrown 0.12.3", "lazy_static", "memory-db 0.31.0", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-std 5.0.0", "thiserror", "tracing", "trie-db 0.24.0", @@ -13189,14 +5862,14 @@ dependencies = [ name = "sp-trie" version = "22.0.0" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", "hash-db 0.16.0", "hashbrown 0.13.2", "lazy_static", "memory-db 0.32.0", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot", "scale-info", "schnellru", "sp-core 21.0.0", @@ -13217,27 +5890,10 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version-proc-macro 4.0.0-dev", "thiserror", ] @@ -13268,17 +5924,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-version-proc-macro" version = "8.0.0" @@ -13286,7 +5931,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -13297,20 +5942,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "wasmi", - "wasmtime 1.0.2", -] - -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", "wasmi", "wasmtime 1.0.2", ] @@ -13336,25 +5968,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", ] [[package]] @@ -13371,18 +5988,6 @@ dependencies = [ "sp-std 8.0.0", ] -[[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.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "spki" version = "0.6.0" @@ -13425,38 +6030,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[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" +name = "staging-xcm" +version = "1.0.0" dependencies = [ - "bitflags 1.3.2", - "cfg_aliases", - "libc", - "parking_lot 0.11.2", - "parking_lot_core 0.8.6", - "static_init_macro", - "winapi", + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights 20.0.0", + "xcm-procedural", ] -[[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 1.0.109", -] +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "statrs" @@ -13471,12 +6064,6 @@ dependencies = [ "rand 0.8.5", ] -[[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" @@ -13518,178 +6105,22 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.60", -] - -[[package]] -name = "stun" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7e94b1ec00bad60e6410e058b52f1c66de3dc5fe4d62d09b3e52bb7d3b73e25" -dependencies = [ - "base64 0.13.1", - "crc", - "lazy_static", - "md-5", - "rand 0.8.5", - "ring 0.16.20", - "subtle", - "thiserror", - "tokio", - "url", - "webrtc-util", + "syn 2.0.61", ] [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel", + "schnorrkel 0.11.4", "sha2 0.9.9", "zeroize", ] -[[package]] -name = "substrate-bridge-app" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#37ff77936b521495086972b38c1df5fb076c06bc" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "substrate-bridge-channel" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "once_cell", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "rlp", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "substrate-build-script-utils" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd540ba72520174c2c73ce96bf507eeba3cc8a481f58be92525b69110e1fa645" -dependencies = [ - "platforms 1.1.0", -] - -[[package]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-system-rpc-runtime-api", - "futures 0.3.30", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-rpc-api", - "sc-transaction-pool-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-block-builder", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -dependencies = [ - "hyper", - "log", - "prometheus", - "thiserror", - "tokio", -] - -[[package]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "hyper", - "log", - "prometheus", - "thiserror", - "tokio", -] - -[[package]] -name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "jsonrpsee", - "log", - "sc-rpc-api", - "serde", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "ansi_term", - "build-helper", - "cargo_metadata", - "filetime", - "sp-maybe-compressed-blob 4.1.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "strum 0.24.1", - "tempfile", - "toml 0.5.11", - "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" @@ -13709,9 +6140,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.60" +version = "2.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" +checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" dependencies = [ "proc-macro2", "quote", @@ -13730,27 +6161,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "system-configuration" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" -dependencies = [ - "bitflags 1.3.2", - "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" @@ -13770,37 +6180,25 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "twox-hash", ] -[[package]] -name = "tempfile" -version = "3.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" -dependencies = [ - "cfg-if", - "fastrand 2.0.2", - "rustix 0.38.34", - "windows-sys 0.52.0", -] - [[package]] name = "termcolor" version = "1.4.1" @@ -13810,38 +6208,26 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "termtree" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" - [[package]] name = "thiserror" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] -[[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.8" @@ -13852,56 +6238,6 @@ 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.4+5.3.0-patched" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "time" -version = "0.3.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" -dependencies = [ - "deranged", - "itoa", - "num-conv", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" -dependencies = [ - "num-conv", - "time-core", -] - [[package]] name = "tiny-bip39" version = "1.0.0" @@ -13930,16 +6266,6 @@ dependencies = [ "crunchy", ] -[[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" @@ -13962,16 +6288,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", - "bytes", - "libc", - "mio", - "num_cpus", - "parking_lot 0.12.2", - "pin-project-lite 0.2.14", - "signal-hook-registry", - "socket2 0.5.6", + "pin-project-lite", "tokio-macros", - "windows-sys 0.48.0", ] [[package]] @@ -13982,64 +6300,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" -dependencies = [ - "rustls 0.20.9", - "tokio", - "webpki 0.22.4", -] - -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.11", - "tokio", -] - -[[package]] -name = "tokio-stream" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" -dependencies = [ - "futures-core", - "pin-project-lite 0.2.14", - "tokio", - "tokio-util", -] - -[[package]] -name = "tokio-util" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" -dependencies = [ - "bytes", - "futures-core", - "futures-io", - "futures-sink", - "pin-project-lite 0.2.14", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", + "syn 2.0.61", ] [[package]] @@ -14051,7 +6312,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.22.12", ] [[package]] @@ -14065,57 +6326,38 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.12" +version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ "indexmap 2.2.6", - "serde", - "serde_spanned", "toml_datetime", - "winnow", -] - -[[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", + "winnow 0.5.40", ] [[package]] -name = "tower-http" -version = "0.3.5" +name = "toml_edit" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "bitflags 1.3.2", - "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-range-header", - "pin-project-lite 0.2.14", - "tower-layer", - "tower-service", -] - -[[package]] -name = "tower-layer" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] [[package]] -name = "tower-service" -version = "0.3.2" +name = "toml_edit" +version = "0.22.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.6.8", +] [[package]] name = "tracing" @@ -14123,8 +6365,7 @@ version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "log", - "pin-project-lite 0.2.14", + "pin-project-lite", "tracing-attributes", "tracing-core", ] @@ -14137,7 +6378,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -14150,16 +6391,6 @@ dependencies = [ "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.4" @@ -14191,7 +6422,6 @@ dependencies = [ "chrono", "lazy_static", "matchers", - "parking_lot 0.11.2", "regex", "serde", "serde_json", @@ -14211,51 +6441,22 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "parity-scale-codec", "permissions", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "trading-pair-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "trading-pair-runtime-api", -] - -[[package]] -name = "trading-pair-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -14284,15 +6485,6 @@ dependencies = [ "smallvec", ] -[[package]] -name = "trie-root" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "652931506d2c1244d7217a70b99f56718a7b4161b37f04e7cd868072a99f68cd" -dependencies = [ - "hash-db 0.15.2", -] - [[package]] name = "trie-root" version = "0.17.0" @@ -14311,114 +6503,12 @@ dependencies = [ "hash-db 0.16.0", ] -[[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", - "data-encoding", - "enum-as-inner", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.2.3", - "ipnet", - "lazy_static", - "rand 0.8.5", - "smallvec", - "socket2 0.4.10", - "thiserror", - "tinyvec", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "trust-dns-resolver" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" -dependencies = [ - "cfg-if", - "futures-util", - "ipconfig", - "lazy_static", - "lru-cache", - "parking_lot 0.12.2", - "resolv-conf", - "smallvec", - "thiserror", - "tokio", - "tracing", - "trust-dns-proto", -] - -[[package]] -name = "try-lock" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" - -[[package]] -name = "try-runtime-cli" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "clap", - "frame-remote-externalities", - "frame-try-runtime", - "hex", - "log", - "parity-scale-codec", - "sc-cli", - "sc-executor 0.10.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sc-service", - "serde", - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "substrate-rpc-client", - "zstd 0.11.2+zstd.1.5.2", -] - [[package]] name = "tt-call" version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" -[[package]] -name = "turn" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4712ee30d123ec7ae26d1e1b218395a16c87cdbaf4b3925d170d684af62ea5e8" -dependencies = [ - "async-trait", - "base64 0.13.1", - "futures 0.3.30", - "log", - "md-5", - "rand 0.8.5", - "ring 0.16.20", - "stun", - "thiserror", - "tokio", - "webrtc-util", -] - [[package]] name = "twox-hash" version = "1.6.3" @@ -14437,12 +6527,6 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - [[package]] name = "uint" version = "0.9.5" @@ -14476,62 +6560,12 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-width" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" - [[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.7", - "subtle", -] - -[[package]] -name = "universal-hash" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" -dependencies = [ - "crypto-common", - "subtle", -] - -[[package]] -name = "unsigned-varint" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" -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 = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - [[package]] name = "url" version = "2.5.0" @@ -14539,25 +6573,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna", "percent-encoding", ] -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "uuid" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" -dependencies = [ - "getrandom 0.2.14", -] - [[package]] name = "valuable" version = "0.1.0" @@ -14566,15 +6585,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "value-bag" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74797339c3b98616c009c7c3eb53a0ce41e85c8ec66bd3db96ed132d20cfdee8" - -[[package]] -name = "vcpkg" -version = "0.2.15" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" [[package]] name = "version_check" @@ -14591,9 +6604,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "itertools", @@ -14601,8 +6614,8 @@ dependencies = [ "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -14611,68 +6624,13 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] -[[package]] -name = "vested-rewards-rpc" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "jsonrpsee", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-blockchain 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "vested-rewards-runtime-api", -] - -[[package]] -name = "vested-rewards-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[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.1" @@ -14689,15 +6647,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - [[package]] name = "wasi" version = "0.9.0+wasi-snapshot-preview1" @@ -14731,7 +6680,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "wasm-bindgen-shared", ] @@ -14765,81 +6714,16 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] -name = "wasm-bindgen-shared" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" - -[[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.111.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a303793cbc01fb96551badfc7367db6007396bba6bac97936b3c8b6f7fdb41" -dependencies = [ - "anyhow", - "libc", - "strum 0.24.1", - "strum_macros 0.24.3", - "tempfile", - "thiserror", - "wasm-opt-cxx-sys", - "wasm-opt-sys", -] - -[[package]] -name = "wasm-opt-cxx-sys" -version = "0.111.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c9deb56f8a9f2ec177b3bd642a8205621835944ed5da55f2388ef216aca5a4" -dependencies = [ - "anyhow", - "cxx", - "cxx-build", - "wasm-opt-sys", -] - -[[package]] -name = "wasm-opt-sys" -version = "0.111.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4432e28b542738a9776cedf92e8a99d8991c7b4667ee2c7ccddfb479dd2856a7" -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.30", - "js-sys", - "parking_lot 0.11.2", - "pin-utils", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] +name = "wasm-bindgen-shared" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasmi" @@ -14909,12 +6793,9 @@ dependencies = [ "once_cell", "paste", "psm", - "rayon", "serde", "target-lexicon", "wasmparser 0.89.1", - "wasmtime-cache 1.0.2", - "wasmtime-cranelift 1.0.2", "wasmtime-environ 1.0.2", "wasmtime-jit 1.0.2", "wasmtime-runtime 1.0.2", @@ -14937,12 +6818,9 @@ dependencies = [ "once_cell", "paste", "psm", - "rayon", "serde", "target-lexicon", "wasmparser 0.102.0", - "wasmtime-cache 8.0.1", - "wasmtime-cranelift 8.0.1", "wasmtime-environ 8.0.1", "wasmtime-jit 8.0.1", "wasmtime-runtime 8.0.1", @@ -14967,104 +6845,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "wasmtime-cache" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882" -dependencies = [ - "anyhow", - "base64 0.13.1", - "bincode", - "directories-next", - "file-per-thread-logger", - "log", - "rustix 0.35.16", - "serde", - "sha2 0.9.9", - "toml 0.5.11", - "windows-sys 0.36.1", - "zstd 0.11.2+zstd.1.5.2", -] - -[[package]] -name = "wasmtime-cache" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" -dependencies = [ - "anyhow", - "base64 0.21.7", - "bincode", - "directories-next", - "file-per-thread-logger", - "log", - "rustix 0.36.17", - "serde", - "sha2 0.10.8", - "toml 0.5.11", - "windows-sys 0.45.0", - "zstd 0.11.2+zstd.1.5.2", -] - -[[package]] -name = "wasmtime-cranelift" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" -dependencies = [ - "anyhow", - "cranelift-codegen 0.88.2", - "cranelift-entity 0.88.2", - "cranelift-frontend 0.88.2", - "cranelift-native 0.88.2", - "cranelift-wasm 0.88.2", - "gimli 0.26.2", - "log", - "object 0.29.0", - "target-lexicon", - "thiserror", - "wasmparser 0.89.1", - "wasmtime-environ 1.0.2", -] - -[[package]] -name = "wasmtime-cranelift" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" -dependencies = [ - "anyhow", - "cranelift-codegen 0.95.1", - "cranelift-entity 0.95.1", - "cranelift-frontend 0.95.1", - "cranelift-native 0.95.1", - "cranelift-wasm 0.95.1", - "gimli 0.27.3", - "log", - "object 0.30.4", - "target-lexicon", - "thiserror", - "wasmparser 0.102.0", - "wasmtime-cranelift-shared", - "wasmtime-environ 8.0.1", -] - -[[package]] -name = "wasmtime-cranelift-shared" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" -dependencies = [ - "anyhow", - "cranelift-codegen 0.95.1", - "cranelift-native 0.95.1", - "gimli 0.27.3", - "object 0.30.4", - "target-lexicon", - "wasmtime-environ 8.0.1", -] - [[package]] name = "wasmtime-environ" version = "1.0.2" @@ -15123,7 +6903,6 @@ dependencies = [ "target-lexicon", "thiserror", "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", "wasmtime-runtime 1.0.2", "windows-sys 0.36.1", ] @@ -15146,7 +6925,6 @@ dependencies = [ "serde", "target-lexicon", "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", "wasmtime-jit-icache-coherence", "wasmtime-runtime 8.0.1", "windows-sys 0.45.0", @@ -15158,9 +6936,7 @@ 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.16", ] [[package]] @@ -15169,9 +6945,7 @@ version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ - "object 0.30.4", "once_cell", - "rustix 0.36.17", ] [[package]] @@ -15179,348 +6953,92 @@ name = "wasmtime-jit-icache-coherence" version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", -] - -[[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", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.16", - "thiserror", - "wasmtime-asm-macros 1.0.2", - "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-runtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" -dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset 0.8.0", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros 8.0.1", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-types" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" -dependencies = [ - "cranelift-entity 0.88.2", - "serde", - "thiserror", - "wasmparser 0.89.1", -] - -[[package]] -name = "wasmtime-types" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" -dependencies = [ - "cranelift-entity 0.95.1", - "serde", - "thiserror", - "wasmparser 0.102.0", -] - -[[package]] -name = "web-sys" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.21.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - -[[package]] -name = "webpki" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" -dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", -] - -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "webpki 0.22.4", -] - -[[package]] -name = "webpki-roots" -version = "0.25.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" - -[[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 0.16.20", - "rtcp", - "rtp", - "rustls 0.19.1", - "sdp", - "serde", - "serde_json", - "sha2 0.10.8", - "stun", - "thiserror", - "time", - "tokio", - "turn", - "url", - "waitgroup", - "webrtc-data", - "webrtc-dtls", - "webrtc-ice", - "webrtc-mdns", - "webrtc-media", - "webrtc-sctp", - "webrtc-srtp", - "webrtc-util", -] - -[[package]] -name = "webrtc-data" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ef36a4d12baa6e842582fe9ec16a57184ba35e1a09308307b67d43ec8883100" -dependencies = [ - "bytes", - "derive_builder", - "log", - "thiserror", - "tokio", - "webrtc-sctp", - "webrtc-util", -] - -[[package]] -name = "webrtc-dtls" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" -dependencies = [ - "aes 0.6.0", - "aes-gcm 0.10.3", - "async-trait", - "bincode", - "block-modes", - "byteorder", - "ccm", - "curve25519-dalek 3.2.0", - "der-parser 8.2.0", - "elliptic-curve 0.12.3", - "hkdf", - "hmac 0.12.1", - "log", - "p256", - "p384", - "rand 0.8.5", - "rand_core 0.6.4", - "rcgen 0.10.0", - "ring 0.16.20", - "rustls 0.19.1", - "sec1 0.3.0", - "serde", - "sha1", - "sha2 0.10.8", - "signature 1.6.4", - "subtle", - "thiserror", - "tokio", - "webpki 0.21.4", - "webrtc-util", - "x25519-dalek 2.0.1", - "x509-parser 0.13.2", -] - -[[package]] -name = "webrtc-ice" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "465a03cc11e9a7d7b4f9f99870558fe37a102b65b93f8045392fef7c67b39e80" -dependencies = [ - "arc-swap", - "async-trait", - "crc", - "log", - "rand 0.8.5", - "serde", - "serde_json", - "stun", - "thiserror", - "tokio", - "turn", - "url", - "uuid", - "waitgroup", - "webrtc-mdns", - "webrtc-util", -] - -[[package]] -name = "webrtc-mdns" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" -dependencies = [ - "log", - "socket2 0.4.10", - "thiserror", - "tokio", - "webrtc-util", +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.45.0", ] [[package]] -name = "webrtc-media" -version = "0.5.1" +name = "wasmtime-runtime" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f72e1650a8ae006017d1a5280efb49e2610c19ccc3c0905b03b648aee9554991" +checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" dependencies = [ - "byteorder", - "bytes", + "anyhow", + "cc", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memoffset 0.6.5", + "paste", "rand 0.8.5", - "rtp", + "rustix 0.35.16", "thiserror", + "wasmtime-asm-macros 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", + "windows-sys 0.36.1", ] [[package]] -name = "webrtc-sctp" -version = "0.7.0" +name = "wasmtime-runtime" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d47adcd9427eb3ede33d5a7f3424038f63c965491beafcc20bc650a2f6679c0" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" dependencies = [ - "arc-swap", - "async-trait", - "bytes", - "crc", + "anyhow", + "cc", + "cfg-if", + "indexmap 1.9.3", + "libc", "log", + "mach", + "memfd", + "memoffset 0.8.0", + "paste", "rand 0.8.5", - "thiserror", - "tokio", - "webrtc-util", + "rustix 0.36.17", + "wasmtime-asm-macros 8.0.1", + "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", + "windows-sys 0.45.0", ] [[package]] -name = "webrtc-srtp" -version = "0.9.1" +name = "wasmtime-types" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6183edc4c1c6c0175f8812eefdce84dfa0aea9c3ece71c2bf6ddd3c964de3da5" +checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" dependencies = [ - "aead 0.4.3", - "aes 0.7.5", - "aes-gcm 0.9.4", - "async-trait", - "byteorder", - "bytes", - "ctr 0.8.0", - "hmac 0.11.0", - "log", - "rtcp", - "rtp", - "sha-1", - "subtle", + "cranelift-entity 0.88.2", + "serde", "thiserror", - "tokio", - "webrtc-util", + "wasmparser 0.89.1", ] [[package]] -name = "webrtc-util" -version = "0.7.0" +name = "wasmtime-types" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f1db1727772c05cf7a2cfece52c3aca8045ca1e176cd517d323489aa3c6d87" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ - "async-trait", - "bitflags 1.3.2", - "bytes", - "cc", - "ipnet", - "lazy_static", - "libc", - "log", - "nix 0.24.3", - "rand 0.8.5", + "cranelift-entity 0.95.1", + "serde", "thiserror", - "tokio", - "winapi", + "wasmparser 0.102.0", ] [[package]] -name = "which" -version = "4.4.2" +name = "web-sys" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ - "either", - "home", - "once_cell", - "rustix 0.38.34", + "js-sys", + "wasm-bindgen", ] [[package]] @@ -15533,12 +7051,6 @@ dependencies = [ "safe_arch", ] -[[package]] -name = "widestring" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" - [[package]] name = "winapi" version = "0.3.9" @@ -15570,25 +7082,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows" -version = "0.51.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" -dependencies = [ - "windows-core 0.51.1", - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-core" -version = "0.51.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-core" version = "0.52.0" @@ -15863,21 +7356,20 @@ checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "winnow" -version = "0.6.8" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" dependencies = [ "memchr", ] [[package]] -name = "winreg" -version = "0.50.0" +name = "winnow" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" dependencies = [ - "cfg-if", - "windows-sys 0.48.0", + "memchr", ] [[package]] @@ -15889,91 +7381,14 @@ 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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" -dependencies = [ - "curve25519-dalek 4.1.2", - "rand_core 0.6.4", - "serde", - "zeroize", -] - -[[package]] -name = "x509-parser" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb9bace5b5589ffead1afb76e43e34cff39cd0f3ce7e170ae0c29e53b88eb1c" -dependencies = [ - "asn1-rs 0.3.1", - "base64 0.13.1", - "data-encoding", - "der-parser 7.0.0", - "lazy_static", - "nom", - "oid-registry 0.4.0", - "ring 0.16.20", - "rusticata-macros", - "thiserror", - "time", -] - -[[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.2", - "base64 0.13.1", - "data-encoding", - "der-parser 8.2.0", - "lazy_static", - "nom", - "oid-registry 0.6.1", - "rusticata-macros", - "thiserror", - "time", -] - -[[package]] -name = "xcm" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" -dependencies = [ - "derivative", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "xcm-procedural", -] - [[package]] name = "xcm-procedural" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "1.0.0" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.61", ] [[package]] @@ -15982,27 +7397,27 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "orml-currencies", "orml-tokens", "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-balances", "pallet-session", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev", "pallet-transaction-payment", "parity-scale-codec", "permissions", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -16016,44 +7431,6 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "mock-liquidity-source", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "technical", - "trading-pair", -] - -[[package]] -name = "xst-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -16061,7 +7438,8 @@ dependencies = [ "oracle-proxy", "orml-currencies", "orml-tokens", - "pallet-balances 4.0.0-dev", + "orml-traits", + "pallet-balances", "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", @@ -16069,56 +7447,34 @@ dependencies = [ "price-tools", "pswap-distribution", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", - "xst", -] - -[[package]] -name = "yamux" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" -dependencies = [ - "futures 0.3.30", - "log", - "nohash-hasher", - "parking_lot 0.12.2", - "rand 0.8.5", - "static_assertions", -] - -[[package]] -name = "yasna" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" -dependencies = [ - "time", ] [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -16138,63 +7494,59 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] -[[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 5.0.2+zstd.1.5.2", -] +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" -[[package]] -name = "zstd" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" -dependencies = [ - "zstd-safe 6.0.6", -] +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" -[[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", -] +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" -[[package]] -name = "zstd-safe" -version = "6.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" -dependencies = [ - "libc", - "zstd-sys", -] +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" -[[package]] -name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" -dependencies = [ - "cc", - "pkg-config", -] +[[patch.unused]] +name = "substrate-bridge-app" +version = "0.1.1" [[patch.unused]] -name = "frame-election-provider-support" -version = "4.0.0-dev" +name = "substrate-bridge-channel" +version = "0.1.1" [[patch.unused]] -name = "frame-executive" +name = "frame-election-provider-support" version = "4.0.0-dev" [[patch.unused]] @@ -16258,35 +7610,215 @@ name = "pallet-membership" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-multisig" +name = "pallet-offences" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-offences" +name = "pallet-preimage" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-preimage" +name = "pallet-staking" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-scheduler" +name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-session" +name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-staking" +name = "pallet-utility" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-sudo" +name = "sc-basic-authorship" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-chain-spec" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-transaction-payment" +name = "sc-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-client-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-slots" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-executor" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-informant" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-network" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-rpc-api" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-service" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-telemetry" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-block-builder" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-blockchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" + +[[patch.unused]] +name = "sp-npos-elections" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-offchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-rpc" +version = "6.0.0" + +[[patch.unused]] +name = "sp-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" + +[[patch.unused]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" + +[[patch.unused]] +name = "try-runtime-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "frame-election-provider-support" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-benchmarking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-aura" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-authorship" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-babe" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-bags-list" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-collective" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-democracy" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" + +[[patch.unused]] +name = "pallet-grandpa" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-identity" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-im-online" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-membership" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-offences" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-preimage" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-staking" version = "4.0.0-dev" [[patch.unused]] @@ -16313,6 +7845,10 @@ version = "4.0.0-dev" name = "sc-cli" version = "0.10.0-dev" +[[patch.unused]] +name = "sc-client-api" +version = "4.0.0-dev" + [[patch.unused]] name = "sc-consensus-aura" version = "0.10.0-dev" @@ -16325,6 +7861,10 @@ version = "0.10.0-dev" name = "sc-consensus-slots" version = "0.10.0-dev" +[[patch.unused]] +name = "sc-executor" +version = "0.10.0-dev" + [[patch.unused]] name = "sc-informant" version = "0.10.0-dev" @@ -16357,6 +7897,10 @@ version = "4.0.0-dev" name = "sp-block-builder" version = "4.0.0-dev" +[[patch.unused]] +name = "sp-blockchain" +version = "4.0.0-dev" + [[patch.unused]] name = "sp-consensus-aura" version = "0.10.0-dev" @@ -16366,20 +7910,20 @@ name = "sp-consensus-babe" version = "0.10.0-dev" [[patch.unused]] -name = "sp-keyring" -version = "24.0.0" +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" [[patch.unused]] name = "sp-npos-elections" version = "4.0.0-dev" [[patch.unused]] -name = "sp-rpc" -version = "6.0.0" +name = "sp-offchain" +version = "4.0.0-dev" [[patch.unused]] -name = "sp-session" -version = "4.0.0-dev" +name = "sp-rpc" +version = "6.0.0" [[patch.unused]] name = "sp-transaction-pool" @@ -16389,6 +7933,10 @@ version = "4.0.0-dev" name = "substrate-frame-rpc-system" version = "4.0.0-dev" +[[patch.unused]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" + [[patch.unused]] name = "substrate-wasm-builder" version = "5.0.0-dev" diff --git a/Cargo.toml b/Cargo.toml index b4be48ce69..cbf573acd0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,93 +1,93 @@ # [patch.crates-io] -# frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# frame-executive = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# frame-system-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-democracy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-elections-phragmen = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-identity = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-im-online = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-membership = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-multisig = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-offences = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-transaction-payment = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-utility = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-basic-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-chain-spec = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-client-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-consensus-slots = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-executor = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-informant = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-network = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-rpc-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-service = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sc-telemetry = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-application-crypto = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-block-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-inherents = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-keystore = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-offchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-npos-elections = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-runtime-interface = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-storage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-trie = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-version = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-keyring = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-mmr-primitives = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-preimage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# substrate-wasm-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# try-runtime-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-executor = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-informant = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-telemetry = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-storage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-maybe-compressed-blob = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-mmr = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# substrate-prometheus-endpoint = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-merkle-tree = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# try-runtime-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } #jsonrpc-core = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } #jsonrpc-ws-server = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } @@ -107,14 +107,15 @@ thread_local = { git = "https://github.com/sora-xor/thread_local-rs.git", branch #orml-tokens = { git = "https://github.com/KalitaAlexey/open-runtime-module-library.git", branch = "use-master" } [patch."https://github.com/open-web3-stack/open-runtime-module-library.git"] -orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v0.9.38" } -orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v0.9.38" } -orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v0.9.38" } -orml-utilities = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v0.9.38" } +orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } +orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } +orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } +orml-utilities = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } -[patch."https://github.com/paritytech/substrate.git"] +# [patch."https://github.com/paritytech/substrate.git"] +[patch."https://github.com/paritytech/polkadot-sdk.git"] frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } @@ -192,61 +193,159 @@ sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} # sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } -# mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } -# sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-merkle-tree = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } +staging-xcm = { path = "../sora-polkadot-sdk/polkadot/xcm" } pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } -[patch."https://github.com/sora-xor/sora2-common.git"] -beefy-light-client = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -beefy-light-client-rpc = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -beefy-light-client-runtime-api = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -leaf-provider = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -leaf-provider-rpc = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -leaf-provider-runtime-api = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -bridge-common = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -dispatch = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -parachain-bridge-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -substrate-bridge-channel = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -bridge-types = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -bridge-data-signer = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -multisig-verifier = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -evm-fungible-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } -bridge-channel = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } + +[patch."https://github.com/sora-xor/polkadot-sdk.git"] +frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } +# frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } +frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } +frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } +frame-system-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/system/benchmarking" } +frame-system-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/system/rpc/runtime-api" } +frame-election-provider-support = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-support" } +pallet-aura = { path = "../sora-polkadot-sdk/substrate/frame/aura" } +pallet-authorship = { path = "../sora-polkadot-sdk/substrate/frame/authorship" } +pallet-babe = { path = "../sora-polkadot-sdk/substrate/frame/babe" } +pallet-balances = { path = "../sora-polkadot-sdk/substrate/frame/balances" } +pallet-collective = { path = "../sora-polkadot-sdk/substrate/frame/collective" } +pallet-democracy = { path = "../sora-polkadot-sdk/substrate/frame/democracy" } +pallet-elections-phragmen = { path = "../sora-polkadot-sdk/substrate/frame/elections-phragmen" } +pallet-grandpa = { path = "../sora-polkadot-sdk/substrate/frame/grandpa" } +pallet-identity = { path = "../sora-polkadot-sdk/substrate/frame/identity" } +pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } +pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } +pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } +pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } +pallet-insecure-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip" } +pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } +pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } +pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } +pallet-timestamp = { path = "../sora-polkadot-sdk/substrate/frame/timestamp" } +pallet-transaction-payment = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment" } +pallet-transaction-payment-rpc = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc" } +pallet-transaction-payment-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc/runtime-api" } +pallet-utility = { path = "../sora-polkadot-sdk/substrate/frame/utility" } +pallet-bags-list = { path = "../sora-polkadot-sdk/substrate/frame/bags-list" } +pallet-election-provider-multi-phase = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-multi-phase" } +sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-authorship" } +sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } +sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} +sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} +# sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} +sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} +sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} +sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} +sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} +# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} +sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} +sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} +sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} +sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} +sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} +sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} +sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} +sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} +sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} +sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} +sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} +sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} +# sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} +sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} +sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} +sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} +# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} +# sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} +sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} +sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} +sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} +sp-npos-elections = { path = "../sora-polkadot-sdk/substrate/primitives/npos-elections"} +sp-runtime = { path = "../sora-polkadot-sdk/substrate/primitives/runtime"} +sp-runtime-interface = { path = "../sora-polkadot-sdk/substrate/primitives/runtime-interface"} +sp-session = { path = "../sora-polkadot-sdk/substrate/primitives/session"} +sp-staking = { path = "../sora-polkadot-sdk/substrate/primitives/staking"} +sp-std = { path = "../sora-polkadot-sdk/substrate/primitives/std"} +sp-storage = { path = "../sora-polkadot-sdk/substrate/primitives/storage"} +sp-timestamp = { path = "../sora-polkadot-sdk/substrate/primitives/timestamp"} +sp-transaction-pool = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-pool"} +sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} +sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} +sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} +sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} +# sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} +sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } +substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } +# mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } +substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } +# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-merkle-tree = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } +substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } +try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } + +pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } # [patch."https://github.com/sora-xor/sora2-common.git"] -# beefy-light-client = { path = "../sora2-common/pallets/beefy-light-client" } -# beefy-light-client-rpc = { path = "../sora2-common/pallets/beefy-light-client/rpc" } -# beefy-light-client-runtime-api = { path = "../sora2-common/pallets/beefy-light-client/runtime-api" } -# leaf-provider = { path = "../sora2-common/pallets/leaf-provider" } -# leaf-provider-rpc = { path = "../sora2-common/pallets/leaf-provider/rpc" } -# leaf-provider-runtime-api = { path = "../sora2-common/pallets/leaf-provider/runtime-api" } -# bridge-common = { path = "../sora2-common/pallets/bridge-common" } -# dispatch = { path = "../sora2-common/pallets/dispatch" } -# parachain-bridge-app = { path = "../sora2-common/pallets/parachain-app" } -# substrate-bridge-app = { path = "../sora2-common/pallets/substrate-app" } -# substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } -# bridge-types = { path = "../sora2-common/pallets/types" } -# bridge-data-signer = { path = "../sora2-common/pallets/data-signer" } -# multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } +# beefy-light-client = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# beefy-light-client-rpc = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# beefy-light-client-runtime-api = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# leaf-provider = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# leaf-provider-rpc = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# leaf-provider-runtime-api = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# bridge-common = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# dispatch = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# parachain-bridge-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# substrate-bridge-channel = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# bridge-types = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# bridge-data-signer = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# multisig-verifier = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# evm-fungible-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } +# bridge-channel = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.24" } + +[patch."https://github.com/sora-xor/sora2-common.git"] +beefy-light-client = { path = "../sora2-common/pallets/beefy-light-client" } +beefy-light-client-rpc = { path = "../sora2-common/pallets/beefy-light-client/rpc" } +beefy-light-client-runtime-api = { path = "../sora2-common/pallets/beefy-light-client/runtime-api" } +leaf-provider = { path = "../sora2-common/pallets/leaf-provider" } +leaf-provider-rpc = { path = "../sora2-common/pallets/leaf-provider/rpc" } +leaf-provider-runtime-api = { path = "../sora2-common/pallets/leaf-provider/runtime-api" } +bridge-common = { path = "../sora2-common/pallets/bridge-common" } +dispatch = { path = "../sora2-common/pallets/dispatch" } +parachain-bridge-app = { path = "../sora2-common/pallets/parachain-app" } +substrate-bridge-app = { path = "../sora2-common/pallets/substrate-app" } +substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } +bridge-types = { path = "../sora2-common/pallets/types" } +bridge-data-signer = { path = "../sora2-common/pallets/data-signer" } +multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } # evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } # bridge-channel = { path = "../sora2-common/pallets/channel" } +# substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } [workspace] members = [ - "runtime", - "common", - "pallets/apollo-platform", + # "runtime", + # "common", + # "pallets/apollo-platform", "pallets/assets", "pallets/ceres-governance-platform", "pallets/ceres-liquidity-locker", @@ -261,7 +360,7 @@ members = [ "pallets/faucet", "pallets/hermes-governance-platform", "pallets/iroha-migration", - "pallets/liquidity-proxy", + # "pallets/liquidity-proxy", "pallets/mock-liquidity-source", "pallets/technical", "pallets/pool-xyk", @@ -275,17 +374,17 @@ members = [ "pallets/xst", "pallets/price-tools", "pallets/oracle-proxy", - "pallets/order-book", + # "pallets/order-book", "pallets/bridge-proxy", - "pallets/bridge-proxy/rpc", - "pallets/bridge-proxy/runtime-api", - "pallets/kensetsu", - "pallets/band", - "pallets/qa-tools", - "node/", - "utils/parse", - "utils/generate-bags", - "utils/remote-ext", + # "pallets/bridge-proxy/rpc", + # "pallets/bridge-proxy/runtime-api", + # "pallets/kensetsu", + # "pallets/band", + # "pallets/qa-tools", + # "node/", + # "utils/parse", + # "utils/generate-bags", + # "utils/remote-ext", ] resolver = "2" diff --git a/_Cargo.lock b/_Cargo.lock new file mode 100644 index 0000000000..8960034c0e --- /dev/null +++ b/_Cargo.lock @@ -0,0 +1,8864 @@ +# 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.3", +] + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli 0.28.1", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "ahash" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" +dependencies = [ + "getrandom 0.2.14", + "once_cell", + "version_check", +] + +[[package]] +name = "ahash" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd7d5a2cecb58716e47d67d5703a249964b14c7be1ec3cad3affc295b2d1c35d" +dependencies = [ + "cfg-if", + "getrandom 0.2.14", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[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.82" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" + +[[package]] +name = "approx" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" +dependencies = [ + "num-traits", +] + +[[package]] +name = "aquamarine" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +dependencies = [ + "include_dir", + "itertools", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools", + "num-bigint", + "num-traits", + "paste", + "rustc_version", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-scale" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", +] + +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "ark-transcript", + "digest 0.10.7", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3 0.10.8", +] + +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + +[[package]] +name = "array-bytes" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" + +[[package]] +name = "arrayref" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" + +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + +[[package]] +name = "assets" +version = "1.3.1" +dependencies = [ + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "tiny-keccak", +] + +[[package]] +name = "async-attributes" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-channel" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +dependencies = [ + "concurrent-queue", + "event-listener 2.5.3", + "futures-core", +] + +[[package]] +name = "async-channel" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" +dependencies = [ + "concurrent-queue", + "event-listener 5.3.0", + "event-listener-strategy 0.5.2", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand 2.1.0", + "futures-lite 2.3.0", + "slab", +] + +[[package]] +name = "async-global-executor" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" +dependencies = [ + "async-channel 2.2.1", + "async-executor", + "async-io 2.3.2", + "async-lock 3.3.0", + "blocking", + "futures-lite 2.3.0", + "once_cell", +] + +[[package]] +name = "async-io" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +dependencies = [ + "async-lock 2.8.0", + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-lite 1.13.0", + "log", + "parking", + "polling 2.8.0", + "rustix 0.37.27", + "slab", + "socket2", + "waker-fn", +] + +[[package]] +name = "async-io" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" +dependencies = [ + "async-lock 3.3.0", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite 2.3.0", + "parking", + "polling 3.7.0", + "rustix 0.38.34", + "slab", + "tracing", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-lock" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +dependencies = [ + "event-listener 2.5.3", +] + +[[package]] +name = "async-lock" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +dependencies = [ + "event-listener 4.0.3", + "event-listener-strategy 0.4.0", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +dependencies = [ + "async-io 1.13.0", + "async-lock 2.8.0", + "async-signal", + "blocking", + "cfg-if", + "event-listener 3.1.0", + "futures-lite 1.13.0", + "rustix 0.38.34", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-signal" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" +dependencies = [ + "async-io 2.3.2", + "async-lock 3.3.0", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.34", + "signal-hook-registry", + "slab", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-std" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +dependencies = [ + "async-attributes", + "async-channel 1.9.0", + "async-global-executor", + "async-io 1.13.0", + "async-lock 2.8.0", + "async-process", + "crossbeam-utils", + "futures-channel", + "futures-core", + "futures-io", + "futures-lite 1.13.0", + "gloo-timers", + "kv-log-macro", + "log", + "memchr", + "once_cell", + "pin-project-lite", + "pin-utils", + "slab", + "wasm-bindgen-futures", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" + +[[package]] +name = "backtrace" +version = "0.3.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +dependencies = [ + "addr2line 0.21.0", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object 0.32.2", + "rustc-demangle", +] + +[[package]] +name = "band" +version = "1.0.1" +dependencies = [ + "common 0.1.0", + "fallible-iterator 0.3.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "oracle-proxy", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 8.0.0", + "xst", +] + +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.1" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff", + "ark-scale 0.0.12", + "ark-serialize", + "ark-std", + "dleq_vrf", + "fflonk", + "merlin 3.0.0", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "ring", + "sha2 0.10.8", + "zeroize", +] + +[[package]] +name = "base16ct" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[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.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" + +[[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.7", +] + +[[package]] +name = "blake2-rfc" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" +dependencies = [ + "arrayvec 0.4.12", + "constant_time_eq 0.1.5", +] + +[[package]] +name = "blake2b_simd" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", +] + +[[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 = [ + "block-padding 0.2.1", + "generic-array 0.14.7", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array 0.14.7", +] + +[[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 = "blocking" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" +dependencies = [ + "async-channel 2.2.1", + "async-lock 3.3.0", + "async-task", + "futures-io", + "futures-lite 2.3.0", + "piper", +] + +[[package]] +name = "bounded-collections" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "bridge-channel" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "bridge-types", + "ethabi", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "once_cell", + "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "bridge-proxy" +version = "0.1.0" +dependencies = [ + "assets", + "bridge-channel", + "bridge-types", + "common 0.1.0", + "dispatch", + "evm-fungible-app", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-keyring", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "xcm", +] + +[[package]] +name = "bridge-types" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "derivative", + "ethabi", + "ethash", + "ethbloom", + "ethereum-types", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "getrandom 0.2.14", + "hex-literal", + "libsecp256k1", + "orml-traits", + "parity-bytes", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "xcm", +] + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "bumpalo" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" + +[[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 = "bytemuck" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" + +[[package]] +name = "cc" +version = "1.0.95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" + +[[package]] +name = "ceres-governance-platform" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-governance-platform", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "ceres-liquidity-locker" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "ceres-staking" +version = "1.0.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "ceres-token-locker" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[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-expr" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +dependencies = [ + "smallvec", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "num-traits", + "windows-targets 0.52.5", +] + +[[package]] +name = "ckb-merkle-mountain-range" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "common" +version = "0.1.0" +dependencies = [ + "blake2-rfc", + "bridge-types", + "env_logger", + "fixnum", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "libsecp256k1", + "num-traits", + "orml-currencies", + "orml-traits", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "paste", + "rustc-hex", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "static_assertions", + "strum 0.25.0", + "thiserror", +] + +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-random" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom 0.2.14", + "once_cell", + "tiny-keccak", +] + +[[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.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpp_demangle" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "cpufeatures" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +dependencies = [ + "libc", +] + +[[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-entity" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +dependencies = [ + "serde", +] + +[[package]] +name = "crc32fast" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" + +[[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.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "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.7", + "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.7", + "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.7", + "subtle", +] + +[[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.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "platforms", + "rustc_version", + "subtle", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "demeter-farming-platform" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "der" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "der" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive-syn-parse" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "dex-api" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "strum 0.25.0", + "technical", +] + +[[package]] +name = "dex-manager" +version = "0.2.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[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.7", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "const-oid", + "crypto-common", + "subtle", +] + +[[package]] +name = "dispatch" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "bridge-types", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-scale 0.0.10", + "ark-secret-scalar", + "ark-serialize", + "ark-std", + "ark-transcript", + "arrayvec 0.7.4", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "docify" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" +dependencies = [ + "common-path", + "derive-syn-parse 0.2.0", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.60", + "termcolor", + "toml 0.8.12", + "walkdir", +] + +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + +[[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 1.0.109", +] + +[[package]] +name = "dyn-clone" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" + +[[package]] +name = "ecdsa" +version = "0.14.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +dependencies = [ + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.9", + "digest 0.10.7", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", +] + +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature 1.6.4", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "signature 2.2.0", +] + +[[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 1.5.3", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" +dependencies = [ + "curve25519-dalek 4.1.2", + "ed25519 2.2.3", + "sha2 0.10.8", + "subtle", +] + +[[package]] +name = "ed25519-dalek-iroha" +version = "1.0.1" +source = "git+https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git?branch=develop#11f9bb453fe208f83840dd6ddb4d05afdb0c1fde" +dependencies = [ + "curve25519-dalek 3.2.0", + "ed25519 1.5.3", + "sha3 0.9.1", + "zeroize", +] + +[[package]] +name = "ed25519-zebra" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" +dependencies = [ + "curve25519-dalek 3.2.0", + "hashbrown 0.12.3", + "hex", + "rand_core 0.6.4", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "either" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" + +[[package]] +name = "elliptic-curve" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +dependencies = [ + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", + "digest 0.10.7", + "ff 0.12.1", + "generic-array 0.14.7", + "group 0.12.1", + "rand_core 0.6.4", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.5", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.7", + "group 0.13.0", + "pkcs8 0.10.2", + "rand_core 0.6.4", + "sec1 0.7.3", + "subtle", + "zeroize", +] + +[[package]] +name = "env_logger" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +dependencies = [ + "humantime", + "is-terminal", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "environmental" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[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" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[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 = "eth-bridge" +version = "0.2.0" +dependencies = [ + "assets", + "async-std", + "bridge-types", + "common 0.1.0", + "env_logger", + "ethabi", + "ethabi-contract", + "ethabi-derive", + "ethereum-types", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-executive", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "jsonrpc-core", + "libsecp256k1", + "once_cell", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-multisig 3.2.3", + "pallet-scheduler", + "pallet-sudo", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "parity-util-mem", + "parking_lot", + "permissions", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "serde_json", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-std 8.0.0", + "tiny-keccak", + "tokio", +] + +[[package]] +name = "ethabi" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" +dependencies = [ + "ethereum-types", + "hex", + "once_cell", + "regex", + "serde", + "serde_json", + "sha3 0.10.8", + "thiserror", + "uint", +] + +[[package]] +name = "ethabi-contract" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" + +[[package]] +name = "ethabi-derive" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" +dependencies = [ + "ethabi", + "heck", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ethash" +version = "0.6.0" +source = "git+https://github.com/sora-xor/ethash.git?branch=sora-v1.6.0#e08609468f3ff60fecf6a0643d121db43793e137" +dependencies = [ + "byteorder", + "ethereum-types", + "rlp", + "sha3 0.10.8", +] + +[[package]] +name = "ethbloom" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "tiny-keccak", +] + +[[package]] +name = "ethereum-types" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" +dependencies = [ + "ethbloom", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "primitive-types", + "scale-info", + "uint", +] + +[[package]] +name = "event-listener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "event-listener" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener 4.0.3", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +dependencies = [ + "event-listener 5.3.0", + "pin-project-lite", +] + +[[package]] +name = "evm-fungible-app" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "bridge-types", + "dispatch", + "ethabi", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "expander" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[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 = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + +[[package]] +name = "farming" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "env_logger", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "log", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-scheduler", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "rustc-hex", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "fastrand" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + +[[package]] +name = "fastrand" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" + +[[package]] +name = "faucet" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "rewards", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[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 = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fflonk" +version = "0.1.0" +source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "merlin 3.0.0", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" + +[[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 = "fixnum" +version = "0.6.0" +source = "git+https://github.com/sora-xor/fixnum?branch=sora-v2.1.0#db1163310fa150ea4d5f5ce5204cf44447ae9a70" +dependencies = [ + "derive_more", + "parity-scale-codec", + "scale-info", + "serde", + "static_assertions", + "typenum", +] + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", + "linregress 0.5.3", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "linregress 0.4.4", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "linregress 0.4.4", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "linregress 0.5.3", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-application-crypto 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "static_assertions", +] + +[[package]] +name = "frame-executive" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", +] + +[[package]] +name = "frame-metadata" +version = "15.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "frame-metadata" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural 4.0.0-dev", + "impl-trait-for-tuples", + "k256 0.13.3", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-core-hashing-proc-macro 9.0.0", + "sp-debug-derive 8.0.0", + "sp-genesis-builder 0.1.0", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-metadata-ir 0.1.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-weights 20.0.0", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bitflags 1.3.2", + "frame-metadata 15.1.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "impl-trait-for-tuples", + "k256 0.11.6", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "bitflags 1.3.2", + "frame-metadata 15.1.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "impl-trait-for-tuples", + "k256 0.11.6", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "impl-trait-for-tuples", + "k256 0.13.3", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-arithmetic 16.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-genesis-builder 0.1.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-metadata-ir 0.1.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-weights 20.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "cfg-expr 0.15.8", + "derive-syn-parse 0.1.5", + "expander", + "frame-support-procedural-tools 4.0.0-dev", + "itertools", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "cfg-expr 0.10.3", + "derive-syn-parse 0.1.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "Inflector", + "cfg-expr 0.10.3", + "derive-syn-parse 0.1.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "Inflector", + "cfg-expr 0.15.8", + "derive-syn-parse 0.1.5", + "expander", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "itertools", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +dependencies = [ + "cfg-if", + "frame-support 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version 22.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "cfg-if", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-version 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-weights 20.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-executor" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", + "num_cpus", +] + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-lite" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +dependencies = [ + "fastrand 1.9.0", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite", + "waker-fn", +] + +[[package]] +name = "futures-lite" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" +dependencies = [ + "fastrand 2.1.0", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-timer" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[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.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "gimli" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +dependencies = [ + "fallible-iterator 0.2.0", + "stable_deref_trait", +] + +[[package]] +name = "gimli" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +dependencies = [ + "fallible-iterator 0.2.0", + "indexmap 1.9.3", + "stable_deref_trait", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "group" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +dependencies = [ + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "hash-db" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" + +[[package]] +name = "hash-db" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" + +[[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 0.7.8", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.5", +] + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "hermes-governance-platform" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-governance-platform", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hermes-governance-platform", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hex-literal" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" + +[[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.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.7", +] + +[[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.7", + "hmac 0.8.1", +] + +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + +[[package]] +name = "iana-time-zone" +version = "0.1.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[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-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] + +[[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 1.0.109", +] + +[[package]] +name = "include_dir" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +dependencies = [ + "equivalent", + "hashbrown 0.14.3", +] + +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if", +] + +[[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 = "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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "iroha-migration" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "ed25519-dalek-iroha", + "eth-bridge", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-multisig 4.0.0-dev", + "parity-scale-codec", + "parity-util-mem", + "permissions", + "referrals", + "scale-info", + "serde", + "sha3 0.9.1", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "is-terminal" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.52.0", +] + +[[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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + +[[package]] +name = "js-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "jsonrpc-core" +version = "17.0.0" +source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" +dependencies = [ + "futures", + "log", + "serde", + "serde_derive", + "serde_json", +] + +[[package]] +name = "k256" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +dependencies = [ + "cfg-if", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.8", +] + +[[package]] +name = "k256" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +dependencies = [ + "cfg-if", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", + "once_cell", + "sha2 0.10.8", +] + +[[package]] +name = "keccak" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +dependencies = [ + "cpufeatures", +] + +[[package]] +name = "kv-log-macro" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" +dependencies = [ + "log", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.153" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" + +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + +[[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 = "linregress" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +dependencies = [ + "nalgebra 0.27.1", + "statrs", +] + +[[package]] +name = "linregress" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +dependencies = [ + "nalgebra 0.32.5", +] + +[[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 = "linux-raw-sys" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lock_api" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +dependencies = [ + "value-bag", +] + +[[package]] +name = "mach" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +dependencies = [ + "libc", +] + +[[package]] +name = "macro_magic" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +dependencies = [ + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "macro_magic_core" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +dependencies = [ + "const-random", + "derive-syn-parse 0.1.5", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "macro_magic_core_macros" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "macro_magic_macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +dependencies = [ + "macro_magic_core", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "matchers" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +dependencies = [ + "regex-automata 0.1.10", +] + +[[package]] +name = "matrixmultiply" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +dependencies = [ + "autocfg", + "rawpointer", +] + +[[package]] +name = "memchr" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" + +[[package]] +name = "memfd" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +dependencies = [ + "rustix 0.38.34", +] + +[[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.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +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 0.15.2", + "hashbrown 0.12.3", +] + +[[package]] +name = "memory-db" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +dependencies = [ + "hash-db 0.16.0", +] + +[[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 = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "miniz_oxide" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mock-liquidity-source" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "multicollateral-bonding-curve-pool" +version = "0.3.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "nalgebra" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros 0.1.0", + "num-complex", + "num-rational", + "num-traits", + "rand 0.8.5", + "rand_distr", + "simba 0.5.1", + "typenum", +] + +[[package]] +name = "nalgebra" +version = "0.32.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros 0.2.1", + "num-complex", + "num-rational", + "num-traits", + "simba 0.8.1", + "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 1.0.109", +] + +[[package]] +name = "nalgebra-macros" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "num-bigint" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +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.4", + "itoa", +] + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "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.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +dependencies = [ + "crc32fast", + "hashbrown 0.12.3", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.30.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +dependencies = [ + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "oracle-proxy" +version = "1.0.0" +dependencies = [ + "band", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-currencies" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-traits", + "orml-utilities", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-tokens" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-traits" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "impl-trait-for-tuples", + "num-traits", + "orml-utilities", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", +] + +[[package]] +name = "orml-utilities" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-balances" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-multisig" +version = "3.2.3" +source = "git+https://github.com/soramitsu/sora2-frame-pallets.git?branch=polkadot-v0.9.38#9762e3948a5823a312df658862c2d2311267d6aa" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-multisig" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-scheduler" +version = "4.0.0-dev" +dependencies = [ + "docify", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "pallet-session" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "impl-trait-for-tuples", + "log", + "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-session", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-sudo" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-timestamp 4.0.0-dev", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-transaction-payment" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "parity-bytes" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" + +[[package]] +name = "parity-scale-codec" +version = "3.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" +dependencies = [ + "arrayvec 0.7.4", + "bitvec", + "byte-slice-cast", + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "3.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "impl-trait-for-tuples", + "parity-util-mem-derive", + "primitive-types", + "winapi", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", + "syn 1.0.109", + "synstructure", +] + +[[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.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + +[[package]] +name = "parking_lot" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.52.5", +] + +[[package]] +name = "paste" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" + +[[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.7", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "permissions" +version = "1.1.0" +dependencies = [ + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.1.0", + "futures-io", +] + +[[package]] +name = "pkcs8" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +dependencies = [ + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.9", + "spki 0.7.3", +] + +[[package]] +name = "platforms" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" + +[[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +dependencies = [ + "autocfg", + "bitflags 1.3.2", + "cfg-if", + "concurrent-queue", + "libc", + "log", + "pin-project-lite", + "windows-sys 0.48.0", +] + +[[package]] +name = "polling" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 0.38.34", + "tracing", + "windows-sys 0.52.0", +] + +[[package]] +name = "pool-xyk" +version = "1.2.0" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "num-traits", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "xst", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "price-tools" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "primitive-types" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +dependencies = [ + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "uint", +] + +[[package]] +name = "proc-macro-crate" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" +dependencies = [ + "thiserror", + "toml 0.5.11", +] + +[[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 1.0.109", + "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-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "proc-macro2" +version = "1.0.81" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + +[[package]] +name = "pswap-distribution" +version = "1.1.1" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "quote" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +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.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.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.14", +] + +[[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 = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +dependencies = [ + "bitflags 2.5.0", +] + +[[package]] +name = "ref-cast" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "referrals" +version = "1.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "regex" +version = "1.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax 0.6.29", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.8.3", +] + +[[package]] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + +[[package]] +name = "regex-syntax" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" + +[[package]] +name = "rewards" +version = "1.3.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "libsecp256k1", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "rfc6979" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +dependencies = [ + "crypto-bigint 0.4.9", + "hmac 0.12.1", + "zeroize", +] + +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rustc-hex", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[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", +] + +[[package]] +name = "rustix" +version = "0.35.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" +dependencies = [ + "bitflags 1.3.2", + "errno 0.2.8", + "io-lifetimes 0.7.5", + "libc", + "linux-raw-sys 0.0.46", + "windows-sys 0.42.0", +] + +[[package]] +name = "rustix" +version = "0.36.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.8", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", +] + +[[package]] +name = "rustix" +version = "0.37.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.8", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +dependencies = [ + "bitflags 2.5.0", + "errno 0.3.8", + "libc", + "linux-raw-sys 0.4.13", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustversion" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" + +[[package]] +name = "ryu" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" + +[[package]] +name = "safe_arch" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +dependencies = [ + "bytemuck", +] + +[[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 = "scale-info" +version = "2.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" +dependencies = [ + "bitvec", + "cfg-if", + "derive_more", + "parity-scale-codec", + "scale-info-derive", + "serde", +] + +[[package]] +name = "scale-info-derive" +version = "2.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "schnellru" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +dependencies = [ + "ahash 0.8.5", + "cfg-if", + "hashbrown 0.13.2", +] + +[[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 2.0.1", + "rand 0.7.3", + "rand_core 0.5.1", + "sha2 0.8.2", + "subtle", + "zeroize", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sec1" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +dependencies = [ + "base16ct 0.1.1", + "der 0.6.1", + "generic-array 0.14.7", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.9", + "generic-array 0.14.7", + "pkcs8 0.10.2", + "subtle", + "zeroize", +] + +[[package]] +name = "secp256k1" +version = "0.24.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +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 = "semver" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" + +[[package]] +name = "serde" +version = "1.0.198" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_derive" +version = "1.0.198" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "serde_json" +version = "1.0.116" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + +[[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", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.1", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha3" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" +dependencies = [ + "block-buffer 0.9.0", + "digest 0.9.0", + "keccak", + "opaque-debug 0.3.1", +] + +[[package]] +name = "sha3" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" +dependencies = [ + "digest 0.10.7", + "keccak", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +dependencies = [ + "libc", +] + +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "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 = "simba" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" +dependencies = [ + "approx", + "num-complex", + "num-traits", + "paste", + "wide", +] + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "socket2" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-metadata-ir 0.1.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-metadata-ir 0.1.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-trie 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-version 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "blake2", + "expander", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "blake2", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "blake2", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "Inflector", + "blake2", + "expander", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-application-crypto" +version = "23.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-application-crypto" +version = "23.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "16.0.0" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 8.0.0", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "16.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "static_assertions", +] + +[[package]] +name = "sp-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-mmr-primitives", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags 1.3.2", + "blake2", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.15.2", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags 1.3.2", + "blake2", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.15.2", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "21.0.0" +dependencies = [ + "array-bytes 6.2.2", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 9.0.0", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tracing", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "21.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "array-bytes 6.2.2", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tracing", + "zeroize", +] + +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "blake2", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "blake2", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing" +version = "9.0.0" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing" +version = "9.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "syn 1.0.109", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "syn 1.0.109", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +dependencies = [ + "quote", + "sp-core-hashing 9.0.0", + "syn 2.0.60", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "quote", + "sp-core-hashing 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "syn 2.0.60", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-externalities" +version = "0.19.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0", + "sp-storage 13.0.0", +] + +[[package]] +name = "sp-externalities" +version = "0.19.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +dependencies = [ + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "serde_json", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", +] + +[[package]] +name = "sp-io" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "secp256k1", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "bytes", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "secp256k1", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "23.0.0" +dependencies = [ + "bytes", + "ed25519-dalek 2.1.1", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime-interface 17.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-trie 22.0.0", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "23.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "bytes", + "ed25519-dalek 2.1.1", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-keystore 0.27.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-trie 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-keyring" +version = "24.0.0" +dependencies = [ + "lazy_static", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "strum 0.24.1", +] + +[[package]] +name = "sp-keystore" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "futures", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "schnorrkel", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "async-trait", + "futures", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "schnorrkel", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.27.0" +dependencies = [ + "parity-scale-codec", + "parking_lot", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.27.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "parity-scale-codec", + "parking_lot", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-mmr-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-runtime" +version = "24.0.0" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "sp-runtime" +version = "24.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-arithmetic 16.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-weights 20.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-session" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", +] + +[[package]] +name = "sp-state-machine" +version = "0.28.0" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "thiserror", + "tracing", + "trie-db 0.27.1", +] + +[[package]] +name = "sp-state-machine" +version = "0.28.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-panic-handler 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-trie 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", + "tracing", + "trie-db 0.27.1", +] + +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" + +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" + +[[package]] +name = "sp-std" +version = "8.0.0" + +[[package]] +name = "sp-std" +version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" + +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-storage" +version = "13.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-storage" +version = "13.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "async-trait", + "futures-timer", + "log", + "parity-scale-codec", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "10.0.0" +dependencies = [ + "parity-scale-codec", + "sp-std 8.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "10.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "ahash 0.8.5", + "hash-db 0.15.2", + "hashbrown 0.12.3", + "lazy_static", + "memory-db 0.31.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", + "trie-db 0.24.0", + "trie-root 0.17.0", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "ahash 0.8.5", + "hash-db 0.15.2", + "hashbrown 0.12.3", + "lazy_static", + "memory-db 0.31.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", + "trie-db 0.24.0", + "trie-root 0.17.0", +] + +[[package]] +name = "sp-trie" +version = "22.0.0" +dependencies = [ + "ahash 0.8.5", + "hash-db 0.16.0", + "hashbrown 0.13.2", + "lazy_static", + "memory-db 0.32.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 21.0.0", + "sp-std 8.0.0", + "thiserror", + "tracing", + "trie-db 0.27.1", + "trie-root 0.18.0", +] + +[[package]] +name = "sp-trie" +version = "22.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "ahash 0.8.5", + "hash-db 0.16.0", + "hashbrown 0.13.2", + "lazy_static", + "memory-db 0.32.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", + "tracing", + "trie-db 0.27.1", + "trie-root 0.18.0", +] + +[[package]] +name = "sp-version" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 9.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version-proc-macro 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-version-proc-macro 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", +] + +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "wasmi", + "wasmtime 1.0.2", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "wasmi", + "wasmtime 1.0.2", +] + +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 8.0.0", + "wasmtime 8.0.1", +] + +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "wasmtime 8.0.1", +] + +[[package]] +name = "sp-weights" +version = "4.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-weights" +version = "4.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "spki" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +dependencies = [ + "base64ct", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.9", +] + +[[package]] +name = "ss58-registry" +version = "1.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +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 = "staging-xcm" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "xcm-procedural 1.0.0", +] + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "statrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" +dependencies = [ + "approx", + "lazy_static", + "nalgebra 0.27.1", + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "strum" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +dependencies = [ + "strum_macros 0.24.3", +] + +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +dependencies = [ + "strum_macros 0.25.3", +] + +[[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 1.0.109", +] + +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.60", +] + +[[package]] +name = "substrate-bip39" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +dependencies = [ + "hmac 0.11.0", + "pbkdf2 0.8.0", + "schnorrkel", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" +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 1.0.109", + "unicode-xid", +] + +[[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.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" + +[[package]] +name = "technical" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "twox-hash", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.59" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "thread_local" +version = "1.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +dependencies = [ + "cfg-if", + "once_cell", +] + +[[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.8", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +dependencies = [ + "backtrace", + "pin-project-lite", + "tokio-macros", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "toml" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +dependencies = [ + "serde", +] + +[[package]] +name = "toml" +version = "0.8.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.22.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + +[[package]] +name = "tracing" +version = "0.1.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "tracing-core" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +dependencies = [ + "log", + "once_cell", + "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", + "regex", + "serde", + "serde_json", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", +] + +[[package]] +name = "trading-pair" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "trie-db" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +dependencies = [ + "hash-db 0.15.2", + "hashbrown 0.12.3", + "log", + "rustc-hex", + "smallvec", +] + +[[package]] +name = "trie-db" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +dependencies = [ + "hash-db 0.16.0", + "hashbrown 0.13.2", + "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 0.15.2", +] + +[[package]] +name = "trie-root" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" +dependencies = [ + "hash-db 0.16.0", +] + +[[package]] +name = "tt-call" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" + +[[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "digest 0.10.7", + "rand 0.8.5", + "static_assertions", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[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 = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "value-bag" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "vested-rewards" +version = "1.2.1" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "itertools", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "serde_bytes", + "serde_json", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "waker-fn" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[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.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.60", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" + +[[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", + "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 1.9.3", +] + +[[package]] +name = "wasmparser" +version = "0.102.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +dependencies = [ + "indexmap 1.9.3", + "url", +] + +[[package]] +name = "wasmtime" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.29.0", + "once_cell", + "paste", + "psm", + "serde", + "target-lexicon", + "wasmparser 0.89.1", + "wasmtime-environ 1.0.2", + "wasmtime-jit 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.30.4", + "once_cell", + "paste", + "psm", + "serde", + "target-lexicon", + "wasmparser 0.102.0", + "wasmtime-environ 8.0.1", + "wasmtime-jit 8.0.1", + "wasmtime-runtime 8.0.1", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-environ" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +dependencies = [ + "anyhow", + "cranelift-entity 0.88.2", + "gimli 0.26.2", + "indexmap 1.9.3", + "log", + "object 0.29.0", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.89.1", + "wasmtime-types 1.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" +dependencies = [ + "anyhow", + "cranelift-entity 0.95.1", + "gimli 0.27.3", + "indexmap 1.9.3", + "log", + "object 0.30.4", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.102.0", + "wasmtime-types 8.0.1", +] + +[[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", + "cpp_demangle", + "gimli 0.26.2", + "log", + "object 0.29.0", + "rustc-demangle", + "rustix 0.35.16", + "serde", + "target-lexicon", + "thiserror", + "wasmtime-environ 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime-jit" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +dependencies = [ + "addr2line 0.19.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.27.3", + "log", + "object 0.30.4", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ 8.0.1", + "wasmtime-jit-icache-coherence", + "wasmtime-runtime 8.0.1", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +dependencies = [ + "once_cell", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +dependencies = [ + "once_cell", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.45.0", +] + +[[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", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memoffset 0.6.5", + "paste", + "rand 0.8.5", + "rustix 0.35.16", + "thiserror", + "wasmtime-asm-macros 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime-runtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.8.0", + "paste", + "rand 0.8.5", + "rustix 0.36.17", + "wasmtime-asm-macros 8.0.1", + "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-types" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +dependencies = [ + "cranelift-entity 0.88.2", + "serde", + "thiserror", + "wasmparser 0.89.1", +] + +[[package]] +name = "wasmtime-types" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +dependencies = [ + "cranelift-entity 0.95.1", + "serde", + "thiserror", + "wasmparser 0.102.0", +] + +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wide" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0e39d2c603fdc0504b12b458cf1f34e0b937ed2f4f2dc20796e3e86f34e11f" +dependencies = [ + "bytemuck", + "safe_arch", +] + +[[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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +dependencies = [ + "windows-sys 0.52.0", +] + +[[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-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.5", +] + +[[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 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +dependencies = [ + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" + +[[package]] +name = "winnow" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +dependencies = [ + "memchr", +] + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[package]] +name = "xcm" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +dependencies = [ + "derivative", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "xcm-procedural 0.9.38", +] + +[[package]] +name = "xcm-procedural" +version = "0.9.38" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "xcm-procedural" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "xor-fee" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-session", + "pallet-timestamp 4.0.0-dev", + "pallet-transaction-payment", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "xst" +version = "1.0.1" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.60", +] + +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "substrate-bridge-channel" +version = "0.1.1" +source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" + +[[patch.unused]] +name = "frame-election-provider-support" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-benchmarking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-aura" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-authorship" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-babe" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-bags-list" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-collective" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-democracy" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" + +[[patch.unused]] +name = "pallet-grandpa" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-identity" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-im-online" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-membership" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-offences" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-preimage" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-session" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-staking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-utility" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-basic-authorship" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-chain-spec" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-client-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-slots" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-executor" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-informant" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-network" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-rpc-api" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-service" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-telemetry" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-block-builder" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-blockchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" + +[[patch.unused]] +name = "sp-npos-elections" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-offchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-rpc" +version = "6.0.0" + +[[patch.unused]] +name = "sp-session" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" + +[[patch.unused]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" + +[[patch.unused]] +name = "try-runtime-cli" +version = "0.10.0-dev" diff --git a/__Cargo.lock b/__Cargo.lock new file mode 100644 index 0000000000..42b2be1fa8 --- /dev/null +++ b/__Cargo.lock @@ -0,0 +1,8452 @@ +# 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.3", +] + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli 0.28.1", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "ahash" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" +dependencies = [ + "getrandom 0.2.15", + "once_cell", + "version_check", +] + +[[package]] +name = "ahash" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +dependencies = [ + "cfg-if", + "getrandom 0.2.15", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[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.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" + +[[package]] +name = "approx" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" +dependencies = [ + "num-traits", +] + +[[package]] +name = "aquamarine" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +dependencies = [ + "include_dir", + "itertools", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools", + "num-traits", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools", + "num-bigint", + "num-traits", + "paste", + "rustc_version", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-scale" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", +] + +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "ark-transcript", + "digest 0.10.7", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3 0.10.8", +] + +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + +[[package]] +name = "array-bytes" +version = "6.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" + +[[package]] +name = "arrayref" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" + +[[package]] +name = "arrayvec" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" +dependencies = [ + "nodrop", +] + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + +[[package]] +name = "assets" +version = "1.3.1" +dependencies = [ + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "tiny-keccak", +] + +[[package]] +name = "async-attributes" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-channel" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +dependencies = [ + "concurrent-queue", + "event-listener 2.5.3", + "futures-core", +] + +[[package]] +name = "async-channel" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" +dependencies = [ + "concurrent-queue", + "event-listener 5.3.0", + "event-listener-strategy 0.5.2", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand 2.1.0", + "futures-lite 2.3.0", + "slab", +] + +[[package]] +name = "async-global-executor" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" +dependencies = [ + "async-channel 2.2.1", + "async-executor", + "async-io 2.3.2", + "async-lock 3.3.0", + "blocking", + "futures-lite 2.3.0", + "once_cell", +] + +[[package]] +name = "async-io" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +dependencies = [ + "async-lock 2.8.0", + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-lite 1.13.0", + "log", + "parking", + "polling 2.8.0", + "rustix 0.37.27", + "slab", + "socket2", + "waker-fn", +] + +[[package]] +name = "async-io" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" +dependencies = [ + "async-lock 3.3.0", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite 2.3.0", + "parking", + "polling 3.7.0", + "rustix 0.38.34", + "slab", + "tracing", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-lock" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +dependencies = [ + "event-listener 2.5.3", +] + +[[package]] +name = "async-lock" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +dependencies = [ + "event-listener 4.0.3", + "event-listener-strategy 0.4.0", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +dependencies = [ + "async-io 1.13.0", + "async-lock 2.8.0", + "async-signal", + "blocking", + "cfg-if", + "event-listener 3.1.0", + "futures-lite 1.13.0", + "rustix 0.38.34", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-signal" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" +dependencies = [ + "async-io 2.3.2", + "async-lock 3.3.0", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.34", + "signal-hook-registry", + "slab", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-std" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +dependencies = [ + "async-attributes", + "async-channel 1.9.0", + "async-global-executor", + "async-io 1.13.0", + "async-lock 2.8.0", + "async-process", + "crossbeam-utils", + "futures-channel", + "futures-core", + "futures-io", + "futures-lite 1.13.0", + "gloo-timers", + "kv-log-macro", + "log", + "memchr", + "once_cell", + "pin-project-lite", + "pin-utils", + "slab", + "wasm-bindgen-futures", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + +[[package]] +name = "async-trait" +version = "0.1.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "autocfg" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" + +[[package]] +name = "backtrace" +version = "0.3.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +dependencies = [ + "addr2line 0.21.0", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object 0.32.2", + "rustc-demangle", +] + +[[package]] +name = "band" +version = "1.0.1" +dependencies = [ + "common 0.1.0", + "fallible-iterator 0.3.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "oracle-proxy", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "xst", +] + +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.1" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff", + "ark-scale 0.0.12", + "ark-serialize", + "ark-std", + "dleq_vrf", + "fflonk", + "merlin 3.0.0", + "rand_chacha 0.3.1", + "rand_core 0.6.4", + "ring", + "sha2 0.10.8", + "zeroize", +] + +[[package]] +name = "base16ct" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[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.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" + +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitflags" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" + +[[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.7", +] + +[[package]] +name = "blake2-rfc" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" +dependencies = [ + "arrayvec 0.4.12", + "constant_time_eq 0.1.5", +] + +[[package]] +name = "blake2b_simd" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", +] + +[[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 = [ + "block-padding 0.2.1", + "generic-array 0.14.7", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array 0.14.7", +] + +[[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 = "blocking" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" +dependencies = [ + "async-channel 2.2.1", + "async-lock 3.3.0", + "async-task", + "futures-io", + "futures-lite 2.3.0", + "piper", +] + +[[package]] +name = "bounded-collections" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "bridge-channel" +version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "bridge-types", + "ethabi", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "once_cell", + "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "bridge-proxy" +version = "0.1.0" +dependencies = [ + "assets", + "bridge-channel", + "bridge-types", + "common 0.1.0", + "dispatch", + "evm-fungible-app", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-keyring", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", + "technical", +] + +[[package]] +name = "bridge-types" +version = "0.1.0" +dependencies = [ + "derivative", + "ethabi", + "ethash", + "ethbloom", + "ethereum-types", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "getrandom 0.2.15", + "hex-literal", + "libsecp256k1", + "orml-traits", + "parity-bytes", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-consensus-beefy", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", +] + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "bumpalo" +version = "3.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" + +[[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 = "bytemuck" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" + +[[package]] +name = "cc" +version = "1.0.97" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" + +[[package]] +name = "ceres-governance-platform" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-governance-platform", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "ceres-liquidity-locker" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "ceres-staking" +version = "1.0.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "ceres-token-locker" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[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-expr" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" +dependencies = [ + "smallvec", +] + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "chrono" +version = "0.4.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "num-traits", + "windows-targets 0.52.5", +] + +[[package]] +name = "ckb-merkle-mountain-range" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "common" +version = "0.1.0" +dependencies = [ + "blake2-rfc", + "bridge-types", + "env_logger", + "fixnum", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "libsecp256k1", + "num-traits", + "orml-currencies", + "orml-traits", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "paste", + "rustc-hex", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "static_assertions", + "strum 0.25.0", + "thiserror", +] + +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-random" +version = "0.1.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +dependencies = [ + "const-random-macro", +] + +[[package]] +name = "const-random-macro" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +dependencies = [ + "getrandom 0.2.15", + "once_cell", + "tiny-keccak", +] + +[[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.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpp_demangle" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "cpufeatures" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +dependencies = [ + "libc", +] + +[[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-entity" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +dependencies = [ + "serde", +] + +[[package]] +name = "crc32fast" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" + +[[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.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "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.7", + "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.7", + "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.7", + "subtle", +] + +[[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.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "platforms", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "demeter-farming-platform" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "der" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "der" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive-syn-parse" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "dex-api" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "strum 0.25.0", + "technical", +] + +[[package]] +name = "dex-manager" +version = "0.2.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[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.7", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "const-oid", + "crypto-common", + "subtle", +] + +[[package]] +name = "dispatch" +version = "0.1.1" +dependencies = [ + "bridge-types", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-scale 0.0.10", + "ark-secret-scalar", + "ark-serialize", + "ark-std", + "ark-transcript", + "arrayvec 0.7.4", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "docify" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" +dependencies = [ + "common-path", + "derive-syn-parse 0.2.0", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.61", + "termcolor", + "toml", + "walkdir", +] + +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + +[[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 1.0.109", +] + +[[package]] +name = "dyn-clone" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" + +[[package]] +name = "ecdsa" +version = "0.14.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +dependencies = [ + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.9", + "digest 0.10.7", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", +] + +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature 1.6.4", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "signature 2.2.0", +] + +[[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 1.5.3", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" +dependencies = [ + "curve25519-dalek 4.1.2", + "ed25519 2.2.3", + "sha2 0.10.8", + "subtle", +] + +[[package]] +name = "ed25519-dalek-iroha" +version = "1.0.1" +source = "git+https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git?branch=develop#11f9bb453fe208f83840dd6ddb4d05afdb0c1fde" +dependencies = [ + "curve25519-dalek 3.2.0", + "ed25519 1.5.3", + "sha3 0.9.1", + "zeroize", +] + +[[package]] +name = "ed25519-zebra" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" +dependencies = [ + "curve25519-dalek 3.2.0", + "hashbrown 0.12.3", + "hex", + "rand_core 0.6.4", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "either" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" + +[[package]] +name = "elliptic-curve" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +dependencies = [ + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", + "digest 0.10.7", + "ff 0.12.1", + "generic-array 0.14.7", + "group 0.12.1", + "rand_core 0.6.4", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.5", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.7", + "group 0.13.0", + "pkcs8 0.10.2", + "rand_core 0.6.4", + "sec1 0.7.3", + "subtle", + "zeroize", +] + +[[package]] +name = "env_logger" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +dependencies = [ + "humantime", + "is-terminal", + "log", + "regex", + "termcolor", +] + +[[package]] +name = "environmental" +version = "1.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[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" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[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 = "eth-bridge" +version = "0.2.0" +dependencies = [ + "assets", + "async-std", + "bridge-types", + "common 0.1.0", + "env_logger", + "ethabi", + "ethabi-contract", + "ethabi-derive", + "ethereum-types", + "frame-benchmarking 4.0.0-dev", + "frame-executive", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "jsonrpc-core", + "libsecp256k1", + "once_cell", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-multisig 3.2.3", + "pallet-scheduler", + "pallet-sudo", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "parity-util-mem", + "parking_lot", + "permissions", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "serde_json", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-std 8.0.0", + "tiny-keccak", + "tokio", +] + +[[package]] +name = "ethabi" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" +dependencies = [ + "ethereum-types", + "hex", + "once_cell", + "regex", + "serde", + "serde_json", + "sha3 0.10.8", + "thiserror", + "uint", +] + +[[package]] +name = "ethabi-contract" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" + +[[package]] +name = "ethabi-derive" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" +dependencies = [ + "ethabi", + "heck", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ethash" +version = "0.6.0" +source = "git+https://github.com/sora-xor/ethash.git?branch=sora-v1.6.0#e08609468f3ff60fecf6a0643d121db43793e137" +dependencies = [ + "byteorder", + "ethereum-types", + "rlp", + "sha3 0.10.8", +] + +[[package]] +name = "ethbloom" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" +dependencies = [ + "crunchy", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "tiny-keccak", +] + +[[package]] +name = "ethereum-types" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" +dependencies = [ + "ethbloom", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "primitive-types", + "scale-info", + "uint", +] + +[[package]] +name = "event-listener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "event-listener" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener 4.0.3", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +dependencies = [ + "event-listener 5.3.0", + "pin-project-lite", +] + +[[package]] +name = "evm-fungible-app" +version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "bridge-types", + "dispatch", + "ethabi", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "expander" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" +dependencies = [ + "blake2", + "fs-err", + "prettier-please", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[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 = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + +[[package]] +name = "farming" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "env_logger", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "log", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-scheduler", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "rustc-hex", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "fastrand" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + +[[package]] +name = "fastrand" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" + +[[package]] +name = "faucet" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "rewards", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[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 = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fflonk" +version = "0.1.0" +source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "merlin 3.0.0", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" + +[[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 = "fixnum" +version = "0.6.0" +source = "git+https://github.com/sora-xor/fixnum?branch=sora-v2.1.0#db1163310fa150ea4d5f5ce5204cf44447ae9a70" +dependencies = [ + "derive_more", + "parity-scale-codec", + "scale-info", + "serde", + "static_assertions", + "typenum", +] + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", + "linregress 0.5.3", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "linregress 0.4.4", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "frame-executive" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", +] + +[[package]] +name = "frame-metadata" +version = "15.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "frame-metadata" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata 16.0.0", + "frame-support-procedural 4.0.0-dev", + "impl-trait-for-tuples", + "k256 0.13.3", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-core-hashing-proc-macro 9.0.0", + "sp-debug-derive 8.0.0", + "sp-genesis-builder", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-metadata-ir", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-weights 20.0.0", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bitflags 1.3.2", + "frame-metadata 15.1.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "impl-trait-for-tuples", + "k256 0.11.6", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "bitflags 1.3.2", + "frame-metadata 15.1.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "impl-trait-for-tuples", + "k256 0.11.6", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tt-call", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "cfg-expr 0.15.8", + "derive-syn-parse 0.1.5", + "expander", + "frame-support-procedural-tools 4.0.0-dev", + "itertools", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "cfg-expr 0.10.3", + "derive-syn-parse 0.1.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "Inflector", + "cfg-expr 0.10.3", + "derive-syn-parse 0.1.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +dependencies = [ + "cfg-if", + "frame-support 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version 22.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-executor" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", + "num_cpus", +] + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-lite" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +dependencies = [ + "fastrand 1.9.0", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite", + "waker-fn", +] + +[[package]] +name = "futures-lite" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" +dependencies = [ + "fastrand 2.1.0", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[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.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "wasm-bindgen", +] + +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "gimli" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +dependencies = [ + "fallible-iterator 0.2.0", + "stable_deref_trait", +] + +[[package]] +name = "gimli" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +dependencies = [ + "fallible-iterator 0.2.0", + "indexmap 1.9.3", + "stable_deref_trait", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "group" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +dependencies = [ + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "hash-db" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" + +[[package]] +name = "hash-db" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" + +[[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 0.7.8", +] + +[[package]] +name = "hashbrown" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.11", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "hermes-governance-platform" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-governance-platform", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hermes-governance-platform", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hex-literal" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" + +[[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.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.7", +] + +[[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.7", + "hmac 0.8.1", +] + +[[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + +[[package]] +name = "iana-time-zone" +version = "0.1.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[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-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] + +[[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 1.0.109", +] + +[[package]] +name = "include_dir" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +dependencies = [ + "include_dir_macros", +] + +[[package]] +name = "include_dir_macros" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +dependencies = [ + "equivalent", + "hashbrown 0.14.5", +] + +[[package]] +name = "instant" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +dependencies = [ + "cfg-if", +] + +[[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 = "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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "iroha-migration" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "ed25519-dalek-iroha", + "eth-bridge", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-multisig 4.0.0-dev", + "parity-scale-codec", + "parity-util-mem", + "permissions", + "referrals", + "scale-info", + "serde", + "sha3 0.9.1", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "is-terminal" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.52.0", +] + +[[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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" + +[[package]] +name = "js-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +dependencies = [ + "wasm-bindgen", +] + +[[package]] +name = "jsonrpc-core" +version = "17.0.0" +source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" +dependencies = [ + "futures", + "log", + "serde", + "serde_derive", + "serde_json", +] + +[[package]] +name = "k256" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +dependencies = [ + "cfg-if", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.8", +] + +[[package]] +name = "k256" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +dependencies = [ + "cfg-if", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", + "once_cell", + "sha2 0.10.8", +] + +[[package]] +name = "keccak" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +dependencies = [ + "cpufeatures", +] + +[[package]] +name = "kv-log-macro" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" +dependencies = [ + "log", +] + +[[package]] +name = "lazy_static" +version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "libc" +version = "0.2.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" + +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + +[[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 = "linregress" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +dependencies = [ + "nalgebra 0.27.1", + "statrs", +] + +[[package]] +name = "linregress" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +dependencies = [ + "nalgebra 0.32.5", +] + +[[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 = "linux-raw-sys" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "lock_api" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +dependencies = [ + "autocfg", + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +dependencies = [ + "value-bag", +] + +[[package]] +name = "mach" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +dependencies = [ + "libc", +] + +[[package]] +name = "macro_magic" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +dependencies = [ + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "macro_magic_core" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +dependencies = [ + "const-random", + "derive-syn-parse 0.1.5", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "macro_magic_core_macros" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "macro_magic_macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +dependencies = [ + "macro_magic_core", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "matchers" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +dependencies = [ + "regex-automata 0.1.10", +] + +[[package]] +name = "matrixmultiply" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +dependencies = [ + "autocfg", + "rawpointer", +] + +[[package]] +name = "memchr" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" + +[[package]] +name = "memfd" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +dependencies = [ + "rustix 0.38.34", +] + +[[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.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +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 0.15.2", + "hashbrown 0.12.3", +] + +[[package]] +name = "memory-db" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +dependencies = [ + "hash-db 0.16.0", +] + +[[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 = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "miniz_oxide" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mock-liquidity-source" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "multicollateral-bonding-curve-pool" +version = "0.3.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "nalgebra" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros 0.1.0", + "num-complex", + "num-rational", + "num-traits", + "rand 0.8.5", + "rand_distr", + "simba 0.5.1", + "typenum", +] + +[[package]] +name = "nalgebra" +version = "0.32.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros 0.2.1", + "num-complex", + "num-rational", + "num-traits", + "simba 0.8.1", + "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 1.0.109", +] + +[[package]] +name = "nalgebra-macros" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[package]] +name = "nohash-hasher" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" + +[[package]] +name = "num-bigint" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +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.4", + "itoa", +] + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "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.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +dependencies = [ + "crc32fast", + "hashbrown 0.12.3", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.30.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +dependencies = [ + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "oracle-proxy" +version = "1.0.0" +dependencies = [ + "band", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-currencies" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-traits", + "orml-utilities", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-tokens" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-traits" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "impl-trait-for-tuples", + "num-traits", + "orml-utilities", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", +] + +[[package]] +name = "orml-utilities" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-balances" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-multisig" +version = "3.2.3" +source = "git+https://github.com/soramitsu/sora2-frame-pallets.git?branch=polkadot-v0.9.38#9762e3948a5823a312df658862c2d2311267d6aa" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-multisig" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-scheduler" +version = "4.0.0-dev" +dependencies = [ + "docify", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "pallet-session" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "impl-trait-for-tuples", + "log", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-session", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", +] + +[[package]] +name = "pallet-sudo" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-timestamp 4.0.0-dev", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "pallet-transaction-payment" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "parity-bytes" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" + +[[package]] +name = "parity-scale-codec" +version = "3.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +dependencies = [ + "arrayvec 0.7.4", + "bitvec", + "byte-slice-cast", + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "3.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +dependencies = [ + "proc-macro-crate 2.0.2", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "impl-trait-for-tuples", + "parity-util-mem-derive", + "primitive-types", + "winapi", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", + "syn 1.0.109", + "synstructure", +] + +[[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.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + +[[package]] +name = "parking_lot" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-targets 0.52.5", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[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.7", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "permissions" +version = "1.1.0" +dependencies = [ + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "piper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +dependencies = [ + "atomic-waker", + "fastrand 2.1.0", + "futures-io", +] + +[[package]] +name = "pkcs8" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +dependencies = [ + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.9", + "spki 0.7.3", +] + +[[package]] +name = "platforms" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" + +[[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +dependencies = [ + "autocfg", + "bitflags 1.3.2", + "cfg-if", + "concurrent-queue", + "libc", + "log", + "pin-project-lite", + "windows-sys 0.48.0", +] + +[[package]] +name = "polling" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 0.38.34", + "tracing", + "windows-sys 0.52.0", +] + +[[package]] +name = "pool-xyk" +version = "1.2.0" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "num-traits", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "xst", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "prettier-please" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" +dependencies = [ + "proc-macro2", + "syn 2.0.61", +] + +[[package]] +name = "price-tools" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "primitive-types" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +dependencies = [ + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "uint", +] + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" +dependencies = [ + "toml_datetime", + "toml_edit 0.20.2", +] + +[[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 1.0.109", + "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-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "proc-macro2" +version = "1.0.82" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +dependencies = [ + "cc", +] + +[[package]] +name = "pswap-distribution" +version = "1.1.1" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "quote" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +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.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.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.15", +] + +[[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 = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +dependencies = [ + "bitflags 2.5.0", +] + +[[package]] +name = "ref-cast" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "referrals" +version = "1.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "regex" +version = "1.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", +] + +[[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax 0.6.29", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax 0.8.3", +] + +[[package]] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" + +[[package]] +name = "regex-syntax" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" + +[[package]] +name = "rewards" +version = "1.3.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "libsecp256k1", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "rfc6979" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +dependencies = [ + "crypto-bigint 0.4.9", + "hmac 0.12.1", + "zeroize", +] + +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + +[[package]] +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +dependencies = [ + "bytes", + "rustc-hex", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" + +[[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", +] + +[[package]] +name = "rustix" +version = "0.35.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" +dependencies = [ + "bitflags 1.3.2", + "errno 0.2.8", + "io-lifetimes 0.7.5", + "libc", + "linux-raw-sys 0.0.46", + "windows-sys 0.42.0", +] + +[[package]] +name = "rustix" +version = "0.36.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.8", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", +] + +[[package]] +name = "rustix" +version = "0.37.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.8", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +dependencies = [ + "bitflags 2.5.0", + "errno 0.3.8", + "libc", + "linux-raw-sys 0.4.13", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustversion" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" + +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + +[[package]] +name = "safe_arch" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +dependencies = [ + "bytemuck", +] + +[[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 = "scale-info" +version = "2.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" +dependencies = [ + "bitvec", + "cfg-if", + "derive_more", + "parity-scale-codec", + "scale-info-derive", + "serde", +] + +[[package]] +name = "scale-info-derive" +version = "2.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "schnellru" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +dependencies = [ + "ahash 0.8.11", + "cfg-if", + "hashbrown 0.13.2", +] + +[[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 2.0.1", + "rand 0.7.3", + "rand_core 0.5.1", + "sha2 0.8.2", + "subtle", + "zeroize", +] + +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.10.8", + "subtle", + "zeroize", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "sec1" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +dependencies = [ + "base16ct 0.1.1", + "der 0.6.1", + "generic-array 0.14.7", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.9", + "generic-array 0.14.7", + "pkcs8 0.10.2", + "subtle", + "zeroize", +] + +[[package]] +name = "secp256k1" +version = "0.24.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +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 = "semver" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" + +[[package]] +name = "serde" +version = "1.0.200" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + +[[package]] +name = "serde_derive" +version = "1.0.200" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "serde_json" +version = "1.0.116" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + +[[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", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.1", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha3" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" +dependencies = [ + "block-buffer 0.9.0", + "digest 0.9.0", + "keccak", + "opaque-debug 0.3.1", +] + +[[package]] +name = "sha3" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" +dependencies = [ + "digest 0.10.7", + "keccak", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +dependencies = [ + "libc", +] + +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "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 = "simba" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" +dependencies = [ + "approx", + "num-complex", + "num-traits", + "paste", + "wide", +] + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "socket2" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-metadata-ir", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "blake2", + "expander", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "blake2", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "blake2", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-application-crypto" +version = "23.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "16.0.0" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 8.0.0", + "static_assertions", +] + +[[package]] +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "strum 0.24.1", +] + +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags 1.3.2", + "blake2", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.15.2", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags 1.3.2", + "blake2", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.15.2", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "21.0.0" +dependencies = [ + "array-bytes 6.2.2", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 9.0.0", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tracing", + "zeroize", +] + +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "blake2", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "blake2", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing" +version = "9.0.0" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "syn 1.0.109", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "syn 1.0.109", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +dependencies = [ + "quote", + "sp-core-hashing 9.0.0", + "syn 2.0.61", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-externalities" +version = "0.19.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0", + "sp-storage 13.0.0", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +dependencies = [ + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-io" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "secp256k1", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "bytes", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "secp256k1", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "23.0.0" +dependencies = [ + "bytes", + "ed25519-dalek 2.1.1", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime-interface 17.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-trie 22.0.0", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-keyring" +version = "24.0.0" +dependencies = [ + "lazy_static", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "strum 0.24.1", +] + +[[package]] +name = "sp-keystore" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "futures", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "schnorrkel 0.9.1", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "async-trait", + "futures", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "schnorrkel 0.9.1", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.27.0" +dependencies = [ + "parity-scale-codec", + "parking_lot", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "thiserror", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +dependencies = [ + "frame-metadata 16.0.0", + "parity-scale-codec", + "scale-info", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-mmr-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-runtime" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-runtime" +version = "24.0.0" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "Inflector", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sp-session" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", +] + +[[package]] +name = "sp-state-machine" +version = "0.28.0" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "thiserror", + "tracing", + "trie-db 0.27.1", +] + +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" + +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" + +[[package]] +name = "sp-std" +version = "8.0.0" + +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-storage" +version = "13.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "10.0.0" +dependencies = [ + "parity-scale-codec", + "sp-std 8.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "ahash 0.8.11", + "hash-db 0.15.2", + "hashbrown 0.12.3", + "lazy_static", + "memory-db 0.31.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", + "trie-db 0.24.0", + "trie-root 0.17.0", +] + +[[package]] +name = "sp-trie" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "ahash 0.8.11", + "hash-db 0.15.2", + "hashbrown 0.12.3", + "lazy_static", + "memory-db 0.31.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", + "tracing", + "trie-db 0.24.0", + "trie-root 0.17.0", +] + +[[package]] +name = "sp-trie" +version = "22.0.0" +dependencies = [ + "ahash 0.8.11", + "hash-db 0.16.0", + "hashbrown 0.13.2", + "lazy_static", + "memory-db 0.32.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 21.0.0", + "sp-std 8.0.0", + "thiserror", + "tracing", + "trie-db 0.27.1", + "trie-root 0.18.0", +] + +[[package]] +name = "sp-version" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "5.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-version-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 9.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version-proc-macro 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "wasmi", + "wasmtime 1.0.2", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "wasmi", + "wasmtime 1.0.2", +] + +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 8.0.0", + "wasmtime 8.0.1", +] + +[[package]] +name = "sp-weights" +version = "4.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-weights" +version = "4.0.0" +source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0", +] + +[[package]] +name = "spki" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +dependencies = [ + "base64ct", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.9", +] + +[[package]] +name = "ss58-registry" +version = "1.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +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 = "staging-xcm" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "xcm-procedural", +] + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "statrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" +dependencies = [ + "approx", + "lazy_static", + "nalgebra 0.27.1", + "num-traits", + "rand 0.8.5", +] + +[[package]] +name = "strum" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +dependencies = [ + "strum_macros 0.24.3", +] + +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +dependencies = [ + "strum_macros 0.25.3", +] + +[[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 1.0.109", +] + +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.61", +] + +[[package]] +name = "substrate-bip39" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" +dependencies = [ + "hmac 0.11.0", + "pbkdf2 0.8.0", + "schnorrkel 0.11.4", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" +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 1.0.109", + "unicode-xid", +] + +[[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.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" + +[[package]] +name = "technical" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "twox-hash", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "thiserror" +version = "1.0.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.60" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "thread_local" +version = "1.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +dependencies = [ + "cfg-if", + "once_cell", +] + +[[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.8", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +dependencies = [ + "backtrace", + "pin-project-lite", + "tokio-macros", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "toml" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.20.2", +] + +[[package]] +name = "toml_datetime" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", +] + +[[package]] +name = "tracing" +version = "0.1.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "tracing-core" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +dependencies = [ + "log", + "once_cell", + "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", + "regex", + "serde", + "serde_json", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", + "tracing-serde", +] + +[[package]] +name = "trading-pair" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "trie-db" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +dependencies = [ + "hash-db 0.15.2", + "hashbrown 0.12.3", + "log", + "rustc-hex", + "smallvec", +] + +[[package]] +name = "trie-db" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +dependencies = [ + "hash-db 0.16.0", + "hashbrown 0.13.2", + "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 0.15.2", +] + +[[package]] +name = "trie-root" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" +dependencies = [ + "hash-db 0.16.0", +] + +[[package]] +name = "tt-call" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" + +[[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "digest 0.10.7", + "rand 0.8.5", + "static_assertions", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[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 = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "value-bag" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "vested-rewards" +version = "1.2.1" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "itertools", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "serde_bytes", + "serde_json", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "waker-fn" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[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.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.61", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" + +[[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", + "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 1.9.3", +] + +[[package]] +name = "wasmparser" +version = "0.102.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +dependencies = [ + "indexmap 1.9.3", + "url", +] + +[[package]] +name = "wasmtime" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.29.0", + "once_cell", + "paste", + "psm", + "serde", + "target-lexicon", + "wasmparser 0.89.1", + "wasmtime-environ 1.0.2", + "wasmtime-jit 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.30.4", + "once_cell", + "paste", + "psm", + "serde", + "target-lexicon", + "wasmparser 0.102.0", + "wasmtime-environ 8.0.1", + "wasmtime-jit 8.0.1", + "wasmtime-runtime 8.0.1", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-environ" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +dependencies = [ + "anyhow", + "cranelift-entity 0.88.2", + "gimli 0.26.2", + "indexmap 1.9.3", + "log", + "object 0.29.0", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.89.1", + "wasmtime-types 1.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" +dependencies = [ + "anyhow", + "cranelift-entity 0.95.1", + "gimli 0.27.3", + "indexmap 1.9.3", + "log", + "object 0.30.4", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.102.0", + "wasmtime-types 8.0.1", +] + +[[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", + "cpp_demangle", + "gimli 0.26.2", + "log", + "object 0.29.0", + "rustc-demangle", + "rustix 0.35.16", + "serde", + "target-lexicon", + "thiserror", + "wasmtime-environ 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime-jit" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +dependencies = [ + "addr2line 0.19.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.27.3", + "log", + "object 0.30.4", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ 8.0.1", + "wasmtime-jit-icache-coherence", + "wasmtime-runtime 8.0.1", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +dependencies = [ + "once_cell", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +dependencies = [ + "once_cell", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.45.0", +] + +[[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", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memoffset 0.6.5", + "paste", + "rand 0.8.5", + "rustix 0.35.16", + "thiserror", + "wasmtime-asm-macros 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime-runtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.8.0", + "paste", + "rand 0.8.5", + "rustix 0.36.17", + "wasmtime-asm-macros 8.0.1", + "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-types" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +dependencies = [ + "cranelift-entity 0.88.2", + "serde", + "thiserror", + "wasmparser 0.89.1", +] + +[[package]] +name = "wasmtime-types" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +dependencies = [ + "cranelift-entity 0.95.1", + "serde", + "thiserror", + "wasmparser 0.102.0", +] + +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wide" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0e39d2c603fdc0504b12b458cf1f34e0b937ed2f4f2dc20796e3e86f34e11f" +dependencies = [ + "bytemuck", + "safe_arch", +] + +[[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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +dependencies = [ + "windows-sys 0.52.0", +] + +[[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-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.5", +] + +[[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 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +dependencies = [ + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" + +[[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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" + +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[package]] +name = "xcm-procedural" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "xor-fee" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-session", + "pallet-timestamp 4.0.0-dev", + "pallet-transaction-payment", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "xst" +version = "1.0.1" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "mock-liquidity-source", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "zerocopy" +version = "0.7.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[patch.unused]] +name = "frame-election-provider-support" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-benchmarking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-aura" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-authorship" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-babe" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-bags-list" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-collective" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-democracy" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" + +[[patch.unused]] +name = "pallet-grandpa" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-identity" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-im-online" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-membership" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-offences" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-preimage" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-staking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-utility" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-basic-authorship" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-chain-spec" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-client-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-slots" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-executor" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-informant" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-network" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-rpc-api" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-service" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-telemetry" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-block-builder" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-blockchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" + +[[patch.unused]] +name = "sp-npos-elections" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-offchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-rpc" +version = "6.0.0" + +[[patch.unused]] +name = "sp-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" + +[[patch.unused]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" + +[[patch.unused]] +name = "try-runtime-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" + +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-channel" +version = "0.1.1" + +[[patch.unused]] +name = "frame-election-provider-support" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-benchmarking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-aura" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-authorship" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-babe" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-bags-list" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-collective" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-democracy" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" + +[[patch.unused]] +name = "pallet-grandpa" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-identity" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-im-online" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-membership" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-offences" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-preimage" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-staking" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "pallet-utility" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-basic-authorship" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-chain-spec" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-cli" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-client-api" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-consensus-slots" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-executor" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-informant" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-network" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-rpc" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-rpc-api" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-service" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sc-telemetry" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sc-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-block-builder" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-blockchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-consensus-aura" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-consensus-babe" +version = "0.10.0-dev" + +[[patch.unused]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" + +[[patch.unused]] +name = "sp-npos-elections" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-offchain" +version = "4.0.0-dev" + +[[patch.unused]] +name = "sp-rpc" +version = "6.0.0" + +[[patch.unused]] +name = "sp-transaction-pool" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" + +[[patch.unused]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" + +[[patch.unused]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" + +[[patch.unused]] +name = "try-runtime-cli" +version = "0.10.0-dev" diff --git a/rust-toolchain.toml b/_rust-toolchain.toml similarity index 100% rename from rust-toolchain.toml rename to _rust-toolchain.toml diff --git a/common/Cargo.toml b/common/Cargo.toml index 32af344c66..8e2ead74a9 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -21,8 +21,8 @@ fixnum = { git = "https://github.com/sora-xor/fixnum", branch = "sora-v2.1.0", d "scale-info", "serde", ] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } secp256k1 = { version = "0.7", features = [ 'hmac', ], default-features = false, package = "libsecp256k1" } @@ -30,19 +30,19 @@ thiserror = "1.0" num-traits = { version = "0.2.12", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } paste = "1.0.0" -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0", features = [ "derive", ], optional = true, default-features = false } smallvec = "1.7.0" strum = { version = "0.25.0", features = ["derive"], default-features = false } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } static_assertions = "1.1.0" hex = { version = "*", default-features = false } hex-literal = "0.4.1" diff --git a/node/Cargo.toml b/node/Cargo.toml index f4a9653d37..5c4bf63a55 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -27,7 +27,7 @@ ansi_term = "0.12.1" serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" jsonrpsee = { version = "0.16.2", features = ["server"] } -bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } secp256k1 = { version = "0.7", features = ["hmac"], package = "libsecp256k1" } hex-literal = "0.4.1" @@ -59,59 +59,59 @@ framenode-runtime = { path = "../runtime" } # Substrate dependencies bridge-proxy-rpc = { path = "../pallets/bridge-proxy/rpc" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-block-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-inherents = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-keystore = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-slots = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-client-db = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-executor = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-service = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -try-runtime-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", optional = true } -sp-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-network = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-basic-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-rpc-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-trie = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-informant = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-benchmarking-cli = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", optional = true } -substrate-frame-rpc-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-gadget = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -beefy-gadget-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -mmr-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -mmr-gadget = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-executor = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-basic-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-informant = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# mmr-gadget = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git" } -sc-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-remote-externalities = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } enum-as-inner = "=0.5.1" # TODO remove after toolchain is updated # newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` -ahash = "=0.8.5" +ahash = "=0.8.7" bumpalo = "=3.14.0" cargo-platform = "=0.1.7" substrate-bip39 = "=0.4.5" @@ -126,7 +126,7 @@ assert_cmd = "=2.0.13" tokio = { version = "1.10.1", features = ["macros"] } # Substrate dependencies -pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } framenode-chain-spec = { path = "chain_spec", features = ["test"] } diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index 036320167e..173170ee55 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -9,22 +9,22 @@ codec = { package = "parity-scale-codec", version = "3", features = [ "derive", "chain-error", ] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } hex-literal = "0.4.1" -sc-finality-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-network = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-network-common = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sc-service = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" -bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } common = { path = "../../common" } faucet = { path = "../../pallets/faucet", optional = true } diff --git a/pallets/apollo-platform/Cargo.toml b/pallets/apollo-platform/Cargo.toml index 9d55112212..84546f7ca2 100644 --- a/pallets/apollo-platform/Cargo.toml +++ b/pallets/apollo-platform/Cargo.toml @@ -16,21 +16,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } permissions = { path = "../permissions", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } hex-literal = "0.4.1" -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } price-tools = { path = "../price-tools", default-features = false } liquidity-proxy = { path = "../liquidity-proxy", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } @@ -43,8 +43,8 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } apollo-platform = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/assets/Cargo.toml b/pallets/assets/Cargo.toml index 278ef4ecdc..223be022b0 100644 --- a/pallets/assets/Cargo.toml +++ b/pallets/assets/Cargo.toml @@ -16,16 +16,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" serde = { version = "1.0.128", default-features = false, optional = true, features = [ "derive", ] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tiny-keccak = { version = "2.0.2", features = ["keccak"] } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -33,8 +33,8 @@ common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } permissions = { path = "../permissions" } diff --git a/pallets/assets/rpc/Cargo.toml b/pallets/assets/rpc/Cargo.toml index f41fe55ab8..9a488b67a0 100644 --- a/pallets/assets/rpc/Cargo.toml +++ b/pallets/assets/rpc/Cargo.toml @@ -11,11 +11,11 @@ repository = 'https://github.com/sora-xor/sora2-network' serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } assets-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/assets/runtime-api/Cargo.toml b/pallets/assets/runtime-api/Cargo.toml index c1f7765684..07033c6027 100644 --- a/pallets/assets/runtime-api/Cargo.toml +++ b/pallets/assets/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } [dev-dependencies] diff --git a/pallets/band/Cargo.toml b/pallets/band/Cargo.toml index f28a58aced..98cb42f60e 100644 --- a/pallets/band/Cargo.toml +++ b/pallets/band/Cargo.toml @@ -15,20 +15,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } hex-literal = "0.4.1" fallible-iterator = { version = "0.3.0", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { version = "7.0.0", git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-runtime = { version = "7.0.0", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } xst = { path = "../xst", default-features = false } diff --git a/pallets/bridge-proxy/Cargo.toml b/pallets/bridge-proxy/Cargo.toml index 2fd07c28f6..dfd482dc8b 100644 --- a/pallets/bridge-proxy/Cargo.toml +++ b/pallets/bridge-proxy/Cargo.toml @@ -10,14 +10,14 @@ codec = { version = "3", package = "parity-scale-codec", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } assets = { path = "../assets", default-features = false } @@ -26,7 +26,7 @@ permissions = { path = "../permissions", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } # delete after migration LiberlandGenericAccount pass -xcm = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.38", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, package = "staging-xcm" } [dev-dependencies] common = { path = "../../common", features = ["test"] } @@ -35,8 +35,8 @@ dispatch = { git = "https://github.com/sora-xor/sora2-common.git" } evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git" } bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git" } -sp-keyring = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits" } diff --git a/pallets/bridge-proxy/rpc/Cargo.toml b/pallets/bridge-proxy/rpc/Cargo.toml index b7d4a51f44..6856a6b111 100644 --- a/pallets/bridge-proxy/rpc/Cargo.toml +++ b/pallets/bridge-proxy/rpc/Cargo.toml @@ -14,12 +14,12 @@ codec = { package = "parity-scale-codec", version = "3" } scale-info = { version = "2", default-features = false, features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } bridge-proxy-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/bridge-proxy/runtime-api/Cargo.toml b/pallets/bridge-proxy/runtime-api/Cargo.toml index 6e411b606a..5e077b0de1 100644 --- a/pallets/bridge-proxy/runtime-api/Cargo.toml +++ b/pallets/bridge-proxy/runtime-api/Cargo.toml @@ -15,9 +15,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } [features] diff --git a/pallets/ceres-governance-platform/Cargo.toml b/pallets/ceres-governance-platform/Cargo.toml index 934b1e2adc..6e7f57b3a6 100644 --- a/pallets/ceres-governance-platform/Cargo.toml +++ b/pallets/ceres-governance-platform/Cargo.toml @@ -16,20 +16,20 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } hex-literal = "0.4.1" -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] assets = { path = "../assets" } @@ -39,8 +39,8 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } ceres-governance-platform = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-launchpad/Cargo.toml b/pallets/ceres-launchpad/Cargo.toml index 3511227c46..28248f6a54 100644 --- a/pallets/ceres-launchpad/Cargo.toml +++ b/pallets/ceres-launchpad/Cargo.toml @@ -20,14 +20,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } @@ -36,7 +36,7 @@ pswap-distribution = { path = "../pswap-distribution", default-features = false vested-rewards = { path = "../vested-rewards", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -44,9 +44,9 @@ assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../demeter-farming-platform" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } permissions = { path = "../permissions" } technical = { path = "../technical" } pswap-distribution = { path = "../pswap-distribution" } diff --git a/pallets/ceres-liquidity-locker/Cargo.toml b/pallets/ceres-liquidity-locker/Cargo.toml index b81ae90850..c835dffde3 100644 --- a/pallets/ceres-liquidity-locker/Cargo.toml +++ b/pallets/ceres-liquidity-locker/Cargo.toml @@ -18,16 +18,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } permissions = { path = "../permissions", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } hex-literal = "0.4.1" @@ -39,8 +39,8 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } ceres-liquidity-locker = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml b/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml index 062d016670..f7ad680b48 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml +++ b/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml @@ -20,18 +20,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals scale-info = { version = "2", default-features = false, features = ["derive"] } getrandom = { version = "0.2", default-features = false, features = ["js"] } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } permissions = { path = "../../permissions", default-features = false } pswap-distribution = { path = "../../pswap-distribution", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } @@ -40,9 +40,9 @@ hex-literal = "0.4.1" [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker" } serde = { version = "1.0.101", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } dex-manager = { path = "../../dex-manager" } dex-api = { path = "../../dex-api" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } diff --git a/pallets/ceres-staking/Cargo.toml b/pallets/ceres-staking/Cargo.toml index a2440cbd00..be777f3e8a 100644 --- a/pallets/ceres-staking/Cargo.toml +++ b/pallets/ceres-staking/Cargo.toml @@ -16,14 +16,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } @@ -34,9 +34,9 @@ hex-literal = "0.4.1" assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } permissions = { path = "../permissions" } technical = { path = "../technical", default-features = false } diff --git a/pallets/ceres-token-locker/Cargo.toml b/pallets/ceres-token-locker/Cargo.toml index adabf90bea..9a66887952 100644 --- a/pallets/ceres-token-locker/Cargo.toml +++ b/pallets/ceres-token-locker/Cargo.toml @@ -16,19 +16,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -38,10 +38,10 @@ common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../demeter-farming-platform" } dex-manager = { path = "../dex-manager" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } pool-xyk = { path = "../pool-xyk" } pswap-distribution = { path = "../pswap-distribution" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } permissions = { path = "../permissions" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } diff --git a/pallets/demeter-farming-platform/Cargo.toml b/pallets/demeter-farming-platform/Cargo.toml index 2037795a22..b8c865fe13 100644 --- a/pallets/demeter-farming-platform/Cargo.toml +++ b/pallets/demeter-farming-platform/Cargo.toml @@ -19,21 +19,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } pswap-distribution = { path = "../pswap-distribution", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -42,9 +42,9 @@ common = { path = "../../common", features = ["test"] } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = ".", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } permissions = { path = "../permissions" } technical = { path = "../technical" } pool-xyk = { path = "../pool-xyk" } diff --git a/pallets/demeter-farming-platform/benchmarking/Cargo.toml b/pallets/demeter-farming-platform/benchmarking/Cargo.toml index 1436a03bef..aa999b2f9c 100644 --- a/pallets/demeter-farming-platform/benchmarking/Cargo.toml +++ b/pallets/demeter-farming-platform/benchmarking/Cargo.toml @@ -18,13 +18,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } @@ -39,7 +39,7 @@ dex-manager = { path = "../../dex-manager", default-features = false } vested-rewards = { path = "../../vested-rewards", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } technical = { path = "../../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -47,8 +47,8 @@ assets = { path = "../../assets" } common = { path = "../../../common", features = ["test"] } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker" } serde = { version = "1.0.101", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } vested-rewards = { path = "../../vested-rewards" } diff --git a/pallets/dex-api/Cargo.toml b/pallets/dex-api/Cargo.toml index b807ecc49a..55d8e36993 100644 --- a/pallets/dex-api/Cargo.toml +++ b/pallets/dex-api/Cargo.toml @@ -20,28 +20,28 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../common", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } mock-liquidity-source = { path = "../mock-liquidity-source", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } strum = { version = "0.25.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/dex-api/rpc/Cargo.toml b/pallets/dex-api/rpc/Cargo.toml index a762727c4c..73e01d2f65 100644 --- a/pallets/dex-api/rpc/Cargo.toml +++ b/pallets/dex-api/rpc/Cargo.toml @@ -11,11 +11,11 @@ repository = 'https://github.com/sora-xor/sora2-network' serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common" } dex-runtime-api = { path = "../runtime-api" } diff --git a/pallets/dex-api/runtime-api/Cargo.toml b/pallets/dex-api/runtime-api/Cargo.toml index ba5586471f..e62382c307 100644 --- a/pallets/dex-api/runtime-api/Cargo.toml +++ b/pallets/dex-api/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } diff --git a/pallets/dex-manager/Cargo.toml b/pallets/dex-manager/Cargo.toml index 918c9672f4..e74720b964 100644 --- a/pallets/dex-manager/Cargo.toml +++ b/pallets/dex-manager/Cargo.toml @@ -19,12 +19,12 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -37,8 +37,8 @@ hex-literal = { version = "0.4.1", optional = true } common = { path = "../../common", default-features = false, features = [ "test", ] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ['std'] diff --git a/pallets/dex-manager/rpc/Cargo.toml b/pallets/dex-manager/rpc/Cargo.toml index b63506f0c0..100a82fdad 100644 --- a/pallets/dex-manager/rpc/Cargo.toml +++ b/pallets/dex-manager/rpc/Cargo.toml @@ -11,11 +11,11 @@ repository = 'https://github.com/sora-xor/sora2-network' serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } dex-manager-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/dex-manager/runtime-api/Cargo.toml b/pallets/dex-manager/runtime-api/Cargo.toml index 0f2203bea5..5e97a69415 100644 --- a/pallets/dex-manager/runtime-api/Cargo.toml +++ b/pallets/dex-manager/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index b5199460f3..486a46ad71 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "full", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } hex-literal = "0.4.1" secp256k1 = { version = "0.7", features = [ 'hmac', @@ -31,13 +31,13 @@ serde = { version = "1.0", features = [ "derive", ], default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tiny-keccak = { version = "2", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } ethabi = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi", default-features = false } ethabi-contract = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi-contract", default-features = false } ethabi-derive = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi-derive", default-features = false } @@ -57,18 +57,18 @@ bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = async-std = { version = "1.5", features = ["attributes", "unstable"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } env_logger = "0.10.0" -frame-executive = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } parity-util-mem = { version = "0.12.0", default-features = false, features = [ "primitive-types", ] } parking_lot = "0.12.0" -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ "full_crypto", ] } -sp-keystore = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } tokio = { version = "1.10.1", default-features = false, features = ["macros"] } @@ -79,7 +79,7 @@ permissions = { path = "../permissions" } [features] default = ['std'] std = [ - 'bridge-multisig/std', + # 'bridge-multisig/std', 'codec/std', "scale-info/std", 'ethereum-types/std', diff --git a/pallets/eth-bridge/rpc/Cargo.toml b/pallets/eth-bridge/rpc/Cargo.toml index 1a40b0c686..68a918a8f3 100644 --- a/pallets/eth-bridge/rpc/Cargo.toml +++ b/pallets/eth-bridge/rpc/Cargo.toml @@ -12,12 +12,12 @@ version = "0.1.0" serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } eth-bridge = { path = "../" } eth-bridge-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/eth-bridge/runtime-api/Cargo.toml b/pallets/eth-bridge/runtime-api/Cargo.toml index b9462fb1c0..fd6371742e 100644 --- a/pallets/eth-bridge/runtime-api/Cargo.toml +++ b/pallets/eth-bridge/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/farming/Cargo.toml b/pallets/farming/Cargo.toml index 85b5be364f..32210c377f 100644 --- a/pallets/farming/Cargo.toml +++ b/pallets/farming/Cargo.toml @@ -16,18 +16,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } @@ -46,9 +46,9 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } env_logger = "0.10.0" hex-literal = { version = "0.4.1" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } log = "0.4.14" diff --git a/pallets/farming/rpc/Cargo.toml b/pallets/farming/rpc/Cargo.toml index 57a8ae4323..44f0ead8d2 100644 --- a/pallets/farming/rpc/Cargo.toml +++ b/pallets/farming/rpc/Cargo.toml @@ -10,9 +10,9 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } farming-runtime-api = { path = "../runtime-api" } [features] diff --git a/pallets/farming/runtime-api/Cargo.toml b/pallets/farming/runtime-api/Cargo.toml index 953316e3e7..0457786a15 100644 --- a/pallets/farming/runtime-api/Cargo.toml +++ b/pallets/farming/runtime-api/Cargo.toml @@ -8,8 +8,8 @@ homepage = 'https://sora.org' repository = 'https://github.com/sora-xor/sora2-network' [dependencies] -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } diff --git a/pallets/faucet/Cargo.toml b/pallets/faucet/Cargo.toml index 4287c704da..7176376dc5 100644 --- a/pallets/faucet/Cargo.toml +++ b/pallets/faucet/Cargo.toml @@ -16,16 +16,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } @@ -34,9 +34,9 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } assets = { path = "../assets" } diff --git a/pallets/hermes-governance-platform/Cargo.toml b/pallets/hermes-governance-platform/Cargo.toml index d13aca9dcc..5ef113cecc 100644 --- a/pallets/hermes-governance-platform/Cargo.toml +++ b/pallets/hermes-governance-platform/Cargo.toml @@ -16,20 +16,20 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } hex-literal = "0.4.1" -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] assets = { path = "../assets" } @@ -40,7 +40,7 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } hermes-governance-platform = { path = ".", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } pool-xyk = { path = "../pool-xyk", default-features = false } diff --git a/pallets/iroha-migration/Cargo.toml b/pallets/iroha-migration/Cargo.toml index 6b6fcd4cc2..f7d5a19e7d 100644 --- a/pallets/iroha-migration/Cargo.toml +++ b/pallets/iroha-migration/Cargo.toml @@ -15,17 +15,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex = { version = "0.4.2", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-multisig = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } sha3 = { version = "0.9.1", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } ed25519-dalek-iroha = { git = "https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git", branch = "develop", default-features = false, features = [ "u64_backend", @@ -39,15 +39,15 @@ eth-bridge = { path = "../eth-bridge", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } parity-util-mem = { version = "0.12.0", default-features = false, features = [ "primitive-types", ] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ "full_crypto", ] } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } diff --git a/pallets/iroha-migration/rpc/Cargo.toml b/pallets/iroha-migration/rpc/Cargo.toml index 38787d0b86..0d29a6378e 100644 --- a/pallets/iroha-migration/rpc/Cargo.toml +++ b/pallets/iroha-migration/rpc/Cargo.toml @@ -9,10 +9,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # Path dependencies common = { path = "../../../common" } diff --git a/pallets/iroha-migration/runtime-api/Cargo.toml b/pallets/iroha-migration/runtime-api/Cargo.toml index c0a70ccd5f..50620de5a6 100644 --- a/pallets/iroha-migration/runtime-api/Cargo.toml +++ b/pallets/iroha-migration/runtime-api/Cargo.toml @@ -8,7 +8,7 @@ homepage = 'https://sora.org' repository = 'https://github.com/sora-xor/sora2-network' [dependencies] -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/kensetsu/Cargo.toml b/pallets/kensetsu/Cargo.toml index 2a9b5d1848..c97b662688 100644 --- a/pallets/kensetsu/Cargo.toml +++ b/pallets/kensetsu/Cargo.toml @@ -17,26 +17,27 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } common = { path = "../../common", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4", optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } permissions = { path = "../permissions", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", optional = true } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } permissions = { path = "../permissions" } hex-literal = "0.4" -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +# sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0"} tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [features] diff --git a/pallets/kensetsu/benchmarking/Cargo.toml b/pallets/kensetsu/benchmarking/Cargo.toml index bb89003e10..80843e2296 100644 --- a/pallets/kensetsu/benchmarking/Cargo.toml +++ b/pallets/kensetsu/benchmarking/Cargo.toml @@ -17,12 +17,12 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } common = { path = "../../../common", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } kensetsu = { path = "..", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } price-tools = { path = "../../price-tools", default-features = false } diff --git a/pallets/liquidity-proxy/Cargo.toml b/pallets/liquidity-proxy/Cargo.toml index 71075c4dd7..356a287ef0 100644 --- a/pallets/liquidity-proxy/Cargo.toml +++ b/pallets/liquidity-proxy/Cargo.toml @@ -18,17 +18,17 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } assets = { path = "../assets", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } itertools = { version = "0.10.5", default-features = false } fallible-iterator = { version = "0.2.0", default-features = false } @@ -36,8 +36,8 @@ fallible-iterator = { version = "0.2.0", default-features = false } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } dex-api = { path = "../dex-api" } dex-manager = { path = "../dex-manager" } framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } diff --git a/pallets/liquidity-proxy/benchmarking/Cargo.toml b/pallets/liquidity-proxy/benchmarking/Cargo.toml index d8dc2907da..e0ab796c95 100644 --- a/pallets/liquidity-proxy/benchmarking/Cargo.toml +++ b/pallets/liquidity-proxy/benchmarking/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } liquidity-proxy = { path = "../../liquidity-proxy", default-features = false } @@ -38,12 +38,12 @@ dex-api = { path = "../../dex-api", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../../common", default-features = false, features = [ "test", diff --git a/pallets/liquidity-proxy/rpc/Cargo.toml b/pallets/liquidity-proxy/rpc/Cargo.toml index 05da3a4194..7e58d57b6e 100644 --- a/pallets/liquidity-proxy/rpc/Cargo.toml +++ b/pallets/liquidity-proxy/rpc/Cargo.toml @@ -11,12 +11,12 @@ repository = 'https://github.com/sora-xor/sora2-network' serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } liquidity-proxy-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/liquidity-proxy/runtime-api/Cargo.toml b/pallets/liquidity-proxy/runtime-api/Cargo.toml index 46f554d212..0cbe39085b 100644 --- a/pallets/liquidity-proxy/runtime-api/Cargo.toml +++ b/pallets/liquidity-proxy/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } [dev-dependencies] diff --git a/pallets/mock-liquidity-source/Cargo.toml b/pallets/mock-liquidity-source/Cargo.toml index 94b7bd0a0b..fad1f6bda9 100644 --- a/pallets/mock-liquidity-source/Cargo.toml +++ b/pallets/mock-liquidity-source/Cargo.toml @@ -16,15 +16,15 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -35,9 +35,9 @@ permissions = { path = "../permissions", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" common = { path = "../../common", features = ["test"] } diff --git a/pallets/multicollateral-bonding-curve-pool/Cargo.toml b/pallets/multicollateral-bonding-curve-pool/Cargo.toml index 2dd3230a1e..dc8b5628dd 100644 --- a/pallets/multicollateral-bonding-curve-pool/Cargo.toml +++ b/pallets/multicollateral-bonding-curve-pool/Cargo.toml @@ -16,17 +16,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } hex-literal = "0.4.1" orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } @@ -37,15 +37,15 @@ technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } price-tools = { path = "../price-tools", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/oracle-proxy/Cargo.toml b/pallets/oracle-proxy/Cargo.toml index d0b74e05e6..c8e2c9cb96 100644 --- a/pallets/oracle-proxy/Cargo.toml +++ b/pallets/oracle-proxy/Cargo.toml @@ -12,25 +12,26 @@ repository = 'https://github.com/sora-xor/sora2-network' targets = ['x86_64-unknown-linux-gnu'] [dependencies] -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { version = "7.0.0", git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-runtime = { version = "7.0.0", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } band = { path = "../band", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ['std'] diff --git a/pallets/oracle-proxy/rpc/Cargo.toml b/pallets/oracle-proxy/rpc/Cargo.toml index ca8ff93bed..c7f7c60fde 100644 --- a/pallets/oracle-proxy/rpc/Cargo.toml +++ b/pallets/oracle-proxy/rpc/Cargo.toml @@ -13,7 +13,7 @@ repository = 'https://github.com/sora-xor/sora2-network' oracle-proxy-runtime-api = { path = "../runtime-api" } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/oracle-proxy/runtime-api/Cargo.toml b/pallets/oracle-proxy/runtime-api/Cargo.toml index f130ce3b82..83b3dc2fba 100644 --- a/pallets/oracle-proxy/runtime-api/Cargo.toml +++ b/pallets/oracle-proxy/runtime-api/Cargo.toml @@ -15,9 +15,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } [features] diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index a5c1d51f5a..28d66b517f 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -15,11 +15,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } technical = { path = "../technical", default-features = false } @@ -31,13 +31,13 @@ serde = { version = "1.0", features = [ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/order-book/benchmarking/Cargo.toml b/pallets/order-book/benchmarking/Cargo.toml index 9b2e782528..2e2c27d4a4 100644 --- a/pallets/order-book/benchmarking/Cargo.toml +++ b/pallets/order-book/benchmarking/Cargo.toml @@ -15,11 +15,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } order-book = { path = "..", default-features = false } @@ -32,15 +32,15 @@ serde = { version = "1.0", features = [ ], optional = true, default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } framenode-chain-spec = { path = "../../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../../runtime", default-features = false, features = [ "std", ] } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 6023d78c3d..736d5b6f35 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -16,18 +16,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } [features] default = ["std"] diff --git a/pallets/pool-xyk/Cargo.toml b/pallets/pool-xyk/Cargo.toml index d527fbe623..0770a26e81 100644 --- a/pallets/pool-xyk/Cargo.toml +++ b/pallets/pool-xyk/Cargo.toml @@ -17,18 +17,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } num-traits = { version = "0.2.12", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } @@ -41,8 +41,8 @@ trading-pair = { path = "../trading-pair", default-features = false } [dev-dependencies] hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } permissions = { path = "../permissions" } diff --git a/pallets/pool-xyk/benchmarking/Cargo.toml b/pallets/pool-xyk/benchmarking/Cargo.toml index 4d46e1c44d..36f95b4c04 100644 --- a/pallets/pool-xyk/benchmarking/Cargo.toml +++ b/pallets/pool-xyk/benchmarking/Cargo.toml @@ -15,11 +15,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } @@ -27,16 +27,16 @@ technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } permissions = { path = "../../permissions", default-features = false } pswap-distribution = { path = "../../pswap-distribution", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } dex-manager = { path = "../../dex-manager", default-features = false } dex-api = { path = "../../dex-api", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } diff --git a/pallets/price-tools/Cargo.toml b/pallets/price-tools/Cargo.toml index d8455a1c01..88b5c27c29 100644 --- a/pallets/price-tools/Cargo.toml +++ b/pallets/price-tools/Cargo.toml @@ -16,19 +16,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } @@ -37,13 +37,13 @@ permissions = { path = "../permissions", default-features = false } pswap-distribution = { path = "../pswap-distribution", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/pswap-distribution/Cargo.toml b/pallets/pswap-distribution/Cargo.toml index 0a74ea646d..2ba3ac49b8 100644 --- a/pallets/pswap-distribution/Cargo.toml +++ b/pallets/pswap-distribution/Cargo.toml @@ -17,18 +17,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -37,13 +37,13 @@ common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } permissions = { path = "../permissions", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = { version = '0.4.1' } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } diff --git a/pallets/pswap-distribution/benchmarking/Cargo.toml b/pallets/pswap-distribution/benchmarking/Cargo.toml index 564923b77d..01d87efcad 100644 --- a/pallets/pswap-distribution/benchmarking/Cargo.toml +++ b/pallets/pswap-distribution/benchmarking/Cargo.toml @@ -16,13 +16,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -33,19 +33,19 @@ pool-xyk = { path = "../../pool-xyk", default-features = false } pswap-distribution = { path = "..", default-features = false } technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } hex-literal = { version = '0.4.1' } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } serde = { version = "1.0.101", features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } common = { path = "../../../common", features = ["test"] } dex-manager = { path = "../../dex-manager" } diff --git a/pallets/pswap-distribution/rpc/Cargo.toml b/pallets/pswap-distribution/rpc/Cargo.toml index 9b7b62d2b2..bc1d94971f 100644 --- a/pallets/pswap-distribution/rpc/Cargo.toml +++ b/pallets/pswap-distribution/rpc/Cargo.toml @@ -11,12 +11,12 @@ repository = 'https://github.com/sora-xor/sora2-network' serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } common = { path = "../../../common" } pswap-distribution-runtime-api = { path = "../runtime-api" } diff --git a/pallets/pswap-distribution/runtime-api/Cargo.toml b/pallets/pswap-distribution/runtime-api/Cargo.toml index 326de4ce7b..cca5a1e8c4 100644 --- a/pallets/pswap-distribution/runtime-api/Cargo.toml +++ b/pallets/pswap-distribution/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } diff --git a/pallets/qa-tools/Cargo.toml b/pallets/qa-tools/Cargo.toml index 86e9836875..fcc769f228 100644 --- a/pallets/qa-tools/Cargo.toml +++ b/pallets/qa-tools/Cargo.toml @@ -19,10 +19,10 @@ common = { path = "../../common", default-features = false } rand = { version = "0.8.5", default-features = false } rand_chacha = { version = "0.3.1", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } band = { path = "../band", default-features = false } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } @@ -38,10 +38,10 @@ framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../runtime", default-features = false, features = [ "std", ] } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index 78ed2b01e9..c8d9c7e5c8 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -17,21 +17,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } hex-literal = { version = "0.4.1", default-features = false, optional = true } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false, optional = true } [dev-dependencies] common = { path = "../../common", features = ["test"] } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } permissions = { path = "../permissions" } diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index 01346f02e5..aa08b64018 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -16,19 +16,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", default-features = false } secp256k1 = { version = "0.7", features = [ "hmac", "static-context", ], default-features = false, package = "libsecp256k1" } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } hex = { version = "0.4", default-features = false } @@ -38,8 +38,8 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } diff --git a/pallets/rewards/rpc/Cargo.toml b/pallets/rewards/rpc/Cargo.toml index 0647911d28..f7cf1f88f6 100644 --- a/pallets/rewards/rpc/Cargo.toml +++ b/pallets/rewards/rpc/Cargo.toml @@ -11,12 +11,12 @@ repository = 'https://github.com/sora-xor/sora2-network' codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } common = { path = "../../../common" } rewards-runtime-api = { path = "../runtime-api" } diff --git a/pallets/rewards/runtime-api/Cargo.toml b/pallets/rewards/runtime-api/Cargo.toml index 5a5cd32ed0..1fcfe7356f 100644 --- a/pallets/rewards/runtime-api/Cargo.toml +++ b/pallets/rewards/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } diff --git a/pallets/technical/Cargo.toml b/pallets/technical/Cargo.toml index 2f8143430b..19b2b2a00d 100644 --- a/pallets/technical/Cargo.toml +++ b/pallets/technical/Cargo.toml @@ -17,16 +17,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } twox-hash = { version = "1.5.0", default-features = false } assets = { path = "../assets", default-features = false } @@ -34,8 +34,8 @@ common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false, optional = true } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } hex-literal = "0.4.1" diff --git a/pallets/trading-pair/Cargo.toml b/pallets/trading-pair/Cargo.toml index 64d0b76fe2..6dd5f657b6 100644 --- a/pallets/trading-pair/Cargo.toml +++ b/pallets/trading-pair/Cargo.toml @@ -16,16 +16,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -34,8 +34,8 @@ common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/trading-pair/rpc/Cargo.toml b/pallets/trading-pair/rpc/Cargo.toml index 457fb3e27f..da49a272f2 100644 --- a/pallets/trading-pair/rpc/Cargo.toml +++ b/pallets/trading-pair/rpc/Cargo.toml @@ -11,11 +11,11 @@ repository = 'https://github.com/sora-xor/sora2-network' serde = { version = "1.0.101", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } trading-pair-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/trading-pair/runtime-api/Cargo.toml b/pallets/trading-pair/runtime-api/Cargo.toml index 68f4b52682..e11970c15b 100644 --- a/pallets/trading-pair/runtime-api/Cargo.toml +++ b/pallets/trading-pair/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [features] diff --git a/pallets/vested-rewards/Cargo.toml b/pallets/vested-rewards/Cargo.toml index 9fa4cc0dd8..901595ade5 100644 --- a/pallets/vested-rewards/Cargo.toml +++ b/pallets/vested-rewards/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } hex-literal = { version = "0.4.1" } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex = { version = "0.4", default-features = false, features = ["serde"] } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } serde_bytes = { version = "0.11", default-features = false, features = [ @@ -37,11 +37,11 @@ serde_bytes = { version = "0.11", default-features = false, features = [ ] } serde_json = { version = "1.0", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } itertools = { version = "0.10.5", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } diff --git a/pallets/vested-rewards/rpc/Cargo.toml b/pallets/vested-rewards/rpc/Cargo.toml index a97c558c0d..aa66f7ef2d 100644 --- a/pallets/vested-rewards/rpc/Cargo.toml +++ b/pallets/vested-rewards/rpc/Cargo.toml @@ -14,12 +14,12 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals scale-info = { version = "2", default-features = false, features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-blockchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-rpc = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } common = { path = "../../../common" } vested-rewards-runtime-api = { path = "../runtime-api" } diff --git a/pallets/vested-rewards/runtime-api/Cargo.toml b/pallets/vested-rewards/runtime-api/Cargo.toml index 62aa737938..d8c668f747 100644 --- a/pallets/vested-rewards/runtime-api/Cargo.toml +++ b/pallets/vested-rewards/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } diff --git a/pallets/xor-fee/Cargo.toml b/pallets/xor-fee/Cargo.toml index 5e27213abd..0eccfdfd04 100644 --- a/pallets/xor-fee/Cargo.toml +++ b/pallets/xor-fee/Cargo.toml @@ -16,19 +16,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ "historical", ] } -pallet-transaction-payment = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", features = ["derive"], optional = true } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } smallvec = "1.5.0" assets = { path = "../assets", default-features = false } @@ -36,10 +36,10 @@ common = { path = "../../common", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/xst/Cargo.toml b/pallets/xst/Cargo.toml index 8aea398b13..9cafa1bb74 100644 --- a/pallets/xst/Cargo.toml +++ b/pallets/xst/Cargo.toml @@ -17,17 +17,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } @@ -38,15 +38,15 @@ technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } price-tools = { path = "../price-tools", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker" } demeter-farming-platform = { path = "../demeter-farming-platform" } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/xst/benchmarking/Cargo.toml b/pallets/xst/benchmarking/Cargo.toml index 019b40a33c..e43d6f5a27 100644 --- a/pallets/xst/benchmarking/Cargo.toml +++ b/pallets/xst/benchmarking/Cargo.toml @@ -13,13 +13,13 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1" } -sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } permissions = { path = "../../permissions", default-features = false } dex-manager = { path = "../../dex-manager", default-features = false } @@ -35,9 +35,9 @@ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library price-tools = { path = "../../price-tools", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } dex-api = { path = "../../dex-api", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 63925eee96..382d57ea25 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -11,7 +11,7 @@ version = "3.3.0" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } [dependencies] codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ @@ -28,9 +28,9 @@ serde = { features = [ ], default-features = false, optional = true, version = '1.0.101' } bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } -sp-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-mmr-primitives = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } +sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } @@ -104,60 +104,60 @@ xst = { path = "../pallets/xst", default-features = false } xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } # Substrate dependencies -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-executive = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ - "tuples-96", -] } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-try-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-collective = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-democracy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-grandpa = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-beefy = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -pallet-beefy-mmr = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -pallet-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-im-online = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-identity = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-membership = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-multisig = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-offences = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-preimage = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-sudo = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ - "historical", -] } -pallet-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-utility = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-bags-list = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +# "tuples-96", +# ] } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +# "historical", +# ] } +pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-block-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-consensus-aura = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-consensus-babe = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-inherents = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-offchain = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-transaction-pool = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-version = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-npos-elections = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-authorship = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-election-provider-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } # Other currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } @@ -170,8 +170,8 @@ bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-f env_logger = "0.10.0" framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } tokio = { version = "1.19.2", features = ["macros"] } -sp-tracing = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-remote-externalities = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } [features] default = ["std", "build-wasm-binary"] diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index 9b62ea0477..e7492a2fc4 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -8,11 +8,11 @@ edition = "2021" [dependencies] clap = { version = "=4.3.17", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-election-provider-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -pallet-staking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } chrono = { version = "0.4.19" } num-format = { version = "0.4.0" } diff --git a/utils/remote-ext/Cargo.toml b/utils/remote-ext/Cargo.toml index f418dd845e..9b2bad4f8e 100644 --- a/utils/remote-ext/Cargo.toml +++ b/utils/remote-ext/Cargo.toml @@ -22,16 +22,16 @@ anyhow = "1.0.51" hex = "0.4.3" env_logger = "0.10.0" -frame-remote-externalities = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-version = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } -frame-election-provider-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } framenode-runtime = { path = "../../runtime", default-features = false, features = [ "std", diff --git a/utils/wasm-builder/Cargo.toml b/utils/wasm-builder/Cargo.toml index ca7894292e..d0a5d3c222 100644 --- a/utils/wasm-builder/Cargo.toml +++ b/utils/wasm-builder/Cargo.toml @@ -8,4 +8,4 @@ version = "0.1.0" edition = "2021" [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } From 29155324016b70e8808e208f86a6f666d0b6119b Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 13 May 2024 18:14:19 -0300 Subject: [PATCH 003/110] choosing tooclhain --- Cargo.lock | 96 ++++++++++----------- common/src/fixed_wrapper.rs | 2 +- common/src/lib.rs | 6 +- common/src/outcome_fee.rs | 2 +- common/src/primitives.rs | 8 +- common/src/swap_amount.rs | 2 +- common/src/utils.rs | 2 +- _rust-toolchain.toml => rust-toolchain.toml | 2 +- 8 files changed, 60 insertions(+), 60 deletions(-) rename _rust-toolchain.toml => rust-toolchain.toml (69%) diff --git a/Cargo.lock b/Cargo.lock index d7a8558c3e..e8b74eae0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7497,54 +7497,6 @@ dependencies = [ "syn 2.0.61", ] -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" - -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" - [[patch.unused]] name = "frame-election-provider-support" version = "4.0.0-dev" @@ -7944,3 +7896,51 @@ version = "5.0.0-dev" [[patch.unused]] name = "try-runtime-cli" version = "0.10.0-dev" + +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" + +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-channel" +version = "0.1.1" diff --git a/common/src/fixed_wrapper.rs b/common/src/fixed_wrapper.rs index d7122911a5..20c77064d2 100644 --- a/common/src/fixed_wrapper.rs +++ b/common/src/fixed_wrapper.rs @@ -35,7 +35,7 @@ use core::result::Result; use fixnum::ops::RoundMode::*; use fixnum::ops::{CheckedAdd, CheckedSub, RoundingDiv, RoundingMul, RoundingSqrt}; use fixnum::ArithmeticError; -use frame_support::RuntimeDebug; +use sp_core::RuntimeDebug; use static_assertions::_core::cmp::Ordering; use crate::{fixed, pow, Balance, Fixed, FixedInner, FIXED_PRECISION}; diff --git a/common/src/lib.rs b/common/src/lib.rs index 90c886b3a0..7ae3729a65 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -62,6 +62,7 @@ pub mod utils; pub mod weights; use codec::Encode; +use frame_system::pallet_prelude::BlockNumberFor; use sp_core::hash::H512; use sp_runtime::traits::UniqueSaturatedInto; use sp_runtime::TransactionOutcome; @@ -182,12 +183,11 @@ impl IsRepresentation for AccountId32 { } } -type BlockNumberOf = ::BlockNumber; type MomentOf = ::Moment; /// Converts block_number to timestamp pub fn convert_block_number_to_timestamp( - unlocking_block: BlockNumberOf, - current_block: BlockNumberOf, + unlocking_block: BlockNumberFor, + current_block: BlockNumberFor, current_timestamp: MomentOf, ) -> MomentOf { if unlocking_block > current_block { diff --git a/common/src/outcome_fee.rs b/common/src/outcome_fee.rs index 55015e16d2..62857f6bf7 100644 --- a/common/src/outcome_fee.rs +++ b/common/src/outcome_fee.rs @@ -33,9 +33,9 @@ use crate::{Balance, Fixed}; use codec::{Decode, Encode}; use fixnum::ops::Zero as _; -use frame_support::RuntimeDebug; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_runtime::traits::{Saturating, Zero}; use sp_std::collections::btree_map::BTreeMap; diff --git a/common/src/primitives.rs b/common/src/primitives.rs index 5f5a92e884..90e57a2bc2 100644 --- a/common/src/primitives.rs +++ b/common/src/primitives.rs @@ -33,11 +33,11 @@ use crate::{Fixed, IsValid}; use bridge_types::GenericAssetId; use codec::{Decode, Encode, MaxEncodedLen}; use core::{fmt::Debug, str::FromStr}; -use frame_support::dispatch::TypeInfo; use frame_support::traits::ConstU32; -use frame_support::{ensure, BoundedVec, RuntimeDebug}; +use frame_support::{ensure, BoundedVec}; use hex_literal::hex; -use sp_core::H256; +use scale_info::TypeInfo; +use sp_core::{RuntimeDebug, H256}; use sp_runtime::traits::Get; use sp_std::marker::PhantomData; use sp_std::vec::Vec; @@ -135,7 +135,7 @@ mod _allowed_deprecated { #![allow(deprecated)] use codec::{Decode, Encode, MaxEncodedLen}; - use frame_support::RuntimeDebug; + use sp_core::RuntimeDebug; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; diff --git a/common/src/swap_amount.rs b/common/src/swap_amount.rs index 92586859f6..c0026f0cfb 100644 --- a/common/src/swap_amount.rs +++ b/common/src/swap_amount.rs @@ -35,9 +35,9 @@ use core::result::Result; use codec::{Decode, Encode, MaxEncodedLen}; use fixnum::ops::RoundMode::*; use fixnum::ops::RoundingMul; -use frame_support::RuntimeDebug; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_runtime::traits::{CheckedAdd, CheckedSub, UniqueSaturatedFrom, UniqueSaturatedInto}; use sp_std::mem; use sp_std::ops::{Add, Sub}; diff --git a/common/src/utils.rs b/common/src/utils.rs index c8062d37af..09984f982e 100644 --- a/common/src/utils.rs +++ b/common/src/utils.rs @@ -33,7 +33,7 @@ use core::convert::TryFrom; use codec::{Decode, Encode}; use fixnum::ops::RoundMode::*; use fixnum::ops::RoundingDiv; -use frame_support::RuntimeDebug; +use sp_core::RuntimeDebug; use sp_std::iter::once; use sp_std::vec::Vec; diff --git a/_rust-toolchain.toml b/rust-toolchain.toml similarity index 69% rename from _rust-toolchain.toml rename to rust-toolchain.toml index f756f71d68..51d1e7354e 100644 --- a/_rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2023-03-21" +channel = "nightly" targets = [ "wasm32-unknown-unknown" ] profile = "default" From 20e0375786d05b37f8058c914e7187f958af5cf1 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 14 May 2024 00:52:07 -0300 Subject: [PATCH 004/110] update some pallets --- Cargo.lock | 2291 ++++------------- Cargo.toml | 2 +- pallets/assets/src/lib.rs | 7 +- pallets/band/Cargo.toml | 2 +- pallets/band/src/lib.rs | 15 +- pallets/band/src/migrations.rs | 4 +- pallets/bridge-proxy/Cargo.toml | 1 + pallets/ceres-governance-platform/Cargo.toml | 1 + pallets/ceres-governance-platform/src/lib.rs | 1 - .../src/migrations.rs | 1 - pallets/ceres-liquidity-locker/Cargo.toml | 1 + pallets/ceres-liquidity-locker/src/lib.rs | 2 +- .../ceres-liquidity-locker/src/migrations.rs | 1 - pallets/ceres-staking/src/lib.rs | 2 +- pallets/ceres-token-locker/Cargo.toml | 1 + pallets/ceres-token-locker/src/migrations.rs | 1 - pallets/dex-api/src/lib.rs | 10 +- pallets/dex-manager/Cargo.toml | 1 + pallets/dex-manager/src/lib.rs | 3 +- pallets/dex-manager/src/migrations/mod.rs | 3 +- pallets/eth-bridge/Cargo.toml | 1 - pallets/hermes-governance-platform/Cargo.toml | 1 + .../src/migrations.rs | 3 +- pallets/mock-liquidity-source/src/lib.rs | 4 +- pallets/oracle-proxy/src/lib.rs | 10 +- pallets/permissions/Cargo.toml | 4 +- pallets/permissions/src/lib.rs | 26 +- pallets/pswap-distribution/Cargo.toml | 1 + pallets/pswap-distribution/src/lib.rs | 4 +- pallets/pswap-distribution/src/migrations.rs | 5 +- pallets/referrals/src/lib.rs | 3 +- pallets/rewards/Cargo.toml | 1 + pallets/rewards/src/lib.rs | 3 +- pallets/technical/Cargo.toml | 1 + pallets/technical/src/lib.rs | 6 +- pallets/trading-pair/src/lib.rs | 6 +- pallets/xor-fee/Cargo.toml | 1 + pallets/xor-fee/src/lib.rs | 3 +- rust-toolchain.toml | 2 +- 39 files changed, 599 insertions(+), 1836 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e8b74eae0c..56ac02fa56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,15 +12,6 @@ dependencies = [ "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" @@ -316,12 +307,6 @@ dependencies = [ "sha3 0.10.8", ] -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - [[package]] name = "array-bytes" version = "6.2.2" @@ -360,9 +345,9 @@ name = "assets" version = "1.3.1" dependencies = [ "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -372,10 +357,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "tiny-keccak", ] @@ -613,19 +598,20 @@ version = "1.0.1" dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", + "log", "oracle-proxy", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xst", ] @@ -651,24 +637,12 @@ dependencies = [ "zeroize", ] -[[package]] -name = "base16ct" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" - [[package]] name = "base16ct" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" -[[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" @@ -816,56 +790,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bridge-channel" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "ethabi", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "once_cell", - "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "bridge-proxy" -version = "0.1.0" -dependencies = [ - "assets", - "bridge-channel", - "bridge-types", - "common 0.1.0", - "dispatch", - "evm-fungible-app", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-keyring", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", - "technical", -] - [[package]] name = "bridge-types" version = "0.1.0" @@ -875,8 +799,8 @@ dependencies = [ "ethash", "ethbloom", "ethereum-types", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "getrandom 0.2.15", "hex-literal", "libsecp256k1", @@ -888,10 +812,10 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] @@ -956,15 +880,16 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -972,10 +897,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -989,14 +914,15 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -1004,10 +930,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -1018,9 +944,9 @@ version = "1.0.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -1029,10 +955,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -1045,36 +971,28 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", + "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] -[[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-expr" version = "0.15.8" @@ -1119,15 +1037,15 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "paste", "rustc-hex", @@ -1135,12 +1053,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "static_assertions", "strum 0.25.0", "thiserror", @@ -1237,15 +1155,6 @@ dependencies = [ "libc", ] -[[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-entity" version = "0.95.1" @@ -1276,18 +1185,6 @@ 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.7", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - [[package]] name = "crypto-bigint" version = "0.5.5" @@ -1393,40 +1290,30 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", ] -[[package]] -name = "der" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" -dependencies = [ - "const-oid", - "zeroize", -] - [[package]] name = "der" version = "0.7.9" @@ -1490,27 +1377,27 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "strum 0.25.0", "technical", ] @@ -1521,9 +1408,10 @@ version = "0.2.0" dependencies = [ "assets", "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -1532,11 +1420,11 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -1569,23 +1457,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "dispatch" -version = "0.1.1" -dependencies = [ - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - [[package]] name = "dleq_vrf" version = "0.0.2" @@ -1630,12 +1501,6 @@ dependencies = [ "walkdir", ] -[[package]] -name = "downcast-rs" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" - [[package]] name = "dyn-clonable" version = "0.9.0" @@ -1663,30 +1528,18 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" -[[package]] -name = "ecdsa" -version = "0.14.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" -dependencies = [ - "der 0.6.1", - "elliptic-curve 0.12.3", - "rfc6979 0.3.1", - "signature 1.6.4", -] - [[package]] name = "ecdsa" version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der 0.7.9", + "der", "digest 0.10.7", - "elliptic-curve 0.13.8", - "rfc6979 0.4.0", + "elliptic-curve", + "rfc6979", "signature 2.2.0", - "spki 0.7.3", + "spki", ] [[package]] @@ -1707,18 +1560,6 @@ dependencies = [ "signature 2.2.0", ] -[[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 1.5.3", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-dalek" version = "2.1.1" @@ -1762,40 +1603,21 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" -[[package]] -name = "elliptic-curve" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" -dependencies = [ - "base16ct 0.1.1", - "crypto-bigint 0.4.9", - "der 0.6.1", - "digest 0.10.7", - "ff 0.12.1", - "generic-array 0.14.7", - "group 0.12.1", - "rand_core 0.6.4", - "sec1 0.3.0", - "subtle", - "zeroize", -] - [[package]] name = "elliptic-curve" version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ - "base16ct 0.2.0", - "crypto-bigint 0.5.5", + "base16ct", + "crypto-bigint", "digest 0.10.7", - "ff 0.13.0", + "ff", "generic-array 0.14.7", - "group 0.13.0", - "pkcs8 0.10.2", + "group", + "pkcs8", "rand_core 0.6.4", - "sec1 0.7.3", + "sec1", "subtle", "zeroize", ] @@ -1825,17 +1647,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[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" version = "0.3.9" @@ -1846,16 +1657,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[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 = "eth-bridge" version = "0.2.0" @@ -1869,10 +1670,10 @@ dependencies = [ "ethabi-contract", "ethabi-derive", "ethereum-types", - "frame-benchmarking 4.0.0-dev", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -1883,7 +1684,7 @@ dependencies = [ "pallet-balances", "pallet-scheduler", "pallet-sudo", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "parity-util-mem", "parking_lot", @@ -1893,9 +1694,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-std 8.0.0", + "sp-core", + "sp-keystore", + "sp-std", "tiny-keccak", "tokio", ] @@ -2034,31 +1835,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "evm-fungible-app" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "dispatch", - "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - [[package]] name = "expander" version = "2.1.0" @@ -2101,9 +1877,9 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "env_logger", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "mock-liquidity-source", @@ -2113,7 +1889,7 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-scheduler", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -2121,11 +1897,11 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -2152,37 +1928,27 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "rewards", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] -[[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 = "ff" version = "0.13.0" @@ -2250,48 +2016,23 @@ dependencies = [ name = "frame-benchmarking" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-support-procedural 4.0.0-dev", - "frame-system 4.0.0-dev", - "linregress 0.5.3", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "static_assertions", -] - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "linregress 0.4.4", + "frame-support", + "frame-support-procedural", + "frame-system", + "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -2299,28 +2040,16 @@ dependencies = [ name = "frame-executive" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", -] - -[[package]] -name = "frame-metadata" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -2343,10 +2072,10 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev", + "frame-metadata", + "frame-support-procedural", "impl-trait-for-tuples", - "k256 0.13.3", + "k256", "log", "macro_magic", "parity-scale-codec", @@ -2355,66 +2084,34 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-core-hashing-proc-macro 9.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", "sp-debug-derive 8.0.0", "sp-genesis-builder", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", + "sp-inherents", + "sp-io", "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-weights 20.0.0", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-weights", "static_assertions", "tt-call", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bitflags 1.3.2", - "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-core-hashing-proc-macro 5.0.0", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-weights 4.0.0", - "tt-call", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" dependencies = [ "Inflector", - "cfg-expr 0.15.8", + "cfg-expr", "derive-syn-parse 0.1.5", "expander", - "frame-support-procedural-tools 4.0.0-dev", + "frame-support-procedural-tools", "itertools", "macro_magic", "proc-macro-warning", @@ -2423,44 +2120,17 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "cfg-expr 0.10.3", - "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0", + "frame-support-procedural-tools-derive", "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.61", ] -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" @@ -2470,50 +2140,22 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "frame-system" version = "4.0.0-dev" dependencies = [ "cfg-if", - "frame-support 4.0.0-dev", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version 22.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version 5.0.0", - "sp-weights 4.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] @@ -2704,28 +2346,18 @@ dependencies = [ [[package]] name = "gimli" -version = "0.26.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ "fallible-iterator 0.2.0", + "indexmap 1.9.3", "stable_deref_trait", ] [[package]] name = "gimli" -version = "0.27.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" -dependencies = [ - "fallible-iterator 0.2.0", - "indexmap 1.9.3", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.28.1" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" @@ -2741,34 +2373,17 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "group" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "ff 0.13.0", + "ff", "rand_core 0.6.4", "subtle", ] -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - [[package]] name = "hash-db" version = "0.16.0" @@ -2824,16 +2439,17 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hermes-governance-platform", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -2841,10 +2457,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -3044,12 +2660,6 @@ dependencies = [ "num-traits", ] -[[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.11" @@ -3069,9 +2679,9 @@ dependencies = [ "common 0.1.0", "ed25519-dalek-iroha", "eth-bridge", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal", "orml-currencies", @@ -3085,10 +2695,10 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -3139,18 +2749,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "k256" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" -dependencies = [ - "cfg-if", - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - [[package]] name = "k256" version = "0.13.3" @@ -3158,8 +2756,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", - "ecdsa 0.16.9", - "elliptic-curve 0.13.8", + "ecdsa", + "elliptic-curve", "once_cell", "sha2 0.10.8", ] @@ -3194,12 +2792,6 @@ version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - [[package]] name = "libsecp256k1" version = "0.7.1" @@ -3248,31 +2840,15 @@ dependencies = [ "libsecp256k1-core", ] -[[package]] -name = "linregress" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" -dependencies = [ - "nalgebra 0.27.1", - "statrs", -] - [[package]] name = "linregress" version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ - "nalgebra 0.32.5", + "nalgebra", ] -[[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" @@ -3401,15 +2977,6 @@ dependencies = [ "rustix 0.38.34", ] -[[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.8.0" @@ -3419,31 +2986,15 @@ 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 0.15.2", - "hashbrown 0.12.3", -] - [[package]] name = "memory-db" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db 0.16.0", + "hash-db", ] -[[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" @@ -3484,8 +3035,8 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -3495,11 +3046,11 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -3513,16 +3064,16 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -3530,34 +3081,16 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", ] -[[package]] -name = "nalgebra" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" -dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.1.0", - "num-complex", - "num-rational", - "num-traits", - "rand 0.8.5", - "rand_distr", - "simba 0.5.1", - "typenum", -] - [[package]] name = "nalgebra" version = "0.32.5" @@ -3566,25 +3099,14 @@ checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" dependencies = [ "approx", "matrixmultiply", - "nalgebra-macros 0.2.1", + "nalgebra-macros", "num-complex", "num-rational", "num-traits", - "simba 0.8.1", + "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 1.0.109", -] - [[package]] name = "nalgebra-macros" version = "0.2.1" @@ -3652,7 +3174,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "num-bigint", "num-integer", "num-traits", ] @@ -3664,7 +3185,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -3677,18 +3197,6 @@ dependencies = [ "libc", ] -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "crc32fast", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "memchr", -] - [[package]] name = "object" version = "0.30.4" @@ -3734,19 +3242,19 @@ version = "1.0.0" dependencies = [ "band", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -3754,16 +3262,16 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "orml-traits", "orml-utilities", "parity-scale-codec", "scale-info", "serde", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -3771,16 +3279,16 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -3788,7 +3296,7 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -3796,10 +3304,10 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] @@ -3808,43 +3316,43 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -3852,100 +3360,84 @@ name = "pallet-scheduler" version = "4.0.0-dev" dependencies = [ "docify", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] name = "pallet-session" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-trie", ] [[package]] name = "pallet-sudo" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-timestamp 4.0.0-dev", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", + "sp-storage", + "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -4075,16 +3567,16 @@ name = "permissions" version = "1.1.0" dependencies = [ "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -4110,24 +3602,14 @@ dependencies = [ "futures-io", ] -[[package]] -name = "pkcs8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" -dependencies = [ - "der 0.6.1", - "spki 0.6.0", -] - [[package]] name = "pkcs8" version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der 0.7.9", - "spki 0.7.3", + "der", + "spki", ] [[package]] @@ -4177,8 +3659,8 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "num-traits", "oracle-proxy", @@ -4186,17 +3668,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "price-tools", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "xst", @@ -4228,27 +3710,27 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -4347,26 +3829,27 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", + "log", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -4447,16 +3930,6 @@ dependencies = [ "getrandom 0.2.15", ] -[[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" @@ -4507,9 +3980,9 @@ version = "1.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -4519,10 +3992,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -4575,12 +4048,13 @@ version = "1.3.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal", "libsecp256k1", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -4589,24 +4063,13 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] -[[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" -dependencies = [ - "crypto-bigint 0.4.9", - "hmac 0.12.1", - "zeroize", -] - [[package]] name = "rfc6979" version = "0.4.0" @@ -4669,20 +4132,6 @@ dependencies = [ "semver", ] -[[package]] -name = "rustix" -version = "0.35.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" -dependencies = [ - "bitflags 1.3.2", - "errno 0.2.8", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", -] - [[package]] name = "rustix" version = "0.36.17" @@ -4690,8 +4139,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ "bitflags 1.3.2", - "errno 0.3.9", - "io-lifetimes 1.0.11", + "errno", + "io-lifetimes", "libc", "linux-raw-sys 0.1.4", "windows-sys 0.45.0", @@ -4704,8 +4153,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", - "errno 0.3.9", - "io-lifetimes 1.0.11", + "errno", + "io-lifetimes", "libc", "linux-raw-sys 0.3.8", "windows-sys 0.48.0", @@ -4718,7 +4167,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ "bitflags 2.5.0", - "errno 0.3.9", + "errno", "libc", "linux-raw-sys 0.4.13", "windows-sys 0.52.0", @@ -4832,30 +4281,16 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "sec1" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" -dependencies = [ - "base16ct 0.1.1", - "der 0.6.1", - "generic-array 0.14.7", - "pkcs8 0.9.0", - "subtle", - "zeroize", -] - [[package]] name = "sec1" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "base16ct 0.2.0", - "der 0.7.9", + "base16ct", + "der", "generic-array 0.14.7", - "pkcs8 0.10.2", + "pkcs8", "subtle", "zeroize", ] @@ -5023,10 +4458,6 @@ name = "signature" version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] [[package]] name = "signature" @@ -5038,18 +4469,6 @@ dependencies = [ "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 = "simba" version = "0.8.1" @@ -5092,37 +4511,19 @@ dependencies = [ name = "sp-api" version = "4.0.0-dev" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", + "sp-api-proc-macro", + "sp-core", + "sp-externalities", "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "sp-version 5.0.0", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", "thiserror", ] @@ -5139,31 +4540,6 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", -] - [[package]] name = "sp-application-crypto" version = "23.0.0" @@ -5171,23 +4547,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0", - "static_assertions", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -5199,7 +4561,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", + "sp-std", "static_assertions", ] @@ -5212,63 +4574,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", "strum 0.24.1", ] -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0", - "sp-debug-derive 5.0.0", - "sp-externalities 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - [[package]] name = "sp-core" version = "21.0.0" dependencies = [ - "array-bytes 6.2.2", + "array-bytes", "arrayvec 0.7.4", "bandersnatch_vrfs", "bitflags 1.3.2", @@ -5278,7 +4598,7 @@ dependencies = [ "dyn-clonable", "ed25519-zebra", "futures", - "hash-db 0.16.0", + "hash-db", "hash256-std-hasher", "impl-serde", "lazy_static", @@ -5296,12 +4616,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 9.0.0", + "sp-core-hashing", "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -5310,20 +4630,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "9.0.0" @@ -5336,36 +4642,15 @@ dependencies = [ "twox-hash", ] -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0", - "syn 1.0.109", -] - [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" dependencies = [ "quote", - "sp-core-hashing 9.0.0", + "sp-core-hashing", "syn 2.0.61", ] -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-debug-derive" version = "8.0.0" @@ -5385,25 +4670,14 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0", - "sp-storage 7.0.0", -] - [[package]] name = "sp-externalities" version = "0.19.0" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-std", + "sp-storage", ] [[package]] @@ -5411,9 +4685,9 @@ name = "sp-genesis-builder" version = "0.1.0" dependencies = [ "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -5424,107 +4698,42 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "thiserror", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-keystore 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-trie 7.0.0", - "tracing", - "tracing-core", -] - [[package]] name = "sp-io" version = "23.0.0" dependencies = [ "bytes", - "ed25519-dalek 2.1.1", + "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime-interface 17.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie 22.0.0", + "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 = "24.0.0" -dependencies = [ - "lazy_static", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "strum 0.24.1", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "futures", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "schnorrkel 0.9.1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "thiserror", -] - [[package]] name = "sp-keystore" version = "0.27.0" dependencies = [ "parity-scale-codec", "parking_lot", - "sp-core 21.0.0", - "sp-externalities 0.19.0", + "sp-core", + "sp-externalities", "thiserror", ] @@ -5532,10 +4741,10 @@ dependencies = [ name = "sp-metadata-ir" version = "0.1.0" dependencies = [ - "frame-metadata 16.0.0", + "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 8.0.0", + "sp-std", ] [[package]] @@ -5548,24 +4757,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-core", "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - [[package]] name = "sp-panic-handler" version = "8.0.0" @@ -5575,28 +4774,6 @@ dependencies = [ "regex", ] -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", - "sp-weights 4.0.0", -] - [[package]] name = "sp-runtime" version = "24.0.0" @@ -5610,30 +4787,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0", - "sp-runtime-interface-proc-macro 6.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "sp-tracing 6.0.0", - "sp-wasm-interface 7.0.0", - "static_assertions", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-weights", ] [[package]] @@ -5644,27 +4803,15 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", + "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.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" @@ -5682,12 +4829,12 @@ version = "4.0.0-dev" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -5698,85 +4845,35 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "parking_lot", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-panic-handler 5.0.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "thiserror", - "tracing", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "sp-state-machine" version = "0.28.0" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", "parity-scale-codec", "parking_lot", "rand 0.8.5", "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", "thiserror", "tracing", - "trie-db 0.27.1", + "trie-db", ] -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" - [[package]] name = "sp-std" version = "8.0.0" -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", -] - [[package]] name = "sp-storage" version = "13.0.0" @@ -5786,7 +4883,7 @@ dependencies = [ "ref-cast", "serde", "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "sp-std", ] [[package]] @@ -5795,106 +4892,43 @@ version = "4.0.0-dev" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-inherents", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - [[package]] name = "sp-tracing" version = "10.0.0" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", ] -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 7.0.0", - "sp-std 5.0.0", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", -] - [[package]] name = "sp-trie" version = "22.0.0" dependencies = [ "ahash 0.8.11", - "hash-db 0.16.0", + "hash-db", "hashbrown 0.13.2", "lazy_static", - "memory-db 0.32.0", + "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot", "scale-info", "schnellru", - "sp-core 21.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-std", "thiserror", "tracing", - "trie-db 0.27.1", - "trie-root 0.18.0", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version-proc-macro 4.0.0-dev", - "thiserror", + "trie-db", + "trie-root", ] [[package]] @@ -5906,24 +4940,13 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 9.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version-proc-macro 8.0.0", + "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.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-version-proc-macro" version = "8.0.0" @@ -5934,19 +4957,6 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0", - "wasmi", - "wasmtime 1.0.2", -] - [[package]] name = "sp-wasm-interface" version = "14.0.0" @@ -5955,23 +4965,8 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 8.0.0", - "wasmtime 8.0.1", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", + "sp-std", + "wasmtime", ] [[package]] @@ -5982,20 +4977,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", + "sp-arithmetic", + "sp-core", "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "spki" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" -dependencies = [ - "base64ct", - "der 0.6.1", + "sp-std", ] [[package]] @@ -6005,7 +4990,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der 0.7.9", + "der", ] [[package]] @@ -6041,7 +5026,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 20.0.0", + "sp-weights", "xcm-procedural", ] @@ -6051,19 +5036,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra 0.27.1", - "num-traits", - "rand 0.8.5", -] - [[package]] name = "strum" version = "0.24.1" @@ -6180,9 +5152,9 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -6192,10 +5164,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "twox-hash", ] @@ -6441,9 +5413,9 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -6453,23 +5425,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "trie-db" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" -dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", - "log", - "rustc-hex", - "smallvec", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6478,29 +5437,20 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db 0.16.0", + "hash-db", "hashbrown 0.13.2", "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 0.15.2", -] - [[package]] name = "trie-root" version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db 0.16.0", + "hash-db", ] [[package]] @@ -6604,9 +5554,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal", "itertools", @@ -6615,7 +5565,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -6624,10 +5574,10 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -6725,48 +5675,6 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" -[[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", - "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 1.9.3", -] - [[package]] name = "wasmparser" version = "0.102.0" @@ -6777,31 +5685,6 @@ dependencies = [ "url", ] -[[package]] -name = "wasmtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "object 0.29.0", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.89.1", - "wasmtime-environ 1.0.2", - "wasmtime-jit 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", -] - [[package]] name = "wasmtime" version = "8.0.1" @@ -6820,22 +5703,13 @@ dependencies = [ "psm", "serde", "target-lexicon", - "wasmparser 0.102.0", - "wasmtime-environ 8.0.1", - "wasmtime-jit 8.0.1", - "wasmtime-runtime 8.0.1", + "wasmparser", + "wasmtime-environ", + "wasmtime-jit", + "wasmtime-runtime", "windows-sys 0.45.0", ] -[[package]] -name = "wasmtime-asm-macros" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" -dependencies = [ - "cfg-if", -] - [[package]] name = "wasmtime-asm-macros" version = "8.0.1" @@ -6845,25 +5719,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "wasmtime-environ" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" -dependencies = [ - "anyhow", - "cranelift-entity 0.88.2", - "gimli 0.26.2", - "indexmap 1.9.3", - "log", - "object 0.29.0", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.89.1", - "wasmtime-types 1.0.2", -] - [[package]] name = "wasmtime-environ" version = "8.0.1" @@ -6871,7 +5726,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", - "cranelift-entity 0.95.1", + "cranelift-entity", "gimli 0.27.3", "indexmap 1.9.3", "log", @@ -6879,32 +5734,8 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser 0.102.0", - "wasmtime-types 8.0.1", -] - -[[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", - "cpp_demangle", - "gimli 0.26.2", - "log", - "object 0.29.0", - "rustc-demangle", - "rustix 0.35.16", - "serde", - "target-lexicon", - "thiserror", - "wasmtime-environ 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", + "wasmparser", + "wasmtime-types", ] [[package]] @@ -6924,21 +5755,12 @@ dependencies = [ "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ 8.0.1", + "wasmtime-environ", "wasmtime-jit-icache-coherence", - "wasmtime-runtime 8.0.1", + "wasmtime-runtime", "windows-sys 0.45.0", ] -[[package]] -name = "wasmtime-jit-debug" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" -dependencies = [ - "once_cell", -] - [[package]] name = "wasmtime-jit-debug" version = "8.0.1" @@ -6959,30 +5781,6 @@ dependencies = [ "windows-sys 0.45.0", ] -[[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", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.16", - "thiserror", - "wasmtime-asm-macros 1.0.2", - "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", - "windows-sys 0.36.1", -] - [[package]] name = "wasmtime-runtime" version = "8.0.1" @@ -6997,38 +5795,26 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.8.0", + "memoffset", "paste", "rand 0.8.5", "rustix 0.36.17", - "wasmtime-asm-macros 8.0.1", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", + "wasmtime-asm-macros", + "wasmtime-environ", + "wasmtime-jit-debug", "windows-sys 0.45.0", ] -[[package]] -name = "wasmtime-types" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" -dependencies = [ - "cranelift-entity 0.88.2", - "serde", - "thiserror", - "wasmparser 0.89.1", -] - [[package]] name = "wasmtime-types" version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ - "cranelift-entity 0.95.1", + "cranelift-entity", "serde", "thiserror", - "wasmparser 0.102.0", + "wasmparser", ] [[package]] @@ -7091,34 +5877,6 @@ dependencies = [ "windows-targets 0.52.5", ] -[[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 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - [[package]] name = "windows-sys" version = "0.45.0" @@ -7210,12 +5968,6 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" -[[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.2" @@ -7234,12 +5986,6 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" -[[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.2" @@ -7264,12 +6010,6 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" -[[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.2" @@ -7288,12 +6028,6 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" -[[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.2" @@ -7330,12 +6064,6 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" -[[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.2" @@ -7397,27 +6125,28 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", "pallet-session", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "pallet-transaction-payment", "parity-scale-codec", "permissions", "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7431,8 +6160,8 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "oracle-proxy", @@ -7440,7 +6169,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -7448,11 +6177,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -7661,6 +6390,10 @@ version = "0.10.0-dev" name = "sp-consensus-babe" version = "0.10.0-dev" +[[patch.unused]] +name = "sp-keyring" +version = "24.0.0" + [[patch.unused]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" @@ -7861,6 +6594,10 @@ version = "0.10.0-dev" name = "sp-consensus-babe" version = "0.10.0-dev" +[[patch.unused]] +name = "sp-keyring" +version = "24.0.0" + [[patch.unused]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" @@ -7917,6 +6654,10 @@ version = "0.1.0" name = "bridge-data-signer" version = "0.1.1" +[[patch.unused]] +name = "dispatch" +version = "0.1.1" + [[patch.unused]] name = "leaf-provider" version = "0.1.1" diff --git a/Cargo.toml b/Cargo.toml index cbf573acd0..b6a9f7de03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -375,7 +375,7 @@ members = [ "pallets/price-tools", "pallets/oracle-proxy", # "pallets/order-book", - "pallets/bridge-proxy", + # "pallets/bridge-proxy", # "pallets/bridge-proxy/rpc", # "pallets/bridge-proxy/runtime-api", # "pallets/kensetsu", diff --git a/pallets/assets/src/lib.rs b/pallets/assets/src/lib.rs index 697f821bea..72ab8652d1 100644 --- a/pallets/assets/src/lib.rs +++ b/pallets/assets/src/lib.rs @@ -58,7 +58,7 @@ use common::{ hash, Amount, AssetInfoProvider, AssetName, AssetSymbol, BalancePrecision, ContentSource, Description, IsValid, LiquidityProxyTrait, LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, }; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::sp_runtime::traits::{MaybeSerializeDeserialize, Member}; use frame_support::traits::Get; use frame_support::{ensure, Parameter}; @@ -67,6 +67,7 @@ use permissions::{Scope, BURN, MINT}; use sp_core::hash::H512; use sp_core::H256; use sp_runtime::traits::Zero; +use sp_runtime::DispatchError; use sp_std::vec::Vec; use tiny_keccak::{Hasher, Keccak}; use traits::{ @@ -247,7 +248,7 @@ pub mod pallet { /// Currency to transfer, reserve/unreserve, lock/unlock assets type Currency: MultiLockableCurrency< Self::AccountId, - Moment = Self::BlockNumber, + Moment = BlockNumberFor, CurrencyId = Self::AssetId, Balance = Balance, > + MultiReservableCurrency @@ -582,7 +583,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.endowed_assets.iter().cloned().for_each( |( diff --git a/pallets/band/Cargo.toml b/pallets/band/Cargo.toml index 98cb42f60e..2284b3a49c 100644 --- a/pallets/band/Cargo.toml +++ b/pallets/band/Cargo.toml @@ -22,13 +22,13 @@ sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "rel common = { path = "../../common", default-features = false } hex-literal = "0.4.1" fallible-iterator = { version = "0.3.0", default-features = false } +log = { version = "0.4.20" } [dev-dependencies] pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-runtime = { version = "7.0.0", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } xst = { path = "../xst", default-features = false } diff --git a/pallets/band/src/lib.rs b/pallets/band/src/lib.rs index 1a0b7dbb20..3a25bc0ab5 100644 --- a/pallets/band/src/lib.rs +++ b/pallets/band/src/lib.rs @@ -183,7 +183,6 @@ pub mod pallet { /// `I` generic argument is used to be able to instantiate this pallet multiple times. One per /// every asset category. This will prevent overlapping tickers. #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(_); @@ -204,7 +203,7 @@ pub mod pallet { type GetBandRateStalePeriod: Get<<>::Time as Time>::Moment>; /// Rate expiration period in blocks #[pallet::constant] - type GetBandRateStaleBlockPeriod: Get; + type GetBandRateStaleBlockPeriod: Get>; /// Maximum number of symbols that can be relayed within a single call. #[pallet::constant] type MaxRelaySymbols: Get; @@ -229,7 +228,7 @@ pub mod pallet { pub type SymbolCheckBlock, I: 'static = ()> = StorageDoubleMap< _, Blake2_128Concat, - T::BlockNumber, + BlockNumberFor, Blake2_128Concat, T::Symbol, bool, @@ -282,8 +281,8 @@ pub mod pallet { } #[pallet::hooks] - impl, I: 'static> Hooks for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + impl, I: 'static> Hooks> for Pallet { + fn on_initialize(now: BlockNumberFor) -> Weight { let mut weight = Weight::zero(); let mut obsolete_symbols: Vec = Vec::new(); for (symbol, _) in SymbolCheckBlock::::iter_prefix(now) { @@ -591,8 +590,8 @@ impl, I: 'static> Pallet { } pub fn update_rate_if_outdated( - rate: &mut BandRate, - new_rate: BandRate, + rate: &mut BandRate>, + new_rate: BandRate>, symbol: &T::Symbol, ) -> Result<(), DispatchError> { if rate.last_updated <= new_rate.last_updated { @@ -613,7 +612,7 @@ impl, I: 'static> Pallet { Ok(()) } - pub fn calc_expiration_block(block_number: T::BlockNumber) -> T::BlockNumber { + pub fn calc_expiration_block(block_number: BlockNumberFor) -> BlockNumberFor { block_number + T::GetBandRateStaleBlockPeriod::get() } } diff --git a/pallets/band/src/migrations.rs b/pallets/band/src/migrations.rs index 8be0fa189c..8b3034c008 100644 --- a/pallets/band/src/migrations.rs +++ b/pallets/band/src/migrations.rs @@ -109,7 +109,7 @@ pub mod v1 { { fn on_runtime_upgrade() -> Weight { if StorageVersion::get::>() != StorageVersion::new(0) { - frame_support::log::error!( + log::error!( "Expected storage version 0, found {:?}, skipping migration", StorageVersion::get::>() ); @@ -208,7 +208,7 @@ pub mod v2 { { fn on_runtime_upgrade() -> Weight { if StorageVersion::get::>() != StorageVersion::new(1) { - frame_support::log::error!( + log::error!( "Expected storage version 1, found {:?}, skipping migration", StorageVersion::get::>() ); diff --git a/pallets/bridge-proxy/Cargo.toml b/pallets/bridge-proxy/Cargo.toml index dfd482dc8b..b62f2a03f9 100644 --- a/pallets/bridge-proxy/Cargo.toml +++ b/pallets/bridge-proxy/Cargo.toml @@ -9,6 +9,7 @@ edition = "2021" codec = { version = "3", package = "parity-scale-codec", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/ceres-governance-platform/Cargo.toml b/pallets/ceres-governance-platform/Cargo.toml index 6e7f57b3a6..b0833bc084 100644 --- a/pallets/ceres-governance-platform/Cargo.toml +++ b/pallets/ceres-governance-platform/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/ceres-governance-platform/src/lib.rs b/pallets/ceres-governance-platform/src/lib.rs index 95494f4f7a..7c5614ed4b 100644 --- a/pallets/ceres-governance-platform/src/lib.rs +++ b/pallets/ceres-governance-platform/src/lib.rs @@ -71,7 +71,6 @@ pub mod pallet { use crate::{migrations, PollInfo, StorageVersion, VotingInfo, WeightInfo}; use common::prelude::Balance; use common::BoundedString; - use frame_support::log; use frame_support::pallet_prelude::OptionQuery; use frame_support::pallet_prelude::ValueQuery; use frame_support::pallet_prelude::*; diff --git a/pallets/ceres-governance-platform/src/migrations.rs b/pallets/ceres-governance-platform/src/migrations.rs index ab02671f62..91925137e9 100644 --- a/pallets/ceres-governance-platform/src/migrations.rs +++ b/pallets/ceres-governance-platform/src/migrations.rs @@ -2,7 +2,6 @@ use crate::*; use codec::{Decode, Encode}; use common::generate_storage_instance; use common::CERES_ASSET_ID; -use frame_support::log; use frame_support::pallet_prelude::*; use frame_support::BoundedVec; use hex_literal::hex; diff --git a/pallets/ceres-liquidity-locker/Cargo.toml b/pallets/ceres-liquidity-locker/Cargo.toml index c835dffde3..7ed55b8886 100644 --- a/pallets/ceres-liquidity-locker/Cargo.toml +++ b/pallets/ceres-liquidity-locker/Cargo.toml @@ -17,6 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/ceres-liquidity-locker/src/lib.rs b/pallets/ceres-liquidity-locker/src/lib.rs index a54d5de3d0..390f8bc9ed 100644 --- a/pallets/ceres-liquidity-locker/src/lib.rs +++ b/pallets/ceres-liquidity-locker/src/lib.rs @@ -318,7 +318,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { let mut counter: u64 = 0; if (now % T::BLOCKS_PER_ONE_DAY).is_zero() { diff --git a/pallets/ceres-liquidity-locker/src/migrations.rs b/pallets/ceres-liquidity-locker/src/migrations.rs index 37d8966510..7b389264a7 100644 --- a/pallets/ceres-liquidity-locker/src/migrations.rs +++ b/pallets/ceres-liquidity-locker/src/migrations.rs @@ -1,6 +1,5 @@ use crate::{AssetIdOf, Config, LockInfo, LockerData, Timestamp, Weight}; use common::{convert_block_number_to_timestamp, Balance}; -use frame_support::log; use frame_support::traits::Get; use sp_std::vec::Vec; diff --git a/pallets/ceres-staking/src/lib.rs b/pallets/ceres-staking/src/lib.rs index db24e15b45..40a0957175 100644 --- a/pallets/ceres-staking/src/lib.rs +++ b/pallets/ceres-staking/src/lib.rs @@ -226,7 +226,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { let mut counter: u64 = 0; if (now % T::BLOCKS_PER_ONE_DAY).is_zero() { diff --git a/pallets/ceres-token-locker/Cargo.toml b/pallets/ceres-token-locker/Cargo.toml index 9a66887952..e79bede75e 100644 --- a/pallets/ceres-token-locker/Cargo.toml +++ b/pallets/ceres-token-locker/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/ceres-token-locker/src/migrations.rs b/pallets/ceres-token-locker/src/migrations.rs index 3a3726e5c3..952371f6a8 100644 --- a/pallets/ceres-token-locker/src/migrations.rs +++ b/pallets/ceres-token-locker/src/migrations.rs @@ -1,6 +1,5 @@ use crate::{AssetIdOf, Config, Timestamp, TokenLockInfo, TokenLockerData, Weight}; use common::{convert_block_number_to_timestamp, Balance}; -use frame_support::log; use frame_support::traits::Get; use sp_std::vec::Vec; diff --git a/pallets/dex-api/src/lib.rs b/pallets/dex-api/src/lib.rs index be625c4644..20137eef73 100644 --- a/pallets/dex-api/src/lib.rs +++ b/pallets/dex-api/src/lib.rs @@ -38,6 +38,7 @@ use common::{ DEXInfo, DexInfoProvider, LiquidityRegistry, LiquiditySource, LiquiditySourceFilter, LiquiditySourceId, LiquiditySourceType, RewardReason, }; +use frame_support::sp_runtime; use frame_support::sp_runtime::DispatchError; use frame_support::weights::Weight; use sp_std::vec::Vec; @@ -508,21 +509,22 @@ pub mod pallet { pub type EnabledSourceTypes = StorageValue<_, Vec, ValueQuery>; #[pallet::genesis_config] - pub struct GenesisConfig { + pub struct GenesisConfig { + pub phantom: PhantomData, pub source_types: Vec, } - #[cfg(feature = "std")] - impl Default for GenesisConfig { + impl Default for GenesisConfig { fn default() -> Self { Self { + phantomL: Default::default(), source_types: Default::default(), } } } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { EnabledSourceTypes::::put(&self.source_types); } diff --git a/pallets/dex-manager/Cargo.toml b/pallets/dex-manager/Cargo.toml index e74720b964..d311853511 100644 --- a/pallets/dex-manager/Cargo.toml +++ b/pallets/dex-manager/Cargo.toml @@ -15,6 +15,7 @@ targets = ['x86_64-unknown-linux-gnu'] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = [ "derive", diff --git a/pallets/dex-manager/src/lib.rs b/pallets/dex-manager/src/lib.rs index c099a3f99b..b8766db98f 100644 --- a/pallets/dex-manager/src/lib.rs +++ b/pallets/dex-manager/src/lib.rs @@ -37,6 +37,7 @@ use common::prelude::EnsureDEXManager; use common::{hash, DexInfoProvider, ManagementMode}; use frame_support::dispatch::DispatchResult; use frame_support::ensure; +use frame_support::sp_runtime; use frame_support::sp_runtime::DispatchError; use frame_system::RawOrigin; use permissions::{Scope, MANAGE_DEX}; @@ -158,7 +159,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.dex_list.iter().for_each(|(dex_id, dex_info)| { DEXInfos::::insert(dex_id.clone(), dex_info); diff --git a/pallets/dex-manager/src/migrations/mod.rs b/pallets/dex-manager/src/migrations/mod.rs index daa6937026..9209b90087 100644 --- a/pallets/dex-manager/src/migrations/mod.rs +++ b/pallets/dex-manager/src/migrations/mod.rs @@ -32,7 +32,8 @@ use super::pallet::{Config, Pallet}; use codec::Decode; use common::{DEXInfo, XST}; use frame_support::pallet_prelude::{Get, StorageVersion}; -use frame_support::{log::info, traits::GetStorageVersion as _, weights::Weight}; +use frame_support::{traits::GetStorageVersion as _, weights::Weight}; +use log::info; use crate::DEXInfos; diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index 486a46ad71..b4104cb962 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -45,7 +45,6 @@ ethereum-types = { version = "0.14.0", default-features = false, features = [ 'serialize', 'codec', ] } -# jsonrpc-core = { version = "18.0.0", default-features = false } jsonrpc-core = { git = "https://github.com/sora-xor/jsonrpc.git", branch = "no-std", package = "jsonrpc-core", default-features = false } assets = { path = "../assets", default-features = false } diff --git a/pallets/hermes-governance-platform/Cargo.toml b/pallets/hermes-governance-platform/Cargo.toml index 5ef113cecc..ae146d7fa9 100644 --- a/pallets/hermes-governance-platform/Cargo.toml +++ b/pallets/hermes-governance-platform/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/hermes-governance-platform/src/migrations.rs b/pallets/hermes-governance-platform/src/migrations.rs index 9fcdf03fc2..2236d34a0c 100644 --- a/pallets/hermes-governance-platform/src/migrations.rs +++ b/pallets/hermes-governance-platform/src/migrations.rs @@ -5,10 +5,9 @@ use alloc::string::String; use codec::{Decode, Encode}; use common::BoundedString; use frame_support::dispatch::Weight; -use frame_support::log; use frame_support::traits::Get; use frame_support::BoundedVec; -use frame_support::RuntimeDebug; +use sp_core::RuntimeDebug; #[derive(Encode, Decode, PartialEq, Eq, RuntimeDebug, scale_info::TypeInfo, Clone, Copy)] pub enum VotingOption { diff --git a/pallets/mock-liquidity-source/src/lib.rs b/pallets/mock-liquidity-source/src/lib.rs index 5088356e16..3b0629075d 100644 --- a/pallets/mock-liquidity-source/src/lib.rs +++ b/pallets/mock-liquidity-source/src/lib.rs @@ -39,12 +39,12 @@ use common::{ balance, fixed, Balance, DexInfoProvider, Fixed, GetPoolReserves, LiquiditySource, RewardReason, }; use core::convert::TryInto; -use frame_support::dispatch::DispatchError; use frame_support::ensure; use frame_support::traits::Get; use frame_support::weights::Weight; use frame_system::ensure_signed; use permissions::{Scope, BURN, MINT}; +use sp_runtime::DispatchError; use sp_std::vec::Vec; #[cfg(test)] @@ -710,7 +710,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl, I: 'static> GenesisBuild for GenesisConfig { + impl, I: 'static> BuildGenesisConfig for GenesisConfig { fn build(&self) { Pallet::::initialize_reserves(&self.reserves) } diff --git a/pallets/oracle-proxy/src/lib.rs b/pallets/oracle-proxy/src/lib.rs index 231933fe7d..aaf34c3c51 100644 --- a/pallets/oracle-proxy/src/lib.rs +++ b/pallets/oracle-proxy/src/lib.rs @@ -122,7 +122,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); @@ -198,21 +197,22 @@ pub mod pallet { } #[pallet::genesis_config] - pub struct GenesisConfig { + pub struct GenesisConfig { + pub phantom_data: PhantomData, pub enabled_oracles: BTreeSet, } - #[cfg(feature = "std")] - impl Default for GenesisConfig { + impl Default for GenesisConfig { fn default() -> Self { Self { + phantom_data: Default::default(), enabled_oracles: Default::default(), } } } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { EnabledOracles::::put(&self.enabled_oracles); } diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 736d5b6f35..b50acd4a79 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -18,7 +18,7 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals scale-info = { version = "2", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -serde = { version = "1.0.101", optional = true, features = ["derive"] } +serde = { version = "1.0.101", features = ["derive"] } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } @@ -37,7 +37,7 @@ std = [ "common/std", "frame-support/std", "frame-system/std", - "serde", + "serde/std", "sp-core/std", "sp-std/std", ] diff --git a/pallets/permissions/src/lib.rs b/pallets/permissions/src/lib.rs index f079e42b89..07485a23b0 100644 --- a/pallets/permissions/src/lib.rs +++ b/pallets/permissions/src/lib.rs @@ -48,11 +48,13 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] -use frame_support::codec::{Decode, Encode}; -use frame_support::{ensure, RuntimeDebug}; -#[cfg(feature = "std")] +use codec::{Decode, Encode}; +use frame_support::ensure; +// #[cfg(feature = "std")] +use frame_support::sp_runtime; use serde::{Deserialize, Serialize}; use sp_core::hash::H512; +use sp_core::RuntimeDebug; use sp_std::vec::Vec; #[cfg(test)] @@ -68,8 +70,19 @@ pub type HolderId = ::AccountId; pub type PermissionId = u32; type AccountIdOf = ::AccountId; -#[derive(PartialEq, Eq, Clone, Copy, RuntimeDebug, Encode, Decode, scale_info::TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive( + PartialEq, + Eq, + Clone, + Copy, + RuntimeDebug, + Encode, + Decode, + scale_info::TypeInfo, + Serialize, + Deserialize, +)] +// #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub enum Scope { Limited(H512), Unlimited, @@ -336,7 +349,6 @@ pub mod pallet { pub initial_permissions: Vec<(HolderId, Scope, Vec)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -347,7 +359,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.initial_permission_owners .iter() diff --git a/pallets/pswap-distribution/Cargo.toml b/pallets/pswap-distribution/Cargo.toml index 2ba3ac49b8..883ec18cc7 100644 --- a/pallets/pswap-distribution/Cargo.toml +++ b/pallets/pswap-distribution/Cargo.toml @@ -15,6 +15,7 @@ targets = ['x86_64-unknown-linux-gnu'] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } diff --git a/pallets/pswap-distribution/src/lib.rs b/pallets/pswap-distribution/src/lib.rs index 06301ec82f..f3448ccf4d 100644 --- a/pallets/pswap-distribution/src/lib.rs +++ b/pallets/pswap-distribution/src/lib.rs @@ -40,7 +40,7 @@ use common::{ OnPoolCreated, OnPswapBurned, PswapRemintInfo, XykPool, }; use core::convert::TryInto; -use frame_support::dispatch::{DispatchError, DispatchResult, DispatchResultWithPostInfo, Weight}; +use frame_support::dispatch::{DispatchResult, DispatchResultWithPostInfo, Weight}; use frame_support::traits::Get; use frame_support::{ensure, fail}; use frame_system::ensure_signed; @@ -386,7 +386,7 @@ impl Pallet { weight_params.shareholders += shareholders; } Err(err) => { - frame_support::log::error!("Incentive distribution failed: {err:?}"); + log::error!("Incentive distribution failed: {err:?}"); Self::deposit_event(Event::::IncentiveDistributionFailed( dex_id, fees_account, diff --git a/pallets/pswap-distribution/src/migrations.rs b/pallets/pswap-distribution/src/migrations.rs index 1ef9b3bbe8..dce5d1b564 100644 --- a/pallets/pswap-distribution/src/migrations.rs +++ b/pallets/pswap-distribution/src/migrations.rs @@ -33,7 +33,8 @@ use core::marker::PhantomData; use frame_support::traits::OnRuntimeUpgrade; pub mod v2 { - use frame_support::{log::info, traits::StorageVersion}; + use frame_support::traits::StorageVersion; + use log::info; use sp_std::prelude::Vec; use super::*; @@ -47,7 +48,7 @@ pub mod v2 { { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(1) { - frame_support::log::error!( + log::error!( "Expected storage version 1, found {:?}, skipping migration", StorageVersion::get::>() ); diff --git a/pallets/referrals/src/lib.rs b/pallets/referrals/src/lib.rs index 7042304f93..bf03c54ff6 100644 --- a/pallets/referrals/src/lib.rs +++ b/pallets/referrals/src/lib.rs @@ -88,6 +88,7 @@ pub use pallet::*; pub mod pallet { use common::{Balance, XOR}; use frame_support::pallet_prelude::*; + use frame_support::sp_runtime; use frame_support::traits::StorageVersion; use frame_system::pallet_prelude::*; use sp_std::prelude::*; @@ -222,7 +223,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.referrers.iter().for_each(|(k, v)| { frame_system::Pallet::::inc_consumers(k).unwrap(); diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index aa08b64018..45564f2d69 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -15,6 +15,7 @@ targets = ['x86_64-unknown-linux-gnu'] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index fc60970d37..5b72bacf42 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -39,10 +39,9 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] -use frame_support::codec::{Decode, Encode}; +use codec::{Decode, Encode}; use frame_support::dispatch::DispatchErrorWithPostInfo; use frame_support::storage::StorageMap as StorageMapTrait; -use frame_support::RuntimeDebug; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::traits::{UniqueSaturatedInto, Zero}; diff --git a/pallets/technical/Cargo.toml b/pallets/technical/Cargo.toml index 19b2b2a00d..b89d5e7ba8 100644 --- a/pallets/technical/Cargo.toml +++ b/pallets/technical/Cargo.toml @@ -57,6 +57,7 @@ std = [ 'sp-std/std', 'twox-hash/std', ] + runtime-benchmarks = [ "frame-benchmarking", "frame-system/runtime-benchmarks", diff --git a/pallets/technical/src/lib.rs b/pallets/technical/src/lib.rs index 19c0bfee0e..449e9fb7cb 100644 --- a/pallets/technical/src/lib.rs +++ b/pallets/technical/src/lib.rs @@ -35,9 +35,10 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::{AssetInfoProvider, FromGenericPair, SwapAction, SwapRulesValidation}; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::{ensure, Parameter}; use sp_runtime::traits::{MaybeSerializeDeserialize, Member}; +use sp_runtime::DispatchError; use sp_runtime::RuntimeDebug; use common::TECH_ACCOUNT_MAGIC_PREFIX; @@ -414,7 +415,6 @@ pub mod pallet { pub register_tech_accounts: Vec<(AccountIdOf, TechAccountIdOf)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -424,7 +424,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.register_tech_accounts.iter().for_each(|(k, v)| { frame_system::Pallet::::inc_providers(k); diff --git a/pallets/trading-pair/src/lib.rs b/pallets/trading-pair/src/lib.rs index 14329502af..5be4cc8369 100644 --- a/pallets/trading-pair/src/lib.rs +++ b/pallets/trading-pair/src/lib.rs @@ -41,10 +41,12 @@ use common::{ EnsureTradingPairExists, LiquiditySourceType, LockedLiquiditySourcesManager, ManagementMode, TradingPairSourceManager, }; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_support::pallet_prelude::DispatchResultWithPostInfo; +use frame_support::sp_runtime; use frame_support::traits::IsType; +use sp_runtime::DispatchError; use sp_std::collections::btree_set::BTreeSet; use sp_std::vec::Vec; @@ -356,7 +358,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.trading_pairs.iter().for_each(|(dex_id, pair)| { EnabledSources::::insert(&dex_id, &pair, BTreeSet::::new()); diff --git a/pallets/xor-fee/Cargo.toml b/pallets/xor-fee/Cargo.toml index 0eccfdfd04..aede263114 100644 --- a/pallets/xor-fee/Cargo.toml +++ b/pallets/xor-fee/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/xor-fee/src/lib.rs b/pallets/xor-fee/src/lib.rs index d57328b892..d7070636ae 100644 --- a/pallets/xor-fee/src/lib.rs +++ b/pallets/xor-fee/src/lib.rs @@ -36,13 +36,13 @@ use common::{ OnValBurned, ReferrerAccountProvider, }; use frame_support::dispatch::{DispatchInfo, GetDispatchInfo, Pays, PostDispatchInfo}; -use frame_support::log::error; use frame_support::pallet_prelude::InvalidTransaction; use frame_support::traits::{Currency, ExistenceRequirement, Get, Imbalance, WithdrawReasons}; use frame_support::unsigned::TransactionValidityError; use frame_support::weights::{ WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }; +use log::error; use pallet_transaction_payment as ptp; use pallet_transaction_payment::{ FeeDetails, InclusionFee, OnChargeTransaction, RuntimeDispatchInfo, @@ -83,7 +83,6 @@ type BalanceOf = type CallOf = ::RuntimeCall; type Assets = assets::Pallet; -// #[cfg_attr(test, derive(PartialEq))] pub enum LiquidityInfo { /// Fees operate as normal Paid(T::AccountId, Option>), diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 51d1e7354e..129ae4622f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly" +channel = "nightly-2023-12-01" targets = [ "wasm32-unknown-unknown" ] profile = "default" From 22815b3a555a17ccc477f2caa0c32921f98a8bc2 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 14 May 2024 22:50:30 -0300 Subject: [PATCH 005/110] before log --- Cargo.lock | 892 ++---------------- Cargo.toml | 4 +- common/src/mock.rs | 2 +- common/src/test_utils.rs | 6 +- pallets/apollo-platform/src/lib.rs | 6 +- pallets/assets/src/migration/v1_3_1.rs | 1 - pallets/bridge-proxy/src/mock.rs | 2 +- .../src/migrations.rs | 9 +- pallets/ceres-launchpad/src/lib.rs | 2 +- .../ceres-liquidity-locker/src/migrations.rs | 3 +- pallets/ceres-token-locker/src/migrations.rs | 3 +- pallets/demeter-farming-platform/Cargo.toml | 1 + pallets/demeter-farming-platform/src/lib.rs | 4 +- .../src/migrations.rs | 3 +- pallets/dex-api/src/lib.rs | 2 +- pallets/eth-bridge/Cargo.toml | 1 + pallets/eth-bridge/src/contract.rs | 2 +- pallets/eth-bridge/src/lib.rs | 12 +- pallets/eth-bridge/src/migration.rs | 4 +- pallets/eth-bridge/src/offchain/handle.rs | 28 +- pallets/eth-bridge/src/offchain/http.rs | 6 +- pallets/eth-bridge/src/offchain/mod.rs | 4 +- .../eth-bridge/src/offchain/transaction.rs | 13 +- pallets/eth-bridge/src/requests/incoming.rs | 3 +- pallets/eth-bridge/src/requests/mod.rs | 6 +- pallets/eth-bridge/src/requests/outgoing.rs | 2 +- pallets/eth-bridge/src/rpc.rs | 2 +- pallets/eth-bridge/src/tests/ocw.rs | 2 +- pallets/farming/src/lib.rs | 20 +- pallets/farming/src/migrations.rs | 4 +- pallets/faucet/src/lib.rs | 18 +- .../src/migrations.rs | 2 +- pallets/iroha-migration/src/lib.rs | 6 +- pallets/kensetsu/src/lib.rs | 4 +- pallets/kensetsu/src/migrations.rs | 1 - .../Cargo.toml | 1 + .../src/lib.rs | 7 +- .../src/migrations/v1.rs | 7 +- .../src/migrations/v2.rs | 7 +- .../src/migrations/v3.rs | 7 +- pallets/order-book/src/lib.rs | 6 +- pallets/order-book/src/scheduler.rs | 10 +- .../order-book/src/test_utils/fill_tools.rs | 4 +- .../order-book/src/test_utils/print_tools.rs | 6 +- pallets/pool-xyk/Cargo.toml | 1 + pallets/pool-xyk/src/lib.rs | 3 +- pallets/pool-xyk/src/math.rs | 2 +- pallets/pool-xyk/src/migrations/v1_1.rs | 2 +- pallets/pool-xyk/src/migrations/v1_2.rs | 2 +- pallets/pool-xyk/src/migrations/v2.rs | 2 +- pallets/pool-xyk/src/migrations/v3.rs | 11 +- pallets/pool-xyk/src/utils.rs | 8 +- pallets/price-tools/src/lib.rs | 5 +- pallets/price-tools/src/migration.rs | 2 +- pallets/pswap-distribution/src/lib.rs | 35 +- pallets/qa-tools/src/pallet_tools/assets.rs | 2 +- .../src/pallet_tools/liquidity_proxy.rs | 2 +- pallets/qa-tools/src/pallet_tools/mcbc.rs | 2 +- .../qa-tools/src/pallet_tools/price_tools.rs | 2 +- pallets/rewards/src/lib.rs | 19 +- pallets/vested-rewards/Cargo.toml | 1 + pallets/vested-rewards/src/lib.rs | 22 +- pallets/vested-rewards/src/migrations.rs | 7 +- pallets/xst/Cargo.toml | 1 + pallets/xst/src/lib.rs | 6 +- pallets/xst/src/migrations/mod.rs | 3 +- 66 files changed, 290 insertions(+), 985 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56ac02fa56..04df57a614 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -304,7 +304,7 @@ dependencies = [ "ark-std", "digest 0.10.7", "rand_core 0.6.4", - "sha3 0.10.8", + "sha3", ] [[package]] @@ -364,196 +364,6 @@ dependencies = [ "tiny-keccak", ] -[[package]] -name = "async-attributes" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "async-channel" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -dependencies = [ - "concurrent-queue", - "event-listener 2.5.3", - "futures-core", -] - -[[package]] -name = "async-channel" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" -dependencies = [ - "concurrent-queue", - "event-listener 5.3.0", - "event-listener-strategy 0.5.2", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-executor" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" -dependencies = [ - "async-task", - "concurrent-queue", - "fastrand 2.1.0", - "futures-lite 2.3.0", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" -dependencies = [ - "async-channel 2.2.1", - "async-executor", - "async-io 2.3.2", - "async-lock 3.3.0", - "blocking", - "futures-lite 2.3.0", - "once_cell", -] - -[[package]] -name = "async-io" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" -dependencies = [ - "async-lock 3.3.0", - "cfg-if", - "concurrent-queue", - "futures-io", - "futures-lite 2.3.0", - "parking", - "polling 3.7.0", - "rustix 0.38.34", - "slab", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", -] - -[[package]] -name = "async-lock" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" -dependencies = [ - "event-listener 4.0.3", - "event-listener-strategy 0.4.0", - "pin-project-lite", -] - -[[package]] -name = "async-process" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" -dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", - "async-signal", - "blocking", - "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.34", - "windows-sys 0.48.0", -] - -[[package]] -name = "async-signal" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" -dependencies = [ - "async-io 2.3.2", - "async-lock 3.3.0", - "atomic-waker", - "cfg-if", - "futures-core", - "futures-io", - "rustix 0.38.34", - "signal-hook-registry", - "slab", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-attributes", - "async-channel 1.9.0", - "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", - "async-process", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite 1.13.0", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" - [[package]] name = "async-trait" version = "0.1.80" @@ -565,12 +375,6 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - [[package]] name = "autocfg" version = "1.3.0" @@ -724,7 +528,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding 0.1.5", + "block-padding", "byte-tools", "byteorder", "generic-array 0.12.4", @@ -736,7 +540,6 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "block-padding 0.2.1", "generic-array 0.14.7", ] @@ -758,26 +561,6 @@ 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 = "blocking" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" -dependencies = [ - "async-channel 2.2.1", - "async-lock 3.3.0", - "async-task", - "futures-io", - "futures-lite 2.3.0", - "piper", -] - [[package]] name = "bounded-collections" version = "0.1.9" @@ -1084,15 +867,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" -[[package]] -name = "concurrent-queue" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" -dependencies = [ - "crossbeam-utils", -] - [[package]] name = "const-oid" version = "0.9.6" @@ -1173,12 +947,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crossbeam-utils" -version = "0.8.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" - [[package]] name = "crunchy" version = "0.2.2" @@ -1294,6 +1062,7 @@ dependencies = [ "frame-support", "frame-system", "hex-literal", + "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", @@ -1538,26 +1307,17 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", - "signature 2.2.0", + "signature", "spki", ] -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - [[package]] name = "ed25519" version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "signature 2.2.0", + "signature", ] [[package]] @@ -1567,22 +1327,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek 4.1.2", - "ed25519 2.2.3", + "ed25519", "sha2 0.10.8", "subtle", ] -[[package]] -name = "ed25519-dalek-iroha" -version = "1.0.1" -source = "git+https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git?branch=develop#11f9bb453fe208f83840dd6ddb4d05afdb0c1fde" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "sha3 0.9.1", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "3.1.0" @@ -1657,50 +1406,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "eth-bridge" -version = "0.2.0" -dependencies = [ - "assets", - "async-std", - "bridge-types", - "common 0.1.0", - "env_logger", - "ethabi", - "ethabi-contract", - "ethabi-derive", - "ethereum-types", - "frame-benchmarking", - "frame-executive", - "frame-support", - "frame-system", - "hex-literal", - "jsonrpc-core", - "libsecp256k1", - "once_cell", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-scheduler", - "pallet-sudo", - "pallet-timestamp", - "parity-scale-codec", - "parity-util-mem", - "parking_lot", - "permissions", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "serde_json", - "sp-core", - "sp-keystore", - "sp-std", - "tiny-keccak", - "tokio", -] - [[package]] name = "ethabi" version = "17.2.0" @@ -1708,32 +1413,11 @@ source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f04 dependencies = [ "ethereum-types", "hex", - "once_cell", - "regex", - "serde", - "serde_json", - "sha3 0.10.8", + "sha3", "thiserror", "uint", ] -[[package]] -name = "ethabi-contract" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" - -[[package]] -name = "ethabi-derive" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" -dependencies = [ - "ethabi", - "heck", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "ethash" version = "0.6.0" @@ -1742,7 +1426,7 @@ dependencies = [ "byteorder", "ethereum-types", "rlp", - "sha3 0.10.8", + "sha3", ] [[package]] @@ -1776,65 +1460,6 @@ dependencies = [ "uint", ] -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener-strategy" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.3", - "pin-project-lite", -] - -[[package]] -name = "event-listener-strategy" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" -dependencies = [ - "event-listener 5.3.0", - "pin-project-lite", -] - [[package]] name = "expander" version = "2.1.0" @@ -1907,21 +1532,6 @@ dependencies = [ "vested-rewards", ] -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fastrand" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" - [[package]] name = "faucet" version = "0.1.0" @@ -2036,22 +1646,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "frame-executive" -version = "4.0.0-dev" -dependencies = [ - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", -] - [[package]] name = "frame-metadata" version = "16.0.0" @@ -2222,34 +1816,6 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - -[[package]] -name = "futures-lite" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" -dependencies = [ - "fastrand 2.1.0", - "futures-core", - "futures-io", - "parking", - "pin-project-lite", -] - [[package]] name = "futures-macro" version = "0.3.30" @@ -2361,18 +1927,6 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - [[package]] name = "group" version = "0.13.0" @@ -2642,15 +2196,6 @@ dependencies = [ "hashbrown 0.14.5", ] -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - [[package]] name = "integer-sqrt" version = "0.1.5" @@ -2671,37 +2216,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "iroha-migration" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "ed25519-dalek-iroha", - "eth-bridge", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-multisig", - "parity-scale-codec", - "parity-util-mem", - "permissions", - "referrals", - "scale-info", - "serde", - "sha3 0.9.1", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "technical", -] - [[package]] name = "is-terminal" version = "0.4.12" @@ -2737,18 +2251,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonrpc-core" -version = "17.0.0" -source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" -dependencies = [ - "futures", - "log", - "serde", - "serde_derive", - "serde_json", -] - [[package]] name = "k256" version = "0.13.3" @@ -2771,15 +2273,6 @@ dependencies = [ "cpufeatures", ] -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - [[package]] name = "lazy_static" version = "1.4.0" @@ -2855,12 +2348,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - [[package]] name = "linux-raw-sys" version = "0.4.13" @@ -2882,9 +2369,6 @@ name = "log" version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" -dependencies = [ - "value-bag", -] [[package]] name = "mach" @@ -3068,6 +2552,7 @@ dependencies = [ "frame-support", "frame-system", "hex-literal", + "log", "mock-liquidity-source", "orml-currencies", "orml-tokens", @@ -3340,21 +2825,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-multisig" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-scheduler" version = "4.0.0-dev" @@ -3393,20 +2863,6 @@ dependencies = [ "sp-trie", ] -[[package]] -name = "pallet-sudo" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-timestamp" version = "4.0.0-dev" @@ -3465,36 +2921,12 @@ dependencies = [ name = "parity-scale-codec-derive" version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "impl-trait-for-tuples", - "parity-util-mem-derive", - "primitive-types", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ + "proc-macro-crate 3.1.0", "proc-macro2", + "quote", "syn 1.0.109", - "synstructure", ] [[package]] @@ -3503,12 +2935,6 @@ version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" -[[package]] -name = "parking" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" - [[package]] name = "parking_lot" version = "0.12.2" @@ -3591,17 +3017,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" -[[package]] -name = "piper" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" -dependencies = [ - "atomic-waker", - "fastrand 2.1.0", - "futures-io", -] - [[package]] name = "pkcs8" version = "0.10.2" @@ -3618,37 +3033,6 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] - -[[package]] -name = "polling" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" -dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi", - "pin-project-lite", - "rustix 0.38.34", - "tracing", - "windows-sys 0.52.0", -] - [[package]] name = "pool-xyk" version = "1.2.0" @@ -3662,6 +3046,7 @@ dependencies = [ "frame-support", "frame-system", "hex-literal", + "log", "num-traits", "oracle-proxy", "orml-currencies", @@ -4146,20 +3531,6 @@ dependencies = [ "windows-sys 0.45.0", ] -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - [[package]] name = "rustix" version = "0.38.34" @@ -4413,18 +3784,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.1", -] - [[package]] name = "sha3" version = "0.10.8" @@ -4444,21 +3803,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" - [[package]] name = "signature" version = "2.2.0" @@ -4497,16 +3841,6 @@ version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "sp-api" version = "4.0.0-dev" @@ -4638,7 +3972,7 @@ dependencies = [ "byteorder", "digest 0.10.7", "sha2 0.10.8", - "sha3 0.10.8", + "sha3", "twox-hash", ] @@ -5121,18 +4455,6 @@ dependencies = [ "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 1.0.109", - "unicode-xid", -] - [[package]] name = "tap" version = "1.0.1" @@ -5253,28 +4575,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" -[[package]] -name = "tokio" -version = "1.37.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" -dependencies = [ - "backtrace", - "pin-project-lite", - "tokio-macros", -] - -[[package]] -name = "tokio-macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - [[package]] name = "toml" version = "0.8.12" @@ -5533,12 +4833,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" -[[package]] -name = "value-bag" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" - [[package]] name = "version_check" version = "0.9.4" @@ -5560,6 +4854,7 @@ dependencies = [ "hex", "hex-literal", "itertools", + "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", @@ -5581,12 +4876,6 @@ dependencies = [ "technical", ] -[[package]] -name = "waker-fn" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" - [[package]] name = "walkdir" version = "2.5.0" @@ -5634,18 +4923,6 @@ dependencies = [ "wasm-bindgen-shared", ] -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - [[package]] name = "wasm-bindgen-macro" version = "0.2.92" @@ -5817,16 +5094,6 @@ dependencies = [ "wasmparser", ] -[[package]] -name = "web-sys" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "wide" version = "0.7.17" @@ -6163,6 +5430,7 @@ dependencies = [ "frame-support", "frame-system", "hex-literal", + "log", "mock-liquidity-source", "oracle-proxy", "orml-currencies", @@ -6226,10 +5494,66 @@ dependencies = [ "syn 2.0.61", ] +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" + +[[patch.unused]] +name = "dispatch" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" + +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-channel" +version = "0.1.1" + [[patch.unused]] name = "frame-election-provider-support" version = "4.0.0-dev" +[[patch.unused]] +name = "frame-executive" +version = "4.0.0-dev" + [[patch.unused]] name = "frame-system-benchmarking" version = "4.0.0-dev" @@ -6290,6 +5614,10 @@ version = "4.0.0-dev" name = "pallet-membership" version = "4.0.0-dev" +[[patch.unused]] +name = "pallet-multisig" +version = "4.0.0-dev" + [[patch.unused]] name = "pallet-offences" version = "4.0.0-dev" @@ -6302,6 +5630,10 @@ version = "4.0.0-dev" name = "pallet-staking" version = "4.0.0-dev" +[[patch.unused]] +name = "pallet-sudo" +version = "4.0.0-dev" + [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" @@ -6434,6 +5766,10 @@ version = "0.10.0-dev" name = "frame-election-provider-support" version = "4.0.0-dev" +[[patch.unused]] +name = "frame-executive" +version = "4.0.0-dev" + [[patch.unused]] name = "frame-system-benchmarking" version = "4.0.0-dev" @@ -6494,6 +5830,10 @@ version = "4.0.0-dev" name = "pallet-membership" version = "4.0.0-dev" +[[patch.unused]] +name = "pallet-multisig" +version = "4.0.0-dev" + [[patch.unused]] name = "pallet-offences" version = "4.0.0-dev" @@ -6506,6 +5846,10 @@ version = "4.0.0-dev" name = "pallet-staking" version = "4.0.0-dev" +[[patch.unused]] +name = "pallet-sudo" +version = "4.0.0-dev" + [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" @@ -6633,55 +5977,3 @@ version = "5.0.0-dev" [[patch.unused]] name = "try-runtime-cli" version = "0.10.0-dev" - -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" - -[[patch.unused]] -name = "dispatch" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" - -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" diff --git a/Cargo.toml b/Cargo.toml index b6a9f7de03..22973a65b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -359,7 +359,7 @@ members = [ "pallets/ceres-token-locker", "pallets/faucet", "pallets/hermes-governance-platform", - "pallets/iroha-migration", + # "pallets/iroha-migration", # "pallets/liquidity-proxy", "pallets/mock-liquidity-source", "pallets/technical", @@ -367,7 +367,7 @@ members = [ "pallets/rewards", "pallets/xor-fee", "pallets/referrals", - "pallets/eth-bridge", + # "pallets/eth-bridge", "pallets/pswap-distribution", "pallets/multicollateral-bonding-curve-pool", "pallets/vested-rewards", diff --git a/common/src/mock.rs b/common/src/mock.rs index 09895625f7..7f48159a99 100644 --- a/common/src/mock.rs +++ b/common/src/mock.rs @@ -30,7 +30,6 @@ use crate::{AssetId32, Balance, PredefinedAssetId, TechAssetId}; use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::dispatch::DispatchError; use frame_support::weights::{ WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }; @@ -40,6 +39,7 @@ use serde::{Deserialize, Serialize}; use smallvec::smallvec; use sp_arithmetic::Perbill; use sp_runtime::AccountId32; +use sp_runtime::DispatchError; use sp_std::convert::TryFrom; #[derive( diff --git a/common/src/test_utils.rs b/common/src/test_utils.rs index 7661202a5e..7d21e5e19e 100644 --- a/common/src/test_utils.rs +++ b/common/src/test_utils.rs @@ -40,10 +40,8 @@ macro_rules! assert_noop_msg { ( $x:expr, $msg:expr ) => { let h = frame_support::storage_root(frame_support::StateVersion::V1); if let Err(e) = $crate::with_transaction(|| $x) { - if let frame_support::dispatch::DispatchError::Module(sp_runtime::ModuleError { - message, - .. - }) = e.error + if let sp_runtime::DispatchError::Module(sp_runtime::ModuleError { message, .. }) = + e.error { assert_eq!(message, Some($msg)); } else { diff --git a/pallets/apollo-platform/src/lib.rs b/pallets/apollo-platform/src/lib.rs index e46a2c3425..6c3a585fec 100644 --- a/pallets/apollo-platform/src/lib.rs +++ b/pallets/apollo-platform/src/lib.rs @@ -1081,7 +1081,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { let distribution_rewards = Self::update_interests(now); let rates = Self::update_rates(now); @@ -1100,7 +1100,7 @@ pub mod pallet { } /// Off-chain worker procedure - calls liquidations - fn offchain_worker(block_number: T::BlockNumber) { + fn offchain_worker(block_number: BlockNumberFor) { debug!( "Entering off-chain worker, block number is {:?}", block_number @@ -1390,7 +1390,7 @@ pub mod pallet { .saturating_add(T::DbWeight::get().writes(counter + 4)) } - fn update_rates(_current_block: T::BlockNumber) -> Weight { + fn update_rates(_current_block: BlockNumberFor) -> Weight { let mut counter: u64 = 0; for (asset_id, mut pool_info) in PoolData::::iter() { diff --git a/pallets/assets/src/migration/v1_3_1.rs b/pallets/assets/src/migration/v1_3_1.rs index 812b64bb16..b9ca2293b1 100644 --- a/pallets/assets/src/migration/v1_3_1.rs +++ b/pallets/assets/src/migration/v1_3_1.rs @@ -31,7 +31,6 @@ use common::{ generate_storage_instance, AssetName, AssetSymbol, BalancePrecision, ContentSource, Description, }; -use frame_support::dispatch::Weight; use frame_support::log::error; use frame_support::pallet_prelude::{Get, OptionQuery, StorageMap}; use frame_support::Twox64Concat; diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 13f09ef5ce..27ebe5a18d 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -343,7 +343,7 @@ pub struct ReferencePriceProvider; impl common::ReferencePriceProvider for ReferencePriceProvider { fn get_reference_price( _asset_id: &AssetId, - ) -> Result { + ) -> Result { Ok(common::balance!(2.5)) } } diff --git a/pallets/ceres-governance-platform/src/migrations.rs b/pallets/ceres-governance-platform/src/migrations.rs index 91925137e9..3708601de6 100644 --- a/pallets/ceres-governance-platform/src/migrations.rs +++ b/pallets/ceres-governance-platform/src/migrations.rs @@ -63,7 +63,8 @@ pub fn migrate() -> Result<(), &'static str> { let description_a = BoundedString::truncate_from( "The Ceres v2 staking pool would have 300 CERES rewards taken from the Ceres Treasury wallet. Staking would have a 14,400 CERES pool limit and would last a month and a half with minimum APR 16.66%."); - let nonce: ::Index = 305u32.into(); + // was ::Index type + let nonce: ::Nonce = 305u32.into(); let encoded = (&first_poll_creator, nonce).using_encoded(blake2_256); let poll_id_a = H256::from(encoded); @@ -89,7 +90,7 @@ pub fn migrate() -> Result<(), &'static str> { "Ceres Launchpad is coming soon with new SORA runtime release. Launchpad requires KYC services which should be paid (about $11,740).", ); - let nonce: ::Index = 15u32.into(); + let nonce: ::Nonce = 15u32.into(); let encoded = (&user, nonce).using_encoded(blake2_256); let poll_id_b = H256::from(encoded); @@ -114,7 +115,7 @@ pub fn migrate() -> Result<(), &'static str> { ); let description_c = BoundedString::truncate_from("The Ceres team plans to integrate its services and tools on other parachains in the DotSama ecosystem (Ceres/Demeter liquidity and Demeter farming still remain on SORA, it is the base of the Ceres project). The first parachain that the Ceres team wants to integrate their products on is Astar. For this purpose, liquidity should be provided for the CERES token on the Astar network and the proposal is to use 20,000 DAI and 582.46 CERES from the Treasury. If there is an opportunity in the future, the plan is to return the funds to the Treasury. Demeter liquidity (DEO Arena integration) on Astar will be provided from team's funds."); - let nonce: ::Index = 69u32.into(); + let nonce: ::Nonce = 69u32.into(); let encoded = (&user, nonce).using_encoded(blake2_256); let poll_id_c = H256::from(encoded); @@ -140,7 +141,7 @@ pub fn migrate() -> Result<(), &'static str> { "Until now, the portion of Ceres fees was used for rewards for the XOR/CERES farming pool. If the pool were to close, CERES tokens would go for burning.", ); - let nonce: ::Index = 166u32.into(); + let nonce: ::Nonce = 166u32.into(); let encoded = (&user, nonce).using_encoded(blake2_256); let poll_id_d = H256::from(encoded); diff --git a/pallets/ceres-launchpad/src/lib.rs b/pallets/ceres-launchpad/src/lib.rs index c7e315189e..37b1183899 100644 --- a/pallets/ceres-launchpad/src/lib.rs +++ b/pallets/ceres-launchpad/src/lib.rs @@ -1207,7 +1207,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { let mut counter: u64 = 0; if (now % T::BLOCKS_PER_ONE_DAY).is_zero() { diff --git a/pallets/ceres-liquidity-locker/src/migrations.rs b/pallets/ceres-liquidity-locker/src/migrations.rs index 7b389264a7..02b60399b1 100644 --- a/pallets/ceres-liquidity-locker/src/migrations.rs +++ b/pallets/ceres-liquidity-locker/src/migrations.rs @@ -1,6 +1,7 @@ use crate::{AssetIdOf, Config, LockInfo, LockerData, Timestamp, Weight}; use common::{convert_block_number_to_timestamp, Balance}; use frame_support::traits::Get; +use frame_system::pallet_prelude::BlockNumberFor; use sp_std::vec::Vec; pub fn migrate() -> Weight { @@ -14,7 +15,7 @@ pub fn migrate_locker_data() -> Weight { let current_timestamp = Timestamp::::get(); let current_block = frame_system::Pallet::::block_number(); LockerData::::translate_values::< - Vec<(Balance, T::BlockNumber, AssetIdOf, AssetIdOf)>, + Vec<(Balance, BlockNumberFor, AssetIdOf, AssetIdOf)>, _, >(|v| { Some( diff --git a/pallets/ceres-token-locker/src/migrations.rs b/pallets/ceres-token-locker/src/migrations.rs index 952371f6a8..fa51909b9e 100644 --- a/pallets/ceres-token-locker/src/migrations.rs +++ b/pallets/ceres-token-locker/src/migrations.rs @@ -1,6 +1,7 @@ use crate::{AssetIdOf, Config, Timestamp, TokenLockInfo, TokenLockerData, Weight}; use common::{convert_block_number_to_timestamp, Balance}; use frame_support::traits::Get; +use frame_system::pallet_prelude::BlockNumberFor; use sp_std::vec::Vec; pub fn migrate() -> Weight { @@ -13,7 +14,7 @@ pub fn migrate_token_locker_data() -> Weight { let current_timestamp = Timestamp::::get(); let current_block = frame_system::Pallet::::block_number(); - TokenLockerData::::translate_values::)>, _>( + TokenLockerData::::translate_values::, AssetIdOf)>, _>( |v| { Some( v.into_iter() diff --git a/pallets/demeter-farming-platform/Cargo.toml b/pallets/demeter-farming-platform/Cargo.toml index b8c865fe13..edb873ae3c 100644 --- a/pallets/demeter-farming-platform/Cargo.toml +++ b/pallets/demeter-farming-platform/Cargo.toml @@ -18,6 +18,7 @@ ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/demeter-farming-platform/src/lib.rs b/pallets/demeter-farming-platform/src/lib.rs index 19b1597f53..a20e014186 100644 --- a/pallets/demeter-farming-platform/src/lib.rs +++ b/pallets/demeter-farming-platform/src/lib.rs @@ -61,8 +61,8 @@ pub struct UserInfo { pub rewards: Balance, } -use frame_support::dispatch::DispatchError; pub use pallet::*; +use sp_runtime::DispatchError; #[frame_support::pallet] pub mod pallet { @@ -1022,7 +1022,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { let mut counter = Weight::zero(); if (now % T::BLOCKS_PER_HOUR_AND_A_HALF).is_zero() { diff --git a/pallets/demeter-farming-platform/src/migrations.rs b/pallets/demeter-farming-platform/src/migrations.rs index c725489616..486fdb4952 100644 --- a/pallets/demeter-farming-platform/src/migrations.rs +++ b/pallets/demeter-farming-platform/src/migrations.rs @@ -1,8 +1,7 @@ use crate::{AssetIdOf, Config, PoolData, Pools, UserInfo, UserInfos}; use codec::{Decode, Encode}; use common::{Balance, XOR}; -use frame_support::dispatch::Weight; -use frame_support::log; +use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; use sp_std::vec::Vec; diff --git a/pallets/dex-api/src/lib.rs b/pallets/dex-api/src/lib.rs index 20137eef73..d8a2acf6c3 100644 --- a/pallets/dex-api/src/lib.rs +++ b/pallets/dex-api/src/lib.rs @@ -517,7 +517,7 @@ pub mod pallet { impl Default for GenesisConfig { fn default() -> Self { Self { - phantomL: Default::default(), + phantom: Default::default(), source_types: Default::default(), } } diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index b4104cb962..4d56c9f7b6 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -12,6 +12,7 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", "full", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/eth-bridge/src/contract.rs b/pallets/eth-bridge/src/contract.rs index 1e9f95923e..2665ac42a0 100644 --- a/pallets/eth-bridge/src/contract.rs +++ b/pallets/eth-bridge/src/contract.rs @@ -31,7 +31,7 @@ use alloc::boxed::Box; use ethabi::Function; #[cfg(feature = "std")] -use frame_support::RuntimeDebug; +use sp_core::RuntimeDebug; use once_cell::race::OnceBox; use sp_core::H256; use sp_std::collections::btree_map::BTreeMap; diff --git a/pallets/eth-bridge/src/lib.rs b/pallets/eth-bridge/src/lib.rs index 172dc13266..d1922adfd9 100644 --- a/pallets/eth-bridge/src/lib.rs +++ b/pallets/eth-bridge/src/lib.rs @@ -83,8 +83,8 @@ use common::{ AssetInfoProvider, AssetName, AssetSymbol, BalancePrecision, DEFAULT_BALANCE_PRECISION, }; use core::stringify; -use frame_support::dispatch::{DispatchError, DispatchResult}; -use frame_support::log::{debug, error, info, warn}; +use frame_support::dispatch::DispatchResult; +use log::{debug, error, info, warn}; use frame_support::sp_runtime::app_crypto::{ecdsa, sp_core}; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::offchain::storage_lock::{StorageLock, Time}; @@ -94,7 +94,7 @@ use frame_support::sp_runtime::traits::{ use frame_support::sp_runtime::KeyTypeId; use frame_support::traits::Get; use frame_support::weights::Weight; -use frame_support::{ensure, fail, Parameter, RuntimeDebug}; +use frame_support::{ensure, fail, Parameter}; use frame_system::offchain::{AppCrypto, CreateSignedTransaction}; use frame_system::pallet_prelude::OriginFor; use frame_system::{ensure_root, ensure_signed}; @@ -104,7 +104,7 @@ use permissions::{Scope, BURN, MINT}; use requests::*; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; -use sp_core::{H160, H256}; +use sp_core::{H160, H256, RuntimeDebug}; use sp_std::borrow::Cow; use sp_std::collections::btree_set::BTreeSet; use sp_std::fmt::{self, Debug}; @@ -398,7 +398,7 @@ pub mod pallet { /// Main off-chain worker procedure. /// /// Note: only one worker is expected to be used. - fn offchain_worker(block_number: T::BlockNumber) { + fn offchain_worker(block_number: BlockNumberFor) { debug!("Entering off-chain workers {:?}", block_number); let value_ref = StorageValueRef::persistent(STORAGE_PEER_SECRET_KEY); if value_ref.get::>().ok().flatten().is_none() { @@ -1277,7 +1277,7 @@ pub mod pallet { BridgeNetworkId, Identity, H256, - T::BlockNumber, + BlockNumberFor, ValueQuery, >; diff --git a/pallets/eth-bridge/src/migration.rs b/pallets/eth-bridge/src/migration.rs index ecdf14a86b..781cb38c42 100644 --- a/pallets/eth-bridge/src/migration.rs +++ b/pallets/eth-bridge/src/migration.rs @@ -1,12 +1,12 @@ use crate::requests::RequestStatus; use codec::Decode; use codec::Encode; -use frame_support::dispatch::GetStorageVersion; +use frame_support::pallet_prelude::GetStorageVersion; use frame_support::sp_runtime::legacy::byte_sized_error::DispatchError as OldDispatchError; use frame_support::sp_runtime::DispatchError; use frame_support::sp_runtime::ModuleError; use frame_support::traits::StorageVersion; -use frame_support::RuntimeDebug; +use sp_core::RuntimeDebug; use crate::Config; use crate::Pallet; diff --git a/pallets/eth-bridge/src/offchain/handle.rs b/pallets/eth-bridge/src/offchain/handle.rs index 3c32ba0620..5983863fda 100644 --- a/pallets/eth-bridge/src/offchain/handle.rs +++ b/pallets/eth-bridge/src/offchain/handle.rs @@ -47,13 +47,13 @@ use crate::{ use alloc::vec::Vec; use bridge_multisig::MultiChainHeight; use codec::{Decode, Encode}; -use frame_support::log::{debug, error, info, trace, warn}; -use frame_support::sp_io::hashing::blake2_256; +use log::{debug, error, info, trace, warn}; +use sp_io::hashing::blake2_256; use frame_support::sp_runtime::app_crypto::ecdsa; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::traits::{One, Saturating, Zero}; use frame_support::traits::Get; -use frame_support::{ensure, fail, log}; +use frame_support::{ensure, fail}; use frame_system::offchain::{CreateSignedTransaction, Signer}; use sp_core::H256; use sp_std::collections::btree_map::BTreeMap; @@ -134,7 +134,7 @@ impl Pallet { /// (`SUBSTRATE_MAX_BLOCK_NUM_EXPECTING_UNTIL_FINALIZATION`), it's re-sent. fn handle_substrate_block( block: SubstrateBlockLimited, - current_height: T::BlockNumber, + current_height: BlockNumberFor, ) -> Result<(), Error> where T: CreateSignedTransaction<::RuntimeCall>, @@ -430,7 +430,7 @@ impl Pallet { } } - pub(crate) fn handle_substrate() -> Result> + pub(crate) fn handle_substrate() -> Result, Error> where T: CreateSignedTransaction<::RuntimeCall>, { @@ -449,13 +449,13 @@ impl Pallet { Self::handle_failed_transactions_queue(); } - let substrate_finalized_height = ::from( + let substrate_finalized_height = >::from( u32::try_from(substrate_finalized_block.number).expect("cannot cast block height"), ); let s_sub_to_handle_from_height = StorageValueRef::persistent(STORAGE_SUB_TO_HANDLE_FROM_HEIGHT_KEY); let from_block_opt = s_sub_to_handle_from_height - .get::() + .get::>() .map_err(|_| Error::::ReadStorageError)?; if from_block_opt.is_none() { s_sub_to_handle_from_height.set(&substrate_finalized_height); @@ -480,7 +480,7 @@ impl Pallet { return Ok(substrate_finalized_height); } }; - from_block += T::BlockNumber::one(); + from_block += BlockNumberFor::one(); // Will not process block with height bigger than finalized height s_sub_to_handle_from_height.set(&from_block); } @@ -594,7 +594,7 @@ impl Pallet { /// are added to local storage to not be handled twice by the off-chain worker. pub(crate) fn handle_network( network_id: T::NetworkId, - substrate_finalized_height: T::BlockNumber, + substrate_finalized_height: BlockNumberFor, ) where T: CreateSignedTransaction<::RuntimeCall>, { @@ -609,7 +609,7 @@ impl Pallet { } }; - if substrate_finalized_height % RE_HANDLE_TXS_PERIOD.into() == T::BlockNumber::zero() { + if substrate_finalized_height % RE_HANDLE_TXS_PERIOD.into() == BlockNumberFor::zero() { Self::handle_pending_multisig_calls(network_id, current_eth_height); } @@ -622,17 +622,17 @@ impl Pallet { log::debug!("Temporary skip request: {:?}", request_hash); continue; } - let request_submission_height: T::BlockNumber = + let request_submission_height: BlockNumberFor = Self::request_submission_height(network_id, &request_hash); - let number = T::BlockNumber::from(MAX_PENDING_TX_BLOCKS_PERIOD); + let number = BlockNumberFor::from(MAX_PENDING_TX_BLOCKS_PERIOD); let diff = substrate_finalized_height.saturating_sub(request_submission_height); - let should_reapprove = diff >= number && diff % number == T::BlockNumber::zero(); + let should_reapprove = diff >= number && diff % number == BlockNumberFor::zero(); if !should_reapprove && substrate_finalized_height < request_submission_height { continue; } let handled_key = format!("eth-bridge-ocw::handled-request-{:?}", request_hash); let s_handled_request = StorageValueRef::persistent(handled_key.as_bytes()); - let height_opt = s_handled_request.get::().ok().flatten(); + let height_opt = s_handled_request.get::>().ok().flatten(); let need_to_handle = match height_opt { Some(height) => should_reapprove || request_submission_height > height, diff --git a/pallets/eth-bridge/src/offchain/http.rs b/pallets/eth-bridge/src/offchain/http.rs index 3240acbef9..c026c0376b 100644 --- a/pallets/eth-bridge/src/offchain/http.rs +++ b/pallets/eth-bridge/src/offchain/http.rs @@ -42,11 +42,11 @@ use crate::{ }; use alloc::string::String; use alloc::vec::Vec; -use frame_support::log::{error, trace, warn}; +use log::{error, trace, warn}; use frame_support::sp_runtime::offchain as rt_offchain; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::traits::Get; -use frame_support::{fail, sp_io}; +use frame_support::fail; use frame_system::offchain::CreateSignedTransaction; use hex_literal::hex; use serde::{Deserialize, Serialize}; @@ -293,7 +293,7 @@ impl Pallet { /// Queries a block at the given height of the local node with `chain_getBlockHash` and /// `chain_getBlock` RPC calls. - pub fn load_substrate_block(number: T::BlockNumber) -> Result> + pub fn load_substrate_block(number: BlockNumberFor) -> Result> where T: CreateSignedTransaction<::RuntimeCall>, { diff --git a/pallets/eth-bridge/src/offchain/mod.rs b/pallets/eth-bridge/src/offchain/mod.rs index b5191a0866..e9c2343942 100644 --- a/pallets/eth-bridge/src/offchain/mod.rs +++ b/pallets/eth-bridge/src/offchain/mod.rs @@ -55,7 +55,7 @@ use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::traits::IdentifyAccount; use frame_support::sp_runtime::MultiSigner; use frame_support::traits::Get; -use frame_support::{ensure, fail, RuntimeDebug}; +use frame_support::{ensure, fail}; use frame_system::offchain::CreateSignedTransaction; pub use handle::*; use hex_literal::hex; @@ -64,7 +64,7 @@ use rustc_hex::ToHex; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_core::crypto::ByteArray; -use sp_core::{H160, H256}; +use sp_core::{H160, H256, RuntimeDebug}; use sp_std::collections::btree_set::BTreeSet; use sp_std::convert::TryInto; use sp_std::fmt; diff --git a/pallets/eth-bridge/src/offchain/transaction.rs b/pallets/eth-bridge/src/offchain/transaction.rs index b44ac4127e..dea77ef302 100644 --- a/pallets/eth-bridge/src/offchain/transaction.rs +++ b/pallets/eth-bridge/src/offchain/transaction.rs @@ -38,9 +38,9 @@ use crate::{ }; use alloc::boxed::Box; use codec::{Decode, Encode}; -use frame_support::dispatch::{DispatchError, GetCallMetadata}; -use frame_support::log::{debug, error}; -use frame_support::sp_io::hashing::blake2_256; +use sp_runtime::DispatchError; +use log::{debug, error}; +use sp_io::hashing::blake2_256; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::traits::{BlockNumberProvider, IdentifyAccount, Saturating}; use frame_support::sp_runtime::RuntimeAppPublic; @@ -67,14 +67,14 @@ where T: Config, { pub extrinsic_hash: H256, - pub submitted_at: Option, + pub submitted_at: Option>, pub call: Call, } impl SignedTransactionData { pub fn new( extrinsic_hash: H256, - submitted_at: Option, + submitted_at: Option>, call: impl Into>, ) -> Self { SignedTransactionData { @@ -91,12 +91,11 @@ impl SignedTransactionData { pub fn from_local_call>>( call: LocalCall, account: &Account, - submitted_at: Option, + submitted_at: Option>, ) -> Option where T: CreateSignedTransaction, { - use frame_support::inherent::Extrinsic; let overarching_call: Call = call.clone().into(); let account_data = frame_system::Account::::get(&account.id); let nonce = if submitted_at.is_some() { diff --git a/pallets/eth-bridge/src/requests/incoming.rs b/pallets/eth-bridge/src/requests/incoming.rs index 96fb38da60..bded98902d 100644 --- a/pallets/eth-bridge/src/requests/incoming.rs +++ b/pallets/eth-bridge/src/requests/incoming.rs @@ -49,7 +49,7 @@ use common::utils::string_serialization; use common::{AssetName, AssetSymbol, BalancePrecision}; #[allow(unused_imports)] use frame_support::debug; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::sp_runtime::app_crypto::sp_core; use frame_support::sp_runtime::traits::UniqueSaturatedInto; use frame_support::traits::Get; @@ -60,6 +60,7 @@ use frame_system::RawOrigin; use serde::{Deserialize, Serialize}; use sp_core::H256; use sp_std::prelude::*; +use sp_runtime::DispatchError; pub const MIN_PEERS: usize = 4; pub const MAX_PEERS: usize = 100; diff --git a/pallets/eth-bridge/src/requests/mod.rs b/pallets/eth-bridge/src/requests/mod.rs index 486ac33f71..9cc8f6c3be 100644 --- a/pallets/eth-bridge/src/requests/mod.rs +++ b/pallets/eth-bridge/src/requests/mod.rs @@ -38,10 +38,10 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::AssetInfoProvider; use ethabi::Token; -use frame_support::dispatch::{DispatchError, DispatchResult}; -use frame_support::log::warn; +use frame_support::dispatch::DispatchResult; +use log::warn; use frame_support::sp_runtime::app_crypto::sp_core; -use frame_support::{ensure, sp_io, RuntimeDebug}; +use frame_support::{ensure, RuntimeDebug}; pub use incoming::*; pub use outgoing::*; #[cfg(feature = "std")] diff --git a/pallets/eth-bridge/src/requests/outgoing.rs b/pallets/eth-bridge/src/requests/outgoing.rs index f6f6d4716c..64aad7f25c 100644 --- a/pallets/eth-bridge/src/requests/outgoing.rs +++ b/pallets/eth-bridge/src/requests/outgoing.rs @@ -49,7 +49,7 @@ use common::{AssetInfoProvider, AssetName, AssetSymbol, IsValid, VAL, XOR}; use ethabi::{FixedBytes, Token}; #[allow(unused_imports)] use frame_support::debug; -use frame_support::dispatch::DispatchError; +use sp_runtime::DispatchError; use frame_support::sp_runtime::app_crypto::sp_core; use frame_support::sp_runtime::traits::UniqueSaturatedInto; use frame_support::traits::Get; diff --git a/pallets/eth-bridge/src/rpc.rs b/pallets/eth-bridge/src/rpc.rs index 4d3be8570c..4d5e868200 100644 --- a/pallets/eth-bridge/src/rpc.rs +++ b/pallets/eth-bridge/src/rpc.rs @@ -36,7 +36,7 @@ use crate::{ RegisteredSidechainToken, RequestApprovals, RequestStatuses, Requests, SidechainAssetPrecision, }; use common::{AssetInfoProvider, BalancePrecision}; -use frame_support::dispatch::DispatchError; +use sp_runtime::DispatchError; use frame_support::sp_runtime::app_crypto::sp_core; use sp_core::{H160, H256}; use sp_std::prelude::*; diff --git a/pallets/eth-bridge/src/tests/ocw.rs b/pallets/eth-bridge/src/tests/ocw.rs index fa3c81b96c..b0cddbb735 100644 --- a/pallets/eth-bridge/src/tests/ocw.rs +++ b/pallets/eth-bridge/src/tests/ocw.rs @@ -42,7 +42,7 @@ use crate::{ use codec::Encode; use common::{DEFAULT_BALANCE_PRECISION, VAL, XOR}; use frame_support::assert_ok; -use frame_support::dispatch::DispatchError; +use sp_runtime::DispatchError; use hex_literal::hex; use sp_core::{sr25519, H256}; use std::str::FromStr; diff --git a/pallets/farming/src/lib.rs b/pallets/farming/src/lib.rs index d256ec9173..fb7a123e3e 100644 --- a/pallets/farming/src/lib.rs +++ b/pallets/farming/src/lib.rs @@ -86,7 +86,7 @@ impl Pallet { }); } - fn refresh_pools(now: T::BlockNumber) -> Weight { + fn refresh_pools(now: BlockNumberFor) -> Weight { let mut total_weight = Weight::zero(); let pools = Pools::::get(now % T::REFRESH_FREQUENCY); for pool in pools { @@ -113,7 +113,7 @@ impl Pallet { } } - fn refresh_pool(pool: T::AccountId, now: T::BlockNumber) -> u32 { + fn refresh_pool(pool: T::AccountId, now: BlockNumberFor) -> u32 { let trading_pair = match pool_xyk::Pallet::::get_pool_trading_pair(&pool) { Ok(trading_pair) => trading_pair, Err(err) => { @@ -200,7 +200,7 @@ impl Pallet { } } - fn vest(now: T::BlockNumber) -> Weight { + fn vest(now: BlockNumberFor) -> Weight { let mut accounts = BTreeMap::new(); let function_weight: Weight = Self::prepare_accounts_for_vesting(now, &mut accounts); let function_weight = function_weight.saturating_add( @@ -211,7 +211,7 @@ impl Pallet { } fn prepare_accounts_for_vesting( - now: T::BlockNumber, + now: BlockNumberFor, accounts: &mut BTreeMap, ) -> Weight { let mut pool_count = 0; @@ -228,8 +228,8 @@ impl Pallet { fn get_farmer_weight_amplified_by_time( farmer_weight: u128, - farmer_block: T::BlockNumber, - now: T::BlockNumber, + farmer_block: BlockNumberFor, + now: BlockNumberFor, ) -> FixedWrapper { // Ti let farmer_farming_time: u32 = (now - farmer_block).unique_saturated_into(); @@ -246,7 +246,7 @@ impl Pallet { fn prepare_pool_accounts_for_vesting( farmers: Vec>, - now: T::BlockNumber, + now: BlockNumberFor, accounts: &mut BTreeMap, ) { if farmers.is_empty() { @@ -359,7 +359,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { if now.is_zero() { return Weight::zero(); } @@ -399,7 +399,7 @@ pub mod pallet { /// Pools whose farmers are refreshed at the specific block. Block => Pools #[pallet::storage] pub type Pools = - StorageMap<_, Identity, T::BlockNumber, Vec, ValueQuery>; + StorageMap<_, Identity, BlockNumberFor, Vec, ValueQuery>; /// Farmers of the pool. Pool => Farmers #[pallet::storage] @@ -451,7 +451,7 @@ pub struct PoolFarmer { /// The account of the farmer account: T::AccountId, /// The block that the farmer started farming at - block: T::BlockNumber, + block: BlockNumberFor, /// The weight the farmer has in the pool weight: Balance, } diff --git a/pallets/farming/src/migrations.rs b/pallets/farming/src/migrations.rs index 372555dfa5..c3befb72be 100644 --- a/pallets/farming/src/migrations.rs +++ b/pallets/farming/src/migrations.rs @@ -43,7 +43,7 @@ pub mod v2 { impl OnRuntimeUpgrade for Migrate where T: Config, - G: Get>, + G: Get)>>, { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(1) { @@ -103,7 +103,7 @@ pub mod v3 { where T: Config, P: Get>, - B: Get>, + B: Get>>, { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(2) { diff --git a/pallets/faucet/src/lib.rs b/pallets/faucet/src/lib.rs index 764e896219..322444e001 100644 --- a/pallets/faucet/src/lib.rs +++ b/pallets/faucet/src/lib.rs @@ -36,6 +36,7 @@ use common::{ balance, AssetInfoProvider, Balance, APOLLO_ASSET_ID, HERMES_ASSET_ID, PSWAP, VAL, XOR, }; use frame_support::ensure; +use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; use sp_arithmetic::traits::Saturating; @@ -52,7 +53,6 @@ pub use weights::WeightInfo; type Assets = assets::Pallet; type System = frame_system::Pallet; type Technical = technical::Pallet; -type BlockNumberOf = ::BlockNumber; type WeightInfoOf = ::WeightInfo; pub const TECH_ACCOUNT_PREFIX: &[u8] = b"faucet"; @@ -60,7 +60,7 @@ pub const TECH_ACCOUNT_MAIN: &[u8] = b"main"; // Value to at least have enough funds for updating the limit pub const DEFAULT_LIMIT: Balance = balance!(5); -pub fn transfer_limit_block_count() -> BlockNumberOf { +pub fn transfer_limit_block_count() -> BlockNumberFor { 14400u32.into() } @@ -68,14 +68,13 @@ pub use pallet::*; #[frame_support::pallet] pub mod pallet { + use common::AccountIdOf; use frame_support::pallet_prelude::*; use frame_support::traits::StorageVersion; use frame_system::pallet_prelude::*; use hex_literal::hex; - use sp_core::H160; - - use common::AccountIdOf; use rewards::{PswapFarmOwners, PswapWaifuOwners, RewardInfo, ValOwners}; + use sp_core::H160; use super::*; @@ -212,7 +211,7 @@ pub mod pallet { T::AccountId, Blake2_256, T::AssetId, - (BlockNumberOf, Balance), + (BlockNumberFor, Balance), >; #[pallet::type_value] @@ -230,7 +229,6 @@ pub mod pallet { pub reserves_account_id: T::TechAccountId, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -240,7 +238,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { ReservesAcc::::put(&self.reserves_account_id); } @@ -277,8 +275,8 @@ impl Pallet { target: &T::AccountId, asset_id: T::AssetId, amount: Balance, - current_block_number: BlockNumberOf, - ) -> Result<(BlockNumberOf, Balance), Error> { + current_block_number: BlockNumberFor, + ) -> Result<(BlockNumberFor, Balance), Error> { let balance_limit = Self::transfer_limit(); ensure!(amount <= balance_limit, Error::AmountAboveLimit); if let Some((initial_block_number, taken_amount)) = Transfers::::get(target, asset_id) { diff --git a/pallets/hermes-governance-platform/src/migrations.rs b/pallets/hermes-governance-platform/src/migrations.rs index 2236d34a0c..a18061c88f 100644 --- a/pallets/hermes-governance-platform/src/migrations.rs +++ b/pallets/hermes-governance-platform/src/migrations.rs @@ -4,7 +4,7 @@ use crate::{ use alloc::string::String; use codec::{Decode, Encode}; use common::BoundedString; -use frame_support::dispatch::Weight; +use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; use frame_support::BoundedVec; use sp_core::RuntimeDebug; diff --git a/pallets/iroha-migration/src/lib.rs b/pallets/iroha-migration/src/lib.rs index e9c5ea5487..c96b63ef5a 100644 --- a/pallets/iroha-migration/src/lib.rs +++ b/pallets/iroha-migration/src/lib.rs @@ -76,7 +76,7 @@ pub use weights::WeightInfo; pub const TECH_ACCOUNT_PREFIX: &[u8] = b"iroha-migration"; pub const TECH_ACCOUNT_MAIN: &[u8] = b"main"; -fn blocks_till_migration() -> T::BlockNumber +fn blocks_till_migration() -> BlockNumberFor where T: frame_system::Config, { @@ -92,7 +92,7 @@ where T: frame_system::Config, { approving_accounts: Vec, - migrate_at: Option, + migrate_at: Option>, } impl Default for PendingMultisigAccount @@ -346,7 +346,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(block_number: T::BlockNumber) -> Weight { + fn on_initialize(block_number: BlockNumberFor) -> Weight { // Migrate accounts whose quorum has been reached and enough time has passed since then PendingMultiSigAccounts::::translate(|key, mut value: PendingMultisigAccount| { if let Some(migrate_at) = value.migrate_at { diff --git a/pallets/kensetsu/src/lib.rs b/pallets/kensetsu/src/lib.rs index 4ab56474a5..ef782ea90f 100644 --- a/pallets/kensetsu/src/lib.rs +++ b/pallets/kensetsu/src/lib.rs @@ -177,7 +177,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { /// Resets liquidation flag. - fn on_initialize(_now: T::BlockNumber) -> Weight { + fn on_initialize(_now: BlockNumberFor) -> Weight { LiquidatedThisBlock::::put(false); T::DbWeight::get().writes(1) } @@ -185,7 +185,7 @@ pub mod pallet { /// Main off-chain worker procedure. /// /// Accrues fees and calls liquidations - fn offchain_worker(block_number: T::BlockNumber) { + fn offchain_worker(block_number: BlockNumberFor) { debug!( "Entering off-chain worker, block number is {:?}", block_number diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index ca5d3b40eb..605d6bf636 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -105,7 +105,6 @@ pub mod stage_correction { use common::AssetInfoProvider; use common::Balance; use core::marker::PhantomData; - use frame_support::dispatch::Weight; use frame_support::log::error; use frame_support::traits::OnRuntimeUpgrade; use sp_arithmetic::traits::Zero; diff --git a/pallets/multicollateral-bonding-curve-pool/Cargo.toml b/pallets/multicollateral-bonding-curve-pool/Cargo.toml index dc8b5628dd..179d8337c7 100644 --- a/pallets/multicollateral-bonding-curve-pool/Cargo.toml +++ b/pallets/multicollateral-bonding-curve-pool/Cargo.toml @@ -14,6 +14,7 @@ targets = ['x86_64-unknown-linux-gnu'] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/multicollateral-bonding-curve-pool/src/lib.rs b/pallets/multicollateral-bonding-curve-pool/src/lib.rs index 67734d9289..d0885a6690 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/lib.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/lib.rs @@ -223,7 +223,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(block_number: T::BlockNumber) -> Weight { + fn on_initialize(block_number: BlockNumberFor) -> Weight { if (block_number % RETRY_DISTRIBUTION_FREQUENCY.into()).is_zero() { let elems = Pallet::::free_reserves_distribution_routine().unwrap_or_default(); ::WeightInfo::on_initialize(elems) @@ -553,7 +553,6 @@ pub mod pallet { pub free_reserves_account_id: Option, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -568,7 +567,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { frame_system::Pallet::::inc_consumers(&self.incentives_account_id.as_ref().unwrap()) .unwrap(); @@ -843,7 +842,7 @@ impl Pallet { Ok(()) }) .map_err(|err| { - frame_support::log::error!("Reserves distribution failed, will try next time: {err:?}"); + log::error!("Reserves distribution failed, will try next time: {err:?}"); err }) } diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs index facb6c3102..c180e9b9d9 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs @@ -2,11 +2,8 @@ use crate::Pallet; use common::XST; use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; -use frame_support::{ - log::{error, info}, - pallet_prelude::StorageVersion, - traits::GetStorageVersion as _, -}; +use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; +use log::{error, info}; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs index 139917a7c0..02cae58612 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs @@ -6,11 +6,8 @@ use common::TradingPairSourceManager; use common::TBCD; use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; -use frame_support::{ - log::{error, info}, - pallet_prelude::StorageVersion, - traits::GetStorageVersion as _, -}; +use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; +use log::{error, info}; use sp_runtime::traits::Zero; #[cfg(feature = "try-runtime")] diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs index bc8c073134..2366a57b0f 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs @@ -5,11 +5,8 @@ use crate::Pallet; use codec::{Decode, Encode}; use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; -use frame_support::{ - log::{error, info}, - pallet_prelude::StorageVersion, - traits::GetStorageVersion as _, -}; +use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; +use log::{error, info}; #[cfg(feature = "try-runtime")] use sp_std::prelude::Vec; diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index 0e082241ad..9dfc9d153e 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -284,7 +284,7 @@ pub mod pallet { pub type ExpirationsAgenda = StorageMap< _, Identity, - T::BlockNumber, + BlockNumberFor, BoundedVec<(OrderBookId, T::DEXId>, T::OrderId), T::MaxExpiringOrdersPerBlock>, ValueQuery, >; @@ -305,7 +305,7 @@ pub mod pallet { /// so they might be operated later. #[pallet::storage] #[pallet::getter(fn incomplete_expirations_since)] - pub type IncompleteExpirationsSince = StorageValue<_, T::BlockNumber>; + pub type IncompleteExpirationsSince = StorageValue<_, BlockNumberFor>; #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] @@ -518,7 +518,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { /// Perform scheduled expirations - fn on_initialize(current_block: T::BlockNumber) -> Weight { + fn on_initialize(current_block: BlockNumberFor) -> Weight { let mut expiration_weight_counter = WeightMeter::from_limit(T::MaxExpirationWeightPerBlock::get()); Self::service_expiration(current_block, &mut expiration_weight_counter); diff --git a/pallets/order-book/src/scheduler.rs b/pallets/order-book/src/scheduler.rs index 00f1a4dfe4..f8fb0c6ee1 100644 --- a/pallets/order-book/src/scheduler.rs +++ b/pallets/order-book/src/scheduler.rs @@ -112,7 +112,7 @@ impl Pallet { /// need to be retried when more weight is available. pub fn service_expiration_block( data_layer: &mut impl DataLayer, - block: T::BlockNumber, + block: BlockNumberFor, weight: &mut WeightMeter, ) -> bool { if !weight.check_accrue(::WeightInfo::service_expiration_block_base()) { @@ -172,14 +172,14 @@ impl Pallet { impl ExpirationScheduler< - T::BlockNumber, + BlockNumberFor, OrderBookId, T::DEXId>, T::DEXId, T::OrderId, DispatchError, > for Pallet { - fn service_expiration(current_block: T::BlockNumber, weight: &mut WeightMeter) { + fn service_expiration(current_block: BlockNumberFor, weight: &mut WeightMeter) { if !weight.check_accrue(::WeightInfo::service_expiration_base()) { return; } @@ -203,7 +203,7 @@ impl } fn schedule_expiration( - when: T::BlockNumber, + when: BlockNumberFor, order_book_id: OrderBookId, T::DEXId>, order_id: T::OrderId, ) -> Result<(), DispatchError> { @@ -215,7 +215,7 @@ impl } fn unschedule_expiration( - when: T::BlockNumber, + when: BlockNumberFor, order_book_id: OrderBookId, T::DEXId>, order_id: T::OrderId, ) -> Result<(), DispatchError> { diff --git a/pallets/order-book/src/test_utils/fill_tools.rs b/pallets/order-book/src/test_utils/fill_tools.rs index 8412247e8c..bbb25bc97f 100644 --- a/pallets/order-book/src/test_utils/fill_tools.rs +++ b/pallets/order-book/src/test_utils/fill_tools.rs @@ -417,9 +417,9 @@ fn fill_price_inner( price: OrderPrice, users: &mut Peekable>, lifespans: &mut Peekable>, - current_block: T::BlockNumber, + current_block: BlockNumberFor, total_payment: &mut Payment, - to_expire: &mut BTreeMap>, + to_expire: &mut BTreeMap, Vec>, ) { for _ in 0..settings.max_orders_per_price { let Some(user) = users.next() else { diff --git a/pallets/order-book/src/test_utils/print_tools.rs b/pallets/order-book/src/test_utils/print_tools.rs index 8e6b0605c1..674ff7ca29 100644 --- a/pallets/order-book/src/test_utils/print_tools.rs +++ b/pallets/order-book/src/test_utils/print_tools.rs @@ -134,9 +134,9 @@ pub fn pretty_print_order_book( fn print_block_expirations(block: u32) where - T::BlockNumber: From, + BlockNumberFor: From, { - let block = T::BlockNumber::from(block); + let block = BlockNumberFor::from(block); let expirations: BoundedVec< (OrderBookId, T::DEXId>, T::OrderId), T::MaxExpiringOrdersPerBlock, @@ -156,7 +156,7 @@ where /// ``` pub fn pretty_print_expirations(blocks: sp_std::ops::Range) where - T::BlockNumber: TryFrom, + BlockNumberFor: TryFrom, { println!("block |{:>148} | order id", "order book id"); for block in blocks { diff --git a/pallets/pool-xyk/Cargo.toml b/pallets/pool-xyk/Cargo.toml index 0770a26e81..c1abd95ecf 100644 --- a/pallets/pool-xyk/Cargo.toml +++ b/pallets/pool-xyk/Cargo.toml @@ -15,6 +15,7 @@ targets = ['x86_64-unknown-linux-gnu'] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/pool-xyk/src/lib.rs b/pallets/pool-xyk/src/lib.rs index 1f88fce783..785505fb9b 100644 --- a/pallets/pool-xyk/src/lib.rs +++ b/pallets/pool-xyk/src/lib.rs @@ -32,12 +32,13 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::storage::PrefixIterator; use frame_support::traits::Get; use frame_support::weights::Weight; use frame_support::{ensure, fail, Parameter}; use frame_system::ensure_signed; +use sp_runtime::DispatchError; use sp_std::vec::Vec; use common::alt::{DiscreteQuotation, SwapChunk}; diff --git a/pallets/pool-xyk/src/math.rs b/pallets/pool-xyk/src/math.rs index 87d4257622..09a26fe50a 100644 --- a/pallets/pool-xyk/src/math.rs +++ b/pallets/pool-xyk/src/math.rs @@ -28,8 +28,8 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use frame_support::dispatch::DispatchError; use frame_support::ensure; +use sp_runtime::DispatchError; use assets::AssetIdOf; use common::prelude::{Balance, Fixed, FixedWrapper}; diff --git a/pallets/pool-xyk/src/migrations/v1_1.rs b/pallets/pool-xyk/src/migrations/v1_1.rs index c36945c040..0bdd6835a7 100644 --- a/pallets/pool-xyk/src/migrations/v1_1.rs +++ b/pallets/pool-xyk/src/migrations/v1_1.rs @@ -1,5 +1,5 @@ use common::{generate_storage_instance, AssetInfoProvider}; -use frame_support::dispatch::Weight; +use frame_support::pallet_prelude::Weight; use frame_support::pallet_prelude::{StorageValue, ValueQuery}; use frame_support::traits::Get; use orml_tokens::{AccountData, Accounts}; diff --git a/pallets/pool-xyk/src/migrations/v1_2.rs b/pallets/pool-xyk/src/migrations/v1_2.rs index fbeb757a19..9faf8078ee 100644 --- a/pallets/pool-xyk/src/migrations/v1_2.rs +++ b/pallets/pool-xyk/src/migrations/v1_2.rs @@ -1,4 +1,4 @@ -use frame_support::dispatch::Weight; +use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; use crate::{AccountPools, Config, PoolProviders, Properties}; diff --git a/pallets/pool-xyk/src/migrations/v2.rs b/pallets/pool-xyk/src/migrations/v2.rs index df228add28..fbfa039d8c 100644 --- a/pallets/pool-xyk/src/migrations/v2.rs +++ b/pallets/pool-xyk/src/migrations/v2.rs @@ -1,5 +1,5 @@ use common::generate_storage_instance; -use frame_support::dispatch::Weight; +use frame_support::pallet_prelude::Weight; use frame_support::pallet_prelude::{StorageMap, StorageVersion, ValueQuery}; use frame_support::traits::Get; use frame_support::Identity; diff --git a/pallets/pool-xyk/src/migrations/v3.rs b/pallets/pool-xyk/src/migrations/v3.rs index e0f3cd90e4..1f5aefb873 100644 --- a/pallets/pool-xyk/src/migrations/v3.rs +++ b/pallets/pool-xyk/src/migrations/v3.rs @@ -30,13 +30,11 @@ use crate::pallet::{Config, Pallet}; use common::{Balance, EnabledSourcesManager, ToFeeAccount}; +use frame_support::pallet_prelude::Weight; use frame_support::pallet_prelude::{Get, StorageVersion}; use frame_support::traits::OnRuntimeUpgrade; use frame_support::weights::WeightMeter; -use frame_support::{ - log::{error, info}, - weights::Weight, -}; +use log::{error, info}; use sp_runtime::DispatchResult; use sp_std::prelude::Vec; @@ -216,7 +214,8 @@ where L: Get>, { fn on_runtime_upgrade() -> Weight { - let mut weight_meter = WeightMeter::max_limit(); + // new() returns max limit + let mut weight_meter = WeightMeter::new(); if let Err(err) = frame_support::storage::with_storage_layer(|| Self::migrate(&mut weight_meter)) @@ -225,7 +224,7 @@ where } else { info!("Successfully migrated PoolXYK to v3"); }; - weight_meter.consumed + weight_meter.consumed() } #[cfg(feature = "try-runtime")] diff --git a/pallets/pool-xyk/src/utils.rs b/pallets/pool-xyk/src/utils.rs index ee5e4c50aa..5976a057ce 100644 --- a/pallets/pool-xyk/src/utils.rs +++ b/pallets/pool-xyk/src/utils.rs @@ -28,10 +28,6 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use frame_support::dispatch::{DispatchError, DispatchResult}; -use frame_support::{ensure, fail}; -use orml_traits::GetByKey; - use crate::aliases::{AssetIdOf, TechAccountIdOf, TechAssetIdOf}; use crate::bounds::*; use crate::{Config, Error, Pallet, PoolProviders, TotalIssuances}; @@ -39,6 +35,10 @@ use common::prelude::{Balance, SwapAmount}; use common::{ AccountIdOf, DexInfoProvider, ToFeeAccount, ToXykTechUnitFromDEXAndTradingPair, TradingPair, }; +use frame_support::dispatch::DispatchResult; +use frame_support::{ensure, fail}; +use orml_traits::GetByKey; +use sp_runtime::DispatchError; impl Pallet { pub fn decide_is_fee_from_destination( diff --git a/pallets/price-tools/src/lib.rs b/pallets/price-tools/src/lib.rs index f4277fdd6a..a0d7b86e11 100644 --- a/pallets/price-tools/src/lib.rs +++ b/pallets/price-tools/src/lib.rs @@ -58,9 +58,10 @@ use common::{ balance, fixed_const, fixed_wrapper, DEXId, LiquidityProxyTrait, LiquiditySourceFilter, OnPoolReservesChanged, PriceVariant, XOR, }; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::weights::Weight; use frame_support::{ensure, fail}; +use sp_runtime::DispatchError; use sp_std::collections::vec_deque::VecDeque; use sp_std::convert::TryInto; @@ -159,7 +160,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(_block_num: T::BlockNumber) -> Weight { + fn on_initialize(_block_num: BlockNumberFor) -> Weight { let (n_b, m_b) = Pallet::::average_prices_calculation_routine(PriceVariant::Buy); let (n_s, m_s) = Pallet::::average_prices_calculation_routine(PriceVariant::Sell); ::WeightInfo::on_initialize(n_b + n_s, m_b + m_s) diff --git a/pallets/price-tools/src/migration.rs b/pallets/price-tools/src/migration.rs index 86b99a36f2..3b2fbc0d1d 100644 --- a/pallets/price-tools/src/migration.rs +++ b/pallets/price-tools/src/migration.rs @@ -1,4 +1,4 @@ -use frame_support::dispatch::GetStorageVersion; +use frame_support::pallet_prelude::GetStorageVersion; use frame_support::traits::StorageVersion; use crate::PriceInfos; diff --git a/pallets/pswap-distribution/src/lib.rs b/pallets/pswap-distribution/src/lib.rs index f3448ccf4d..1331f8d6b5 100644 --- a/pallets/pswap-distribution/src/lib.rs +++ b/pallets/pswap-distribution/src/lib.rs @@ -40,10 +40,12 @@ use common::{ OnPoolCreated, OnPswapBurned, PswapRemintInfo, XykPool, }; use core::convert::TryInto; -use frame_support::dispatch::{DispatchResult, DispatchResultWithPostInfo, Weight}; +use frame_support::dispatch::{DispatchResult, DispatchResultWithPostInfo}; +use frame_support::pallet_prelude::{DispatchError, Weight}; use frame_support::traits::Get; use frame_support::{ensure, fail}; use frame_system::ensure_signed; +use frame_system::pallet_prelude::BlockNumberFor; use sp_arithmetic::traits::{Saturating, Zero}; pub mod weights; @@ -93,7 +95,7 @@ impl Pallet { fees_account_id: T::AccountId, dex_id: T::DEXId, pool_account: AccountIdOf, - frequency: Option, + frequency: Option>, ) -> DispatchResult { ensure!( !Self::is_subscribed(&fees_account_id), @@ -362,7 +364,9 @@ impl Pallet { /// Distributes incentives to all subscribed pools /// /// - `block_num`: The block number of the current chain head - pub fn incentive_distribution_routine(block_num: T::BlockNumber) -> DistributionWeightParams { + pub fn incentive_distribution_routine( + block_num: BlockNumberFor, + ) -> DistributionWeightParams { let tech_account_id = T::GetTechnicalAccountId::get(); let mut weight_params = DistributionWeightParams::default(); @@ -412,7 +416,7 @@ impl Pallet { } } - pub fn burn_rate_update_routine(block_num: T::BlockNumber) { + pub fn burn_rate_update_routine(block_num: BlockNumberFor) { if (block_num % T::GetBurnUpdateFrequency::get()).is_zero() { Self::update_burn_rate(); } @@ -440,6 +444,7 @@ pub mod pallet { use super::*; use common::{AccountIdOf, DEXInfo, XykPool}; use frame_support::pallet_prelude::*; + use frame_support::sp_runtime; use frame_support::sp_runtime::Percent; use frame_support::traits::StorageVersion; use frame_system::pallet_prelude::*; @@ -460,8 +465,8 @@ pub mod pallet { + Clone + Zero; type GetTechnicalAccountId: Get; - type GetDefaultSubscriptionFrequency: Get; - type GetBurnUpdateFrequency: Get; + type GetDefaultSubscriptionFrequency: Get>; + type GetBurnUpdateFrequency: Get>; type EnsureDEXManager: EnsureDEXManager; type OnPswapBurnedAggregator: OnPswapBurned; type WeightInfo: WeightInfo; @@ -484,7 +489,7 @@ pub mod pallet { impl Hooks> for Pallet { /// Perform exchange and distribution routines for all substribed accounts /// with respect to thir configured frequencies. - fn on_initialize(block_num: T::BlockNumber) -> Weight { + fn on_initialize(block_num: BlockNumberFor) -> Weight { let weight_params = Self::incentive_distribution_routine(block_num); Self::burn_rate_update_routine(block_num); ::WeightInfo::on_initialize( @@ -575,7 +580,12 @@ pub mod pallet { _, Blake2_128Concat, T::AccountId, - (T::DEXId, AccountIdOf, T::BlockNumber, T::BlockNumber), + ( + T::DEXId, + AccountIdOf, + BlockNumberFor, + BlockNumberFor, + ), >; /// Amount of incentive tokens to be burned on each distribution. @@ -615,7 +625,12 @@ pub mod pallet { /// (Fees Account, (DEX Id, Pool Account Id, Distribution Frequency, Block Offset)) pub subscribed_accounts: Vec<( T::AccountId, - (DexIdOf, AccountIdOf, T::BlockNumber, T::BlockNumber), + ( + DexIdOf, + AccountIdOf, + BlockNumberFor, + BlockNumberFor, + ), )>, /// (Initial Burn Rate, Burn Rate Increase Delta, Burn Rate Max) pub burn_info: (Fixed, Fixed, Fixed), @@ -632,7 +647,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.subscribed_accounts.iter().for_each( |(fees_account, (dex_id, pool_account, freq, block_offset))| { diff --git a/pallets/qa-tools/src/pallet_tools/assets.rs b/pallets/qa-tools/src/pallet_tools/assets.rs index 6eb9180c02..20e52b3620 100644 --- a/pallets/qa-tools/src/pallet_tools/assets.rs +++ b/pallets/qa-tools/src/pallet_tools/assets.rs @@ -31,7 +31,7 @@ use crate::Config; use assets::AssetIdOf; use common::{AccountIdOf, FixedInner}; -use frame_support::dispatch::DispatchError; +use sp_runtime::DispatchError; use sp_std::cmp::Ordering; #[derive(Debug, Eq, PartialEq)] diff --git a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs index 4879682f73..5060785a03 100644 --- a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs +++ b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs @@ -36,7 +36,7 @@ pub mod liquidity_sources { use crate::Config; use assets::AssetIdOf; use common::DexIdOf; - use frame_support::dispatch::{DispatchError, DispatchResult}; + use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_system::pallet_prelude::BlockNumberFor; use order_book::{MomentOf, OrderBookId}; diff --git a/pallets/qa-tools/src/pallet_tools/mcbc.rs b/pallets/qa-tools/src/pallet_tools/mcbc.rs index 0421938460..9b2298b6b4 100644 --- a/pallets/qa-tools/src/pallet_tools/mcbc.rs +++ b/pallets/qa-tools/src/pallet_tools/mcbc.rs @@ -34,7 +34,7 @@ use assets::AssetIdOf; use codec::{Decode, Encode}; use common::prelude::FixedWrapper; use common::{AssetInfoProvider, Balance, DEXId, TradingPairSourceManager, TBCD}; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_support::traits::Get; use pallet_tools::price_tools::AssetPrices; diff --git a/pallets/qa-tools/src/pallet_tools/price_tools.rs b/pallets/qa-tools/src/pallet_tools/price_tools.rs index 6eee8b1155..bb7c789930 100644 --- a/pallets/qa-tools/src/pallet_tools/price_tools.rs +++ b/pallets/qa-tools/src/pallet_tools/price_tools.rs @@ -33,7 +33,7 @@ use assets::AssetIdOf; use codec::{Decode, Encode}; use common::prelude::BalanceUnit; use common::{balance, Balance, PriceToolsProvider, PriceVariant, XOR}; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use sp_arithmetic::traits::{CheckedDiv, One}; diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index 5b72bacf42..c4f4801376 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -40,11 +40,13 @@ #![allow(clippy::all)] use codec::{Decode, Encode}; -use frame_support::dispatch::DispatchErrorWithPostInfo; use frame_support::storage::StorageMap as StorageMapTrait; +use frame_system::pallet_prelude::BlockNumberFor; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_runtime::traits::{UniqueSaturatedInto, Zero}; +use sp_runtime::DispatchError; use sp_runtime::{Perbill, Percent}; use sp_std::prelude::*; @@ -134,7 +136,7 @@ impl Pallet { /// Used in `on_initialize` hook. /// /// - `elapsed`: elapsed time in blocks - fn current_vesting_ratio(elapsed: T::BlockNumber) -> Perbill { + fn current_vesting_ratio(elapsed: BlockNumberFor) -> Perbill { let max_percentage = T::MAX_VESTING_RATIO.deconstruct() as u32; if elapsed >= T::TIME_TO_SATURATION { Perbill::from_percent(max_percentage) @@ -165,7 +167,7 @@ impl Pallet { reserves_acc: &T::TechAccountId, claimed: &mut bool, is_eligible: &mut bool, - ) -> Result<(), DispatchErrorWithPostInfo> { + ) -> Result<(), DispatchError> { if let Ok(balance) = M::try_get(eth_address) { *is_eligible = true; if balance > 0 { @@ -195,7 +197,7 @@ impl Pallet { reserves_acc: &T::TechAccountId, claimed: &mut bool, is_eligible: &mut bool, - ) -> Result<(), DispatchErrorWithPostInfo> { + ) -> Result<(), DispatchError> { if let Ok(RewardInfo { claimable: amount, total, @@ -238,7 +240,7 @@ impl Pallet { reserves_acc: &T::TechAccountId, claimed: &mut bool, is_eligible: &mut bool, - ) -> Result<(), DispatchErrorWithPostInfo> { + ) -> Result<(), DispatchError> { if let Ok(rewards) = UmiNftReceivers::::try_get(eth_address) { *is_eligible = true; let mut updated_balances = rewards.clone(); @@ -273,7 +275,7 @@ impl Pallet { /// Used in `claim` extrinsic. /// /// - `receiver`: The ETH address added to the list of UMI NFT receivers - fn add_umi_nft_receiver(receiver: &EthAddress) -> Result<(), DispatchErrorWithPostInfo> { + fn add_umi_nft_receiver(receiver: &EthAddress) -> Result<(), DispatchError> { if !UmiNftClaimed::::get(receiver) { UmiNftReceivers::::insert(receiver, vec![1; UmiNfts::::get().len()]); } @@ -331,7 +333,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(now: T::BlockNumber) -> Weight { + fn on_initialize(now: BlockNumberFor) -> Weight { let mut consumed_weight: Weight = Weight::zero(); if (now % T::BLOCKS_PER_DAY).is_zero() { @@ -557,7 +559,6 @@ pub mod pallet { pub umi_nfts: Vec, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -571,7 +572,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { ReservesAcc::::put(&self.reserves_account_id); diff --git a/pallets/vested-rewards/Cargo.toml b/pallets/vested-rewards/Cargo.toml index 901595ade5..94efc2fef2 100644 --- a/pallets/vested-rewards/Cargo.toml +++ b/pallets/vested-rewards/Cargo.toml @@ -15,6 +15,7 @@ assets = { path = "../assets", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/vested-rewards/src/lib.rs b/pallets/vested-rewards/src/lib.rs index 73261df947..b4fc7c2047 100644 --- a/pallets/vested-rewards/src/lib.rs +++ b/pallets/vested-rewards/src/lib.rs @@ -43,12 +43,14 @@ use common::FromGenericPair; use common::{ balance, AssetInfoProvider, OnPswapBurned, PswapRemintInfo, RewardReason, Vesting, PSWAP, }; -use frame_support::dispatch::{DispatchError, DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_support::fail; use frame_support::traits::{Get, IsType}; +use frame_system::pallet_prelude::BlockNumberFor; use serde::{Deserialize, Serialize}; use sp_runtime::traits::{CheckedSub, Zero}; +use sp_runtime::DispatchError; use sp_runtime::{Permill, Perquintill}; use sp_std::collections::btree_map::BTreeMap; use sp_std::convert::TryInto; @@ -308,8 +310,8 @@ impl Pallet { /// Calculate amount of tokens to send to user pub fn calculate_claimable_crowdloan_reward( - now: &T::BlockNumber, - info: &CrowdloanInfo, + now: &BlockNumberFor, + info: &CrowdloanInfo, T::AccountId>, total_rewards: Balance, contribution: Balance, rewarded: Balance, @@ -341,8 +343,8 @@ impl Pallet { /// Returns total amount of tokens sent to user for this crowdloan pub fn claim_crowdloan_reward_for_asset( user: &T::AccountId, - now: &T::BlockNumber, - info: &CrowdloanInfo, + now: &BlockNumberFor, + info: &CrowdloanInfo, T::AccountId>, asset_id: &T::AssetId, total_rewards: Balance, contribution: Balance, @@ -407,8 +409,8 @@ impl Pallet { pub fn register_crowdloan_unchecked( tag: CrowdloanTag, - start_block: T::BlockNumber, - length: T::BlockNumber, + start_block: BlockNumberFor, + length: BlockNumberFor, rewards: Vec<(T::AssetId, Balance)>, contributions: Vec<(T::AccountId, Balance)>, ) -> DispatchResult { @@ -583,8 +585,8 @@ pub mod pallet { pub fn register_crowdloan( origin: OriginFor, tag: CrowdloanTag, - start_block: T::BlockNumber, - length: T::BlockNumber, + start_block: BlockNumberFor, + length: BlockNumberFor, rewards: Vec<(T::AssetId, Balance)>, contributions: Vec<(T::AccountId, Balance)>, ) -> DispatchResultWithPostInfo { @@ -670,7 +672,7 @@ pub mod pallet { _, Blake2_128Concat, CrowdloanTag, - CrowdloanInfo, + CrowdloanInfo, T::AccountId>, OptionQuery, >; diff --git a/pallets/vested-rewards/src/migrations.rs b/pallets/vested-rewards/src/migrations.rs index f68129996c..f8f4819c7f 100644 --- a/pallets/vested-rewards/src/migrations.rs +++ b/pallets/vested-rewards/src/migrations.rs @@ -5,10 +5,10 @@ use codec::{Decode, Encode}; use common::balance; use common::{AssetInfoProvider, FromGenericPair}; use common::{Balance, Fixed, PSWAP, VAL, XSTUSD}; -use frame_support::dispatch::GetStorageVersion; -use frame_support::log; +use frame_support::pallet_prelude::GetStorageVersion; use frame_support::traits::{Get, OnRuntimeUpgrade, StorageVersion}; use frame_support::weights::Weight; +use frame_system::pallet_prelude::BlockNumberFor; use serde::{Deserialize, Serialize}; use sp_io::MultiRemovalResults; use sp_runtime::traits::Zero; @@ -18,6 +18,7 @@ pub mod v4 { use super::*; use common::CrowdloanTag; use frame_support::pallet_prelude::*; + use frame_system::pallet_prelude::BlockNumberFor; use sp_runtime::traits::UniqueSaturatedInto; /// A vested reward for crowdloan. @@ -78,7 +79,7 @@ pub mod v4 { ::AccountId, Blake2_128Concat, ::AssetId, - ::BlockNumber, + BlockNumberFor, ValueQuery, >; diff --git a/pallets/xst/Cargo.toml b/pallets/xst/Cargo.toml index 9cafa1bb74..bfc51e5e54 100644 --- a/pallets/xst/Cargo.toml +++ b/pallets/xst/Cargo.toml @@ -15,6 +15,7 @@ rustdoc-args = ["--html-in-header", "misc/docs-katex-header.html"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/xst/src/lib.rs b/pallets/xst/src/lib.rs index 71a4f14f49..af202903f7 100644 --- a/pallets/xst/src/lib.rs +++ b/pallets/xst/src/lib.rs @@ -63,9 +63,10 @@ use common::{ use frame_support::pallet_prelude::DispatchResult; use frame_support::traits::Get; use frame_support::weights::Weight; -use frame_support::{ensure, fail, RuntimeDebug}; +use frame_support::{ensure, fail}; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_runtime::traits::Zero; use sp_runtime::DispatchError; use sp_std::collections::btree_set::BTreeSet; @@ -421,7 +422,6 @@ pub mod pallet { pub initial_synthetic_assets: Vec<(T::AssetId, T::Symbol, Fixed)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -437,7 +437,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { ReferenceAssetId::::put(&self.reference_asset_id); diff --git a/pallets/xst/src/migrations/mod.rs b/pallets/xst/src/migrations/mod.rs index ba5231bb33..1e8e84dcba 100644 --- a/pallets/xst/src/migrations/mod.rs +++ b/pallets/xst/src/migrations/mod.rs @@ -32,7 +32,8 @@ use super::pallet::{Config, Pallet}; use common::{fixed, Fixed, XSTUSD}; use frame_support::pallet_prelude::{Get, StorageVersion, ValueQuery}; use frame_support::traits::OnRuntimeUpgrade; -use frame_support::{log::info, traits::GetStorageVersion as _, weights::Weight}; +use frame_support::{traits::GetStorageVersion as _, weights::Weight}; +use log::info; use sp_std::collections::btree_set::BTreeSet; #[cfg(feature = "try-runtime")] From 789e1bdee1139a8c51d5388e7b7c5369774ef594 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 14 May 2024 22:52:22 -0300 Subject: [PATCH 006/110] some pallets compile --- Cargo.lock | 104 +++++++++--------- pallets/apollo-platform/src/lib.rs | 2 +- pallets/assets/src/migration/v1_3_1.rs | 2 +- pallets/bridge-proxy/src/lib.rs | 2 +- pallets/bridge-proxy/src/migrations.rs | 12 +- pallets/eth-bridge/src/lib.rs | 2 +- pallets/farming/Cargo.toml | 1 + pallets/farming/src/lib.rs | 10 +- pallets/farming/src/migrations.rs | 14 +-- pallets/farming/src/tests.rs | 2 +- pallets/iroha-migration/src/lib.rs | 6 +- pallets/kensetsu/src/lib.rs | 4 +- pallets/kensetsu/src/migrations.rs | 4 +- pallets/order-book/src/lib.rs | 2 +- .../order-book/src/test_utils/fill_tools.rs | 2 +- runtime/src/impls.rs | 2 +- runtime/src/lib.rs | 2 +- 17 files changed, 85 insertions(+), 88 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 04df57a614..68d233b693 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5494,58 +5494,6 @@ dependencies = [ "syn 2.0.61", ] -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" - -[[patch.unused]] -name = "dispatch" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" - -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" - [[patch.unused]] name = "frame-election-provider-support" version = "4.0.0-dev" @@ -5977,3 +5925,55 @@ version = "5.0.0-dev" [[patch.unused]] name = "try-runtime-cli" version = "0.10.0-dev" + +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" + +[[patch.unused]] +name = "dispatch" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" + +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-channel" +version = "0.1.1" diff --git a/pallets/apollo-platform/src/lib.rs b/pallets/apollo-platform/src/lib.rs index 6c3a585fec..ead0c224d8 100644 --- a/pallets/apollo-platform/src/lib.rs +++ b/pallets/apollo-platform/src/lib.rs @@ -61,7 +61,7 @@ pub mod pallet { use common::prelude::{Balance, FixedWrapper, SwapAmount}; use common::{balance, DEXId, LiquiditySourceFilter, PriceVariant, CERES_ASSET_ID, DAI}; use common::{LiquidityProxyTrait, PriceToolsProvider, APOLLO_ASSET_ID}; - use frame_support::log::{debug, warn}; + use log::{debug, warn}; use frame_support::pallet_prelude::{ValueQuery, *}; use frame_support::sp_runtime::traits::AccountIdConversion; use frame_support::PalletId; diff --git a/pallets/assets/src/migration/v1_3_1.rs b/pallets/assets/src/migration/v1_3_1.rs index b9ca2293b1..8ba2c17f03 100644 --- a/pallets/assets/src/migration/v1_3_1.rs +++ b/pallets/assets/src/migration/v1_3_1.rs @@ -31,7 +31,7 @@ use common::{ generate_storage_instance, AssetName, AssetSymbol, BalancePrecision, ContentSource, Description, }; -use frame_support::log::error; +use log::error; use frame_support::pallet_prelude::{Get, OptionQuery, StorageMap}; use frame_support::Twox64Concat; diff --git a/pallets/bridge-proxy/src/lib.rs b/pallets/bridge-proxy/src/lib.rs index 5b76bbee0d..1ad30d8c3f 100644 --- a/pallets/bridge-proxy/src/lib.rs +++ b/pallets/bridge-proxy/src/lib.rs @@ -26,7 +26,7 @@ use common::{prelude::FixedWrapper, Balance}; use common::{AssetInfoProvider, ReferencePriceProvider}; use frame_support::dispatch::{DispatchResult, RuntimeDebug}; use frame_support::ensure; -use frame_support::log; +use log; use scale_info::TypeInfo; use sp_runtime::traits::Convert; use sp_runtime::DispatchError; diff --git a/pallets/bridge-proxy/src/migrations.rs b/pallets/bridge-proxy/src/migrations.rs index fc6a0acb6b..82fdadab36 100644 --- a/pallets/bridge-proxy/src/migrations.rs +++ b/pallets/bridge-proxy/src/migrations.rs @@ -18,14 +18,14 @@ pub mod init { { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(0) { - frame_support::log::error!( + log::error!( "Expected storage version 0, found {:?}, skipping migration", StorageVersion::get::>() ); return frame_support::weights::Weight::zero(); } - frame_support::log::info!("Migrating PswapDistribution to v2"); + log::info!("Migrating PswapDistribution to v2"); let assets = ListAssets::get(); let network_id = NetworkId::get(); @@ -33,7 +33,7 @@ pub mod init { for (asset_id, locked) in assets { reads_writes += 1; crate::LockedAssets::::insert(network_id, asset_id, locked); - frame_support::log::debug!("Add locked asset {asset_id:?}: {locked:?}"); + log::debug!("Add locked asset {asset_id:?}: {locked:?}"); } StorageVersion::new(1).put::>(); @@ -111,14 +111,14 @@ pub mod generic_account_v2 { impl OnRuntimeUpgrade for LiberlandGenericAccount { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() >= StorageVersion::new(2) { - frame_support::log::error!( + log::error!( "Expected storage version less than 2, found {:?}, skipping migration", StorageVersion::get::>() ); return frame_support::weights::Weight::zero(); } - frame_support::log::info!("Migrating BridgeProxy to v2"); + log::info!("Migrating BridgeProxy to v2"); let mut reads_writes = 0; @@ -129,7 +129,7 @@ pub mod generic_account_v2 { }, ); - frame_support::log::info!( + log::info!( "BridgeProxy Migration to v2: {:?} BridgeRequests translated", reads_writes ); diff --git a/pallets/eth-bridge/src/lib.rs b/pallets/eth-bridge/src/lib.rs index d1922adfd9..88f8baf7e5 100644 --- a/pallets/eth-bridge/src/lib.rs +++ b/pallets/eth-bridge/src/lib.rs @@ -332,7 +332,7 @@ pub mod pallet { use codec::Codec; use common::prelude::constants::EXTRINSIC_FIXED_WEIGHT; use common::weights::{err_pays_no, pays_no, pays_no_with_maybe_weight}; - use frame_support::log; + use log; use frame_support::pallet_prelude::*; use frame_support::traits::{GetCallMetadata, StorageVersion}; use frame_support::transactional; diff --git a/pallets/farming/Cargo.toml b/pallets/farming/Cargo.toml index 32210c377f..8057166f2d 100644 --- a/pallets/farming/Cargo.toml +++ b/pallets/farming/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/farming/src/lib.rs b/pallets/farming/src/lib.rs index fb7a123e3e..fac03c3db5 100644 --- a/pallets/farming/src/lib.rs +++ b/pallets/farming/src/lib.rs @@ -108,7 +108,7 @@ impl Pallet { QuoteAmount::with_desired_output(balance!(1)), false, )?; - frame_support::log::debug!("{outcome:?}"); + log::debug!("{outcome:?}"); Ok(FixedWrapper::from(outcome.amount)) } } @@ -117,21 +117,21 @@ impl Pallet { let trading_pair = match pool_xyk::Pallet::::get_pool_trading_pair(&pool) { Ok(trading_pair) => trading_pair, Err(err) => { - frame_support::log::warn!("Failed to get trading pair for {pool:?} pool: {err:?}",); + log::warn!("Failed to get trading pair for {pool:?} pool: {err:?}",); return 0; } }; let multiplier = match Self::get_multiplier(&trading_pair.base_asset_id) { Ok(multiplier) => multiplier, Err(err) => { - frame_support::log::warn!( + log::warn!( "Failed to get farming rewards multiplier for {:?} asset: {err:?}", trading_pair.base_asset_id ); return 0; } }; - frame_support::log::debug!("Multiplier for TP {trading_pair:?}: {multiplier:?}"); + log::debug!("Multiplier for TP {trading_pair:?}: {multiplier:?}"); let mut read_count = 0; let old_farmers = PoolFarmers::::get(&pool); let mut new_farmers = Vec::new(); @@ -341,7 +341,7 @@ pub mod pallet { const BLOCKS_PER_DAY: BlockNumberFor; type RuntimeCall: Parameter; type SchedulerOriginCaller: From>; - type Scheduler: Anon::RuntimeCall, Self::SchedulerOriginCaller>; + type Scheduler: Anon, ::RuntimeCall, Self::SchedulerOriginCaller>; type RewardDoublingAssets: Get>>; type TradingPairSourceManager: TradingPairSourceManager; /// Weight information for extrinsics in this pallet. diff --git a/pallets/farming/src/migrations.rs b/pallets/farming/src/migrations.rs index c3befb72be..4bae04167e 100644 --- a/pallets/farming/src/migrations.rs +++ b/pallets/farming/src/migrations.rs @@ -47,7 +47,7 @@ pub mod v2 { { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(1) { - frame_support::log::error!( + log::error!( "Expected storage version 1, found {:?}, skipping migration", StorageVersion::get::>() ); @@ -56,14 +56,10 @@ pub mod v2 { for (pool_account, block) in pools { Pools::::mutate(block % T::REFRESH_FREQUENCY, |pools| { if !pools.contains(&pool_account) { - frame_support::log::info!( - "Add pool {pool_account:?} at block {block:?} to farming" - ); + log::info!("Add pool {pool_account:?} at block {block:?} to farming"); pools.push(pool_account); } else { - frame_support::log::info!( - "Skip {pool_account:?} at block {block:?}, already exist" - ); + log::info!("Skip {pool_account:?} at block {block:?}, already exist"); } }); } @@ -92,8 +88,8 @@ pub mod v2 { } pub mod v3 { - use frame_support::log::info; use frame_support::traits::StorageVersion; + use log::info; use super::*; @@ -107,7 +103,7 @@ pub mod v3 { { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(2) { - frame_support::log::error!( + log::error!( "Expected storage version 2, found {:?}, skipping migration", StorageVersion::get::>() ); diff --git a/pallets/farming/src/tests.rs b/pallets/farming/src/tests.rs index fa85ec5f02..16a3f8db16 100644 --- a/pallets/farming/src/tests.rs +++ b/pallets/farming/src/tests.rs @@ -31,9 +31,9 @@ use frame_support::{assert_noop, assert_ok}; use common::{balance, RewardReason, DOT, PSWAP, VAL, XOR, XSTUSD}; -use frame_support::log::debug; use frame_system; use frame_system::RawOrigin; +use log::debug; use pool_xyk::Properties; use sp_runtime::traits::BadOrigin; use vested_rewards::Rewards; diff --git a/pallets/iroha-migration/src/lib.rs b/pallets/iroha-migration/src/lib.rs index c96b63ef5a..5fd0b1ddc9 100644 --- a/pallets/iroha-migration/src/lib.rs +++ b/pallets/iroha-migration/src/lib.rs @@ -59,7 +59,7 @@ use common::{FromGenericPair, VAL}; use ed25519_dalek_iroha::{Digest, PublicKey, Signature, SIGNATURE_LENGTH}; use frame_support::codec::{Decode, Encode}; use frame_support::dispatch::{DispatchError, Pays}; -use frame_support::log::error; +use log::error; use frame_support::sp_runtime::traits::Zero; use frame_support::weights::Weight; use frame_support::{ensure, RuntimeDebug}; @@ -384,8 +384,8 @@ pub mod pallet { let who = ensure_signed(origin)?; let iroha_public_key = iroha_public_key.to_lowercase(); let iroha_signature = iroha_signature.to_lowercase(); - frame_support::log::error!("faucet: iroha_public_key: {}", iroha_public_key); - frame_support::log::error!("faucet: iroha_signature: {}", iroha_signature); + log::error!("faucet: iroha_public_key: {}", iroha_public_key); + log::error!("faucet: iroha_signature: {}", iroha_signature); Self::verify_signature(&iroha_address, &iroha_public_key, &iroha_signature)?; ensure!( !MigratedAccounts::::contains_key(&iroha_address), diff --git a/pallets/kensetsu/src/lib.rs b/pallets/kensetsu/src/lib.rs index ef782ea90f..cb9e6617e2 100644 --- a/pallets/kensetsu/src/lib.rs +++ b/pallets/kensetsu/src/lib.rs @@ -44,7 +44,7 @@ pub use pallet::*; use assets::AssetIdOf; use codec::{Decode, Encode, MaxEncodedLen}; use common::{balance, Balance}; -use frame_support::log::{debug, warn}; +use log::{debug, warn}; use scale_info::TypeInfo; use sp_arithmetic::{FixedU128, Perbill}; @@ -275,7 +275,7 @@ pub mod pallet { + SendTransactionTypes> { type RuntimeEvent: From> + IsType<::RuntimeEvent>; - type Randomness: Randomness, Self::BlockNumber>; + type Randomness: Randomness, BlockNumberFor>; type AssetInfoProvider: AssetInfoProvider< Self::AssetId, Self::AccountId, diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index 605d6bf636..fb06a62fe3 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -32,7 +32,7 @@ pub mod init { use crate::*; use common::{KEN, KUSD}; use core::marker::PhantomData; - use frame_support::log::error; + use log::error; use frame_support::pallet_prelude::Weight; use frame_support::traits::OnRuntimeUpgrade; use permissions::{Scope, BURN, MINT}; @@ -105,7 +105,7 @@ pub mod stage_correction { use common::AssetInfoProvider; use common::Balance; use core::marker::PhantomData; - use frame_support::log::error; + use log::error; use frame_support::traits::OnRuntimeUpgrade; use sp_arithmetic::traits::Zero; use sp_core::Get; diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index 9dfc9d153e..22b4869ba3 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -148,7 +148,7 @@ pub mod pallet { type Unlocker: CurrencyUnlocker; type Scheduler: AlignmentScheduler + ExpirationScheduler< - Self::BlockNumber, + BlockNumberFor, OrderBookId, Self::DEXId, Self::OrderId, diff --git a/pallets/order-book/src/test_utils/fill_tools.rs b/pallets/order-book/src/test_utils/fill_tools.rs index bbb25bc97f..f8311dc26d 100644 --- a/pallets/order-book/src/test_utils/fill_tools.rs +++ b/pallets/order-book/src/test_utils/fill_tools.rs @@ -39,7 +39,7 @@ use order_book_imported::{ use assets::AssetIdOf; use common::prelude::{Balance, BalanceUnit, Scalar}; use common::PriceVariant; -use frame_support::log::{debug, trace}; +use log::{debug, trace}; use frame_support::traits::{Get, Time}; use sp_runtime::traits::{CheckedMul, SaturatedConversion}; use sp_std::iter::Peekable; diff --git a/runtime/src/impls.rs b/runtime/src/impls.rs index ef1b8a2644..ae647fe519 100644 --- a/runtime/src/impls.rs +++ b/runtime/src/impls.rs @@ -270,7 +270,7 @@ impl Dispatchable for DispatchableSubstrateBridgeCall { self, origin: Self::RuntimeOrigin, ) -> sp_runtime::DispatchResultWithInfo { - frame_support::log::debug!("Dispatching SubstrateBridgeCall: {:?}", self.0); + log::debug!("Dispatching SubstrateBridgeCall: {:?}", self.0); match self.0 { bridge_types::substrate::BridgeCall::ParachainApp(msg) => { let call: parachain_bridge_app::Call = msg.into(); diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b61072aa87..c663da3d15 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1203,7 +1203,7 @@ where #[cfg_attr(not(feature = "std"), allow(unused_variables))] let raw_payload = SignedPayload::new(call, extra) .map_err(|e| { - frame_support::log::warn!("SignedPayload error: {:?}", e); + log::warn!("SignedPayload error: {:?}", e); }) .ok()?; From a21291888211756e2fd3b34ce80a08d02dd38056 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 14 May 2024 22:58:02 -0300 Subject: [PATCH 007/110] fix kensetsu --- Cargo.lock | 25 +++++++++++++++++++++++++ Cargo.toml | 6 +++--- pallets/kensetsu/Cargo.toml | 1 + pallets/kensetsu/src/migrations.rs | 5 +++-- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 68d233b693..57b53793cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2273,6 +2273,31 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "kensetsu" +version = "0.0.1" +dependencies = [ + "assets", + "common 0.1.0", + "frame-support", + "frame-system", + "hex-literal", + "log", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", +] + [[package]] name = "lazy_static" version = "1.4.0" diff --git a/Cargo.toml b/Cargo.toml index 22973a65b9..d317518dc5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -344,7 +344,7 @@ multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } [workspace] members = [ # "runtime", - # "common", + "common", # "pallets/apollo-platform", "pallets/assets", "pallets/ceres-governance-platform", @@ -378,8 +378,8 @@ members = [ # "pallets/bridge-proxy", # "pallets/bridge-proxy/rpc", # "pallets/bridge-proxy/runtime-api", - # "pallets/kensetsu", - # "pallets/band", + "pallets/kensetsu", + "pallets/band", # "pallets/qa-tools", # "node/", # "utils/parse", diff --git a/pallets/kensetsu/Cargo.toml b/pallets/kensetsu/Cargo.toml index c97b662688..fbfa4269b5 100644 --- a/pallets/kensetsu/Cargo.toml +++ b/pallets/kensetsu/Cargo.toml @@ -16,6 +16,7 @@ assets = { path = "../assets", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } common = { path = "../../common", default-features = false } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index fb06a62fe3..10ee592d2a 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -32,9 +32,9 @@ pub mod init { use crate::*; use common::{KEN, KUSD}; use core::marker::PhantomData; - use log::error; use frame_support::pallet_prelude::Weight; use frame_support::traits::OnRuntimeUpgrade; + use log::error; use permissions::{Scope, BURN, MINT}; use sp_core::Get; @@ -105,8 +105,9 @@ pub mod stage_correction { use common::AssetInfoProvider; use common::Balance; use core::marker::PhantomData; - use log::error; + use frame_support::pallet_prelude::Weight; use frame_support::traits::OnRuntimeUpgrade; + use log::error; use sp_arithmetic::traits::Zero; use sp_core::Get; use sp_runtime::DispatchResult; From a9e5030e03c7a304232013cac066f33cd09ed558 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 15 May 2024 23:55:34 -0300 Subject: [PATCH 008/110] update order book, liquidity proxy and qa tools --- Cargo.lock | 258 +++-- Cargo.toml | 8 +- node/chain_spec/Cargo.toml | 87 +- pallets/apollo-platform/Cargo.toml | 1 + pallets/apollo-platform/src/lib.rs | 2 +- pallets/liquidity-proxy/Cargo.toml | 6 +- pallets/liquidity-proxy/src/lib.rs | 3 +- .../src/liquidity_aggregator.rs | 2 +- pallets/order-book/Cargo.toml | 10 +- pallets/order-book/src/lib.rs | 28 +- pallets/order-book/src/order_book.rs | 16 +- pallets/order-book/src/scheduler.rs | 19 +- .../order-book/src/test_utils/fill_tools.rs | 8 +- .../order-book/src/test_utils/print_tools.rs | 2 +- pallets/qa-tools/Cargo.toml | 13 +- .../src/pallet_tools/liquidity_proxy.rs | 1 + pallets/qa-tools/src/pallet_tools/mcbc.rs | 1 + pallets/qa-tools/src/pallet_tools/pool_xyk.rs | 3 +- .../qa-tools/src/pallet_tools/price_tools.rs | 1 + pallets/qa-tools/src/pallet_tools/xst.rs | 5 +- pallets/qa-tools/src/tests/mcbc.rs | 9 +- pallets/qa-tools/src/tests/mod.rs | 3 +- runtime/Cargo.toml | 890 +++++++++--------- 23 files changed, 775 insertions(+), 601 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57b53793cb..70ee73143a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,6 +99,45 @@ version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" +[[package]] +name = "apollo-platform" +version = "1.3.1" +dependencies = [ + "apollo-platform", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "liquidity-proxy", + "log", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "vested-rewards", +] + [[package]] name = "approx" version = "0.5.1" @@ -2379,6 +2418,45 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +[[package]] +name = "liquidity-proxy" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "fallible-iterator 0.2.0", + "frame-support", + "frame-system", + "hex-literal", + "itertools", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "qa-tools", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "vested-rewards", +] + [[package]] name = "lock_api" version = "0.4.12" @@ -2767,6 +2845,31 @@ dependencies = [ "sp-std", ] +[[package]] +name = "order-book" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-tokens", + "pallet-balances", + "pallet-collective", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", +] + [[package]] name = "orml-currencies" version = "0.4.1-dev" @@ -2850,6 +2953,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-collective" +version = "4.0.0-dev" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-scheduler" version = "4.0.0-dev" @@ -3263,6 +3381,34 @@ dependencies = [ "technical", ] +[[package]] +name = "qa-tools" +version = "0.1.0" +dependencies = [ + "assets", + "band", + "common 0.1.0", + "frame-support", + "frame-system", + "multicollateral-bonding-curve-pool", + "oracle-proxy", + "order-book", + "pallet-balances", + "parity-scale-codec", + "pool-xyk", + "price-tools", + "rand 0.8.5", + "rand_chacha 0.3.1", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "xst", +] + [[package]] name = "quote" version = "1.0.36" @@ -5551,10 +5697,6 @@ version = "4.0.0-dev" name = "pallet-bags-list" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-collective" -version = "4.0.0-dev" - [[patch.unused]] name = "pallet-democracy" version = "4.0.0-dev" @@ -5735,6 +5877,58 @@ version = "5.0.0-dev" name = "try-runtime-cli" version = "0.10.0-dev" +[[patch.unused]] +name = "beefy-light-client" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-common" +version = "0.1.0" + +[[patch.unused]] +name = "bridge-data-signer" +version = "0.1.1" + +[[patch.unused]] +name = "dispatch" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider" +version = "0.1.1" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-runtime-api" +version = "0.1.0" + +[[patch.unused]] +name = "multisig-verifier" +version = "0.1.0" + +[[patch.unused]] +name = "parachain-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-app" +version = "0.1.1" + +[[patch.unused]] +name = "substrate-bridge-channel" +version = "0.1.1" + [[patch.unused]] name = "frame-election-provider-support" version = "4.0.0-dev" @@ -5767,10 +5961,6 @@ version = "4.0.0-dev" name = "pallet-bags-list" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-collective" -version = "4.0.0-dev" - [[patch.unused]] name = "pallet-democracy" version = "4.0.0-dev" @@ -5950,55 +6140,3 @@ version = "5.0.0-dev" [[patch.unused]] name = "try-runtime-cli" version = "0.10.0-dev" - -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" - -[[patch.unused]] -name = "dispatch" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" - -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" diff --git a/Cargo.toml b/Cargo.toml index d317518dc5..edc052938f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -345,7 +345,7 @@ multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } members = [ # "runtime", "common", - # "pallets/apollo-platform", + "pallets/apollo-platform", "pallets/assets", "pallets/ceres-governance-platform", "pallets/ceres-liquidity-locker", @@ -360,7 +360,7 @@ members = [ "pallets/faucet", "pallets/hermes-governance-platform", # "pallets/iroha-migration", - # "pallets/liquidity-proxy", + "pallets/liquidity-proxy", "pallets/mock-liquidity-source", "pallets/technical", "pallets/pool-xyk", @@ -374,13 +374,13 @@ members = [ "pallets/xst", "pallets/price-tools", "pallets/oracle-proxy", - # "pallets/order-book", + "pallets/order-book", # "pallets/bridge-proxy", # "pallets/bridge-proxy/rpc", # "pallets/bridge-proxy/runtime-api", "pallets/kensetsu", "pallets/band", - # "pallets/qa-tools", + "pallets/qa-tools", # "node/", # "utils/parse", # "utils/generate-bags", diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index 173170ee55..d8bdf6333c 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -4,46 +4,47 @@ version = "3.3.0" authors = ["Parity Technologies "] edition = "2021" -[dependencies] -codec = { package = "parity-scale-codec", version = "3", features = [ - "derive", - "chain-error", -] } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -hex-literal = "0.4.1" -sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } - -serde = { version = "1.0.101", features = ["derive"] } -serde_json = "1.0.61" - -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } - -common = { path = "../../common" } -faucet = { path = "../../pallets/faucet", optional = true } -framenode-runtime = { path = "../../runtime" } -iroha-migration = { path = "../../pallets/iroha-migration" } -order-book = { path = "../../pallets/order-book" } -permissions = { path = "../../pallets/permissions" } -rewards = { path = "../../pallets/rewards" } -technical = { path = "../../pallets/technical" } -xor-fee = { path = "../../pallets/xor-fee" } - -[dev-dependencies] -common = { path = "../../common", features = ["test"] } - -[features] -include-real-files = [] -main-net-coded = [] -test = ["common/test"] - -private-net = ["faucet", "framenode-runtime/private-net"] -wip = ["framenode-runtime/wip"] -ready-to-test = ["framenode-runtime/ready-to-test"] +# [dependencies] +# codec = { package = "parity-scale-codec", version = "3", features = [ +# "derive", +# "chain-error", +# ] } +# frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# hex-literal = "0.4.1" +# sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } + +# serde = { version = "1.0.101", features = ["derive"] } +# serde_json = "1.0.61" + +# # bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } + +# common = { path = "../../common" } +# faucet = { path = "../../pallets/faucet", optional = true } +# framenode-runtime = { path = "../../runtime" } +# iroha-migration = { path = "../../pallets/iroha-migration" } +# order-book = { path = "../../pallets/order-book" } +# permissions = { path = "../../pallets/permissions" } +# rewards = { path = "../../pallets/rewards" } +# technical = { path = "../../pallets/technical" } +# xor-fee = { path = "../../pallets/xor-fee" } + +# [dev-dependencies] +# common = { path = "../../common", features = ["test"] } + +# [features] +# include-real-files = [] +# main-net-coded = [] +# test = ["common/test"] + + +# private-net = ["faucet", "framenode-runtime/private-net"] +# wip = ["framenode-runtime/wip"] +# ready-to-test = ["framenode-runtime/ready-to-test"] diff --git a/pallets/apollo-platform/Cargo.toml b/pallets/apollo-platform/Cargo.toml index 84546f7ca2..a9be202279 100644 --- a/pallets/apollo-platform/Cargo.toml +++ b/pallets/apollo-platform/Cargo.toml @@ -15,6 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/apollo-platform/src/lib.rs b/pallets/apollo-platform/src/lib.rs index ead0c224d8..c6e1c40b77 100644 --- a/pallets/apollo-platform/src/lib.rs +++ b/pallets/apollo-platform/src/lib.rs @@ -61,7 +61,6 @@ pub mod pallet { use common::prelude::{Balance, FixedWrapper, SwapAmount}; use common::{balance, DEXId, LiquiditySourceFilter, PriceVariant, CERES_ASSET_ID, DAI}; use common::{LiquidityProxyTrait, PriceToolsProvider, APOLLO_ASSET_ID}; - use log::{debug, warn}; use frame_support::pallet_prelude::{ValueQuery, *}; use frame_support::sp_runtime::traits::AccountIdConversion; use frame_support::PalletId; @@ -69,6 +68,7 @@ pub mod pallet { use frame_system::pallet_prelude::*; use frame_system::RawOrigin; use hex_literal::hex; + use log::{debug, warn}; use sp_runtime::traits::{UniqueSaturatedInto, Zero}; use sp_std::collections::btree_map::BTreeMap; diff --git a/pallets/liquidity-proxy/Cargo.toml b/pallets/liquidity-proxy/Cargo.toml index 356a287ef0..05a4d89e7f 100644 --- a/pallets/liquidity-proxy/Cargo.toml +++ b/pallets/liquidity-proxy/Cargo.toml @@ -40,10 +40,10 @@ sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "re sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } dex-api = { path = "../dex-api" } dex-manager = { path = "../dex-manager" } -framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } -framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "private-net", "test"] } +# framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } +# framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "private-net", "test"] } mock-liquidity-source = { path = "../mock-liquidity-source" } -order-book = { path = "../order-book", features = ["test"] } +# order-book = { path = "../order-book", features = ["test"] } qa-tools = { path = "../qa-tools" } technical = { path = "../technical" } permissions = { path = "../permissions" } diff --git a/pallets/liquidity-proxy/src/lib.rs b/pallets/liquidity-proxy/src/lib.rs index 078df36663..028d29b504 100644 --- a/pallets/liquidity-proxy/src/lib.rs +++ b/pallets/liquidity-proxy/src/lib.rs @@ -63,13 +63,14 @@ use fallible_iterator::FallibleIterator as _; use frame_support::dispatch::PostDispatchInfo; use frame_support::traits::Get; use frame_support::weights::Weight; -use frame_support::{ensure, fail, RuntimeDebug}; +use frame_support::{ensure, fail}; use frame_system::ensure_signed; use itertools::Itertools as _; use liquidity_aggregator::AggregatedSwapOutcome; pub use pallet::*; use sp_runtime::traits::Zero; use sp_runtime::DispatchError; +use sp_runtime::RuntimeDebug; use sp_std::collections::btree_set::BTreeSet; use sp_std::prelude::*; use sp_std::{cmp::Ord, cmp::Ordering, vec}; diff --git a/pallets/liquidity-proxy/src/liquidity_aggregator.rs b/pallets/liquidity-proxy/src/liquidity_aggregator.rs index f69b2ba6e6..77c5da61b4 100644 --- a/pallets/liquidity-proxy/src/liquidity_aggregator.rs +++ b/pallets/liquidity-proxy/src/liquidity_aggregator.rs @@ -30,7 +30,7 @@ use codec::{Decode, Encode}; use common::prelude::{OutcomeFee, SwapAmount}; -use frame_support::RuntimeDebug; +use sp_runtime::RuntimeDebug; use sp_std::vec::Vec; #[cfg(feature = "wip")] // ALT diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index 28d66b517f..fede6101bc 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -33,8 +33,8 @@ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library [dev-dependencies] sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } -framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } +# framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } +# framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } @@ -65,8 +65,8 @@ runtime-benchmarks = [ try-runtime = ["frame-support/try-runtime"] private-net = [ - "framenode-chain-spec/private-net", - "framenode-runtime/private-net", +# "framenode-chain-spec/private-net", +# "framenode-runtime/private-net", ] -test = [] +# test = [] diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index 22b4869ba3..f18c831d2d 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -520,16 +520,16 @@ pub mod pallet { /// Perform scheduled expirations fn on_initialize(current_block: BlockNumberFor) -> Weight { let mut expiration_weight_counter = - WeightMeter::from_limit(T::MaxExpirationWeightPerBlock::get()); + WeightMeter::with_limit(T::MaxExpirationWeightPerBlock::get()); Self::service_expiration(current_block, &mut expiration_weight_counter); let mut alignment_weight_counter = - WeightMeter::from_limit(T::MaxAlignmentWeightPerBlock::get()); + WeightMeter::with_limit(T::MaxAlignmentWeightPerBlock::get()); Self::service_alignment(&mut alignment_weight_counter); expiration_weight_counter - .consumed - .saturating_add(alignment_weight_counter.consumed) + .consumed() + .saturating_add(alignment_weight_counter.consumed()) } } @@ -1390,7 +1390,9 @@ impl LiquiditySource bool { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return false; }; @@ -1408,7 +1410,9 @@ impl LiquiditySource, _deduce_fee: bool, ) -> Result<(SwapOutcome, Weight), DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; @@ -1443,7 +1447,9 @@ impl LiquiditySource Result<(DiscreteQuotation, Weight), DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; @@ -1589,7 +1595,9 @@ impl LiquiditySource, ) -> Result<(SwapOutcome, Weight), DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; @@ -1679,7 +1687,9 @@ impl LiquiditySource, _deduce_fee: bool, ) -> Result, DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; diff --git a/pallets/order-book/src/order_book.rs b/pallets/order-book/src/order_book.rs index 15e02d8227..330f5be989 100644 --- a/pallets/order-book/src/order_book.rs +++ b/pallets/order-book/src/order_book.rs @@ -146,7 +146,9 @@ impl OrderBook { } else { PriceVariant::Sell }; - let (Some(deal_amount), Some(average_price)) = (maybe_deal_amount, maybe_average_price) else { + let (Some(deal_amount), Some(average_price)) = + (maybe_deal_amount, maybe_average_price) + else { // should never happen return Err(Error::::PriceCalculationFailed.into()); }; @@ -169,7 +171,9 @@ impl OrderBook { } else { PriceVariant::Sell }; - let (Some(deal_amount), Some(market_order_average_price)) = (maybe_deal_amount, maybe_average_price) else { + let (Some(deal_amount), Some(market_order_average_price)) = + (maybe_deal_amount, maybe_average_price) + else { // should never happen return Err(Error::::PriceCalculationFailed.into()); }; @@ -245,8 +249,8 @@ impl OrderBook { let market_change = self.calculate_market_order_impact(market_order.clone(), data)?; - let (Some(input), Some(output)) = - (market_change.deal_input, market_change.deal_output) else { + let (Some(input), Some(output)) = (market_change.deal_input, market_change.deal_output) + else { // should never happen return Err(Error::::PriceCalculationFailed.into()); }; @@ -461,7 +465,9 @@ impl OrderBook { }; for (price, _) in market_data { - let Some(price_level) = data.get_limit_orders_by_price(&self.order_book_id, direction.switched(), price) else { + let Some(price_level) = + data.get_limit_orders_by_price(&self.order_book_id, direction.switched(), price) + else { return Err(Error::::NotEnoughLiquidityInOrderBook.into()); }; diff --git a/pallets/order-book/src/scheduler.rs b/pallets/order-book/src/scheduler.rs index f8fb0c6ee1..8b3b50dbd7 100644 --- a/pallets/order-book/src/scheduler.rs +++ b/pallets/order-book/src/scheduler.rs @@ -44,6 +44,7 @@ use crate::{ use assets::AssetIdOf; use common::weights::check_accrue_n; use frame_support::weights::WeightMeter; +use frame_system::pallet_prelude::BlockNumberFor; use sp_runtime::traits::{One, Zero}; use sp_runtime::{DispatchError, Saturating}; use sp_std::collections::btree_map::BTreeMap; @@ -74,8 +75,12 @@ impl Pallet { } }; let Some(order_book) = >::get(order_book_id) else { - debug_assert!(false, "apparently removal of order book did not cleanup expiration schedule; \ - order {:?} is set to expire but corresponding order book {:?} is not found", order_id, order_book_id); + debug_assert!( + false, + "apparently removal of order book did not cleanup expiration schedule; \ + order {:?} is set to expire but corresponding order book {:?} is not found", + order_id, order_book_id + ); Self::deposit_event(Event::::ExpirationFailure { order_book_id: *order_book_id, order_id, @@ -220,7 +225,10 @@ impl order_id: T::OrderId, ) -> Result<(), DispatchError> { >::try_mutate(when, |block_expirations| { - let Some(remove_index) = block_expirations.iter().position(|next| next == &(order_book_id, order_id)) else { + let Some(remove_index) = block_expirations + .iter() + .position(|next| next == &(order_book_id, order_id)) + else { return Err(Error::::ExpirationNotFound.into()); }; block_expirations.remove(remove_index); @@ -248,7 +256,10 @@ impl AlignmentScheduler for Pallet { } let Some(order_book) = >::get(order_book_id) else { - debug_assert!(false, "order-book {order_book_id:?} was not found during alignment"); + debug_assert!( + false, + "order-book {order_book_id:?} was not found during alignment" + ); Self::deposit_event(Event::::AlignmentFailure { order_book_id, error: Error::::UnknownOrderBook.into(), diff --git a/pallets/order-book/src/test_utils/fill_tools.rs b/pallets/order-book/src/test_utils/fill_tools.rs index f8311dc26d..8045ef0f9e 100644 --- a/pallets/order-book/src/test_utils/fill_tools.rs +++ b/pallets/order-book/src/test_utils/fill_tools.rs @@ -39,8 +39,8 @@ use order_book_imported::{ use assets::AssetIdOf; use common::prelude::{Balance, BalanceUnit, Scalar}; use common::PriceVariant; -use log::{debug, trace}; use frame_support::traits::{Get, Time}; +use log::{debug, trace}; use sp_runtime::traits::{CheckedMul, SaturatedConversion}; use sp_std::iter::Peekable; use sp_std::{collections::btree_map::BTreeMap, iter::repeat, vec::Vec}; @@ -422,11 +422,9 @@ fn fill_price_inner( to_expire: &mut BTreeMap, Vec>, ) { for _ in 0..settings.max_orders_per_price { - let Some(user) = users.next() else { - break - }; + let Some(user) = users.next() else { break }; let Some(lifespan) = lifespans.next() else { - break + break; }; let order = LimitOrder::::new( order_book.next_order_id(), diff --git a/pallets/order-book/src/test_utils/print_tools.rs b/pallets/order-book/src/test_utils/print_tools.rs index 674ff7ca29..4e87b74ffb 100644 --- a/pallets/order-book/src/test_utils/print_tools.rs +++ b/pallets/order-book/src/test_utils/print_tools.rs @@ -136,7 +136,7 @@ fn print_block_expirations(block: u32) where BlockNumberFor: From, { - let block = BlockNumberFor::from(block); + let block = BlockNumberFor::::from(block); let expirations: BoundedVec< (OrderBookId, T::DEXId>, T::OrderId), T::MaxExpiringOrdersPerBlock, diff --git a/pallets/qa-tools/Cargo.toml b/pallets/qa-tools/Cargo.toml index fcc769f228..3751aa3d2f 100644 --- a/pallets/qa-tools/Cargo.toml +++ b/pallets/qa-tools/Cargo.toml @@ -23,6 +23,7 @@ sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } band = { path = "../band", default-features = false } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } @@ -34,10 +35,10 @@ technical = { path = "../technical", default-features = false } xst = { path = "../xst", default-features = false } [dev-dependencies] -framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } -framenode-runtime = { path = "../../runtime", default-features = false, features = [ - "std", -] } +# framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } +# framenode-runtime = { path = "../../runtime", default-features = false, features = [ +# "std", +# ] } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } @@ -61,8 +62,8 @@ std = [ "xst/std", ] private-net = [ - "framenode-chain-spec/private-net", - "framenode-runtime/private-net", + # "framenode-chain-spec/private-net", + # "framenode-runtime/private-net", "order-book/private-net", ] diff --git a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs index 5060785a03..8fb754ecc2 100644 --- a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs +++ b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs @@ -43,6 +43,7 @@ pub mod liquidity_sources { use pallet_tools::mcbc::{BaseSupply, OtherCollateralInput}; use pallet_tools::pool_xyk::AssetPairInput; use pallet_tools::xst::{BaseInput, SyntheticInput, SyntheticOutput}; + use sp_runtime::DispatchError; use sp_std::collections::btree_map::BTreeMap; use sp_std::vec::Vec; diff --git a/pallets/qa-tools/src/pallet_tools/mcbc.rs b/pallets/qa-tools/src/pallet_tools/mcbc.rs index 9b2298b6b4..78d14261b6 100644 --- a/pallets/qa-tools/src/pallet_tools/mcbc.rs +++ b/pallets/qa-tools/src/pallet_tools/mcbc.rs @@ -38,6 +38,7 @@ use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_support::traits::Get; use pallet_tools::price_tools::AssetPrices; +use sp_runtime::DispatchError; /// Parameters relevant for TBCD and other collaterals #[derive(Clone, PartialEq, Eq, Encode, Decode, scale_info::TypeInfo, Debug)] diff --git a/pallets/qa-tools/src/pallet_tools/pool_xyk.rs b/pallets/qa-tools/src/pallet_tools/pool_xyk.rs index 9334ac8811..991708d519 100644 --- a/pallets/qa-tools/src/pallet_tools/pool_xyk.rs +++ b/pallets/qa-tools/src/pallet_tools/pool_xyk.rs @@ -36,8 +36,9 @@ use common::{ balance, AssetInfoProvider, Balance, DEXInfo, DexIdOf, DexInfoProvider, TradingPair, TradingPairSourceManager, XOR, }; -use frame_support::dispatch::{DispatchError, RawOrigin}; +use frame_support::dispatch::RawOrigin; use sp_arithmetic::traits::CheckedMul; +use sp_runtime::DispatchError; use sp_std::fmt::Debug; use sp_std::vec::Vec; diff --git a/pallets/qa-tools/src/pallet_tools/price_tools.rs b/pallets/qa-tools/src/pallet_tools/price_tools.rs index bb7c789930..b26b61f34e 100644 --- a/pallets/qa-tools/src/pallet_tools/price_tools.rs +++ b/pallets/qa-tools/src/pallet_tools/price_tools.rs @@ -36,6 +36,7 @@ use common::{balance, Balance, PriceToolsProvider, PriceVariant, XOR}; use frame_support::dispatch::DispatchResult; use frame_support::ensure; use sp_arithmetic::traits::{CheckedDiv, One}; +use sp_runtime::DispatchError; /// Directly set buy & sell XOR prices of `asset_id` (prices of XOR in terms of `asset_id`); /// verifying the values beforehand. diff --git a/pallets/qa-tools/src/pallet_tools/xst.rs b/pallets/qa-tools/src/pallet_tools/xst.rs index f8356536a7..e8515f0215 100644 --- a/pallets/qa-tools/src/pallet_tools/xst.rs +++ b/pallets/qa-tools/src/pallet_tools/xst.rs @@ -34,13 +34,12 @@ use codec::{Decode, Encode}; use common::fixnum::ops::CheckedSub; use common::prelude::{BalanceUnit, QuoteAmount}; use common::{fixed, AssetName, AssetSymbol, Balance, Fixed, Oracle, PriceVariant}; -use frame_support::dispatch::{ - DispatchError, DispatchResult, DispatchResultWithPostInfo, RawOrigin, -}; +use frame_support::dispatch::{DispatchResult, DispatchResultWithPostInfo, RawOrigin}; use frame_support::ensure; use frame_support::traits::Get; use frame_support::weights::Weight; use pallet_tools::price_tools::AssetPrices; +use sp_runtime::DispatchError; use sp_std::fmt::Debug; use sp_std::vec; use sp_std::vec::Vec; diff --git a/pallets/qa-tools/src/tests/mcbc.rs b/pallets/qa-tools/src/tests/mcbc.rs index c1b5cf0c97..1f3ff20f16 100644 --- a/pallets/qa-tools/src/tests/mcbc.rs +++ b/pallets/qa-tools/src/tests/mcbc.rs @@ -492,10 +492,13 @@ fn get_all_mcbc_init_events() -> Vec, AssetPrices)>> { let mut result = vec![]; for e in events { let RuntimeEvent::QaTools(qa_tools_event) = e else { - continue + continue; }; - let qa_tools::Event::::McbcInitialized{ collateral_ref_prices } = qa_tools_event else { - continue + let qa_tools::Event::::McbcInitialized { + collateral_ref_prices, + } = qa_tools_event + else { + continue; }; result.push(collateral_ref_prices) } diff --git a/pallets/qa-tools/src/tests/mod.rs b/pallets/qa-tools/src/tests/mod.rs index 099ef99970..ec0f4cf7d9 100644 --- a/pallets/qa-tools/src/tests/mod.rs +++ b/pallets/qa-tools/src/tests/mod.rs @@ -82,7 +82,8 @@ pub(crate) fn register_custom_asset() -> AssetIdOf { .expect("must've produced an event") .event .clone(); - let RuntimeEvent::Assets(assets::Event::AssetRegistered(asset_id, _account)) = register_event else { + let RuntimeEvent::Assets(assets::Event::AssetRegistered(asset_id, _account)) = register_event + else { panic!("Expected asset register event") }; asset_id diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 382d57ea25..3ca057efaf 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -7,467 +7,467 @@ repository = "https://github.com/sora-xor/sora2-network" name = "framenode-runtime" version = "3.3.0" -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] +# [package.metadata.docs.rs] +# targets = ["x86_64-unknown-linux-gnu"] -[build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# [build-dependencies] +# substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -[dependencies] -codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ - "derive", - "chain-error", -] } -# Does not compile with newer version -parity-scale-codec-derive = "=3.6.5" -scale-info = { version = "2", default-features = false, features = ["derive"] } -hex-literal = "0.4.1" -log = { version = "0.4.14" } -serde = { features = [ - 'derive', -], default-features = false, optional = true, version = '1.0.101' } +# [dependencies] +# codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ +# "derive", +# "chain-error", +# ] } +# # Does not compile with newer version +# parity-scale-codec-derive = "=3.6.5" +# scale-info = { version = "2", default-features = false, features = ["derive"] } +# hex-literal = "0.4.1" +# log = { version = "0.4.14" } +# serde = { features = [ +# 'derive', +# ], default-features = false, optional = true, version = '1.0.101' } -bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } -sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } +# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +# beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +# bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -dispatch = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -bridge-proxy = { path = "../pallets/bridge-proxy", default-features = false } -bridge-proxy-runtime-api = { path = "../pallets/bridge-proxy/runtime-api", default-features = false } -parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +# dispatch = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# bridge-proxy = { path = "../pallets/bridge-proxy", default-features = false } +# bridge-proxy-runtime-api = { path = "../pallets/bridge-proxy/runtime-api", default-features = false } +# parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +# evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +# bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -apollo-platform = { path = "../pallets/apollo-platform", default-features = false, optional = true } -assets = { path = "../pallets/assets", default-features = false } -assets-runtime-api = { path = "../pallets/assets/runtime-api", default-features = false } -band = { path = "../pallets/band", default-features = false } -common = { path = "../common", default-features = false } -ceres-governance-platform = { path = "../pallets/ceres-governance-platform", default-features = false } -ceres-launchpad = { path = "../pallets/ceres-launchpad", default-features = false } -ceres-liquidity-locker = { path = "../pallets/ceres-liquidity-locker", default-features = false } -ceres-liquidity-locker-benchmarking = { path = "../pallets/ceres-liquidity-locker/benchmarking", default-features = false, optional = true } -ceres-token-locker = { path = "../pallets/ceres-token-locker", default-features = false } -ceres-staking = { path = "../pallets/ceres-staking", default-features = false } -demeter-farming-platform = { path = "../pallets/demeter-farming-platform", default-features = false } -demeter-farming-platform-benchmarking = { path = "../pallets/demeter-farming-platform/benchmarking", default-features = false, optional = true } -dex-api = { path = "../pallets/dex-api", default-features = false } -dex-manager = { path = "../pallets/dex-manager", default-features = false } -dex-manager-runtime-api = { path = "../pallets/dex-manager/runtime-api", default-features = false } -dex-runtime-api = { path = "../pallets/dex-api/runtime-api", default-features = false } -eth-bridge = { path = "../pallets/eth-bridge", default-features = false } -eth-bridge-runtime-api = { path = "../pallets/eth-bridge/runtime-api", default-features = false } -farming = { path = "../pallets/farming", default-features = false } -farming-runtime-api = { path = "../pallets/farming/runtime-api", default-features = false } -faucet = { path = "../pallets/faucet", default-features = false, optional = true } -hermes-governance-platform = { path = "../pallets/hermes-governance-platform", default-features = false } -iroha-migration = { path = "../pallets/iroha-migration", default-features = false } -iroha-migration-runtime-api = { path = "../pallets/iroha-migration/runtime-api", default-features = false } -kensetsu = { path = "../pallets/kensetsu", default-features = false } -kensetsu-benchmarking = { path = "../pallets/kensetsu/benchmarking", default-features = false, optional = true } -liquidity-proxy = { path = "../pallets/liquidity-proxy", default-features = false } -liquidity-proxy-benchmarking = { path = "../pallets/liquidity-proxy/benchmarking", default-features = false, optional = true } -liquidity-proxy-runtime-api = { path = "../pallets/liquidity-proxy/runtime-api", default-features = false } -mock-liquidity-source = { path = "../pallets/mock-liquidity-source", default-features = false } -multicollateral-bonding-curve-pool = { path = "../pallets/multicollateral-bonding-curve-pool", default-features = false } -oracle-proxy = { path = "../pallets/oracle-proxy", default-features = false } -oracle-proxy-runtime-api = { path = "../pallets/oracle-proxy/runtime-api", default-features = false } -order-book = { path = "../pallets/order-book", default-features = false } -order-book-benchmarking = { path = "../pallets/order-book/benchmarking", default-features = false, optional = true } -permissions = { path = "../pallets/permissions", default-features = false } -pool-xyk = { path = "../pallets/pool-xyk", default-features = false } -pool-xyk-benchmarking = { path = "../pallets/pool-xyk/benchmarking", default-features = false, optional = true } -price-tools = { path = "../pallets/price-tools", default-features = false } -pswap-distribution = { path = "../pallets/pswap-distribution", default-features = false } -pswap-distribution-benchmarking = { path = "../pallets/pswap-distribution/benchmarking", default-features = false, optional = true } -pswap-distribution-runtime-api = { path = "../pallets/pswap-distribution/runtime-api", default-features = false } -qa-tools = { path = "../pallets/qa-tools", default-features = false, optional = true } -referrals = { path = "../pallets/referrals", default-features = false } -rewards = { path = "../pallets/rewards", default-features = false } -rewards-runtime-api = { path = "../pallets/rewards/runtime-api", default-features = false } -technical = { path = "../pallets/technical", default-features = false } -trading-pair = { path = "../pallets/trading-pair", default-features = false } -trading-pair-runtime-api = { path = "../pallets/trading-pair/runtime-api", default-features = false } -vested-rewards = { path = "../pallets/vested-rewards", default-features = false } -vested-rewards-runtime-api = { path = "../pallets/vested-rewards/runtime-api", default-features = false } -xor-fee = { path = "../pallets/xor-fee", default-features = false } -xst = { path = "../pallets/xst", default-features = false } -xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } +# apollo-platform = { path = "../pallets/apollo-platform", default-features = false, optional = true } +# assets = { path = "../pallets/assets", default-features = false } +# assets-runtime-api = { path = "../pallets/assets/runtime-api", default-features = false } +# band = { path = "../pallets/band", default-features = false } +# common = { path = "../common", default-features = false } +# ceres-governance-platform = { path = "../pallets/ceres-governance-platform", default-features = false } +# ceres-launchpad = { path = "../pallets/ceres-launchpad", default-features = false } +# ceres-liquidity-locker = { path = "../pallets/ceres-liquidity-locker", default-features = false } +# ceres-liquidity-locker-benchmarking = { path = "../pallets/ceres-liquidity-locker/benchmarking", default-features = false, optional = true } +# ceres-token-locker = { path = "../pallets/ceres-token-locker", default-features = false } +# ceres-staking = { path = "../pallets/ceres-staking", default-features = false } +# demeter-farming-platform = { path = "../pallets/demeter-farming-platform", default-features = false } +# demeter-farming-platform-benchmarking = { path = "../pallets/demeter-farming-platform/benchmarking", default-features = false, optional = true } +# dex-api = { path = "../pallets/dex-api", default-features = false } +# dex-manager = { path = "../pallets/dex-manager", default-features = false } +# dex-manager-runtime-api = { path = "../pallets/dex-manager/runtime-api", default-features = false } +# dex-runtime-api = { path = "../pallets/dex-api/runtime-api", default-features = false } +# eth-bridge = { path = "../pallets/eth-bridge", default-features = false } +# eth-bridge-runtime-api = { path = "../pallets/eth-bridge/runtime-api", default-features = false } +# farming = { path = "../pallets/farming", default-features = false } +# farming-runtime-api = { path = "../pallets/farming/runtime-api", default-features = false } +# faucet = { path = "../pallets/faucet", default-features = false, optional = true } +# hermes-governance-platform = { path = "../pallets/hermes-governance-platform", default-features = false } +# iroha-migration = { path = "../pallets/iroha-migration", default-features = false } +# iroha-migration-runtime-api = { path = "../pallets/iroha-migration/runtime-api", default-features = false } +# kensetsu = { path = "../pallets/kensetsu", default-features = false } +# kensetsu-benchmarking = { path = "../pallets/kensetsu/benchmarking", default-features = false, optional = true } +# liquidity-proxy = { path = "../pallets/liquidity-proxy", default-features = false } +# liquidity-proxy-benchmarking = { path = "../pallets/liquidity-proxy/benchmarking", default-features = false, optional = true } +# liquidity-proxy-runtime-api = { path = "../pallets/liquidity-proxy/runtime-api", default-features = false } +# mock-liquidity-source = { path = "../pallets/mock-liquidity-source", default-features = false } +# multicollateral-bonding-curve-pool = { path = "../pallets/multicollateral-bonding-curve-pool", default-features = false } +# oracle-proxy = { path = "../pallets/oracle-proxy", default-features = false } +# oracle-proxy-runtime-api = { path = "../pallets/oracle-proxy/runtime-api", default-features = false } +# order-book = { path = "../pallets/order-book", default-features = false } +# order-book-benchmarking = { path = "../pallets/order-book/benchmarking", default-features = false, optional = true } +# permissions = { path = "../pallets/permissions", default-features = false } +# pool-xyk = { path = "../pallets/pool-xyk", default-features = false } +# pool-xyk-benchmarking = { path = "../pallets/pool-xyk/benchmarking", default-features = false, optional = true } +# price-tools = { path = "../pallets/price-tools", default-features = false } +# pswap-distribution = { path = "../pallets/pswap-distribution", default-features = false } +# pswap-distribution-benchmarking = { path = "../pallets/pswap-distribution/benchmarking", default-features = false, optional = true } +# pswap-distribution-runtime-api = { path = "../pallets/pswap-distribution/runtime-api", default-features = false } +# qa-tools = { path = "../pallets/qa-tools", default-features = false, optional = true } +# referrals = { path = "../pallets/referrals", default-features = false } +# rewards = { path = "../pallets/rewards", default-features = false } +# rewards-runtime-api = { path = "../pallets/rewards/runtime-api", default-features = false } +# technical = { path = "../pallets/technical", default-features = false } +# trading-pair = { path = "../pallets/trading-pair", default-features = false } +# trading-pair-runtime-api = { path = "../pallets/trading-pair/runtime-api", default-features = false } +# vested-rewards = { path = "../pallets/vested-rewards", default-features = false } +# vested-rewards-runtime-api = { path = "../pallets/vested-rewards/runtime-api", default-features = false } +# xor-fee = { path = "../pallets/xor-fee", default-features = false } +# xst = { path = "../pallets/xst", default-features = false } +# xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } -# Substrate dependencies -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ -# "tuples-96", -# ] } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ -# "historical", -# ] } -pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# # Substrate dependencies +# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +# frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# # frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +# # "tuples-96", +# # ] } +# frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +# frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +# pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +# pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# # pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ +# # "historical", +# # ] } +# pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# Other -currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -static_assertions = "1.1.0" -tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +# # Other +# currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } +# static_assertions = "1.1.0" +# tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } +# traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } +# bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -[dev-dependencies] -env_logger = "0.10.0" -framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } -tokio = { version = "1.19.2", features = ["macros"] } -sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# [dev-dependencies] +# env_logger = "0.10.0" +# framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } +# tokio = { version = "1.19.2", features = ["macros"] } +# sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -[features] -default = ["std", "build-wasm-binary"] +# [features] +# default = ["std", "build-wasm-binary"] -std = [ - "apollo-platform/std", - "assets-runtime-api/std", - "assets/std", - "band/std", - "bridge-multisig/std", - "pallet-beefy/std", - "pallet-mmr/std", - "pallet-beefy-mmr/std", - "sp-mmr-primitives/std", - "sp-beefy/std", - "beefy-light-client/std", - "beefy-light-client-runtime-api/std", - "codec/std", - "scale-info/std", - "common/std", - "ceres-governance-platform/std", - "ceres-launchpad/std", - "ceres-liquidity-locker/std", - "ceres-staking/std", - "ceres-token-locker/std", - "demeter-farming-platform/std", - "dex-api/std", - "dex-manager-runtime-api/std", - "dex-manager/std", - "dex-runtime-api/std", - "eth-bridge-runtime-api/std", - "eth-bridge/std", - "dispatch/std", - "leaf-provider/std", - "leaf-provider-runtime-api/std", - "bridge-proxy/std", - "bridge-proxy-runtime-api/std", - "evm-fungible-app/std", - "parachain-bridge-app/std", - "substrate-bridge-channel/std", - "bridge-channel/std", - "bridge-data-signer/std", - "multisig-verifier/std", - "bridge-types/std", - "farming/std", - "farming-runtime-api/std", - "faucet/std", - "frame-executive/std", - "frame-support/std", - "frame-system-rpc-runtime-api/std", - "frame-system/std", - "frame-try-runtime/std", - "hermes-governance-platform/std", - "iroha-migration-runtime-api/std", - "iroha-migration/std", - "kensetsu/std", - "liquidity-proxy-runtime-api/std", - "liquidity-proxy/std", - "liquidity-proxy-benchmarking/std", - "mock-liquidity-source/std", - "multicollateral-bonding-curve-pool/std", - "oracle-proxy/std", - "oracle-proxy-runtime-api/std", - "order-book/std", - "order-book-benchmarking/std", - "pallet-aura/std", - "pallet-authorship/std", - "pallet-babe/std", - "pallet-balances/std", - "pallet-collective/std", - "pallet-democracy/std", - "pallet-elections-phragmen/std", - "pallet-grandpa/std", - "pallet-identity/std", - "pallet-im-online/std", - "pallet-membership/std", - "pallet-multisig/std", - "pallet-offences/std", - "pallet-preimage/std", - "pallet-randomness-collective-flip/std", - "pallet-scheduler/std", - "pallet-session/std", - "pallet-staking/std", - "pallet-sudo/std", - "pallet-timestamp/std", - "pallet-transaction-payment-rpc-runtime-api/std", - "pallet-transaction-payment/std", - "pallet-utility/std", - "permissions/std", - "pool-xyk/std", - "price-tools/std", - "pswap-distribution-runtime-api/std", - "pswap-distribution/std", - "qa-tools/std", - "referrals/std", - "rewards-runtime-api/std", - "rewards/std", - "serde/std", - "sp-api/std", - "sp-block-builder/std", - "sp-consensus-aura/std", - "sp-consensus-babe/std", - "sp-core/std", - "sp-inherents/std", - "sp-offchain/std", - "sp-runtime/std", - "sp-session/std", - "sp-staking/std", - "sp-std/std", - "sp-transaction-pool/std", - "sp-version/std", - "sp-npos-elections/std", - "substrate-bridge-app/std", - "technical/std", - "trading-pair-runtime-api/std", - "trading-pair/std", - "vested-rewards/std", - "vested-rewards-runtime-api/std", - "xor-fee/std", - "xst/std", - "xst-benchmarking/std", -] +# std = [ +# "apollo-platform/std", +# "assets-runtime-api/std", +# "assets/std", +# "band/std", +# "bridge-multisig/std", +# "pallet-beefy/std", +# "pallet-mmr/std", +# "pallet-beefy-mmr/std", +# "sp-mmr-primitives/std", +# "sp-beefy/std", +# "beefy-light-client/std", +# "beefy-light-client-runtime-api/std", +# "codec/std", +# "scale-info/std", +# "common/std", +# "ceres-governance-platform/std", +# "ceres-launchpad/std", +# "ceres-liquidity-locker/std", +# "ceres-staking/std", +# "ceres-token-locker/std", +# "demeter-farming-platform/std", +# "dex-api/std", +# "dex-manager-runtime-api/std", +# "dex-manager/std", +# "dex-runtime-api/std", +# "eth-bridge-runtime-api/std", +# "eth-bridge/std", +# "dispatch/std", +# "leaf-provider/std", +# "leaf-provider-runtime-api/std", +# "bridge-proxy/std", +# "bridge-proxy-runtime-api/std", +# "evm-fungible-app/std", +# "parachain-bridge-app/std", +# "substrate-bridge-channel/std", +# "bridge-channel/std", +# "bridge-data-signer/std", +# "multisig-verifier/std", +# "bridge-types/std", +# "farming/std", +# "farming-runtime-api/std", +# "faucet/std", +# "frame-executive/std", +# "frame-support/std", +# "frame-system-rpc-runtime-api/std", +# "frame-system/std", +# "frame-try-runtime/std", +# "hermes-governance-platform/std", +# "iroha-migration-runtime-api/std", +# "iroha-migration/std", +# "kensetsu/std", +# "liquidity-proxy-runtime-api/std", +# "liquidity-proxy/std", +# "liquidity-proxy-benchmarking/std", +# "mock-liquidity-source/std", +# "multicollateral-bonding-curve-pool/std", +# "oracle-proxy/std", +# "oracle-proxy-runtime-api/std", +# "order-book/std", +# "order-book-benchmarking/std", +# "pallet-aura/std", +# "pallet-authorship/std", +# "pallet-babe/std", +# "pallet-balances/std", +# "pallet-collective/std", +# "pallet-democracy/std", +# "pallet-elections-phragmen/std", +# "pallet-grandpa/std", +# "pallet-identity/std", +# "pallet-im-online/std", +# "pallet-membership/std", +# "pallet-multisig/std", +# "pallet-offences/std", +# "pallet-preimage/std", +# "pallet-randomness-collective-flip/std", +# "pallet-scheduler/std", +# "pallet-session/std", +# "pallet-staking/std", +# "pallet-sudo/std", +# "pallet-timestamp/std", +# "pallet-transaction-payment-rpc-runtime-api/std", +# "pallet-transaction-payment/std", +# "pallet-utility/std", +# "permissions/std", +# "pool-xyk/std", +# "price-tools/std", +# "pswap-distribution-runtime-api/std", +# "pswap-distribution/std", +# "qa-tools/std", +# "referrals/std", +# "rewards-runtime-api/std", +# "rewards/std", +# "serde/std", +# "sp-api/std", +# "sp-block-builder/std", +# "sp-consensus-aura/std", +# "sp-consensus-babe/std", +# "sp-core/std", +# "sp-inherents/std", +# "sp-offchain/std", +# "sp-runtime/std", +# "sp-session/std", +# "sp-staking/std", +# "sp-std/std", +# "sp-transaction-pool/std", +# "sp-version/std", +# "sp-npos-elections/std", +# "substrate-bridge-app/std", +# "technical/std", +# "trading-pair-runtime-api/std", +# "trading-pair/std", +# "vested-rewards/std", +# "vested-rewards-runtime-api/std", +# "xor-fee/std", +# "xst/std", +# "xst-benchmarking/std", +# ] -private-net = [ - "faucet", - "farming/private-net", - "vested-rewards/private-net", - "framenode-chain-spec/private-net", - "qa-tools", -] +# private-net = [ +# "faucet", +# "farming/private-net", +# "vested-rewards/private-net", +# "framenode-chain-spec/private-net", +# "qa-tools", +# ] -wip = [ - "framenode-chain-spec/wip", - "liquidity-proxy/wip", - "liquidity-proxy-runtime-api/wip", - "liquidity-proxy-benchmarking/wip", - "pallet-mmr", - "beefy-light-client", - "beefy-light-client-runtime-api", - "evm-fungible-app", - "bridge-channel", - "pallet-beefy", - "pallet-beefy-mmr", -] +# wip = [ +# "framenode-chain-spec/wip", +# "liquidity-proxy/wip", +# "liquidity-proxy-runtime-api/wip", +# "liquidity-proxy-benchmarking/wip", +# "pallet-mmr", +# "beefy-light-client", +# "beefy-light-client-runtime-api", +# "evm-fungible-app", +# "bridge-channel", +# "pallet-beefy", +# "pallet-beefy-mmr", +# ] -ready-to-test = ["framenode-chain-spec/ready-to-test", "apollo-platform"] +# ready-to-test = ["framenode-chain-spec/ready-to-test", "apollo-platform"] -runtime-benchmarks = [ - "apollo-platform/runtime-benchmarks", - "assets/runtime-benchmarks", - "band/runtime-benchmarks", - "ceres-governance-platform/runtime-benchmarks", - "ceres-launchpad/runtime-benchmarks", - "ceres-liquidity-locker-benchmarking", - "ceres-liquidity-locker-benchmarking/runtime-benchmarks", - "common/runtime-benchmarks", - "demeter-farming-platform-benchmarking", - "demeter-farming-platform-benchmarking/runtime-benchmarks", - "dex-api/runtime-benchmarks", - "ceres-staking/runtime-benchmarks", - "ceres-token-locker/runtime-benchmarks", - "eth-bridge/runtime-benchmarks", - "dispatch/runtime-benchmarks", - "bridge-types/runtime-benchmarks", - "bridge-proxy/runtime-benchmarks", - "evm-fungible-app/runtime-benchmarks", - "parachain-bridge-app/runtime-benchmarks", - "substrate-bridge-app/runtime-benchmarks", - "substrate-bridge-channel/runtime-benchmarks", - "bridge-channel/runtime-benchmarks", - "farming/runtime-benchmarks", - "faucet/runtime-benchmarks", - "frame-benchmarking", - "frame-support/runtime-benchmarks", - "frame-system-benchmarking", - "frame-system/runtime-benchmarks", - "hermes-governance-platform/runtime-benchmarks", - "iroha-migration/runtime-benchmarks", - "kensetsu-benchmarking", - "kensetsu-benchmarking/runtime-benchmarks", - "liquidity-proxy-benchmarking", - "liquidity-proxy-benchmarking/runtime-benchmarks", - "multicollateral-bonding-curve-pool/runtime-benchmarks", - "multicollateral-bonding-curve-pool/runtime-benchmarks", - "oracle-proxy/runtime-benchmarks", - "order-book-benchmarking", - "order-book-benchmarking/runtime-benchmarks", - "pallet-collective/runtime-benchmarks", - "pool-xyk-benchmarking", - "pool-xyk-benchmarking/runtime-benchmarks", - "price-tools/runtime-benchmarks", - "pswap-distribution-benchmarking/runtime-benchmarks", - "pswap-distribution/runtime-benchmarks", - "pswap-distribution/runtime-benchmarks", - "referrals/runtime-benchmarks", - "rewards/runtime-benchmarks", - "technical/runtime-benchmarks", - "trading-pair/runtime-benchmarks", - "multicollateral-bonding-curve-pool/runtime-benchmarks", - "pswap-distribution/runtime-benchmarks", - "price-tools/runtime-benchmarks", - "vested-rewards/runtime-benchmarks", - "xor-fee/runtime-benchmarks", - "xst-benchmarking", - "xst-benchmarking/runtime-benchmarks", - "dispatch/runtime-benchmarks", - "beefy-light-client/runtime-benchmarks", - "multisig-verifier/runtime-benchmarks", - "bridge-data-signer/runtime-benchmarks", -] +# runtime-benchmarks = [ +# "apollo-platform/runtime-benchmarks", +# "assets/runtime-benchmarks", +# "band/runtime-benchmarks", +# "ceres-governance-platform/runtime-benchmarks", +# "ceres-launchpad/runtime-benchmarks", +# "ceres-liquidity-locker-benchmarking", +# "ceres-liquidity-locker-benchmarking/runtime-benchmarks", +# "common/runtime-benchmarks", +# "demeter-farming-platform-benchmarking", +# "demeter-farming-platform-benchmarking/runtime-benchmarks", +# "dex-api/runtime-benchmarks", +# "ceres-staking/runtime-benchmarks", +# "ceres-token-locker/runtime-benchmarks", +# "eth-bridge/runtime-benchmarks", +# "dispatch/runtime-benchmarks", +# "bridge-types/runtime-benchmarks", +# "bridge-proxy/runtime-benchmarks", +# "evm-fungible-app/runtime-benchmarks", +# "parachain-bridge-app/runtime-benchmarks", +# "substrate-bridge-app/runtime-benchmarks", +# "substrate-bridge-channel/runtime-benchmarks", +# "bridge-channel/runtime-benchmarks", +# "farming/runtime-benchmarks", +# "faucet/runtime-benchmarks", +# "frame-benchmarking", +# "frame-support/runtime-benchmarks", +# "frame-system-benchmarking", +# "frame-system/runtime-benchmarks", +# "hermes-governance-platform/runtime-benchmarks", +# "iroha-migration/runtime-benchmarks", +# "kensetsu-benchmarking", +# "kensetsu-benchmarking/runtime-benchmarks", +# "liquidity-proxy-benchmarking", +# "liquidity-proxy-benchmarking/runtime-benchmarks", +# "multicollateral-bonding-curve-pool/runtime-benchmarks", +# "multicollateral-bonding-curve-pool/runtime-benchmarks", +# "oracle-proxy/runtime-benchmarks", +# "order-book-benchmarking", +# "order-book-benchmarking/runtime-benchmarks", +# "pallet-collective/runtime-benchmarks", +# "pool-xyk-benchmarking", +# "pool-xyk-benchmarking/runtime-benchmarks", +# "price-tools/runtime-benchmarks", +# "pswap-distribution-benchmarking/runtime-benchmarks", +# "pswap-distribution/runtime-benchmarks", +# "pswap-distribution/runtime-benchmarks", +# "referrals/runtime-benchmarks", +# "rewards/runtime-benchmarks", +# "technical/runtime-benchmarks", +# "trading-pair/runtime-benchmarks", +# "multicollateral-bonding-curve-pool/runtime-benchmarks", +# "pswap-distribution/runtime-benchmarks", +# "price-tools/runtime-benchmarks", +# "vested-rewards/runtime-benchmarks", +# "xor-fee/runtime-benchmarks", +# "xst-benchmarking", +# "xst-benchmarking/runtime-benchmarks", +# "dispatch/runtime-benchmarks", +# "beefy-light-client/runtime-benchmarks", +# "multisig-verifier/runtime-benchmarks", +# "bridge-data-signer/runtime-benchmarks", +# ] -reduced-pswap-reward-periods = [] +# reduced-pswap-reward-periods = [] -build-wasm-binary = [] +# build-wasm-binary = [] -try-runtime = [ - "frame-try-runtime", - "apollo-platform/try-runtime", - "assets/try-runtime", - "band/try-runtime", - "bridge-multisig/try-runtime", - "pallet-beefy/try-runtime", - "beefy-light-client/try-runtime", - "ceres-governance-platform/try-runtime", - "ceres-launchpad/try-runtime", - "ceres-liquidity-locker/try-runtime", - "ceres-staking/try-runtime", - "ceres-token-locker/try-runtime", - "demeter-farming-platform/try-runtime", - "hermes-governance-platform/try-runtime", - "dex-api/try-runtime", - "dex-manager/try-runtime", - "eth-bridge/try-runtime", - "dispatch/try-runtime", - "leaf-provider/try-runtime", - "bridge-proxy/try-runtime", - "evm-fungible-app/try-runtime", - "parachain-bridge-app/try-runtime", - "bridge-channel/try-runtime", - "substrate-bridge-app/try-runtime", - "substrate-bridge-channel/try-runtime", - "bridge-types/try-runtime", - "farming/try-runtime", - "faucet/try-runtime", - "frame-executive/try-runtime", - "frame-support/try-runtime", - "frame-system/try-runtime", - "iroha-migration/try-runtime", - "kensetsu/try-runtime", - "liquidity-proxy/try-runtime", - "mock-liquidity-source/try-runtime", - "multicollateral-bonding-curve-pool/try-runtime", - "oracle-proxy/try-runtime", - "order-book/try-runtime", - "pallet-aura/try-runtime", - "pallet-authorship/try-runtime", - "pallet-babe/try-runtime", - "pallet-balances/try-runtime", - "pallet-collective/try-runtime", - "pallet-democracy/try-runtime", - "pallet-elections-phragmen/try-runtime", - "pallet-grandpa/try-runtime", - "pallet-identity/try-runtime", - "pallet-im-online/try-runtime", - "pallet-membership/try-runtime", - "pallet-multisig/try-runtime", - "pallet-offences/try-runtime", - "pallet-preimage/try-runtime", - "pallet-randomness-collective-flip/try-runtime", - "pallet-scheduler/try-runtime", - "pallet-session/try-runtime", - "pallet-staking/try-runtime", - "pallet-sudo/try-runtime", - "pallet-timestamp/try-runtime", - "pallet-transaction-payment/try-runtime", - "pallet-utility/try-runtime", - "permissions/try-runtime", - "pool-xyk/try-runtime", - "price-tools/try-runtime", - "pswap-distribution/try-runtime", - "referrals/try-runtime", - "rewards/try-runtime", - "technical/try-runtime", - "trading-pair/try-runtime", - "vested-rewards/try-runtime", - "xor-fee/try-runtime", - "xst/try-runtime", - "tokens/try-runtime", - "currencies/try-runtime", - "pallet-election-provider-multi-phase/try-runtime", - "pallet-bags-list/try-runtime", - "pallet-mmr/try-runtime", - "pallet-beefy-mmr/try-runtime", - "bridge-data-signer/try-runtime", - "multisig-verifier/try-runtime", - "qa-tools/try-runtime", -] +# try-runtime = [ +# "frame-try-runtime", +# "apollo-platform/try-runtime", +# "assets/try-runtime", +# "band/try-runtime", +# "bridge-multisig/try-runtime", +# "pallet-beefy/try-runtime", +# "beefy-light-client/try-runtime", +# "ceres-governance-platform/try-runtime", +# "ceres-launchpad/try-runtime", +# "ceres-liquidity-locker/try-runtime", +# "ceres-staking/try-runtime", +# "ceres-token-locker/try-runtime", +# "demeter-farming-platform/try-runtime", +# "hermes-governance-platform/try-runtime", +# "dex-api/try-runtime", +# "dex-manager/try-runtime", +# "eth-bridge/try-runtime", +# "dispatch/try-runtime", +# "leaf-provider/try-runtime", +# "bridge-proxy/try-runtime", +# "evm-fungible-app/try-runtime", +# "parachain-bridge-app/try-runtime", +# "bridge-channel/try-runtime", +# "substrate-bridge-app/try-runtime", +# "substrate-bridge-channel/try-runtime", +# "bridge-types/try-runtime", +# "farming/try-runtime", +# "faucet/try-runtime", +# "frame-executive/try-runtime", +# "frame-support/try-runtime", +# "frame-system/try-runtime", +# "iroha-migration/try-runtime", +# "kensetsu/try-runtime", +# "liquidity-proxy/try-runtime", +# "mock-liquidity-source/try-runtime", +# "multicollateral-bonding-curve-pool/try-runtime", +# "oracle-proxy/try-runtime", +# "order-book/try-runtime", +# "pallet-aura/try-runtime", +# "pallet-authorship/try-runtime", +# "pallet-babe/try-runtime", +# "pallet-balances/try-runtime", +# "pallet-collective/try-runtime", +# "pallet-democracy/try-runtime", +# "pallet-elections-phragmen/try-runtime", +# "pallet-grandpa/try-runtime", +# "pallet-identity/try-runtime", +# "pallet-im-online/try-runtime", +# "pallet-membership/try-runtime", +# "pallet-multisig/try-runtime", +# "pallet-offences/try-runtime", +# "pallet-preimage/try-runtime", +# "pallet-randomness-collective-flip/try-runtime", +# "pallet-scheduler/try-runtime", +# "pallet-session/try-runtime", +# "pallet-staking/try-runtime", +# "pallet-sudo/try-runtime", +# "pallet-timestamp/try-runtime", +# "pallet-transaction-payment/try-runtime", +# "pallet-utility/try-runtime", +# "permissions/try-runtime", +# "pool-xyk/try-runtime", +# "price-tools/try-runtime", +# "pswap-distribution/try-runtime", +# "referrals/try-runtime", +# "rewards/try-runtime", +# "technical/try-runtime", +# "trading-pair/try-runtime", +# "vested-rewards/try-runtime", +# "xor-fee/try-runtime", +# "xst/try-runtime", +# "tokens/try-runtime", +# "currencies/try-runtime", +# "pallet-election-provider-multi-phase/try-runtime", +# "pallet-bags-list/try-runtime", +# "pallet-mmr/try-runtime", +# "pallet-beefy-mmr/try-runtime", +# "bridge-data-signer/try-runtime", +# "multisig-verifier/try-runtime", +# "qa-tools/try-runtime", +# ] -test = ["framenode-chain-spec/test", "liquidity-proxy/test", "order-book/test"] +# test = ["framenode-chain-spec/test", "liquidity-proxy/test", "order-book/test"] From f732a868c5fcb2f5e5eef325f574b659184757b3 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sun, 19 May 2024 06:12:27 -0300 Subject: [PATCH 009/110] update eth bridge --- Cargo.lock | 686 +++++++++++++++++- Cargo.toml | 4 +- pallets/eth-bridge/Cargo.toml | 8 +- pallets/eth-bridge/src/contract.rs | 2 +- pallets/eth-bridge/src/lib.rs | 14 +- pallets/eth-bridge/src/offchain/handle.rs | 14 +- pallets/eth-bridge/src/offchain/http.rs | 9 +- pallets/eth-bridge/src/offchain/mod.rs | 3 +- .../eth-bridge/src/offchain/transaction.rs | 9 +- pallets/eth-bridge/src/requests/incoming.rs | 5 +- pallets/eth-bridge/src/requests/mod.rs | 6 +- pallets/eth-bridge/src/requests/outgoing.rs | 23 +- pallets/eth-bridge/src/rpc.rs | 2 +- pallets/eth-bridge/src/tests/ocw.rs | 2 +- pallets/iroha-migration/src/lib.rs | 2 +- 15 files changed, 732 insertions(+), 57 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70ee73143a..37b71362f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -403,6 +403,195 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "async-attributes" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "async-channel" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +dependencies = [ + "concurrent-queue", + "event-listener 2.5.3", + "futures-core", +] + +[[package]] +name = "async-channel" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" +dependencies = [ + "concurrent-queue", + "event-listener-strategy 0.5.2", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-executor" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" +dependencies = [ + "async-task", + "concurrent-queue", + "fastrand 2.1.0", + "futures-lite 2.3.0", + "slab", +] + +[[package]] +name = "async-global-executor" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" +dependencies = [ + "async-channel 2.3.1", + "async-executor", + "async-io 2.3.2", + "async-lock 3.3.0", + "blocking", + "futures-lite 2.3.0", + "once_cell", +] + +[[package]] +name = "async-io" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +dependencies = [ + "async-lock 2.8.0", + "autocfg", + "cfg-if", + "concurrent-queue", + "futures-lite 1.13.0", + "log", + "parking", + "polling 2.8.0", + "rustix 0.37.27", + "slab", + "socket2", + "waker-fn", +] + +[[package]] +name = "async-io" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" +dependencies = [ + "async-lock 3.3.0", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite 2.3.0", + "parking", + "polling 3.7.0", + "rustix 0.38.34", + "slab", + "tracing", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-lock" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +dependencies = [ + "event-listener 2.5.3", +] + +[[package]] +name = "async-lock" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +dependencies = [ + "event-listener 4.0.3", + "event-listener-strategy 0.4.0", + "pin-project-lite", +] + +[[package]] +name = "async-process" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +dependencies = [ + "async-io 1.13.0", + "async-lock 2.8.0", + "async-signal", + "blocking", + "cfg-if", + "event-listener 3.1.0", + "futures-lite 1.13.0", + "rustix 0.38.34", + "windows-sys 0.48.0", +] + +[[package]] +name = "async-signal" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" +dependencies = [ + "async-io 2.3.2", + "async-lock 3.3.0", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.34", + "signal-hook-registry", + "slab", + "windows-sys 0.52.0", +] + +[[package]] +name = "async-std" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +dependencies = [ + "async-attributes", + "async-channel 1.9.0", + "async-global-executor", + "async-io 1.13.0", + "async-lock 2.8.0", + "async-process", + "crossbeam-utils", + "futures-channel", + "futures-core", + "futures-io", + "futures-lite 1.13.0", + "gloo-timers", + "kv-log-macro", + "log", + "memchr", + "once_cell", + "pin-project-lite", + "pin-utils", + "slab", + "wasm-bindgen-futures", +] + +[[package]] +name = "async-task" +version = "4.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" + [[package]] name = "async-trait" version = "0.1.80" @@ -414,6 +603,12 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "autocfg" version = "1.3.0" @@ -600,6 +795,20 @@ dependencies = [ "byte-tools", ] +[[package]] +name = "blocking" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" +dependencies = [ + "async-channel 2.3.1", + "async-lock 3.3.0", + "async-task", + "futures-io", + "futures-lite 2.3.0", + "piper", +] + [[package]] name = "bounded-collections" version = "0.1.9" @@ -626,6 +835,7 @@ dependencies = [ "getrandom 0.2.15", "hex-literal", "libsecp256k1", + "log", "orml-traits", "parity-bytes", "parity-scale-codec", @@ -906,6 +1116,15 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "const-oid" version = "0.9.6" @@ -986,6 +1205,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-utils" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" + [[package]] name = "crunchy" version = "0.2.2" @@ -1445,6 +1670,54 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "eth-bridge" +version = "0.2.0" +dependencies = [ + "assets", + "async-std", + "bridge-types", + "common 0.1.0", + "env_logger", + "ethabi", + "ethabi-contract", + "ethabi-derive", + "ethereum-types", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "hex-literal", + "jsonrpc-core", + "libsecp256k1", + "log", + "once_cell", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-multisig", + "pallet-scheduler", + "pallet-sudo", + "pallet-timestamp", + "parity-scale-codec", + "parity-util-mem", + "parking_lot", + "permissions", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-std", + "tiny-keccak", + "tokio", +] + [[package]] name = "ethabi" version = "17.2.0" @@ -1452,11 +1725,32 @@ source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f04 dependencies = [ "ethereum-types", "hex", + "once_cell", + "regex", + "serde", + "serde_json", "sha3", "thiserror", "uint", ] +[[package]] +name = "ethabi-contract" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" + +[[package]] +name = "ethabi-derive" +version = "17.2.0" +source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" +dependencies = [ + "ethabi", + "heck", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "ethash" version = "0.6.0" @@ -1499,6 +1793,65 @@ dependencies = [ "uint", ] +[[package]] +name = "event-listener" +version = "2.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" + +[[package]] +name = "event-listener" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener 4.0.3", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +dependencies = [ + "event-listener 5.3.0", + "pin-project-lite", +] + [[package]] name = "expander" version = "2.1.0" @@ -1571,6 +1924,21 @@ dependencies = [ "vested-rewards", ] +[[package]] +name = "fastrand" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +dependencies = [ + "instant", +] + +[[package]] +name = "fastrand" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" + [[package]] name = "faucet" version = "0.1.0" @@ -1685,6 +2053,22 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "frame-executive" +version = "4.0.0-dev" +dependencies = [ + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", +] + [[package]] name = "frame-metadata" version = "16.0.0" @@ -1855,6 +2239,34 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +[[package]] +name = "futures-lite" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +dependencies = [ + "fastrand 1.9.0", + "futures-core", + "futures-io", + "memchr", + "parking", + "pin-project-lite", + "waker-fn", +] + +[[package]] +name = "futures-lite" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" +dependencies = [ + "fastrand 2.1.0", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + [[package]] name = "futures-macro" version = "0.3.30" @@ -1966,6 +2378,18 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + [[package]] name = "group" version = "0.13.0" @@ -2235,6 +2659,15 @@ dependencies = [ "hashbrown 0.14.5", ] +[[package]] +name = "instant" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +dependencies = [ + "cfg-if", +] + [[package]] name = "integer-sqrt" version = "0.1.5" @@ -2290,6 +2723,18 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "jsonrpc-core" +version = "17.0.0" +source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" +dependencies = [ + "futures", + "log", + "serde", + "serde_derive", + "serde_json", +] + [[package]] name = "k256" version = "0.13.3" @@ -2337,6 +2782,15 @@ dependencies = [ "technical", ] +[[package]] +name = "kv-log-macro" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" +dependencies = [ + "log", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -2412,6 +2866,12 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +[[package]] +name = "linux-raw-sys" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + [[package]] name = "linux-raw-sys" version = "0.4.13" @@ -2472,6 +2932,9 @@ name = "log" version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +dependencies = [ + "value-bag", +] [[package]] name = "mach" @@ -2968,6 +3431,22 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-multisig" +version = "3.2.3" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-scheduler" version = "4.0.0-dev" @@ -3006,6 +3485,20 @@ dependencies = [ "sp-trie", ] +[[package]] +name = "pallet-sudo" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-timestamp" version = "4.0.0-dev" @@ -3072,12 +3565,42 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "impl-trait-for-tuples", + "parity-util-mem-derive", + "primitive-types", + "winapi", +] + +[[package]] +name = "parity-util-mem-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +dependencies = [ + "proc-macro2", + "syn 1.0.109", + "synstructure", +] + [[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.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + [[package]] name = "parking_lot" version = "0.12.2" @@ -3160,6 +3683,17 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "piper" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" +dependencies = [ + "atomic-waker", + "fastrand 2.1.0", + "futures-io", +] + [[package]] name = "pkcs8" version = "0.10.2" @@ -3176,6 +3710,37 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" +[[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +dependencies = [ + "autocfg", + "bitflags 1.3.2", + "cfg-if", + "concurrent-queue", + "libc", + "log", + "pin-project-lite", + "windows-sys 0.48.0", +] + +[[package]] +name = "polling" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 0.38.34", + "tracing", + "windows-sys 0.52.0", +] + [[package]] name = "pool-xyk" version = "1.2.0" @@ -3702,6 +4267,20 @@ dependencies = [ "windows-sys 0.45.0", ] +[[package]] +name = "rustix" +version = "0.37.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +dependencies = [ + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + [[package]] name = "rustix" version = "0.38.34" @@ -3974,6 +4553,15 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "signal-hook-registry" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +dependencies = [ + "libc", +] + [[package]] name = "signature" version = "2.2.0" @@ -4012,6 +4600,16 @@ version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +[[package]] +name = "socket2" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "sp-api" version = "4.0.0-dev" @@ -4626,6 +5224,18 @@ dependencies = [ "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 1.0.109", + "unicode-xid", +] + [[package]] name = "tap" version = "1.0.1" @@ -4746,6 +5356,28 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +[[package]] +name = "tokio" +version = "1.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +dependencies = [ + "backtrace", + "pin-project-lite", + "tokio-macros", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + [[package]] name = "toml" version = "0.8.12" @@ -5004,6 +5636,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +[[package]] +name = "value-bag" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" + [[package]] name = "version_check" version = "0.9.4" @@ -5047,6 +5685,12 @@ dependencies = [ "technical", ] +[[package]] +name = "waker-fn" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" + [[package]] name = "walkdir" version = "2.5.0" @@ -5094,6 +5738,18 @@ dependencies = [ "wasm-bindgen-shared", ] +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "wasm-bindgen-macro" version = "0.2.92" @@ -5265,6 +5921,16 @@ dependencies = [ "wasmparser", ] +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "wide" version = "0.7.17" @@ -5669,10 +6335,6 @@ dependencies = [ name = "frame-election-provider-support" version = "4.0.0-dev" -[[patch.unused]] -name = "frame-executive" -version = "4.0.0-dev" - [[patch.unused]] name = "frame-system-benchmarking" version = "4.0.0-dev" @@ -5745,10 +6407,6 @@ version = "4.0.0-dev" name = "pallet-staking" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-sudo" -version = "4.0.0-dev" - [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" @@ -5901,6 +6559,10 @@ version = "0.1.1" name = "dispatch" version = "0.1.1" +[[patch.unused]] +name = "evm-fungible-app" +version = "0.1.1" + [[patch.unused]] name = "leaf-provider" version = "0.1.1" @@ -5933,10 +6595,6 @@ version = "0.1.1" name = "frame-election-provider-support" version = "4.0.0-dev" -[[patch.unused]] -name = "frame-executive" -version = "4.0.0-dev" - [[patch.unused]] name = "frame-system-benchmarking" version = "4.0.0-dev" @@ -6009,10 +6667,6 @@ version = "4.0.0-dev" name = "pallet-staking" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-sudo" -version = "4.0.0-dev" - [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" diff --git a/Cargo.toml b/Cargo.toml index edc052938f..46a54740fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -337,7 +337,7 @@ substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" bridge-types = { path = "../sora2-common/pallets/types" } bridge-data-signer = { path = "../sora2-common/pallets/data-signer" } multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } -# evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } +evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } # bridge-channel = { path = "../sora2-common/pallets/channel" } # substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } @@ -367,7 +367,7 @@ members = [ "pallets/rewards", "pallets/xor-fee", "pallets/referrals", - # "pallets/eth-bridge", + "pallets/eth-bridge", "pallets/pswap-distribution", "pallets/multicollateral-bonding-curve-pool", "pallets/vested-rewards", diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index 4d56c9f7b6..3bc451de88 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -33,12 +33,14 @@ serde = { version = "1.0", features = [ ], default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } tiny-keccak = { version = "2", default-features = false } pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } +bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } ethabi = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi", default-features = false } ethabi-contract = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi-contract", default-features = false } ethabi-derive = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi-derive", default-features = false } @@ -79,7 +81,7 @@ permissions = { path = "../permissions" } [features] default = ['std'] std = [ - # 'bridge-multisig/std', + 'bridge-multisig/std', 'codec/std', "scale-info/std", 'ethereum-types/std', @@ -92,7 +94,9 @@ std = [ 'serde_json/std', 'serde/std', 'sp-core/std', + 'sp-io/std', 'sp-std/std', + 'sp-runtime/std', 'pallet-scheduler/std', 'pallet-timestamp/std', 'common/std', diff --git a/pallets/eth-bridge/src/contract.rs b/pallets/eth-bridge/src/contract.rs index 2665ac42a0..b593cecd7f 100644 --- a/pallets/eth-bridge/src/contract.rs +++ b/pallets/eth-bridge/src/contract.rs @@ -30,9 +30,9 @@ use alloc::boxed::Box; use ethabi::Function; +use once_cell::race::OnceBox; #[cfg(feature = "std")] use sp_core::RuntimeDebug; -use once_cell::race::OnceBox; use sp_core::H256; use sp_std::collections::btree_map::BTreeMap; diff --git a/pallets/eth-bridge/src/lib.rs b/pallets/eth-bridge/src/lib.rs index 88f8baf7e5..6904e0fb1f 100644 --- a/pallets/eth-bridge/src/lib.rs +++ b/pallets/eth-bridge/src/lib.rs @@ -84,7 +84,6 @@ use common::{ }; use core::stringify; use frame_support::dispatch::DispatchResult; -use log::{debug, error, info, warn}; use frame_support::sp_runtime::app_crypto::{ecdsa, sp_core}; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::offchain::storage_lock::{StorageLock, Time}; @@ -96,15 +95,18 @@ use frame_support::traits::Get; use frame_support::weights::Weight; use frame_support::{ensure, fail, Parameter}; use frame_system::offchain::{AppCrypto, CreateSignedTransaction}; +use frame_system::pallet_prelude::BlockNumberFor; use frame_system::pallet_prelude::OriginFor; use frame_system::{ensure_root, ensure_signed}; use hex_literal::hex; +use log::{debug, error, info, warn}; pub use pallet::*; use permissions::{Scope, BURN, MINT}; use requests::*; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; -use sp_core::{H160, H256, RuntimeDebug}; +use sp_core::{RuntimeDebug, H160, H256}; +use sp_runtime::DispatchError; use sp_std::borrow::Cow; use sp_std::collections::btree_set::BTreeSet; use sp_std::fmt::{self, Debug}; @@ -176,7 +178,8 @@ const RE_HANDLE_TXS_PERIOD: u32 = 200; pub const MINIMUM_PEERS_FOR_MIGRATION: usize = 3; type AssetIdOf = ::AssetId; -type Timepoint = bridge_multisig::BridgeTimepoint<::BlockNumber>; +// type Timepoint = bridge_multisig::BridgeTimepoint<::BlockNumber>; +type Timepoint = bridge_multisig::BridgeTimepoint>; type BridgeTimepoint = Timepoint; type BridgeNetworkId = ::NetworkId; @@ -332,13 +335,14 @@ pub mod pallet { use codec::Codec; use common::prelude::constants::EXTRINSIC_FIXED_WEIGHT; use common::weights::{err_pays_no, pays_no, pays_no_with_maybe_weight}; - use log; use frame_support::pallet_prelude::*; + use frame_support::sp_runtime; use frame_support::traits::{GetCallMetadata, StorageVersion}; use frame_support::transactional; use frame_support::weights::WeightToFeePolynomial; use frame_system::pallet_prelude::*; use frame_system::RawOrigin; + use log; // TODO: #395 use AssetInfoProvider instead of assets pallet #[pallet::config] @@ -1470,7 +1474,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { AuthorityAccount::::put(&self.authority_account.as_ref().unwrap()); XorMasterContractAddress::::put(&self.xor_master_contract_address); diff --git a/pallets/eth-bridge/src/offchain/handle.rs b/pallets/eth-bridge/src/offchain/handle.rs index 5983863fda..63bdf69e45 100644 --- a/pallets/eth-bridge/src/offchain/handle.rs +++ b/pallets/eth-bridge/src/offchain/handle.rs @@ -47,15 +47,17 @@ use crate::{ use alloc::vec::Vec; use bridge_multisig::MultiChainHeight; use codec::{Decode, Encode}; -use log::{debug, error, info, trace, warn}; -use sp_io::hashing::blake2_256; use frame_support::sp_runtime::app_crypto::ecdsa; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::traits::{One, Saturating, Zero}; use frame_support::traits::Get; use frame_support::{ensure, fail}; use frame_system::offchain::{CreateSignedTransaction, Signer}; +use frame_system::pallet_prelude::BlockNumberFor; +use log::{debug, error, info, trace, warn}; +use sp_core::RuntimeDebug; use sp_core::H256; +use sp_io::hashing::blake2_256; use sp_std::collections::btree_map::BTreeMap; impl Pallet { @@ -480,7 +482,7 @@ impl Pallet { return Ok(substrate_finalized_height); } }; - from_block += BlockNumberFor::one(); + from_block += BlockNumberFor::::one(); // Will not process block with height bigger than finalized height s_sub_to_handle_from_height.set(&from_block); } @@ -609,7 +611,7 @@ impl Pallet { } }; - if substrate_finalized_height % RE_HANDLE_TXS_PERIOD.into() == BlockNumberFor::zero() { + if substrate_finalized_height % RE_HANDLE_TXS_PERIOD.into() == BlockNumberFor::::zero() { Self::handle_pending_multisig_calls(network_id, current_eth_height); } @@ -624,9 +626,9 @@ impl Pallet { } let request_submission_height: BlockNumberFor = Self::request_submission_height(network_id, &request_hash); - let number = BlockNumberFor::from(MAX_PENDING_TX_BLOCKS_PERIOD); + let number = BlockNumberFor::::from(MAX_PENDING_TX_BLOCKS_PERIOD); let diff = substrate_finalized_height.saturating_sub(request_submission_height); - let should_reapprove = diff >= number && diff % number == BlockNumberFor::zero(); + let should_reapprove = diff >= number && diff % number == BlockNumberFor::::zero(); if !should_reapprove && substrate_finalized_height < request_submission_height { continue; } diff --git a/pallets/eth-bridge/src/offchain/http.rs b/pallets/eth-bridge/src/offchain/http.rs index c026c0376b..1c9af9ca8a 100644 --- a/pallets/eth-bridge/src/offchain/http.rs +++ b/pallets/eth-bridge/src/offchain/http.rs @@ -42,13 +42,14 @@ use crate::{ }; use alloc::string::String; use alloc::vec::Vec; -use log::{error, trace, warn}; +use frame_support::fail; use frame_support::sp_runtime::offchain as rt_offchain; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::traits::Get; -use frame_support::fail; use frame_system::offchain::CreateSignedTransaction; +use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; +use log::{error, trace, warn}; use serde::{Deserialize, Serialize}; use serde_json::Value; use sp_core::{H160, H256}; @@ -293,7 +294,9 @@ impl Pallet { /// Queries a block at the given height of the local node with `chain_getBlockHash` and /// `chain_getBlock` RPC calls. - pub fn load_substrate_block(number: BlockNumberFor) -> Result> + pub fn load_substrate_block( + number: BlockNumberFor, + ) -> Result> where T: CreateSignedTransaction<::RuntimeCall>, { diff --git a/pallets/eth-bridge/src/offchain/mod.rs b/pallets/eth-bridge/src/offchain/mod.rs index e9c2343942..26cd37e70e 100644 --- a/pallets/eth-bridge/src/offchain/mod.rs +++ b/pallets/eth-bridge/src/offchain/mod.rs @@ -64,7 +64,8 @@ use rustc_hex::ToHex; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_core::crypto::ByteArray; -use sp_core::{H160, H256, RuntimeDebug}; +use sp_core::RuntimeDebug; +use sp_core::{H160, H256}; use sp_std::collections::btree_set::BTreeSet; use sp_std::convert::TryInto; use sp_std::fmt; diff --git a/pallets/eth-bridge/src/offchain/transaction.rs b/pallets/eth-bridge/src/offchain/transaction.rs index dea77ef302..7e649665ad 100644 --- a/pallets/eth-bridge/src/offchain/transaction.rs +++ b/pallets/eth-bridge/src/offchain/transaction.rs @@ -38,12 +38,10 @@ use crate::{ }; use alloc::boxed::Box; use codec::{Decode, Encode}; -use sp_runtime::DispatchError; -use log::{debug, error}; -use sp_io::hashing::blake2_256; use frame_support::sp_runtime::offchain::storage::StorageValueRef; use frame_support::sp_runtime::traits::{BlockNumberProvider, IdentifyAccount, Saturating}; use frame_support::sp_runtime::RuntimeAppPublic; +use frame_support::traits::GetCallMetadata; use frame_support::traits::GetCallName; use frame_support::{ensure, fail}; #[cfg(test)] @@ -52,7 +50,12 @@ use frame_system::offchain::{ Account, AppCrypto, CreateSignedTransaction, SendSignedTransaction, SendTransactionTypes, Signer, }; +use frame_system::pallet_prelude::BlockNumberFor; +use log::{debug, error}; use sp_core::H256; +use sp_io::hashing::blake2_256; +use sp_runtime::traits::Extrinsic; +use sp_runtime::DispatchError; use sp_std::collections::btree_map::BTreeMap; use sp_std::vec::Vec; diff --git a/pallets/eth-bridge/src/requests/incoming.rs b/pallets/eth-bridge/src/requests/incoming.rs index bded98902d..12506684b2 100644 --- a/pallets/eth-bridge/src/requests/incoming.rs +++ b/pallets/eth-bridge/src/requests/incoming.rs @@ -50,17 +50,18 @@ use common::{AssetName, AssetSymbol, BalancePrecision}; #[allow(unused_imports)] use frame_support::debug; use frame_support::dispatch::DispatchResult; +use frame_support::ensure; use frame_support::sp_runtime::app_crypto::sp_core; use frame_support::sp_runtime::traits::UniqueSaturatedInto; use frame_support::traits::Get; use frame_support::weights::WeightToFee; -use frame_support::{ensure, RuntimeDebug}; use frame_system::RawOrigin; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_core::H256; -use sp_std::prelude::*; use sp_runtime::DispatchError; +use sp_std::prelude::*; pub const MIN_PEERS: usize = 4; pub const MAX_PEERS: usize = 100; diff --git a/pallets/eth-bridge/src/requests/mod.rs b/pallets/eth-bridge/src/requests/mod.rs index 9cc8f6c3be..48e93a28e9 100644 --- a/pallets/eth-bridge/src/requests/mod.rs +++ b/pallets/eth-bridge/src/requests/mod.rs @@ -39,15 +39,17 @@ use common::prelude::Balance; use common::AssetInfoProvider; use ethabi::Token; use frame_support::dispatch::DispatchResult; -use log::warn; +use frame_support::ensure; use frame_support::sp_runtime::app_crypto::sp_core; -use frame_support::{ensure, RuntimeDebug}; pub use incoming::*; +use log::warn; pub use outgoing::*; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_core::H256; use sp_io::hashing::blake2_256; +use sp_runtime::DispatchError; use sp_std::prelude::*; pub mod encode_packed; diff --git a/pallets/eth-bridge/src/requests/outgoing.rs b/pallets/eth-bridge/src/requests/outgoing.rs index 64aad7f25c..eb662e33cb 100644 --- a/pallets/eth-bridge/src/requests/outgoing.rs +++ b/pallets/eth-bridge/src/requests/outgoing.rs @@ -49,17 +49,18 @@ use common::{AssetInfoProvider, AssetName, AssetSymbol, IsValid, VAL, XOR}; use ethabi::{FixedBytes, Token}; #[allow(unused_imports)] use frame_support::debug; -use sp_runtime::DispatchError; use frame_support::sp_runtime::app_crypto::sp_core; use frame_support::sp_runtime::traits::UniqueSaturatedInto; use frame_support::traits::Get; +use sp_runtime::DispatchError; use super::encode_packed::{encode_packed, TokenWrapper}; use bridge_types::traits::MessageStatusNotifier; -use frame_support::{ensure, RuntimeDebug}; +use frame_support::ensure; use frame_system::RawOrigin; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; +use sp_core::RuntimeDebug; use sp_core::{H256, U256}; use sp_std::convert::TryInto; use sp_std::prelude::*; @@ -74,7 +75,7 @@ pub struct OutgoingTransfer { pub asset_id: AssetIdOf, #[cfg_attr(feature = "std", serde(with = "string_serialization"))] pub amount: Balance, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -326,7 +327,7 @@ impl OutgoingTransferEncoded { pub struct OutgoingAddAsset { pub author: T::AccountId, pub asset_id: AssetIdOf, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -463,7 +464,7 @@ pub struct OutgoingAddToken { pub symbol: String, pub name: String, pub decimals: u8, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -654,7 +655,7 @@ pub struct OutgoingAddPeer { pub author: T::AccountId, pub peer_address: EthAddress, pub peer_account_id: T::AccountId, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -762,7 +763,7 @@ pub struct OutgoingAddPeerCompat { pub author: T::AccountId, pub peer_address: EthAddress, pub peer_account_id: T::AccountId, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -827,7 +828,7 @@ pub struct OutgoingRemovePeer { pub author: T::AccountId, pub peer_account_id: T::AccountId, pub peer_address: EthAddress, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, pub compat_hash: Option, @@ -952,7 +953,7 @@ pub struct OutgoingRemovePeerCompat { pub author: T::AccountId, pub peer_account_id: T::AccountId, pub peer_address: EthAddress, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -1067,7 +1068,7 @@ impl OutgoingRemovePeerEncoded { #[scale_info(skip_type_params(T))] pub struct OutgoingPrepareForMigration { pub author: T::AccountId, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, } @@ -1165,7 +1166,7 @@ pub struct OutgoingMigrate { pub author: T::AccountId, pub new_contract_address: EthAddress, pub erc20_native_tokens: Vec, - pub nonce: T::Index, + pub nonce: T::Nonce, pub network_id: BridgeNetworkId, pub timepoint: BridgeTimepoint, pub new_signature_version: BridgeSignatureVersion, diff --git a/pallets/eth-bridge/src/rpc.rs b/pallets/eth-bridge/src/rpc.rs index 4d5e868200..c26743485d 100644 --- a/pallets/eth-bridge/src/rpc.rs +++ b/pallets/eth-bridge/src/rpc.rs @@ -36,9 +36,9 @@ use crate::{ RegisteredSidechainToken, RequestApprovals, RequestStatuses, Requests, SidechainAssetPrecision, }; use common::{AssetInfoProvider, BalancePrecision}; -use sp_runtime::DispatchError; use frame_support::sp_runtime::app_crypto::sp_core; use sp_core::{H160, H256}; +use sp_runtime::DispatchError; use sp_std::prelude::*; impl Pallet { diff --git a/pallets/eth-bridge/src/tests/ocw.rs b/pallets/eth-bridge/src/tests/ocw.rs index b0cddbb735..7b907d97a7 100644 --- a/pallets/eth-bridge/src/tests/ocw.rs +++ b/pallets/eth-bridge/src/tests/ocw.rs @@ -42,9 +42,9 @@ use crate::{ use codec::Encode; use common::{DEFAULT_BALANCE_PRECISION, VAL, XOR}; use frame_support::assert_ok; -use sp_runtime::DispatchError; use hex_literal::hex; use sp_core::{sr25519, H256}; +use sp_runtime::DispatchError; use std::str::FromStr; #[test] diff --git a/pallets/iroha-migration/src/lib.rs b/pallets/iroha-migration/src/lib.rs index 5fd0b1ddc9..9b0685d027 100644 --- a/pallets/iroha-migration/src/lib.rs +++ b/pallets/iroha-migration/src/lib.rs @@ -62,7 +62,7 @@ use frame_support::dispatch::{DispatchError, Pays}; use log::error; use frame_support::sp_runtime::traits::Zero; use frame_support::weights::Weight; -use frame_support::{ensure, RuntimeDebug}; +use frame_support::ensure; use frame_system::ensure_signed; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; From 1b0d7c494b012449bd77f9f535fcd24cc87b5956 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sun, 19 May 2024 06:22:14 -0300 Subject: [PATCH 010/110] bridge proxy iroha migration --- Cargo.lock | 2345 +++++++++++++++++++++------- Cargo.toml | 6 +- pallets/bridge-proxy/src/lib.rs | 3 +- pallets/bridge-proxy/src/mock.rs | 4 +- pallets/iroha-migration/Cargo.toml | 1 + pallets/iroha-migration/src/lib.rs | 14 +- 6 files changed, 1818 insertions(+), 555 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37b71362f8..aab920e8a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,6 +12,15 @@ dependencies = [ "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" @@ -111,8 +120,8 @@ dependencies = [ "dex-api", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "liquidity-proxy", "log", @@ -121,7 +130,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -129,10 +138,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -343,9 +352,15 @@ dependencies = [ "ark-std", "digest 0.10.7", "rand_core 0.6.4", - "sha3", + "sha3 0.10.8", ] +[[package]] +name = "array-bytes" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" + [[package]] name = "array-bytes" version = "6.2.2" @@ -385,8 +400,8 @@ version = "1.3.1" dependencies = [ "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -396,10 +411,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "tiny-keccak", ] @@ -637,19 +652,19 @@ dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "oracle-proxy", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "xst", ] @@ -675,12 +690,24 @@ dependencies = [ "zeroize", ] +[[package]] +name = "base16ct" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" + [[package]] name = "base16ct" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[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" @@ -762,7 +789,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding", + "block-padding 0.1.5", "byte-tools", "byteorder", "generic-array 0.12.4", @@ -774,6 +801,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ + "block-padding 0.2.1", "generic-array 0.14.7", ] @@ -795,6 +823,12 @@ 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 = "blocking" version = "1.6.0" @@ -821,6 +855,70 @@ dependencies = [ "serde", ] +[[package]] +name = "bridge-channel" +version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" +dependencies = [ + "bridge-types", + "ethabi", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "once_cell", + "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", +] + +[[package]] +name = "bridge-proxy" +version = "0.1.0" +dependencies = [ + "assets", + "bridge-channel", + "bridge-types", + "common 0.1.0", + "dispatch", + "evm-fungible-app", + "frame-benchmarking", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-keyring", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", + "technical", +] + +[[package]] +name = "bridge-proxy-runtime-api" +version = "0.1.0" +dependencies = [ + "bridge-types", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "bridge-types" version = "0.1.0" @@ -830,8 +928,8 @@ dependencies = [ "ethash", "ethbloom", "ethereum-types", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "getrandom 0.2.15", "hex-literal", "libsecp256k1", @@ -844,10 +942,10 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "staging-xcm", ] @@ -913,15 +1011,15 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -929,10 +1027,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -946,15 +1044,15 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -962,10 +1060,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -977,8 +1075,8 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -987,10 +1085,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -1004,27 +1102,36 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] +[[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-expr" version = "0.15.8" @@ -1069,15 +1176,15 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "paste", "rustc-hex", @@ -1085,12 +1192,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "static_assertions", "strum 0.25.0", "thiserror", @@ -1187,6 +1294,15 @@ dependencies = [ "libc", ] +[[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-entity" version = "0.95.1" @@ -1217,6 +1333,18 @@ 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.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-bigint" version = "0.5.5" @@ -1323,30 +1451,40 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", ] +[[package]] +name = "der" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der" version = "0.7.9" @@ -1411,26 +1549,26 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "strum 0.25.0", "technical", ] @@ -1441,8 +1579,8 @@ version = "0.2.0" dependencies = [ "assets", "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", @@ -1453,11 +1591,11 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -1490,6 +1628,23 @@ dependencies = [ "subtle", ] +[[package]] +name = "dispatch" +version = "0.1.1" +dependencies = [ + "bridge-types", + "frame-benchmarking", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "dleq_vrf" version = "0.0.2" @@ -1534,6 +1689,12 @@ dependencies = [ "walkdir", ] +[[package]] +name = "downcast-rs" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" + [[package]] name = "dyn-clonable" version = "0.9.0" @@ -1561,18 +1722,39 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +[[package]] +name = "ecdsa" +version = "0.14.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" +dependencies = [ + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + [[package]] name = "ecdsa" version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der", + "der 0.7.9", "digest 0.10.7", - "elliptic-curve", - "rfc6979", - "signature", - "spki", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.2.0", + "spki 0.7.3", +] + +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature 1.6.4", ] [[package]] @@ -1581,7 +1763,19 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ - "signature", + "signature 2.2.0", +] + +[[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 1.5.3", + "sha2 0.9.9", + "zeroize", ] [[package]] @@ -1591,11 +1785,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek 4.1.2", - "ed25519", + "ed25519 2.2.3", "sha2 0.10.8", "subtle", ] +[[package]] +name = "ed25519-dalek-iroha" +version = "1.0.1" +source = "git+https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git?branch=develop#11f9bb453fe208f83840dd6ddb4d05afdb0c1fde" +dependencies = [ + "curve25519-dalek 3.2.0", + "ed25519 1.5.3", + "sha3 0.9.1", + "zeroize", +] + [[package]] name = "ed25519-zebra" version = "3.1.0" @@ -1616,21 +1821,40 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" +[[package]] +name = "elliptic-curve" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +dependencies = [ + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", + "digest 0.10.7", + "ff 0.12.1", + "generic-array 0.14.7", + "group 0.12.1", + "rand_core 0.6.4", + "sec1 0.3.0", + "subtle", + "zeroize", +] + [[package]] name = "elliptic-curve" version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ - "base16ct", - "crypto-bigint", + "base16ct 0.2.0", + "crypto-bigint 0.5.5", "digest 0.10.7", - "ff", + "ff 0.13.0", "generic-array 0.14.7", - "group", - "pkcs8", + "group 0.13.0", + "pkcs8 0.10.2", "rand_core 0.6.4", - "sec1", + "sec1 0.7.3", "subtle", "zeroize", ] @@ -1660,6 +1884,17 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +[[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" version = "0.3.9" @@ -1670,6 +1905,16 @@ dependencies = [ "windows-sys 0.52.0", ] +[[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 = "eth-bridge" version = "0.2.0" @@ -1685,8 +1930,8 @@ dependencies = [ "ethereum-types", "frame-benchmarking", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -1696,10 +1941,10 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-multisig", + "pallet-multisig 3.2.3", "pallet-scheduler", "pallet-sudo", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "parity-util-mem", "parking_lot", @@ -1709,11 +1954,11 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "tiny-keccak", "tokio", ] @@ -1729,7 +1974,7 @@ dependencies = [ "regex", "serde", "serde_json", - "sha3", + "sha3 0.10.8", "thiserror", "uint", ] @@ -1759,7 +2004,7 @@ dependencies = [ "byteorder", "ethereum-types", "rlp", - "sha3", + "sha3 0.10.8", ] [[package]] @@ -1852,6 +2097,30 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "evm-fungible-app" +version = "0.1.1" +dependencies = [ + "bridge-types", + "dispatch", + "ethabi", + "frame-benchmarking", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "expander" version = "2.1.0" @@ -1895,8 +2164,8 @@ dependencies = [ "dex-manager", "env_logger", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -1906,7 +2175,7 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-scheduler", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -1914,11 +2183,11 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -1946,26 +2215,36 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "rewards", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] +[[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 = "ff" version = "0.13.0" @@ -2033,23 +2312,23 @@ dependencies = [ name = "frame-benchmarking" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", "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", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", "static_assertions", ] @@ -2057,16 +2336,28 @@ dependencies = [ name = "frame-executive" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", +] + +[[package]] +name = "frame-metadata" +version = "15.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", + "serde", ] [[package]] @@ -2089,10 +2380,10 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata", - "frame-support-procedural", + "frame-metadata 16.0.0", + "frame-support-procedural 4.0.0-dev", "impl-trait-for-tuples", - "k256", + "k256 0.13.3", "log", "macro_magic", "parity-scale-codec", @@ -2101,34 +2392,66 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-core-hashing-proc-macro 9.0.0", "sp-debug-derive 8.0.0", "sp-genesis-builder", - "sp-inherents", - "sp-io", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", "sp-metadata-ir", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-weights", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-weights 20.0.0", "static_assertions", "tt-call", ] +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bitflags 1.3.2", + "frame-metadata 15.1.0", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "impl-trait-for-tuples", + "k256 0.11.6", + "log", + "once_cell", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-core-hashing-proc-macro 5.0.0", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-weights 4.0.0", + "tt-call", +] + [[package]] name = "frame-support-procedural" version = "4.0.0-dev" dependencies = [ "Inflector", - "cfg-expr", + "cfg-expr 0.15.8", "derive-syn-parse 0.1.5", "expander", - "frame-support-procedural-tools", + "frame-support-procedural-tools 4.0.0-dev", "itertools", "macro_magic", "proc-macro-warning", @@ -2137,17 +2460,44 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "cfg-expr 0.10.3", + "derive-syn-parse 0.1.5", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 3.0.0", "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 2.0.61", ] +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" @@ -2157,28 +2507,56 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "frame-system" version = "4.0.0-dev" dependencies = [ "cfg-if", - "frame-support", + "frame-support 4.0.0-dev", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version 22.0.0", + "sp-weights 20.0.0", ] [[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version 5.0.0", + "sp-weights 4.0.0", +] + +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" dependencies = [ "autocfg", @@ -2361,6 +2739,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "gimli" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +dependencies = [ + "fallible-iterator 0.2.0", + "stable_deref_trait", +] + [[package]] name = "gimli" version = "0.27.3" @@ -2390,17 +2778,34 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "group" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" +dependencies = [ + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "group" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "ff", + "ff 0.13.0", "rand_core 0.6.4", "subtle", ] +[[package]] +name = "hash-db" +version = "0.15.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" + [[package]] name = "hash-db" version = "0.16.0" @@ -2457,8 +2862,8 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hermes-governance-platform", "hex-literal", "log", @@ -2466,7 +2871,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -2474,10 +2879,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -2677,6 +3082,12 @@ dependencies = [ "num-traits", ] +[[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.11" @@ -2688,6 +3099,38 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "iroha-migration" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "ed25519-dalek-iroha", + "eth-bridge", + "frame-benchmarking", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex", + "hex-literal", + "log", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-multisig 4.0.0-dev", + "parity-scale-codec", + "parity-util-mem", + "permissions", + "referrals", + "scale-info", + "serde", + "sha3 0.9.1", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + [[package]] name = "is-terminal" version = "0.4.12" @@ -2735,6 +3178,18 @@ dependencies = [ "serde_json", ] +[[package]] +name = "k256" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +dependencies = [ + "cfg-if", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", + "sha2 0.10.8", +] + [[package]] name = "k256" version = "0.13.3" @@ -2742,8 +3197,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", - "ecdsa", - "elliptic-curve", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", "once_cell", "sha2 0.10.8", ] @@ -2763,22 +3218,22 @@ version = "0.0.1" dependencies = [ "assets", "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -2803,6 +3258,12 @@ version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +[[package]] +name = "libm" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + [[package]] name = "libsecp256k1" version = "0.7.1" @@ -2860,6 +3321,12 @@ dependencies = [ "nalgebra", ] +[[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" @@ -2889,8 +3356,8 @@ dependencies = [ "dex-api", "dex-manager", "fallible-iterator 0.2.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "itertools", "mock-liquidity-source", @@ -2899,7 +3366,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -2907,11 +3374,11 @@ dependencies = [ "qa-tools", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -3027,6 +3494,15 @@ dependencies = [ "rustix 0.38.34", ] +[[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.8.0" @@ -3036,15 +3512,31 @@ 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 0.15.2", + "hashbrown 0.12.3", +] + [[package]] name = "memory-db" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] +[[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" @@ -3085,8 +3577,8 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -3096,11 +3588,11 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -3115,8 +3607,8 @@ dependencies = [ "dex-api", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -3124,7 +3616,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -3132,11 +3624,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -3225,6 +3717,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ + "num-bigint", "num-integer", "num-traits", ] @@ -3248,6 +3741,18 @@ dependencies = [ "libc", ] +[[package]] +name = "object" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +dependencies = [ + "crc32fast", + "hashbrown 0.12.3", + "indexmap 1.9.3", + "memchr", +] + [[package]] name = "object" version = "0.30.4" @@ -3294,18 +3799,18 @@ dependencies = [ "band", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3315,20 +3820,20 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-tokens", "pallet-balances", "pallet-collective", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -3338,16 +3843,16 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "orml-traits", "orml-utilities", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3355,16 +3860,16 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3372,7 +3877,7 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -3380,10 +3885,10 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "staging-xcm", ] @@ -3392,14 +3897,14 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3407,28 +3912,28 @@ name = "pallet-balances" version = "4.0.0-dev" dependencies = [ "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-collective" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3436,15 +3941,30 @@ name = "pallet-multisig" version = "3.2.3" source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-multisig" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3453,36 +3973,36 @@ version = "4.0.0-dev" dependencies = [ "docify", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", ] [[package]] name = "pallet-session" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "impl-trait-for-tuples", "log", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", "sp-session", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-trie", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", ] [[package]] @@ -3490,13 +4010,13 @@ name = "pallet-sudo" version = "4.0.0-dev" dependencies = [ "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3504,32 +4024,48 @@ name = "pallet-timestamp" version = "4.0.0-dev" dependencies = [ "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-timestamp 4.0.0-dev", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", - "sp-timestamp", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3659,16 +4195,16 @@ name = "permissions" version = "1.1.0" dependencies = [ "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3694,14 +4230,24 @@ dependencies = [ "futures-io", ] +[[package]] +name = "pkcs8" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +dependencies = [ + "der 0.6.1", + "spki 0.6.0", +] + [[package]] name = "pkcs8" version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der", - "spki", + "der 0.7.9", + "spki 0.7.3", ] [[package]] @@ -3751,8 +4297,8 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "num-traits", @@ -3761,17 +4307,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "price-tools", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "xst", @@ -3804,26 +4350,26 @@ dependencies = [ "dex-api", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -3923,8 +4469,8 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -3932,17 +4478,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -3953,8 +4499,8 @@ dependencies = [ "assets", "band", "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "multicollateral-bonding-curve-pool", "oracle-proxy", "order-book", @@ -3965,11 +4511,11 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "xst", ] @@ -4102,8 +4648,8 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -4113,10 +4659,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -4170,8 +4716,8 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "libsecp256k1", @@ -4184,13 +4730,24 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] +[[package]] +name = "rfc6979" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +dependencies = [ + "crypto-bigint 0.4.9", + "hmac 0.12.1", + "zeroize", +] + [[package]] name = "rfc6979" version = "0.4.0" @@ -4253,6 +4810,20 @@ dependencies = [ "semver", ] +[[package]] +name = "rustix" +version = "0.35.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" +dependencies = [ + "bitflags 1.3.2", + "errno 0.2.8", + "io-lifetimes 0.7.5", + "libc", + "linux-raw-sys 0.0.46", + "windows-sys 0.42.0", +] + [[package]] name = "rustix" version = "0.36.17" @@ -4260,8 +4831,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ "bitflags 1.3.2", - "errno", - "io-lifetimes", + "errno 0.3.9", + "io-lifetimes 1.0.11", "libc", "linux-raw-sys 0.1.4", "windows-sys 0.45.0", @@ -4274,8 +4845,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", - "errno", - "io-lifetimes", + "errno 0.3.9", + "io-lifetimes 1.0.11", "libc", "linux-raw-sys 0.3.8", "windows-sys 0.48.0", @@ -4288,7 +4859,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ "bitflags 2.5.0", - "errno", + "errno 0.3.9", "libc", "linux-raw-sys 0.4.13", "windows-sys 0.52.0", @@ -4402,16 +4973,30 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "sec1" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +dependencies = [ + "base16ct 0.1.1", + "der 0.6.1", + "generic-array 0.14.7", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + [[package]] name = "sec1" version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "base16ct", - "der", + "base16ct 0.2.0", + "der 0.7.9", "generic-array 0.14.7", - "pkcs8", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -4534,6 +5119,18 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "sha3" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" +dependencies = [ + "block-buffer 0.9.0", + "digest 0.9.0", + "keccak", + "opaque-debug 0.3.1", +] + [[package]] name = "sha3" version = "0.10.8" @@ -4562,6 +5159,16 @@ dependencies = [ "libc", ] +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + [[package]] name = "signature" version = "2.2.0" @@ -4614,19 +5221,37 @@ dependencies = [ name = "sp-api" version = "4.0.0-dev" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "sp-version 5.0.0", "thiserror", ] @@ -4643,6 +5268,31 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "blake2", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-application-crypto" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", +] + [[package]] name = "sp-application-crypto" version = "23.0.0" @@ -4650,9 +5300,23 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 5.0.0", + "static_assertions", ] [[package]] @@ -4664,7 +5328,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 8.0.0", "static_assertions", ] @@ -4677,21 +5341,63 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "strum 0.24.1", ] +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags 1.3.2", + "blake2", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db 0.15.2", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0", + "sp-debug-derive 5.0.0", + "sp-externalities 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + [[package]] name = "sp-core" version = "21.0.0" dependencies = [ - "array-bytes", + "array-bytes 6.2.2", "arrayvec 0.7.4", "bandersnatch_vrfs", "bitflags 1.3.2", @@ -4701,7 +5407,7 @@ dependencies = [ "dyn-clonable", "ed25519-zebra", "futures", - "hash-db", + "hash-db 0.16.0", "hash256-std-hasher", "impl-serde", "lazy_static", @@ -4719,12 +5425,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", + "sp-core-hashing 9.0.0", "sp-debug-derive 8.0.0", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", "ss58-registry", "substrate-bip39", "thiserror", @@ -4735,24 +5441,59 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "9.0.0" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "blake2b_simd", + "blake2", "byteorder", "digest 0.10.7", "sha2 0.10.8", - "sha3", + "sha3 0.10.8", + "sp-std 5.0.0", "twox-hash", ] [[package]] -name = "sp-core-hashing-proc-macro" +name = "sp-core-hashing" version = "9.0.0" dependencies = [ - "quote", - "sp-core-hashing", - "syn 2.0.61", -] + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "sp-core-hashing 5.0.0", + "syn 1.0.109", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +dependencies = [ + "quote", + "sp-core-hashing 9.0.0", + "syn 2.0.61", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] [[package]] name = "sp-debug-derive" @@ -4773,14 +5514,25 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 5.0.0", + "sp-storage 7.0.0", +] + [[package]] name = "sp-externalities" version = "0.19.0" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 8.0.0", + "sp-storage 13.0.0", ] [[package]] @@ -4788,9 +5540,9 @@ name = "sp-genesis-builder" version = "0.1.0" dependencies = [ "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -4801,42 +5553,107 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", "thiserror", ] +[[package]] +name = "sp-io" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "ed25519 1.5.3", + "ed25519-dalek 1.0.1", + "futures", + "libsecp256k1", + "log", + "parity-scale-codec", + "secp256k1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-keystore 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-trie 7.0.0", + "tracing", + "tracing-core", +] + [[package]] name = "sp-io" version = "23.0.0" dependencies = [ "bytes", - "ed25519-dalek", + "ed25519-dalek 2.1.1", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-trie", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime-interface 17.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0", + "sp-trie 22.0.0", "tracing", "tracing-core", ] +[[package]] +name = "sp-keyring" +version = "24.0.0" +dependencies = [ + "lazy_static", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "strum 0.24.1", +] + +[[package]] +name = "sp-keystore" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "async-trait", + "futures", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot", + "schnorrkel 0.9.1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "thiserror", +] + [[package]] name = "sp-keystore" version = "0.27.0" dependencies = [ "parity-scale-codec", "parking_lot", - "sp-core", - "sp-externalities", + "sp-core 21.0.0", + "sp-externalities 0.19.0", "thiserror", ] @@ -4844,10 +5661,10 @@ dependencies = [ name = "sp-metadata-ir" version = "0.1.0" dependencies = [ - "frame-metadata", + "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 8.0.0", ] [[package]] @@ -4860,14 +5677,24 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "thiserror", ] +[[package]] +name = "sp-panic-handler" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + [[package]] name = "sp-panic-handler" version = "8.0.0" @@ -4877,6 +5704,28 @@ dependencies = [ "regex", ] +[[package]] +name = "sp-runtime" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 7.0.0", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", + "sp-weights 4.0.0", +] + [[package]] name = "sp-runtime" version = "24.0.0" @@ -4890,12 +5739,30 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.13.0", + "sp-runtime-interface-proc-macro 6.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "sp-tracing 6.0.0", + "sp-wasm-interface 7.0.0", + "static_assertions", ] [[package]] @@ -4906,15 +5773,27 @@ dependencies = [ "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", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", "static_assertions", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "Inflector", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" @@ -4932,12 +5811,12 @@ version = "4.0.0-dev" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -4948,35 +5827,85 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", +] + +[[package]] +name = "sp-state-machine" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "hash-db 0.15.2", + "log", + "parity-scale-codec", + "parking_lot", + "rand 0.8.5", + "smallvec", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-panic-handler 5.0.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "thiserror", + "tracing", ] [[package]] name = "sp-state-machine" version = "0.28.0" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", "parity-scale-codec", "parking_lot", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", "thiserror", "tracing", - "trie-db", + "trie-db 0.27.1", ] +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" + [[package]] name = "sp-std" version = "8.0.0" +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", +] + [[package]] name = "sp-storage" version = "13.0.0" @@ -4986,7 +5915,7 @@ dependencies = [ "ref-cast", "serde", "sp-debug-derive 8.0.0", - "sp-std", + "sp-std 8.0.0", ] [[package]] @@ -4995,43 +5924,106 @@ version = "4.0.0-dev" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "thiserror", ] +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0", + "sp-std 5.0.0", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", +] + [[package]] name = "sp-tracing" version = "10.0.0" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 8.0.0", "tracing", "tracing-core", "tracing-subscriber", ] +[[package]] +name = "sp-trie" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "ahash 0.8.11", + "hash-db 0.15.2", + "hashbrown 0.12.3", + "lazy_static", + "memory-db 0.31.0", + "nohash-hasher", + "parity-scale-codec", + "parking_lot", + "scale-info", + "schnellru", + "sp-core 7.0.0", + "sp-std 5.0.0", + "thiserror", + "tracing", + "trie-db 0.24.0", + "trie-root 0.17.0", +] + [[package]] name = "sp-trie" version = "22.0.0" dependencies = [ "ahash 0.8.11", - "hash-db", + "hash-db 0.16.0", "hashbrown 0.13.2", "lazy_static", - "memory-db", + "memory-db 0.32.0", "nohash-hasher", "parity-scale-codec", "parking_lot", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 21.0.0", + "sp-std 8.0.0", "thiserror", "tracing", - "trie-db", - "trie-root", + "trie-db 0.27.1", + "trie-root 0.18.0", +] + +[[package]] +name = "sp-version" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 5.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version-proc-macro 4.0.0-dev", + "thiserror", ] [[package]] @@ -5043,13 +6035,24 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-core-hashing-proc-macro 9.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version-proc-macro 8.0.0", "thiserror", ] +[[package]] +name = "sp-version-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "sp-version-proc-macro" version = "8.0.0" @@ -5060,6 +6063,19 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0", + "wasmi", + "wasmtime 1.0.2", +] + [[package]] name = "sp-wasm-interface" version = "14.0.0" @@ -5068,8 +6084,23 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", - "wasmtime", + "sp-std 8.0.0", + "wasmtime 8.0.1", +] + +[[package]] +name = "sp-weights" +version = "4.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", ] [[package]] @@ -5080,10 +6111,20 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", "sp-debug-derive 8.0.0", - "sp-std", + "sp-std 8.0.0", +] + +[[package]] +name = "spki" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +dependencies = [ + "base64ct", + "der 0.6.1", ] [[package]] @@ -5093,7 +6134,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der", + "der 0.7.9", ] [[package]] @@ -5129,7 +6170,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights", + "sp-weights 20.0.0", "xcm-procedural", ] @@ -5256,8 +6297,8 @@ dependencies = [ "common 0.1.0", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -5267,10 +6308,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "twox-hash", ] @@ -5517,8 +6558,8 @@ dependencies = [ "common 0.1.0", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -5528,10 +6569,23 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "trie-db" +version = "0.24.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +dependencies = [ + "hash-db 0.15.2", + "hashbrown 0.12.3", + "log", + "rustc-hex", + "smallvec", ] [[package]] @@ -5540,20 +6594,29 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db", + "hash-db 0.16.0", "hashbrown 0.13.2", "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 0.15.2", +] + [[package]] name = "trie-root" version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -5658,8 +6721,8 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "itertools", @@ -5669,7 +6732,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -5678,10 +6741,10 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -5779,6 +6842,48 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +[[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", + "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 1.9.3", +] + [[package]] name = "wasmparser" version = "0.102.0" @@ -5789,6 +6894,31 @@ dependencies = [ "url", ] +[[package]] +name = "wasmtime" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.29.0", + "once_cell", + "paste", + "psm", + "serde", + "target-lexicon", + "wasmparser 0.89.1", + "wasmtime-environ 1.0.2", + "wasmtime-jit 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", +] + [[package]] name = "wasmtime" version = "8.0.1" @@ -5807,13 +6937,22 @@ dependencies = [ "psm", "serde", "target-lexicon", - "wasmparser", - "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", + "wasmparser 0.102.0", + "wasmtime-environ 8.0.1", + "wasmtime-jit 8.0.1", + "wasmtime-runtime 8.0.1", "windows-sys 0.45.0", ] +[[package]] +name = "wasmtime-asm-macros" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-asm-macros" version = "8.0.1" @@ -5823,6 +6962,25 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-environ" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +dependencies = [ + "anyhow", + "cranelift-entity 0.88.2", + "gimli 0.26.2", + "indexmap 1.9.3", + "log", + "object 0.29.0", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.89.1", + "wasmtime-types 1.0.2", +] + [[package]] name = "wasmtime-environ" version = "8.0.1" @@ -5830,7 +6988,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.95.1", "gimli 0.27.3", "indexmap 1.9.3", "log", @@ -5838,8 +6996,32 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.102.0", + "wasmtime-types 8.0.1", +] + +[[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", + "cpp_demangle", + "gimli 0.26.2", + "log", + "object 0.29.0", + "rustc-demangle", + "rustix 0.35.16", + "serde", + "target-lexicon", + "thiserror", + "wasmtime-environ 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", ] [[package]] @@ -5859,12 +7041,21 @@ dependencies = [ "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ", + "wasmtime-environ 8.0.1", "wasmtime-jit-icache-coherence", - "wasmtime-runtime", + "wasmtime-runtime 8.0.1", "windows-sys 0.45.0", ] +[[package]] +name = "wasmtime-jit-debug" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +dependencies = [ + "once_cell", +] + [[package]] name = "wasmtime-jit-debug" version = "8.0.1" @@ -5885,6 +7076,30 @@ dependencies = [ "windows-sys 0.45.0", ] +[[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", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memoffset 0.6.5", + "paste", + "rand 0.8.5", + "rustix 0.35.16", + "thiserror", + "wasmtime-asm-macros 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", + "windows-sys 0.36.1", +] + [[package]] name = "wasmtime-runtime" version = "8.0.1" @@ -5899,26 +7114,38 @@ dependencies = [ "log", "mach", "memfd", - "memoffset", + "memoffset 0.8.0", "paste", "rand 0.8.5", "rustix 0.36.17", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", + "wasmtime-asm-macros 8.0.1", + "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", "windows-sys 0.45.0", ] +[[package]] +name = "wasmtime-types" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +dependencies = [ + "cranelift-entity 0.88.2", + "serde", + "thiserror", + "wasmparser 0.89.1", +] + [[package]] name = "wasmtime-types" version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.95.1", "serde", "thiserror", - "wasmparser", + "wasmparser 0.102.0", ] [[package]] @@ -5981,6 +7208,34 @@ dependencies = [ "windows-targets 0.52.5", ] +[[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 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -6072,6 +7327,12 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +[[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.2" @@ -6090,6 +7351,12 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +[[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.2" @@ -6114,6 +7381,12 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" +[[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.2" @@ -6132,6 +7405,12 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" +[[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.2" @@ -6168,6 +7447,12 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +[[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.2" @@ -6230,27 +7515,27 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "pallet-transaction-payment", "parity-scale-codec", "permissions", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -6264,8 +7549,8 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -6274,7 +7559,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -6282,11 +7567,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -6391,10 +7676,6 @@ version = "4.0.0-dev" name = "pallet-membership" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-multisig" -version = "4.0.0-dev" - [[patch.unused]] name = "pallet-offences" version = "4.0.0-dev" @@ -6495,10 +7776,6 @@ version = "0.10.0-dev" name = "sp-consensus-babe" version = "0.10.0-dev" -[[patch.unused]] -name = "sp-keyring" -version = "24.0.0" - [[patch.unused]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" @@ -6555,14 +7832,6 @@ version = "0.1.0" name = "bridge-data-signer" version = "0.1.1" -[[patch.unused]] -name = "dispatch" -version = "0.1.1" - -[[patch.unused]] -name = "evm-fungible-app" -version = "0.1.1" - [[patch.unused]] name = "leaf-provider" version = "0.1.1" @@ -6651,10 +7920,6 @@ version = "4.0.0-dev" name = "pallet-membership" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-multisig" -version = "4.0.0-dev" - [[patch.unused]] name = "pallet-offences" version = "4.0.0-dev" @@ -6755,10 +8020,6 @@ version = "0.10.0-dev" name = "sp-consensus-babe" version = "0.10.0-dev" -[[patch.unused]] -name = "sp-keyring" -version = "24.0.0" - [[patch.unused]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" diff --git a/Cargo.toml b/Cargo.toml index 46a54740fe..4b126b91f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -359,7 +359,7 @@ members = [ "pallets/ceres-token-locker", "pallets/faucet", "pallets/hermes-governance-platform", - # "pallets/iroha-migration", + "pallets/iroha-migration", "pallets/liquidity-proxy", "pallets/mock-liquidity-source", "pallets/technical", @@ -375,9 +375,9 @@ members = [ "pallets/price-tools", "pallets/oracle-proxy", "pallets/order-book", - # "pallets/bridge-proxy", + "pallets/bridge-proxy", # "pallets/bridge-proxy/rpc", - # "pallets/bridge-proxy/runtime-api", + "pallets/bridge-proxy/runtime-api", "pallets/kensetsu", "pallets/band", "pallets/qa-tools", diff --git a/pallets/bridge-proxy/src/lib.rs b/pallets/bridge-proxy/src/lib.rs index 1ad30d8c3f..2cb2e0fb3a 100644 --- a/pallets/bridge-proxy/src/lib.rs +++ b/pallets/bridge-proxy/src/lib.rs @@ -24,12 +24,13 @@ use bridge_types::{ use codec::{Decode, Encode}; use common::{prelude::FixedWrapper, Balance}; use common::{AssetInfoProvider, ReferencePriceProvider}; -use frame_support::dispatch::{DispatchResult, RuntimeDebug}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use log; use scale_info::TypeInfo; use sp_runtime::traits::Convert; use sp_runtime::DispatchError; +use sp_runtime::RuntimeDebug; use sp_runtime::Saturating; use sp_std::prelude::*; diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 27ebe5a18d..976069c743 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -341,9 +341,7 @@ impl TimepointProvider for GenericTimepointProvider { pub struct ReferencePriceProvider; impl common::ReferencePriceProvider for ReferencePriceProvider { - fn get_reference_price( - _asset_id: &AssetId, - ) -> Result { + fn get_reference_price(_asset_id: &AssetId) -> Result { Ok(common::balance!(2.5)) } } diff --git a/pallets/iroha-migration/Cargo.toml b/pallets/iroha-migration/Cargo.toml index f7d5a19e7d..7fdc7f24ce 100644 --- a/pallets/iroha-migration/Cargo.toml +++ b/pallets/iroha-migration/Cargo.toml @@ -14,6 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } +log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/iroha-migration/src/lib.rs b/pallets/iroha-migration/src/lib.rs index 9b0685d027..dbda1a6490 100644 --- a/pallets/iroha-migration/src/lib.rs +++ b/pallets/iroha-migration/src/lib.rs @@ -54,16 +54,18 @@ mod tests; pub mod weights; +use codec::{Decode, Encode}; use common::prelude::Balance; use common::{FromGenericPair, VAL}; use ed25519_dalek_iroha::{Digest, PublicKey, Signature, SIGNATURE_LENGTH}; -use frame_support::codec::{Decode, Encode}; -use frame_support::dispatch::{DispatchError, Pays}; -use log::error; +use frame_support::dispatch::Pays; +use frame_support::ensure; +use frame_support::pallet_prelude::{DispatchError, RuntimeDebug}; use frame_support::sp_runtime::traits::Zero; use frame_support::weights::Weight; -use frame_support::ensure; use frame_system::ensure_signed; +use frame_system::pallet_prelude::BlockNumberFor; +use log::error; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sha3::Sha3_256; @@ -324,6 +326,7 @@ pub mod pallet { use common::AccountIdOf; use frame_support::dispatch::PostDispatchInfo; use frame_support::pallet_prelude::*; + use frame_support::sp_runtime; use frame_support::traits::StorageVersion; use frame_system::pallet_prelude::*; @@ -481,7 +484,6 @@ pub mod pallet { pub iroha_accounts: Vec<(String, Balance, Option, u8, Vec)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -492,7 +494,7 @@ pub mod pallet { } #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { frame_system::Pallet::::inc_consumers(&self.account_id.as_ref().unwrap()).unwrap(); Account::::put(&self.account_id.as_ref().unwrap()); From 3d420a19c8deb22c0b1f083223f38c42827cc069 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 23 May 2024 01:05:22 -0300 Subject: [PATCH 011/110] fix almost all impls --- Cargo.lock | 11819 +++++++++++----- Cargo.toml | 13 +- _Cargo.lock | 7763 +++++++--- __Cargo.lock | 8452 ----------- node/chain_spec/Cargo.toml | 75 +- node/chain_spec/src/lib.rs | 5082 +++---- pallets/assets/runtime-api/src/lib.rs | 5 +- pallets/dex-api/runtime-api/src/lib.rs | 5 +- .../liquidity-proxy/runtime-api/src/lib.rs | 9 +- pallets/oracle-proxy/runtime-api/src/lib.rs | 3 +- pallets/order-book/Cargo.toml | 2 +- .../pswap-distribution/runtime-api/src/lib.rs | 3 +- pallets/rewards/runtime-api/src/lib.rs | 3 +- pallets/vested-rewards/runtime-api/src/lib.rs | 5 +- runtime/Cargo.toml | 889 +- runtime/build.rs | 42 +- runtime/src/impls.rs | 23 +- runtime/src/lib.rs | 204 +- runtime/src/weights/dispatch.rs | 4 +- runtime/src/weights/multisig_verifier.rs | 4 +- runtime/src/weights/parachain_bridge_app.rs | 10 +- runtime/src/weights/substrate_bridge_app.rs | 2 +- .../src/weights/substrate_outbound_channel.rs | 2 +- runtime/src/xor_fee_impls.rs | 36 +- 24 files changed, 17143 insertions(+), 17312 deletions(-) delete mode 100644 __Cargo.lock diff --git a/Cargo.lock b/Cargo.lock index aab920e8a8..11a5df44aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,15 +12,6 @@ dependencies = [ "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" @@ -45,6 +36,41 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array 0.14.7", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + [[package]] name = "ahash" version = "0.7.8" @@ -104,9 +130,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.83" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "apollo-platform" @@ -120,8 +146,8 @@ dependencies = [ "dex-api", "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "liquidity-proxy", "log", @@ -130,7 +156,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -138,10 +164,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -227,7 +253,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", - "rustc_version", + "rustc_version 0.4.0", "zeroize", ] @@ -357,15 +383,9 @@ dependencies = [ [[package]] name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - -[[package]] -name = "array-bytes" -version = "6.2.2" +version = "6.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" +checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" @@ -394,14 +414,53 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +[[package]] +name = "asn1-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time", +] + +[[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 1.0.109", + "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 1.0.109", +] + [[package]] name = "assets" version = "1.3.1" dependencies = [ "common 0.1.0", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -411,13 +470,27 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "tiny-keccak", ] +[[package]] +name = "assets-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "serde_json", + "sp-api", + "sp-runtime", + "sp-std", +] + [[package]] name = "async-attributes" version = "1.1.2" @@ -448,7 +521,7 @@ dependencies = [ "concurrent-queue", "event-listener-strategy 0.5.2", "futures-core", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -495,7 +568,7 @@ dependencies = [ "polling 2.8.0", "rustix 0.37.27", "slab", - "socket2", + "socket2 0.4.10", "waker-fn", ] @@ -535,7 +608,7 @@ checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ "event-listener 4.0.3", "event-listener-strategy 0.4.0", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -555,6 +628,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + [[package]] name = "async-signal" version = "0.2.6" @@ -595,7 +679,7 @@ dependencies = [ "log", "memchr", "once_cell", - "pin-project-lite", + "pin-project-lite 0.2.14", "pin-utils", "slab", "wasm-bindgen-futures", @@ -615,7 +699,20 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.65", +] + +[[package]] +name = "asynchronous-codec" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4057f2c32adbb2fc158e22fb38433c8e9bbf76b75a4732c7c0cbaf695fb65568" +dependencies = [ + "bytes", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite 0.2.14", ] [[package]] @@ -624,6 +721,17 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +[[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.3.0" @@ -652,19 +760,19 @@ dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "oracle-proxy", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xst", ] @@ -685,16 +793,16 @@ dependencies = [ "merlin 3.0.0", "rand_chacha 0.3.1", "rand_core 0.6.4", - "ring", + "ring 0.1.0", "sha2 0.10.8", "zeroize", ] [[package]] -name = "base16ct" -version = "0.1.1" +name = "base-x" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" +checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" [[package]] name = "base16ct" @@ -703,16 +811,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] -name = "base58" -version = "0.2.0" +name = "base64" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.13.1" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64ct" @@ -720,6 +828,69 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +[[package]] +name = "beef" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" +dependencies = [ + "serde", +] + +[[package]] +name = "beefy-light-client" +version = "0.1.0" +dependencies = [ + "anyhow", + "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "bridge-common", + "bridge-types", + "ckb-merkle-mountain-range", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" +dependencies = [ + "bridge-types", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "binary-merkle-tree" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "hash-db", + "log", +] + +[[package]] +name = "binary-merkle-tree" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "hash-db", + "log", +] + [[package]] name = "bincode" version = "1.3.3" @@ -729,6 +900,27 @@ dependencies = [ "serde", ] +[[package]] +name = "bindgen" +version = "0.65.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" +dependencies = [ + "bitflags 1.3.2", + "cexpr", + "clang-sys", + "lazy_static", + "lazycell", + "peeking_take_while", + "prettyplease 0.2.20", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex", + "syn 2.0.65", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -749,6 +941,7 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] @@ -783,6 +976,30 @@ dependencies = [ "constant_time_eq 0.3.0", ] +[[package]] +name = "blake2s_simd" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", +] + +[[package]] +name = "blake3" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "cc", + "cfg-if", + "constant_time_eq 0.3.0", +] + [[package]] name = "block-buffer" version = "0.7.3" @@ -858,21 +1075,61 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", "ethabi", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "log", "once_cell", - "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "bridge-common" +version = "0.1.0" +dependencies = [ + "bitvec", + "bridge-types", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "bridge-data-signer" +version = "0.1.1" +dependencies = [ + "bridge-common", + "bridge-types", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -886,22 +1143,22 @@ dependencies = [ "dispatch", "evm-fungible-app", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", "staging-xcm", "technical", ] @@ -914,9 +1171,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -928,8 +1185,8 @@ dependencies = [ "ethash", "ethbloom", "ethereum-types", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "getrandom 0.2.15", "hex-literal", "libsecp256k1", @@ -941,14 +1198,20 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-consensus-beefy", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] +[[package]] +name = "bs58" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" + [[package]] name = "bs58" version = "0.5.1" @@ -958,6 +1221,25 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "bstr" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +dependencies = [ + "memchr", + "serde", +] + +[[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.16.0" @@ -978,9 +1260,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" +checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" [[package]] name = "byteorder" @@ -995,48 +1277,130 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] -name = "cc" -version = "1.0.97" +name = "bzip2-sys" +version = "0.1.11+1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +dependencies = [ + "cc", + "libc", + "pkg-config", +] [[package]] -name = "ceres-governance-platform" -version = "1.2.0" +name = "camino" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" dependencies = [ - "assets", - "ceres-governance-platform", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", ] [[package]] -name = "ceres-liquidity-locker" +name = "cargo-platform" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" +dependencies = [ + "camino", + "cargo-platform", + "semver 1.0.23", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "cc" +version = "1.0.98" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +dependencies = [ + "jobserver", + "libc", + "once_cell", +] + +[[package]] +name = "ceres-governance-platform" +version = "1.2.0" +dependencies = [ + "assets", + "ceres-governance-platform", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "log", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", +] + +[[package]] +name = "ceres-launchpad" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "ceres-token-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "ceres-liquidity-locker" version = "1.2.0" dependencies = [ "assets", @@ -1044,15 +1408,15 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -1060,10 +1424,43 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", +] + +[[package]] +name = "ceres-liquidity-locker-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "getrandom 0.2.15", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -1075,8 +1472,8 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -1085,10 +1482,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -1102,34 +1499,34 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] [[package]] -name = "cfg-expr" -version = "0.10.3" +name = "cexpr" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" dependencies = [ - "smallvec", + "nom", ] [[package]] @@ -1147,6 +1544,36 @@ 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.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20", + "cipher", + "poly1305", + "zeroize", +] + [[package]] name = "chrono" version = "0.4.38" @@ -1155,10 +1582,36 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", + "js-sys", "num-traits", + "wasm-bindgen", "windows-targets 0.52.5", ] +[[package]] +name = "cid" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9b68e3193982cd54187d71afdb2a271ad4cf8af157858e9cb911b91321de143" +dependencies = [ + "core2", + "multibase", + "multihash", + "serde", + "unsigned-varint", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -1168,6 +1621,27 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "clang-sys" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[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 = "common" version = "0.1.0" @@ -1176,15 +1650,15 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "paste", "rustc-hex", @@ -1192,12 +1666,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "static_assertions", "strum 0.25.0", "thiserror", @@ -1232,6 +1706,19 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "console" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "unicode-width", + "windows-sys 0.52.0", +] + [[package]] name = "const-oid" version = "0.9.6" @@ -1270,12 +1757,31 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +[[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" @@ -1295,96 +1801,193 @@ dependencies = [ ] [[package]] -name = "cranelift-entity" -version = "0.88.2" +name = "cranelift-bforest" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" +checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" dependencies = [ - "serde", + "cranelift-entity", ] [[package]] -name = "cranelift-entity" +name = "cranelift-codegen" version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" dependencies = [ - "serde", + "bumpalo", + "cranelift-bforest", + "cranelift-codegen-meta", + "cranelift-codegen-shared", + "cranelift-entity", + "cranelift-isle", + "gimli 0.27.3", + "hashbrown 0.13.2", + "log", + "regalloc2", + "smallvec", + "target-lexicon", ] [[package]] -name = "crc32fast" -version = "1.4.0" +name = "cranelift-codegen-meta" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" dependencies = [ - "cfg-if", + "cranelift-codegen-shared", ] [[package]] -name = "crossbeam-utils" -version = "0.8.19" +name = "cranelift-codegen-shared" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" [[package]] -name = "crunchy" -version = "0.2.2" +name = "cranelift-entity" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" +dependencies = [ + "serde", +] [[package]] -name = "crypto-bigint" -version = "0.4.9" +name = "cranelift-frontend" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" +checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" dependencies = [ - "generic-array 0.14.7", - "rand_core 0.6.4", - "subtle", - "zeroize", + "cranelift-codegen", + "log", + "smallvec", + "target-lexicon", ] [[package]] -name = "crypto-bigint" -version = "0.5.5" +name = "cranelift-isle" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" + +[[package]] +name = "cranelift-native" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" dependencies = [ - "generic-array 0.14.7", - "rand_core 0.6.4", - "subtle", - "zeroize", + "cranelift-codegen", + "libc", + "target-lexicon", ] [[package]] -name = "crypto-common" -version = "0.1.6" +name = "cranelift-wasm" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" dependencies = [ - "generic-array 0.14.7", - "typenum", + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "itertools", + "log", + "smallvec", + "wasmparser", + "wasmtime-types", ] [[package]] -name = "crypto-mac" -version = "0.8.0" +name = "crc32fast" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ - "generic-array 0.14.7", - "subtle", + "cfg-if", ] [[package]] -name = "crypto-mac" -version = "0.11.1" +name = "crossbeam-deque" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "generic-array 0.14.7", - "subtle", + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" + +[[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.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array 0.14.7", + "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.7", + "rand_core 0.6.4", + "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.7", + "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.7", + "subtle", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", ] [[package]] @@ -1425,7 +2028,7 @@ dependencies = [ "digest 0.10.7", "fiat-crypto", "platforms", - "rustc_version", + "rustc_version 0.4.0", "subtle", "zeroize", ] @@ -1438,7 +2041,77 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.65", +] + +[[package]] +name = "cxx" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb497fad022245b29c2a0351df572e2d67c1046bcef2260ebc022aec81efea82" +dependencies = [ + "cc", + "cxxbridge-flags", + "cxxbridge-macro", + "link-cplusplus", +] + +[[package]] +name = "cxx-build" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9327c7f9fbd6329a200a5d4aa6f674c60ab256525ff0084b52a889d4e4c60cee" +dependencies = [ + "cc", + "codespan-reporting", + "once_cell", + "proc-macro2", + "quote", + "scratch", + "syn 2.0.65", +] + +[[package]] +name = "cxxbridge-flags" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "688c799a4a846f1c0acb9f36bb9c6272d9b3d9457f3633c7753c6057270df13c" + +[[package]] +name = "cxxbridge-macro" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "928bc249a7e3cd554fd2e8e08a426e9670c50bbfc9a621653cfa9accc9641783" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "data-encoding" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" + +[[package]] +name = "data-encoding-macro" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" +dependencies = [ + "data-encoding", + "syn 1.0.109", ] [[package]] @@ -1451,38 +2124,62 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", ] [[package]] -name = "der" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" +name = "demeter-farming-platform-benchmarking" +version = "0.1.0" dependencies = [ - "const-oid", - "zeroize", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "vested-rewards", ] [[package]] @@ -1495,6 +2192,29 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der-parser" +version = "8.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] + [[package]] name = "derivative" version = "2.2.0" @@ -1525,7 +2245,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.65", ] [[package]] @@ -1549,26 +2269,26 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "strum 0.25.0", "technical", ] @@ -1579,8 +2299,8 @@ version = "0.2.0" dependencies = [ "assets", "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", @@ -1591,13 +2311,44 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "dex-manager-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "dex-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", ] +[[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" @@ -1628,21 +2379,73 @@ dependencies = [ "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", + "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 = "dispatch" version = "0.1.1" dependencies = [ "bridge-types", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "displaydoc" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] @@ -1683,17 +2486,23 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.61", + "syn 2.0.65", "termcolor", - "toml", + "toml 0.8.13", "walkdir", ] [[package]] -name = "downcast-rs" -version = "1.2.1" +name = "downcast" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" + +[[package]] +name = "dtoa" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" +checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dyn-clonable" @@ -1722,30 +2531,18 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" -[[package]] -name = "ecdsa" -version = "0.14.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" -dependencies = [ - "der 0.6.1", - "elliptic-curve 0.12.3", - "rfc6979 0.3.1", - "signature 1.6.4", -] - [[package]] name = "ecdsa" version = "0.16.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ - "der 0.7.9", + "der", "digest 0.10.7", - "elliptic-curve 0.13.8", - "rfc6979 0.4.0", + "elliptic-curve", + "rfc6979", "signature 2.2.0", - "spki 0.7.3", + "spki", ] [[package]] @@ -1763,21 +2560,10 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ + "pkcs8", "signature 2.2.0", ] -[[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 1.5.3", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-dalek" version = "2.1.1" @@ -1786,8 +2572,11 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek 4.1.2", "ed25519 2.2.3", + "rand_core 0.6.4", + "serde", "sha2 0.10.8", "subtle", + "zeroize", ] [[package]] @@ -1817,59 +2606,78 @@ dependencies = [ [[package]] name = "either" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" [[package]] name = "elliptic-curve" -version = "0.12.3" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ - "base16ct 0.1.1", - "crypto-bigint 0.4.9", - "der 0.6.1", + "base16ct", + "crypto-bigint", "digest 0.10.7", - "ff 0.12.1", + "ff", "generic-array 0.14.7", - "group 0.12.1", + "group", + "pkcs8", "rand_core 0.6.4", - "sec1 0.3.0", + "sec1", "subtle", "zeroize", ] [[package]] -name = "elliptic-curve" -version = "0.13.8" +name = "encode_unicode" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + +[[package]] +name = "enum-as-inner" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "base16ct 0.2.0", - "crypto-bigint 0.5.5", - "digest 0.10.7", - "ff 0.13.0", - "generic-array 0.14.7", - "group 0.13.0", - "pkcs8 0.10.2", - "rand_core 0.6.4", - "sec1 0.7.3", - "subtle", - "zeroize", + "heck", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "env_logger" -version = "0.10.2" +name = "enumflags2" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", + "enumflags2_derive", +] + +[[package]] +name = "enumflags2_derive" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "env_logger" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +dependencies = [ + "humantime", + "is-terminal", + "log", + "regex", + "termcolor", ] [[package]] @@ -1884,17 +2692,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[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" version = "0.3.9" @@ -1905,16 +2702,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[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 = "eth-bridge" version = "0.2.0" @@ -1930,8 +2717,8 @@ dependencies = [ "ethereum-types", "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -1944,25 +2731,37 @@ dependencies = [ "pallet-multisig 3.2.3", "pallet-scheduler", "pallet-sudo", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.2", "permissions", "rlp", "rustc-hex", "scale-info", "serde", "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-std", "tiny-keccak", "tokio", ] +[[package]] +name = "eth-bridge-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", +] + [[package]] name = "ethabi" version = "17.2.0" @@ -2052,7 +2851,7 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2063,7 +2862,7 @@ checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2074,7 +2873,7 @@ checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2084,7 +2883,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ "event-listener 4.0.3", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2094,7 +2893,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener 5.3.0", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2105,8 +2904,8 @@ dependencies = [ "dispatch", "ethabi", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-traits", @@ -2115,10 +2914,19 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "exit-future" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" +dependencies = [ + "futures", ] [[package]] @@ -2132,7 +2940,7 @@ dependencies = [ "prettier-please", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.65", ] [[package]] @@ -2164,8 +2972,8 @@ dependencies = [ "dex-manager", "env_logger", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "mock-liquidity-source", @@ -2175,7 +2983,7 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-scheduler", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -2183,16 +2991,26 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", ] +[[package]] +name = "farming-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-std", +] + [[package]] name = "fastrand" version = "1.9.0" @@ -2215,36 +3033,26 @@ dependencies = [ "assets", "common 0.1.0", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "rewards", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] -[[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 = "ff" version = "0.13.0" @@ -2270,9 +3078,47 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.8" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "file-per-thread-logger" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" +dependencies = [ + "env_logger", + "log", +] + +[[package]] +name = "filetime" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.4.1", + "windows-sys 0.52.0", +] + +[[package]] +name = "finality-grandpa" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" +checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" +dependencies = [ + "either", + "futures", + "futures-timer", + "log", + "num-traits", + "parity-scale-codec", + "parking_lot 0.12.2", + "scale-info", +] [[package]] name = "fixed-hash" @@ -2286,6 +3132,12 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "fixedbitset" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" + [[package]] name = "fixnum" version = "0.6.0" @@ -2299,6 +3151,39 @@ dependencies = [ "typenum", ] +[[package]] +name = "flate2" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +dependencies = [ + "crc32fast", + "libz-sys", + "miniz_oxide", +] + +[[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 = "fork-tree" +version = "3.0.0" +dependencies = [ + "parity-scale-codec", +] + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -2308,51 +3193,84 @@ dependencies = [ "percent-encoding", ] +[[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" dependencies = [ - "frame-support 4.0.0-dev", - "frame-support-procedural 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] +[[package]] +name = "frame-election-provider-solution-type" +version = "4.0.0-dev" +dependencies = [ + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "frame-election-provider-support" +version = "4.0.0-dev" +dependencies = [ + "frame-election-provider-solution-type", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-npos-elections", + "sp-runtime", + "sp-std", +] + [[package]] name = "frame-executive" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", + "frame-try-runtime 0.10.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-tracing 10.0.0", ] [[package]] name = "frame-metadata" -version = "15.1.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" dependencies = [ "cfg-if", "parity-scale-codec", @@ -2361,15 +3279,25 @@ dependencies = [ ] [[package]] -name = "frame-metadata" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +name = "frame-remote-externalities" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "cfg-if", + "async-recursion", + "futures", + "indicatif", + "jsonrpsee", + "log", "parity-scale-codec", - "scale-info", "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "spinners", + "substrate-rpc-client", + "tokio", + "tokio-retry", ] [[package]] @@ -2380,10 +3308,10 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev", + "frame-metadata", + "frame-support-procedural", "impl-trait-for-tuples", - "k256 0.13.3", + "k256", "log", "macro_magic", "parity-scale-codec", @@ -2392,129 +3320,60 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-core-hashing-proc-macro 9.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", "sp-debug-derive 8.0.0", "sp-genesis-builder", "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", + "sp-io", "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", "sp-tracing 10.0.0", - "sp-weights 20.0.0", + "sp-weights", "static_assertions", "tt-call", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bitflags 1.3.2", - "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-core-hashing-proc-macro 5.0.0", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-weights 4.0.0", - "tt-call", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" dependencies = [ "Inflector", - "cfg-expr 0.15.8", + "cfg-expr", "derive-syn-parse 0.1.5", "expander", - "frame-support-procedural-tools 4.0.0-dev", + "frame-support-procedural-tools", "itertools", "macro_magic", "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "cfg-expr 0.10.3", - "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.61", + "syn 2.0.65", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" dependencies = [ + "frame-support-procedural-tools-derive", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.65", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.65", ] [[package]] @@ -2522,81 +3381,291 @@ name = "frame-system" version = "4.0.0-dev" dependencies = [ "cfg-if", - "frame-support 4.0.0-dev", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version 22.0.0", - "sp-weights 20.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] -name = "frame-system" +name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version 5.0.0", - "sp-weights 4.0.0", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +name = "frame-system-rpc-runtime-api" +version = "4.0.0-dev" dependencies = [ - "autocfg", + "parity-scale-codec", + "sp-api", ] [[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" +name = "frame-try-runtime" +version = "0.10.0-dev" +dependencies = [ + "frame-support", + "parity-scale-codec", + "sp-api", + "sp-runtime", + "sp-std", +] [[package]] -name = "futures" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +name = "frame-try-runtime" +version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", + "frame-support", + "parity-scale-codec", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +name = "framenode-chain-spec" +version = "3.3.0" dependencies = [ - "futures-core", - "futures-sink", + "common 0.1.0", + "faucet", + "frame-support", + "framenode-runtime", + "hex-literal", + "iroha-migration", + "order-book", + "parity-scale-codec", + "permissions", + "rewards", + "sc-network", + "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-service", + "serde", + "serde_json", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-core", + "sp-io", + "sp-runtime", + "technical", + "xor-fee", ] [[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" +name = "framenode-runtime" +version = "3.3.0" +dependencies = [ + "apollo-platform", + "assets", + "assets-runtime-api", + "band", + "beefy-light-client", + "beefy-light-client-runtime-api", + "bridge-channel", + "bridge-data-signer", + "bridge-proxy", + "bridge-proxy-runtime-api", + "bridge-types", + "ceres-governance-platform", + "ceres-launchpad", + "ceres-liquidity-locker", + "ceres-liquidity-locker-benchmarking", + "ceres-staking", + "ceres-token-locker", + "common 0.1.0", + "demeter-farming-platform", + "demeter-farming-platform-benchmarking", + "dex-api", + "dex-manager", + "dex-manager-runtime-api", + "dex-runtime-api", + "dispatch", + "env_logger", + "eth-bridge", + "eth-bridge-runtime-api", + "evm-fungible-app", + "farming", + "farming-runtime-api", + "faucet", + "frame-benchmarking", + "frame-election-provider-support", + "frame-executive", + "frame-remote-externalities", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "framenode-chain-spec", + "hermes-governance-platform", + "hex-literal", + "iroha-migration", + "iroha-migration-runtime-api", + "kensetsu", + "kensetsu-benchmarking", + "leaf-provider", + "leaf-provider-runtime-api", + "liquidity-proxy", + "liquidity-proxy-benchmarking", + "liquidity-proxy-runtime-api", + "log", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", + "multisig-verifier", + "oracle-proxy", + "oracle-proxy-runtime-api", + "order-book", + "order-book-benchmarking", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-aura", + "pallet-authorship", + "pallet-babe", + "pallet-bags-list", + "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-collective", + "pallet-democracy", + "pallet-election-provider-multi-phase", + "pallet-elections-phragmen", + "pallet-grandpa", + "pallet-identity", + "pallet-im-online", + "pallet-insecure-randomness-collective-flip", + "pallet-membership", + "pallet-mmr", + "pallet-multisig 3.2.3", + "pallet-multisig 4.0.0-dev", + "pallet-offences", + "pallet-preimage", + "pallet-scheduler", + "pallet-session", + "pallet-staking", + "pallet-sudo", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-utility", + "parachain-bridge-app", + "parity-scale-codec", + "parity-scale-codec-derive", + "permissions", + "pool-xyk", + "pool-xyk-benchmarking", + "price-tools", + "pswap-distribution", + "pswap-distribution-benchmarking", + "pswap-distribution-runtime-api", + "qa-tools", + "referrals", + "rewards", + "rewards-runtime-api", + "scale-info", + "serde", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-npos-elections", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-transaction-pool", + "sp-version", + "static_assertions", + "substrate-bridge-app", + "substrate-bridge-channel", + "substrate-wasm-builder", + "technical", + "tokio", + "trading-pair", + "trading-pair-runtime-api", + "vested-rewards", + "vested-rewards-runtime-api", + "xor-fee", + "xst", + "xst-benchmarking", +] + +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] + +[[package]] +name = "fs2" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] @@ -2628,7 +3697,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", "waker-fn", ] @@ -2642,7 +3711,7 @@ dependencies = [ "futures-core", "futures-io", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2653,7 +3722,18 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.65", +] + +[[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.9", + "webpki", ] [[package]] @@ -2668,6 +3748,12 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +[[package]] +name = "futures-timer" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" + [[package]] name = "futures-util" version = "0.3.30" @@ -2681,11 +3767,20 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite", + "pin-project-lite 0.2.14", "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" @@ -2740,13 +3835,13 @@ dependencies = [ ] [[package]] -name = "gimli" -version = "0.26.2" +name = "ghash" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ - "fallible-iterator 0.2.0", - "stable_deref_trait", + "opaque-debug 0.3.1", + "polyval", ] [[package]] @@ -2766,6 +3861,25 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + +[[package]] +name = "globset" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +dependencies = [ + "aho-corasick", + "bstr", + "log", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", +] + [[package]] name = "gloo-timers" version = "0.2.6" @@ -2778,33 +3892,35 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - [[package]] name = "group" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "ff 0.13.0", + "ff", "rand_core 0.6.4", "subtle", ] [[package]] -name = "hash-db" -version = "0.15.2" +name = "h2" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap 2.2.6", + "slab", + "tokio", + "tokio-util", + "tracing", +] [[package]] name = "hash-db" @@ -2862,8 +3978,8 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hermes-governance-platform", "hex-literal", "log", @@ -2871,7 +3987,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -2879,13 +3995,22 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] +[[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.3.9" @@ -2907,6 +4032,15 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + [[package]] name = "hmac" version = "0.8.1" @@ -2947,12 +4081,113 @@ dependencies = [ "hmac 0.8.1", ] +[[package]] +name = "home" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[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.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http", + "pin-project-lite 0.2.14", +] + +[[package]] +name = "http-range-header" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + [[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.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite 0.2.14", + "socket2 0.4.10", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" +dependencies = [ + "futures-util", + "http", + "hyper", + "log", + "rustls 0.21.12", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "webpki-roots 0.25.4", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -2964,7 +4199,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -2978,31 +4213,71 @@ dependencies = [ [[package]] name = "idna" -version = "0.5.0" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" dependencies = [ + "matches", "unicode-bidi", "unicode-normalization", ] [[package]] -name = "impl-codec" -version = "0.6.0" +name = "idna" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ - "parity-scale-codec", + "unicode-bidi", + "unicode-normalization", ] [[package]] -name = "impl-rlp" -version = "0.3.0" +name = "if-addrs" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" dependencies = [ - "rlp", -] + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "if-watch" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +dependencies = [ + "async-io 2.3.2", + "core-foundation", + "fnv", + "futures", + "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-rlp" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" +dependencies = [ + "rlp", +] [[package]] name = "impl-serde" @@ -3064,6 +4339,28 @@ dependencies = [ "hashbrown 0.14.5", ] +[[package]] +name = "indicatif" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" +dependencies = [ + "console", + "instant", + "number_prefix", + "portable-atomic", + "unicode-width", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array 0.14.7", +] + [[package]] name = "instant" version = "0.1.13" @@ -3082,23 +4379,41 @@ dependencies = [ "num-traits", ] -[[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.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.9", "libc", "windows-sys 0.48.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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" +dependencies = [ + "socket2 0.5.7", + "widestring", + "windows-sys 0.48.0", + "winreg", +] + +[[package]] +name = "ipnet" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" + [[package]] name = "iroha-migration" version = "0.1.0" @@ -3108,8 +4423,8 @@ dependencies = [ "ed25519-dalek-iroha", "eth-bridge", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex", "hex-literal", "log", @@ -3124,20 +4439,27 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] +[[package]] +name = "iroha-migration-runtime-api" +version = "0.1.0" +dependencies = [ + "sp-api", +] + [[package]] name = "is-terminal" version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.9", "libc", "windows-sys 0.52.0", ] @@ -3157,6 +4479,15 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "jobserver" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +dependencies = [ + "libc", +] + [[package]] name = "js-sys" version = "0.3.69" @@ -3179,15 +4510,147 @@ dependencies = [ ] [[package]] -name = "k256" -version = "0.11.6" +name = "jsonrpsee" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" dependencies = [ - "cfg-if", - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", + "jsonrpsee-core", + "jsonrpsee-http-client", + "jsonrpsee-proc-macros", + "jsonrpsee-server", + "jsonrpsee-types", + "jsonrpsee-ws-client", + "tracing", +] + +[[package]] +name = "jsonrpsee-client-transport" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +dependencies = [ + "futures-util", + "http", + "jsonrpsee-core", + "jsonrpsee-types", + "pin-project", + "rustls-native-certs", + "soketto", + "thiserror", + "tokio", + "tokio-rustls", + "tokio-util", + "tracing", + "webpki-roots 0.25.4", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +dependencies = [ + "anyhow", + "arrayvec 0.7.4", + "async-lock 2.8.0", + "async-trait", + "beef", + "futures-channel", + "futures-timer", + "futures-util", + "globset", + "hyper", + "jsonrpsee-types", + "parking_lot 0.12.2", + "rand 0.8.5", + "rustc-hash", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "jsonrpsee-http-client" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +dependencies = [ + "heck", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "jsonrpsee-server" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + +[[package]] +name = "jsonrpsee-ws-client" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +dependencies = [ + "http", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", ] [[package]] @@ -3197,8 +4660,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", - "ecdsa 0.16.9", - "elliptic-curve 0.13.8", + "ecdsa", + "elliptic-curve", "once_cell", "sha2 0.10.8", ] @@ -3218,23 +4681,44 @@ version = "0.0.1" dependencies = [ "assets", "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", +] + +[[package]] +name = "kensetsu-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-system", + "hex-literal", + "kensetsu", + "pallet-timestamp", + "parity-scale-codec", + "pool-xyk", + "price-tools", + "sp-arithmetic", + "sp-core", + "sp-runtime", "technical", + "trading-pair", ] [[package]] @@ -3247,358 +4731,668 @@ dependencies = [ ] [[package]] -name = "lazy_static" -version = "1.4.0" +name = "kvdb" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" +dependencies = [ + "smallvec", +] [[package]] -name = "libc" -version = "0.2.154" +name = "kvdb-memorydb" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" +dependencies = [ + "kvdb", + "parking_lot 0.12.2", +] [[package]] -name = "libm" -version = "0.2.8" +name = "kvdb-rocksdb" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" +dependencies = [ + "kvdb", + "num_cpus", + "parking_lot 0.12.2", + "regex", + "rocksdb", + "smallvec", +] [[package]] -name = "libsecp256k1" -version = "0.7.1" +name = "lazy_static" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" + +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + +[[package]] +name = "leaf-provider" +version = "0.1.1" dependencies = [ - "arrayref", - "base64", - "digest 0.9.0", - "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", + "bridge-types", + "ethabi", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", "serde", - "sha2 0.9.9", - "typenum", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", ] [[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" +name = "leaf-provider-runtime-api" +version = "0.1.0" dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", + "bridge-types", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" +name = "libc" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" +name = "libloading" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" +checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ - "libsecp256k1-core", + "cfg-if", + "windows-targets 0.52.5", ] [[package]] -name = "linregress" -version = "0.5.3" +name = "libp2p" +version = "0.51.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" dependencies = [ - "nalgebra", + "bytes", + "futures", + "futures-timer", + "getrandom 0.2.15", + "instant", + "libp2p-allow-block-list", + "libp2p-connection-limits", + "libp2p-core", + "libp2p-dns", + "libp2p-identify", + "libp2p-identity", + "libp2p-kad", + "libp2p-mdns", + "libp2p-metrics", + "libp2p-noise", + "libp2p-ping", + "libp2p-quic", + "libp2p-request-response", + "libp2p-swarm", + "libp2p-tcp", + "libp2p-wasm-ext", + "libp2p-websocket", + "libp2p-yamux", + "multiaddr", + "pin-project", +] + +[[package]] +name = "libp2p-allow-block-list" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" +dependencies = [ + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "void", ] [[package]] -name = "linux-raw-sys" -version = "0.0.46" +name = "libp2p-connection-limits" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" +checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +dependencies = [ + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "void", +] [[package]] -name = "linux-raw-sys" -version = "0.1.4" +name = "libp2p-core" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - +checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-identity", + "log", + "multiaddr", + "multihash", + "multistream-select", + "once_cell", + "parking_lot 0.12.2", + "pin-project", + "quick-protobuf", + "rand 0.8.5", + "rw-stream-sink", + "smallvec", + "thiserror", + "unsigned-varint", + "void", +] + [[package]] -name = "linux-raw-sys" -version = "0.3.8" +name = "libp2p-dns" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" +dependencies = [ + "futures", + "libp2p-core", + "log", + "parking_lot 0.12.2", + "smallvec", + "trust-dns-resolver", +] [[package]] -name = "linux-raw-sys" -version = "0.4.13" +name = "libp2p-identify" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" +dependencies = [ + "asynchronous-codec", + "either", + "futures", + "futures-timer", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "log", + "lru", + "quick-protobuf", + "quick-protobuf-codec", + "smallvec", + "thiserror", + "void", +] [[package]] -name = "liquidity-proxy" -version = "0.1.0" +name = "libp2p-identity" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "fallible-iterator 0.2.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "itertools", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "qa-tools", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", + "bs58 0.4.0", + "ed25519-dalek", + "log", + "multiaddr", + "multihash", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "thiserror", + "zeroize", ] [[package]] -name = "lock_api" -version = "0.4.12" +name = "libp2p-kad" +version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "autocfg", - "scopeguard", + "arrayvec 0.7.4", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "log", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "smallvec", + "thiserror", + "uint", + "unsigned-varint", + "void", ] [[package]] -name = "log" -version = "0.4.21" +name = "libp2p-mdns" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" dependencies = [ - "value-bag", + "data-encoding", + "futures", + "if-watch", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "log", + "rand 0.8.5", + "smallvec", + "socket2 0.4.10", + "tokio", + "trust-dns-proto", + "void", ] [[package]] -name = "mach" -version = "0.3.2" +name = "libp2p-metrics" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" dependencies = [ - "libc", + "libp2p-core", + "libp2p-identify", + "libp2p-kad", + "libp2p-ping", + "libp2p-swarm", + "prometheus-client", ] [[package]] -name = "macro_magic" -version = "0.4.2" +name = "libp2p-noise" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" dependencies = [ - "macro_magic_core", - "macro_magic_macros", - "quote", - "syn 2.0.61", + "bytes", + "curve25519-dalek 3.2.0", + "futures", + "libp2p-core", + "libp2p-identity", + "log", + "once_cell", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "snow", + "static_assertions", + "thiserror", + "x25519-dalek 1.1.1", + "zeroize", ] [[package]] -name = "macro_magic_core" -version = "0.4.2" +name = "libp2p-ping" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" dependencies = [ - "const-random", - "derive-syn-parse 0.1.5", - "macro_magic_core_macros", - "proc-macro2", - "quote", - "syn 2.0.61", + "either", + "futures", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-swarm", + "log", + "rand 0.8.5", + "void", ] [[package]] -name = "macro_magic_core_macros" -version = "0.4.3" +name = "libp2p-quic" +version = "0.7.0-alpha.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "bytes", + "futures", + "futures-timer", + "if-watch", + "libp2p-core", + "libp2p-identity", + "libp2p-tls", + "log", + "parking_lot 0.12.2", + "quinn-proto", + "rand 0.8.5", + "rustls 0.20.9", + "thiserror", + "tokio", ] [[package]] -name = "macro_magic_macros" -version = "0.4.2" +name = "libp2p-request-response" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" dependencies = [ - "macro_magic_core", - "quote", - "syn 2.0.61", + "async-trait", + "futures", + "instant", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "rand 0.8.5", + "smallvec", ] [[package]] -name = "matchers" -version = "0.0.1" +name = "libp2p-swarm" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" dependencies = [ - "regex-automata 0.1.10", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm-derive", + "log", + "rand 0.8.5", + "smallvec", + "tokio", + "void", ] [[package]] -name = "matrixmultiply" -version = "0.3.8" +name = "libp2p-swarm-derive" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "autocfg", - "rawpointer", + "heck", + "quote", + "syn 1.0.109", ] [[package]] -name = "memchr" -version = "2.7.2" +name = "libp2p-tcp" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" +dependencies = [ + "futures", + "futures-timer", + "if-watch", + "libc", + "libp2p-core", + "log", + "socket2 0.4.10", + "tokio", +] [[package]] -name = "memfd" -version = "0.6.4" +name = "libp2p-tls" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" dependencies = [ - "rustix 0.38.34", + "futures", + "futures-rustls", + "libp2p-core", + "libp2p-identity", + "rcgen", + "ring 0.16.20", + "rustls 0.20.9", + "thiserror", + "webpki", + "x509-parser", + "yasna", ] [[package]] -name = "memoffset" -version = "0.6.5" +name = "libp2p-wasm-ext" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" dependencies = [ - "autocfg", + "futures", + "js-sys", + "libp2p-core", + "parity-send-wrapper", + "wasm-bindgen", + "wasm-bindgen-futures", ] [[package]] -name = "memoffset" -version = "0.8.0" +name = "libp2p-websocket" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ - "autocfg", + "either", + "futures", + "futures-rustls", + "libp2p-core", + "log", + "parking_lot 0.12.2", + "quicksink", + "rw-stream-sink", + "soketto", + "url", + "webpki-roots 0.22.6", ] [[package]] -name = "memory-db" -version = "0.31.0" +name = "libp2p-yamux" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", + "futures", + "libp2p-core", + "log", + "thiserror", + "yamux", ] [[package]] -name = "memory-db" -version = "0.32.0" +name = "libredox" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "hash-db 0.16.0", + "bitflags 2.5.0", + "libc", ] [[package]] -name = "memory_units" -version = "0.4.0" +name = "librocksdb-sys" +version = "0.11.0+8.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" +checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" +dependencies = [ + "bindgen", + "bzip2-sys", + "cc", + "glob", + "libc", + "libz-sys", + "tikv-jemalloc-sys", +] [[package]] -name = "merlin" -version = "2.0.1" +name = "libsecp256k1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" +checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", + "arrayref", + "base64 0.13.1", + "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 = "merlin" -version = "3.0.0" +name = "libsecp256k1-core" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ - "byteorder", - "keccak", - "rand_core 0.6.4", - "zeroize", + "crunchy", + "digest 0.9.0", + "subtle", ] [[package]] -name = "miniz_oxide" -version = "0.7.2" +name = "libsecp256k1-gen-ecmult" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" dependencies = [ - "adler", + "libsecp256k1-core", ] [[package]] -name = "mock-liquidity-source" -version = "0.1.0" +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.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "link-cplusplus" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" +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.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +dependencies = [ + "nalgebra", +] + +[[package]] +name = "linux-raw-sys" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" + +[[package]] +name = "linux-raw-sys" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" + +[[package]] +name = "liquidity-proxy" +version = "0.1.0" dependencies = [ "assets", + "ceres-liquidity-locker", "common 0.1.0", + "demeter-farming-platform", + "dex-api", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "fallible-iterator 0.2.0", + "frame-support", + "frame-system", "hex-literal", + "itertools", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", + "pallet-timestamp", "parity-scale-codec", "permissions", + "pool-xyk", + "pswap-distribution", + "qa-tools", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", + "trading-pair", + "vested-rewards", ] [[package]] -name = "multicollateral-bonding-curve-pool" -version = "0.3.0" +name = "liquidity-proxy-benchmarking" +version = "0.1.0" dependencies = [ "assets", "ceres-liquidity-locker", @@ -3607,16 +5401,16 @@ dependencies = [ "dex-api", "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", - "log", + "liquidity-proxy", "mock-liquidity-source", + "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -3624,4342 +5418,6905 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", ] [[package]] -name = "nalgebra" -version = "0.32.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +name = "liquidity-proxy-runtime-api" +version = "0.1.0" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros", - "num-complex", - "num-rational", - "num-traits", - "simba", - "typenum", + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "serde_json", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] -name = "nalgebra-macros" -version = "0.2.1" +name = "lock_api" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "autocfg", + "scopeguard", ] [[package]] -name = "nodrop" -version = "0.1.14" +name = "log" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +dependencies = [ + "value-bag", +] [[package]] -name = "nohash-hasher" -version = "0.2.0" +name = "lru" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" +dependencies = [ + "hashbrown 0.13.2", +] [[package]] -name = "num-bigint" -version = "0.4.5" +name = "lru-cache" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" dependencies = [ - "num-integer", - "num-traits", + "linked-hash-map", ] [[package]] -name = "num-complex" -version = "0.4.6" +name = "lz4" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" dependencies = [ - "num-traits", + "libc", + "lz4-sys", ] [[package]] -name = "num-format" -version = "0.4.4" +name = "lz4-sys" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" +checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" dependencies = [ - "arrayvec 0.7.4", - "itoa", + "cc", + "libc", ] [[package]] -name = "num-integer" -version = "0.1.46" +name = "mach" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" dependencies = [ - "num-traits", + "libc", ] [[package]] -name = "num-rational" +name = "macro_magic" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" dependencies = [ - "num-bigint", - "num-integer", - "num-traits", + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.65", ] [[package]] -name = "num-traits" -version = "0.2.19" +name = "macro_magic_core" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" dependencies = [ - "autocfg", + "const-random", + "derive-syn-parse 0.1.5", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "num_cpus" -version = "1.16.0" +name = "macro_magic_core_macros" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ - "hermit-abi", - "libc", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "object" -version = "0.29.0" +name = "macro_magic_macros" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ - "crc32fast", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "memchr", + "macro_magic_core", + "quote", + "syn 2.0.65", ] [[package]] -name = "object" -version = "0.30.4" +name = "maplit" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + +[[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 = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", + "regex-automata 0.1.10", ] [[package]] -name = "object" -version = "0.32.2" +name = "matches" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" + +[[package]] +name = "matrixmultiply" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ - "memchr", + "autocfg", + "rawpointer", ] [[package]] -name = "once_cell" -version = "1.19.0" +name = "memchr" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] -name = "opaque-debug" -version = "0.2.3" +name = "memfd" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +dependencies = [ + "rustix 0.38.34", +] [[package]] -name = "opaque-debug" -version = "0.3.1" +name = "memmap2" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +dependencies = [ + "libc", +] [[package]] -name = "oracle-proxy" -version = "1.0.0" +name = "memoffset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ - "band", - "common 0.1.0", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "autocfg", ] [[package]] -name = "order-book" -version = "0.1.0" +name = "memory-db" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-tokens", - "pallet-balances", - "pallet-collective", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", + "hash-db", ] [[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "merlin" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "byteorder", + "keccak", + "rand_core 0.5.1", + "zeroize", ] [[package]] -name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", ] [[package]] -name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", -] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] -name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "miniz_oxide" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" dependencies = [ - "frame-support 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "adler", ] [[package]] -name = "pallet-balances" -version = "4.0.0-dev" +name = "mio" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "windows-sys 0.48.0", ] [[package]] -name = "pallet-collective" -version = "4.0.0-dev" +name = "mock-liquidity-source" +version = "0.1.0" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", + "assets", + "common 0.1.0", + "dex-manager", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", "parity-scale-codec", + "permissions", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", ] [[package]] -name = "pallet-multisig" -version = "3.2.3" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" +name = "mockall" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive", + "predicates", + "predicates-tree", ] [[package]] -name = "pallet-multisig" -version = "4.0.0-dev" +name = "mockall_derive" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" dependencies = [ - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "cfg-if", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "pallet-scheduler" -version = "4.0.0-dev" +name = "multiaddr" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b36f567c7099511fa8612bbbb52dda2419ce0bdbacf31714e3a5ffdb766d3bd" dependencies = [ - "docify", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "arrayref", + "byteorder", + "data-encoding", "log", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", + "multibase", + "multihash", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint", + "url", ] [[package]] -name = "pallet-session" -version = "4.0.0-dev" +name = "multibase" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "impl-trait-for-tuples", - "log", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", + "base-x", + "data-encoding", + "data-encoding-macro", ] [[package]] -name = "pallet-sudo" -version = "4.0.0-dev" +name = "multicollateral-bonding-curve-pool" +version = "0.3.0" dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", + "hex-literal", + "log", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "vested-rewards", ] [[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" +name = "multihash" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" dependencies = [ - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-timestamp 4.0.0-dev", + "blake2b_simd", + "blake2s_simd", + "blake3", + "core2", + "digest 0.10.7", + "multihash-derive", + "sha2 0.10.8", + "sha3 0.10.8", + "unsigned-varint", ] [[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "multihash-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "proc-macro-crate 1.1.3", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", ] [[package]] -name = "pallet-transaction-payment" -version = "4.0.0-dev" +name = "multimap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" + +[[package]] +name = "multisig-verifier" +version = "0.1.0" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "bridge-common", + "bridge-types", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "parity-bytes" -version = "0.1.2" +name = "multistream-select" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" +checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" +dependencies = [ + "bytes", + "futures", + "log", + "pin-project", + "smallvec", + "unsigned-varint", +] [[package]] -name = "parity-scale-codec" -version = "3.6.12" +name = "nalgebra" +version = "0.32.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" dependencies = [ - "arrayvec 0.7.4", - "bitvec", - "byte-slice-cast", - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", + "approx", + "matrixmultiply", + "nalgebra-macros", + "num-complex", + "num-rational", + "num-traits", + "simba", + "typenum", ] [[package]] -name = "parity-scale-codec-derive" -version = "3.6.12" +name = "nalgebra-macros" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" dependencies = [ - "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", ] [[package]] -name = "parity-util-mem" -version = "0.12.0" +name = "netlink-packet-core" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" dependencies = [ - "cfg-if", - "impl-trait-for-tuples", - "parity-util-mem-derive", - "primitive-types", - "winapi", + "anyhow", + "byteorder", + "libc", + "netlink-packet-utils", ] [[package]] -name = "parity-util-mem-derive" -version = "0.1.0" +name = "netlink-packet-route" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" +checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure", + "anyhow", + "bitflags 1.3.2", + "byteorder", + "libc", + "netlink-packet-core", + "netlink-packet-utils", ] [[package]] -name = "parity-wasm" -version = "0.45.0" +name = "netlink-packet-utils" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" +checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34" +dependencies = [ + "anyhow", + "byteorder", + "paste", + "thiserror", +] [[package]] -name = "parking" -version = "2.2.0" +name = "netlink-proto" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" +dependencies = [ + "bytes", + "futures", + "log", + "netlink-packet-core", + "netlink-sys", + "thiserror", + "tokio", +] [[package]] -name = "parking_lot" -version = "0.12.2" +name = "netlink-sys" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ - "lock_api", - "parking_lot_core", + "bytes", + "futures", + "libc", + "log", + "tokio", ] [[package]] -name = "parking_lot_core" -version = "0.9.10" +name = "nix" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" dependencies = [ + "bitflags 1.3.2", "cfg-if", "libc", - "redox_syscall", - "smallvec", - "windows-targets 0.52.5", ] [[package]] -name = "paste" -version = "1.0.15" +name = "nodrop" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" [[package]] -name = "pbkdf2" -version = "0.8.0" +name = "nohash-hasher" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.1", -] +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] -name = "pbkdf2" -version = "0.11.0" +name = "nom" +version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" dependencies = [ - "digest 0.10.7", + "memchr", + "minimal-lexical", ] [[package]] -name = "percent-encoding" -version = "2.3.1" +name = "normalize-line-endings" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] -name = "permissions" -version = "1.1.0" +name = "num-bigint" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "num-integer", + "num-traits", ] [[package]] -name = "pin-project-lite" -version = "0.2.14" +name = "num-complex" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +dependencies = [ + "num-traits", +] [[package]] -name = "pin-utils" +name = "num-conv" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] -name = "piper" -version = "0.2.2" +name = "num-format" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" +checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "atomic-waker", - "fastrand 2.1.0", - "futures-io", + "arrayvec 0.7.4", + "itoa", ] [[package]] -name = "pkcs8" -version = "0.9.0" +name = "num-integer" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "der 0.6.1", - "spki 0.6.0", + "num-traits", ] [[package]] -name = "pkcs8" -version = "0.10.2" +name = "num-rational" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "der 0.7.9", - "spki 0.7.3", + "num-integer", + "num-traits", ] [[package]] -name = "platforms" -version = "3.4.0" +name = "num-traits" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] [[package]] -name = "polling" -version = "2.8.0" +name = "num_cpus" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", + "hermit-abi 0.3.9", "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", ] [[package]] -name = "polling" -version = "3.7.0" +name = "number_prefix" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" + +[[package]] +name = "object" +version = "0.30.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi", - "pin-project-lite", - "rustix 0.38.34", - "tracing", - "windows-sys 0.52.0", + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", + "memchr", ] [[package]] -name = "pool-xyk" -version = "1.2.0" +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "oid-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +dependencies = [ + "asn1-rs", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + +[[package]] +name = "oracle-proxy" +version = "1.0.0" dependencies = [ - "assets", "band", - "ceres-liquidity-locker", "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", - "log", - "num-traits", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", - "permissions", - "price-tools", - "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "xst", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "prettier-please" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" +name = "oracle-proxy-runtime-api" +version = "1.0.0" dependencies = [ - "proc-macro2", - "syn 2.0.61", + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] -name = "price-tools" -version = "1.0.0" +name = "order-book" +version = "0.1.0" dependencies = [ "assets", - "ceres-liquidity-locker", "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", - "mock-liquidity-source", - "orml-currencies", "orml-tokens", - "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-collective", + "pallet-timestamp", "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", + "trading-pair", ] [[package]] -name = "primitive-types" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +name = "order-book-benchmarking" +version = "0.1.0" dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "framenode-chain-spec", + "framenode-runtime", + "hex-literal", + "order-book", + "orml-tokens", + "pallet-balances", + "pallet-collective", + "pallet-timestamp", + "parity-scale-codec", "scale-info", - "uint", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", ] [[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +name = "orml-currencies" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "once_cell", - "toml_edit 0.19.15", + "frame-support", + "frame-system", + "orml-traits", + "orml-utilities", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "proc-macro-crate" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +name = "orml-tokens" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "toml_edit 0.21.1", + "frame-support", + "frame-system", + "log", + "orml-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +name = "orml-traits" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", + "frame-support", + "impl-trait-for-tuples", + "num-traits", + "orml-utilities", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +name = "orml-utilities" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "proc-macro2", - "quote", - "version_check", + "frame-support", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "proc-macro-warning" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" +name = "pallet-aura" +version = "4.0.0-dev" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "frame-support", + "frame-system", + "log", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-consensus-aura", + "sp-runtime", + "sp-std", ] [[package]] -name = "proc-macro2" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +name = "pallet-authorship" +version = "4.0.0-dev" dependencies = [ - "unicode-ident", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", ] [[package]] -name = "psm" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +name = "pallet-babe" +version = "4.0.0-dev" dependencies = [ - "cc", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-consensus-babe", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", ] [[package]] -name = "pswap-distribution" -version = "1.1.1" +name = "pallet-bags-list" +version = "4.0.0-dev" dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", + "aquamarine", + "docify", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", "parity-scale-codec", - "permissions", - "pool-xyk", "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", + "sp-runtime", + "sp-std", ] [[package]] -name = "qa-tools" -version = "0.1.0" +name = "pallet-balances" +version = "4.0.0-dev" dependencies = [ - "assets", - "band", - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "multicollateral-bonding-curve-pool", - "oracle-proxy", - "order-book", - "pallet-balances", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", "parity-scale-codec", - "pool-xyk", - "price-tools", - "rand 0.8.5", - "rand_chacha 0.3.1", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "xst", + "sp-runtime", + "sp-std", ] [[package]] -name = "quote" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +name = "pallet-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "proc-macro2", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", ] [[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" +name = "pallet-beefy-mmr" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "array-bytes", + "binary-merkle-tree 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", + "log", + "pallet-beefy", + "pallet-mmr", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", +] [[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +name = "pallet-collective" +version = "4.0.0-dev" dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +name = "pallet-democracy" +version = "4.0.0-dev" dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-std", ] [[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +name = "pallet-elections-phragmen" +version = "5.0.0-dev" dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +name = "pallet-grandpa" +version = "4.0.0-dev" dependencies = [ - "getrandom 0.1.16", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-consensus-grandpa 4.0.0-dev", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", ] [[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +name = "pallet-identity" +version = "4.0.0-dev" dependencies = [ - "getrandom 0.2.15", + "enumflags2", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +name = "pallet-im-online" +version = "4.0.0-dev" dependencies = [ - "rand_core 0.5.1", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "pallet-authorship", + "parity-scale-codec", + "scale-info", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] -name = "rawpointer" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" - -[[package]] -name = "redox_syscall" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" dependencies = [ - "bitflags 2.5.0", + "frame-support", + "frame-system", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime", + "sp-std", ] [[package]] -name = "ref-cast" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +name = "pallet-membership" +version = "4.0.0-dev" dependencies = [ - "ref-cast-impl", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "ref-cast-impl" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +name = "pallet-mmr" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", ] [[package]] -name = "referrals" -version = "1.1.0" +name = "pallet-multisig" +version = "3.2.3" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", + "frame-support", + "frame-system", "parity-scale-codec", - "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "regex" -version = "1.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +name = "pallet-multisig" +version = "4.0.0-dev" dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +name = "pallet-offences" +version = "4.0.0-dev" dependencies = [ - "regex-syntax 0.6.29", + "frame-support", + "frame-system", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] -name = "regex-automata" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +name = "pallet-preimage" +version = "4.0.0-dev" dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.3", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +name = "pallet-scheduler" +version = "4.0.0-dev" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", +] [[package]] -name = "regex-syntax" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +name = "pallet-session" +version = "4.0.0-dev" +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-state-machine", + "sp-std", + "sp-trie", +] [[package]] -name = "rewards" -version = "1.3.0" +name = "pallet-staking" +version = "4.0.0-dev" dependencies = [ - "assets", - "common 0.1.0", "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "libsecp256k1", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "orml-currencies", - "orml-tokens", "orml-traits", - "pallet-balances", + "pallet-authorship", + "pallet-session", "parity-scale-codec", - "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" +name = "pallet-sudo" +version = "4.0.0-dev" dependencies = [ - "crypto-bigint 0.4.9", - "hmac 0.12.1", - "zeroize", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +name = "pallet-timestamp" +version = "4.0.0-dev" dependencies = [ - "hmac 0.12.1", - "subtle", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-inherents 4.0.0-dev", + "sp-io", + "sp-runtime", + "sp-std", + "sp-storage", + "sp-timestamp", ] [[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" +name = "pallet-transaction-payment" +version = "4.0.0-dev" dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", - "fflonk", - "merlin 3.0.0", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "rlp" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" dependencies = [ - "bytes", - "rustc-hex", + "pallet-transaction-payment", + "parity-scale-codec", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +name = "pallet-utility" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] [[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +name = "parachain-bridge-app" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", +] [[package]] -name = "rustc-hex" -version = "2.1.0" +name = "parity-bytes" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" +checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" [[package]] -name = "rustc_version" -version = "0.4.0" +name = "parity-db" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ - "semver", + "blake2", + "crc32fast", + "fs2", + "hex", + "libc", + "log", + "lz4", + "memmap2", + "parking_lot 0.12.2", + "rand 0.8.5", + "siphasher", + "snap", + "winapi", ] [[package]] -name = "rustix" -version = "0.35.16" +name = "parity-scale-codec" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" +checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" dependencies = [ - "bitflags 1.3.2", - "errno 0.2.8", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", + "arrayvec 0.7.4", + "bitvec", + "byte-slice-cast", + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", ] [[package]] -name = "rustix" -version = "0.36.17" +name = "parity-scale-codec-derive" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" dependencies = [ - "bitflags 1.3.2", - "errno 0.3.9", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 1.0.109", ] [[package]] -name = "rustix" -version = "0.37.27" +name = "parity-send-wrapper" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.9", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", +checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" + +[[package]] +name = "parity-util-mem" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" +dependencies = [ + "cfg-if", + "impl-trait-for-tuples", + "parity-util-mem-derive", + "primitive-types", + "winapi", ] [[package]] -name = "rustix" -version = "0.38.34" +name = "parity-util-mem-derive" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ - "bitflags 2.5.0", - "errno 0.3.9", - "libc", - "linux-raw-sys 0.4.13", - "windows-sys 0.52.0", + "proc-macro2", + "syn 1.0.109", + "synstructure", ] [[package]] -name = "rustversion" -version = "1.0.16" +name = "parity-wasm" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" +checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] -name = "ryu" -version = "1.0.18" +name = "parking" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] -name = "safe_arch" -version = "0.7.1" +name = "parking_lot" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ - "bytemuck", + "instant", + "lock_api", + "parking_lot_core 0.8.6", ] [[package]] -name = "same-file" -version = "1.0.6" +name = "parking_lot" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" dependencies = [ - "winapi-util", + "lock_api", + "parking_lot_core 0.9.10", ] [[package]] -name = "scale-info" -version = "2.11.3" +name = "parking_lot_core" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ - "bitvec", "cfg-if", - "derive_more", - "parity-scale-codec", - "scale-info-derive", - "serde", + "instant", + "libc", + "redox_syscall 0.2.16", + "smallvec", + "winapi", ] [[package]] -name = "scale-info-derive" -version = "2.11.3" +name = "parking_lot_core" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 1.0.109", + "cfg-if", + "libc", + "redox_syscall 0.5.1", + "smallvec", + "windows-targets 0.52.5", ] [[package]] -name = "schnellru" -version = "0.2.2" +name = "partial_sort" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0cf7da6fc4477944d5529807234f66802fcb618fc62b9c05bedca7f9be6c43" -dependencies = [ - "ahash 0.8.11", - "cfg-if", - "hashbrown 0.13.2", -] +checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" [[package]] -name = "schnorrkel" -version = "0.9.1" +name = "paste" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pbkdf2" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle", - "zeroize", + "crypto-mac 0.11.1", ] [[package]] -name = "schnorrkel" -version = "0.11.4" +name = "pbkdf2" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "curve25519-dalek 4.1.2", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_core 0.6.4", - "sha2 0.10.8", - "subtle", - "zeroize", + "digest 0.10.7", ] [[package]] -name = "scopeguard" -version = "1.2.0" +name = "peeking_take_while" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" [[package]] -name = "sec1" -version = "0.3.0" +name = "pem" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" dependencies = [ - "base16ct 0.1.1", - "der 0.6.1", - "generic-array 0.14.7", - "pkcs8 0.9.0", - "subtle", - "zeroize", + "base64 0.13.1", ] [[package]] -name = "sec1" -version = "0.7.3" +name = "percent-encoding" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "permissions" +version = "1.1.0" dependencies = [ - "base16ct 0.2.0", - "der 0.7.9", - "generic-array 0.14.7", - "pkcs8 0.10.2", - "subtle", - "zeroize", + "common 0.1.0", + "frame-support", + "frame-system", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "secp256k1" -version = "0.24.3" +name = "petgraph" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ - "secp256k1-sys", + "fixedbitset", + "indexmap 2.2.6", ] [[package]] -name = "secp256k1-sys" -version = "0.6.1" +name = "pin-project" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ - "cc", + "pin-project-internal", ] [[package]] -name = "secrecy" -version = "0.8.0" +name = "pin-project-internal" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ - "zeroize", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "semver" -version = "1.0.23" +name = "pin-project-lite" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] -name = "serde" -version = "1.0.201" +name = "pin-project-lite" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" -dependencies = [ - "serde_derive", -] +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] -name = "serde_bytes" -version = "0.11.14" +name = "pin-utils" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" -dependencies = [ - "serde", -] +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] -name = "serde_derive" -version = "1.0.201" +name = "piper" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "atomic-waker", + "fastrand 2.1.0", + "futures-io", ] [[package]] -name = "serde_json" -version = "1.0.117" +name = "pkcs8" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "itoa", - "ryu", - "serde", + "der", + "spki", ] [[package]] -name = "serde_spanned" -version = "0.6.5" +name = "pkg-config" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" + +[[package]] +name = "platforms" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" + +[[package]] +name = "polling" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" dependencies = [ - "serde", + "autocfg", + "bitflags 1.3.2", + "cfg-if", + "concurrent-queue", + "libc", + "log", + "pin-project-lite 0.2.14", + "windows-sys 0.48.0", ] [[package]] -name = "sha2" -version = "0.8.2" +name = "polling" +version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" +checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", + "cfg-if", + "concurrent-queue", + "hermit-abi 0.3.9", + "pin-project-lite 0.2.14", + "rustix 0.38.34", + "tracing", + "windows-sys 0.52.0", ] [[package]] -name = "sha2" -version = "0.9.9" +name = "poly1305" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ - "block-buffer 0.9.0", - "cfg-if", "cpufeatures", - "digest 0.9.0", "opaque-debug 0.3.1", + "universal-hash", ] [[package]] -name = "sha2" -version = "0.10.8" +name = "polyval" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.7", + "opaque-debug 0.3.1", + "universal-hash", ] [[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" +name = "pool-xyk" +version = "1.2.0" dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.1", + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-support", + "frame-system", + "hex-literal", + "log", + "num-traits", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "xst", ] [[package]] -name = "sha3" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" +name = "pool-xyk-benchmarking" +version = "0.1.0" dependencies = [ - "digest 0.10.7", - "keccak", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", ] [[package]] -name = "sharded-slab" -version = "0.1.7" +name = "portable-atomic" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" [[package]] -name = "signal-hook-registry" -version = "1.4.2" +name = "powerfmt" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "predicates" +version = "2.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" dependencies = [ - "libc", + "difflib", + "float-cmp", + "itertools", + "normalize-line-endings", + "predicates-core", + "regex", ] [[package]] -name = "signature" -version = "1.6.4" +name = "predicates-core" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" + +[[package]] +name = "predicates-tree" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", + "predicates-core", + "termtree", ] [[package]] -name = "signature" -version = "2.2.0" +name = "prettier-please" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", + "proc-macro2", + "syn 2.0.65", ] [[package]] -name = "simba" -version = "0.8.1" +name = "prettyplease" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" +checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", - "wide", + "proc-macro2", + "syn 1.0.109", ] [[package]] -name = "slab" -version = "0.4.9" +name = "prettyplease" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ - "autocfg", + "proc-macro2", + "syn 2.0.65", ] [[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +name = "price-tools" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", +] [[package]] -name = "socket2" -version = "0.4.10" +name = "primitive-types" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ - "libc", - "winapi", + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "uint", ] [[package]] -name = "sp-api" -version = "4.0.0-dev" +name = "proc-macro-crate" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", "thiserror", + "toml 0.5.11", ] [[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "sp-version 5.0.0", - "thiserror", + "toml_edit 0.21.1", ] [[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ - "Inflector", - "blake2", - "expander", - "proc-macro-crate 1.3.1", + "proc-macro-error-attr", "proc-macro2", "quote", - "syn 2.0.61", + "syn 1.0.109", + "version_check", ] [[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "blake2", - "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 1.0.109", + "version_check", ] [[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "proc-macro-warning" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "sp-application-crypto" -version = "23.0.0" +name = "proc-macro2" +version = "1.0.83" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", + "unicode-ident", ] [[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "prometheus" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0", - "static_assertions", + "cfg-if", + "fnv", + "lazy_static", + "memchr", + "parking_lot 0.12.2", + "thiserror", ] [[package]] -name = "sp-arithmetic" -version = "16.0.0" +name = "prometheus-client" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0", - "static_assertions", + "dtoa", + "itoa", + "parking_lot 0.12.2", + "prometheus-client-derive-encode", ] [[package]] -name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +name = "prometheus-client-derive-encode" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.24.1", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "prost" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0", - "sp-debug-derive 5.0.0", - "sp-externalities 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", + "bytes", + "prost-derive", ] [[package]] -name = "sp-core" -version = "21.0.0" +name = "prost-build" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ - "array-bytes 6.2.2", - "arrayvec 0.7.4", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", + "bytes", + "heck", + "itertools", "lazy_static", - "libsecp256k1", "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "paste", - "primitive-types", - "rand 0.8.5", + "multimap", + "petgraph", + "prettyplease 0.1.11", + "prost", + "prost-types", "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 9.0.0", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0", "syn 1.0.109", + "tempfile", + "which", ] [[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -dependencies = [ - "quote", - "sp-core-hashing 9.0.0", - "syn 2.0.61", -] - -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "prost-derive" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ + "anyhow", + "itertools", "proc-macro2", "quote", "syn 1.0.109", ] [[package]] -name = "sp-debug-derive" -version = "8.0.0" +name = "prost-types" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "prost", ] [[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +name = "psm" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "cc", ] [[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "pswap-distribution" +version = "1.1.1" dependencies = [ - "environmental", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "log", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", "parity-scale-codec", - "sp-std 5.0.0", - "sp-storage 7.0.0", + "permissions", + "pool-xyk", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", ] [[package]] -name = "sp-externalities" -version = "0.19.0" +name = "pswap-distribution-benchmarking" +version = "0.1.0" dependencies = [ - "environmental", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", ] [[package]] -name = "sp-genesis-builder" +name = "pswap-distribution-runtime-api" version = "0.1.0" dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] -name = "sp-inherents" -version = "4.0.0-dev" +name = "qa-tools" +version = "0.1.0" dependencies = [ - "async-trait", - "impl-trait-for-tuples", + "assets", + "band", + "common 0.1.0", + "frame-support", + "frame-system", + "multicollateral-bonding-curve-pool", + "oracle-proxy", + "order-book", + "pallet-balances", "parity-scale-codec", + "pool-xyk", + "price-tools", + "rand 0.8.5", + "rand_chacha 0.3.1", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "xst", ] [[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "thiserror", -] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "quick-protobuf" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d6da84cc204722a989e01ba2f6e1e276e190f22263d0cb6ce8526fcdb0d2e1f" dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-keystore 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-trie 7.0.0", - "tracing", - "tracing-core", + "byteorder", ] [[package]] -name = "sp-io" -version = "23.0.0" +name = "quick-protobuf-codec" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" dependencies = [ + "asynchronous-codec", "bytes", - "ed25519-dalek 2.1.1", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime-interface 17.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie 22.0.0", - "tracing", - "tracing-core", + "quick-protobuf", + "thiserror", + "unsigned-varint", ] [[package]] -name = "sp-keyring" -version = "24.0.0" +name = "quicksink" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" dependencies = [ - "lazy_static", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "strum 0.24.1", + "futures-core", + "futures-sink", + "pin-project-lite 0.1.12", ] [[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "quinn-proto" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ - "async-trait", - "futures", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "schnorrkel 0.9.1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", + "bytes", + "rand 0.8.5", + "ring 0.16.20", + "rustc-hash", + "rustls 0.20.9", + "slab", "thiserror", + "tinyvec", + "tracing", + "webpki", ] [[package]] -name = "sp-keystore" -version = "0.27.0" +name = "quote" +version = "1.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ - "parity-scale-codec", - "parking_lot", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "thiserror", + "proc-macro2", ] [[package]] -name = "sp-metadata-ir" -version = "0.1.0" +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "frame-metadata 16.0.0", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0", + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", ] [[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", ] [[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" dependencies = [ - "backtrace", - "lazy_static", - "regex", + "ppv-lite86", + "rand_core 0.5.1", ] [[package]] -name = "sp-panic-handler" -version = "8.0.0" +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ - "backtrace", - "lazy_static", - "regex", + "ppv-lite86", + "rand_core 0.6.4", ] [[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", - "sp-weights 4.0.0", + "getrandom 0.1.16", ] [[package]] -name = "sp-runtime" -version = "24.0.0" +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", + "getrandom 0.2.15", ] [[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0", - "sp-runtime-interface-proc-macro 6.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "sp-tracing 6.0.0", - "sp-wasm-interface 7.0.0", - "static_assertions", + "rand_core 0.5.1", ] [[package]] -name = "sp-runtime-interface" -version = "17.0.0" +name = "rand_pcg" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", - "static_assertions", + "rand_core 0.6.4", ] [[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rawpointer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" + +[[package]] +name = "rayon" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", + "either", + "rayon-core", ] [[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" +name = "rayon-core" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.61", + "crossbeam-deque", + "crossbeam-utils", ] [[package]] -name = "sp-session" -version = "4.0.0-dev" +name = "rcgen" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "pem", + "ring 0.16.20", + "time", + "yasna", ] [[package]] -name = "sp-staking" -version = "4.0.0-dev" +name = "redox_syscall" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "bitflags 1.3.2", ] [[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", + "bitflags 1.3.2", ] [[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "parking_lot", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-panic-handler 5.0.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "thiserror", - "tracing", + "bitflags 2.5.0", ] [[package]] -name = "sp-state-machine" -version = "0.28.0" +name = "redox_users" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", + "getrandom 0.2.15", + "libredox", "thiserror", - "tracing", - "trie-db 0.27.1", ] [[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "ref-cast" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +dependencies = [ + "ref-cast-impl", +] [[package]] -name = "sp-std" -version = "8.0.0" +name = "ref-cast-impl" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] [[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "referrals" +version = "1.1.0" dependencies = [ - "impl-serde", + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", "parity-scale-codec", - "ref-cast", + "permissions", + "scale-info", "serde", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "sp-storage" -version = "13.0.0" +name = "regalloc2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "fxhash", + "log", + "slice-group-by", + "smallvec", ] [[package]] -name = "sp-timestamp" -version = "4.0.0-dev" +name = "regex" +version = "1.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", + "aho-corasick", + "memchr", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" dependencies = [ - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0", - "sp-std 5.0.0", + "regex-syntax 0.6.29", ] [[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", + "aho-corasick", + "memchr", + "regex-syntax 0.8.3", ] [[package]] -name = "sp-tracing" -version = "10.0.0" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] +name = "regex-syntax" +version = "0.6.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 7.0.0", - "sp-std 5.0.0", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", -] +name = "regex-syntax" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] -name = "sp-trie" -version = "22.0.0" +name = "resolv-conf" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" dependencies = [ - "ahash 0.8.11", - "hash-db 0.16.0", - "hashbrown 0.13.2", - "lazy_static", - "memory-db 0.32.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 21.0.0", - "sp-std 8.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", - "trie-root 0.18.0", + "hostname", + "quick-error", ] [[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rewards" +version = "1.3.0" dependencies = [ - "impl-serde", + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex", + "hex-literal", + "libsecp256k1", + "log", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", "parity-scale-codec", - "parity-wasm", + "permissions", "scale-info", "serde", - "sp-core-hashing-proc-macro 5.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version-proc-macro 4.0.0-dev", - "thiserror", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", ] [[package]] -name = "sp-version" -version = "22.0.0" +name = "rewards-runtime-api" +version = "0.1.0" dependencies = [ - "impl-serde", + "common 0.1.0", "parity-scale-codec", - "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 9.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version-proc-macro 8.0.0", - "thiserror", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", + "hmac 0.12.1", + "subtle", ] [[package]] -name = "sp-version-proc-macro" -version = "8.0.0" +name = "ring" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.61", + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", + "fflonk", + "merlin 3.0.0", ] [[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "ring" +version = "0.16.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0", - "wasmi", - "wasmtime 1.0.2", + "cc", + "libc", + "once_cell", + "spin 0.5.2", + "untrusted 0.7.1", + "web-sys", + "winapi", ] [[package]] -name = "sp-wasm-interface" -version = "14.0.0" +name = "ring" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0", - "wasmtime 8.0.1", + "cc", + "cfg-if", + "getrandom 0.2.15", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys 0.52.0", ] [[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "rlp" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", + "bytes", + "rustc-hex", ] [[package]] -name = "sp-weights" -version = "20.0.0" +name = "rocksdb" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", + "libc", + "librocksdb-sys", ] [[package]] -name = "spki" -version = "0.6.0" +name = "rtnetlink" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" +checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ - "base64ct", - "der 0.6.1", + "futures", + "log", + "netlink-packet-route", + "netlink-proto", + "nix", + "thiserror", + "tokio", ] [[package]] -name = "spki" -version = "0.7.3" +name = "rustc-demangle" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der 0.7.9", -] +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] -name = "ss58-registry" -version = "1.47.0" +name = "rustc-hash" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" -dependencies = [ - "Inflector", - "num-format", - "proc-macro2", - "quote", - "serde", - "serde_json", - "unicode-xid", -] +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] -name = "stable_deref_trait" -version = "1.2.0" +name = "rustc-hex" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" [[package]] -name = "staging-xcm" -version = "1.0.0" +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" dependencies = [ - "bounded-collections", - "derivative", - "environmental", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-weights 20.0.0", - "xcm-procedural", + "semver 0.9.0", ] [[package]] -name = "static_assertions" -version = "1.1.0" +name = "rustc_version" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver 1.0.23", +] [[package]] -name = "strum" -version = "0.24.1" +name = "rusticata-macros" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" dependencies = [ - "strum_macros 0.24.3", + "nom", ] [[package]] -name = "strum" -version = "0.25.0" +name = "rustix" +version = "0.36.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ - "strum_macros 0.25.3", + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", ] [[package]] -name = "strum_macros" -version = "0.24.3" +name = "rustix" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "bitflags 1.3.2", + "errno", + "io-lifetimes", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", ] [[package]] -name = "strum_macros" -version = "0.25.3" +name = "rustix" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.61", + "bitflags 2.5.0", + "errno", + "libc", + "linux-raw-sys 0.4.14", + "windows-sys 0.52.0", ] [[package]] -name = "substrate-bip39" -version = "0.4.6" +name = "rustls" +version = "0.20.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" +checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.11.4", - "sha2 0.9.9", - "zeroize", + "log", + "ring 0.16.20", + "sct", + "webpki", ] [[package]] -name = "subtle" -version = "2.4.1" +name = "rustls" +version = "0.21.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" +dependencies = [ + "log", + "ring 0.17.8", + "rustls-webpki", + "sct", +] [[package]] -name = "syn" -version = "1.0.109" +name = "rustls-native-certs" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "openssl-probe", + "rustls-pemfile", + "schannel", + "security-framework", ] [[package]] -name = "syn" -version = "2.0.61" +name = "rustls-pemfile" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "base64 0.21.7", ] [[package]] -name = "synstructure" -version = "0.12.6" +name = "rustls-webpki" +version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-xid", + "ring 0.17.8", + "untrusted 0.9.0", ] [[package]] -name = "tap" -version = "1.0.1" +name = "rustversion" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] -name = "target-lexicon" -version = "0.12.14" +name = "rw-stream-sink" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" - -[[package]] -name = "technical" -version = "0.1.0" +checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "twox-hash", + "futures", + "pin-project", + "static_assertions", ] [[package]] -name = "termcolor" -version = "1.4.1" +name = "ryu" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] -name = "thiserror" -version = "1.0.60" +name = "safe-mix" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" +checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" dependencies = [ - "thiserror-impl", + "rustc_version 0.2.3", ] [[package]] -name = "thiserror-impl" -version = "1.0.60" +name = "safe_arch" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "bytemuck", ] [[package]] -name = "thread_local" -version = "1.1.8" +name = "same-file" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" dependencies = [ - "cfg-if", - "once_cell", + "winapi-util", ] [[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" +name = "sc-allocator" +version = "4.1.0-dev" dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash", - "sha2 0.10.8", + "log", + "sp-core", + "sp-wasm-interface", "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", ] [[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +name = "sc-block-builder" +version = "0.10.0-dev" dependencies = [ - "crunchy", + "parity-scale-codec", + "sc-client-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-inherents 4.0.0-dev", + "sp-runtime", ] [[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +name = "sc-chain-spec" +version = "4.0.0-dev" dependencies = [ - "tinyvec_macros", + "memmap2", + "sc-chain-spec-derive", + "sc-client-api", + "sc-executor", + "sc-network", + "sc-telemetry", + "serde", + "serde_json", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.37.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +name = "sc-chain-spec-derive" +version = "4.0.0-dev" dependencies = [ - "backtrace", - "pin-project-lite", - "tokio-macros", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "tokio-macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +name = "sc-client-api" +version = "4.0.0-dev" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-executor", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev", + "sp-api", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-core", + "sp-database", + "sp-externalities", + "sp-runtime", + "sp-state-machine", + "sp-statement-store", + "sp-storage", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-client-db" +version = "0.10.0-dev" +dependencies = [ + "hash-db", + "kvdb", + "kvdb-memorydb", + "kvdb-rocksdb", + "linked-hash-map", + "log", + "parity-db", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-client-api", + "sc-state-db", + "schnellru", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] -name = "toml" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +name = "sc-consensus" +version = "0.10.0-dev" dependencies = [ + "async-trait", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mockall", + "parking_lot 0.12.2", + "sc-client-api", + "sc-utils 4.0.0-dev", "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.22.12", + "sp-api", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-core", + "sp-runtime", + "sp-state-machine", + "substrate-prometheus-endpoint", + "thiserror", ] [[package]] -name = "toml_datetime" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +name = "sc-consensus" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ + "async-trait", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mockall", + "parking_lot 0.12.2", + "sc-client-api", + "sc-utils 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "serde", + "sp-api", + "sp-blockchain", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-runtime", + "sp-state-machine", + "substrate-prometheus-endpoint", + "thiserror", ] [[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +name = "sc-executor" +version = "0.10.0-dev" dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.40", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-executor-common", + "sc-executor-wasmtime", + "schnellru", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", + "tracing", ] [[package]] -name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +name = "sc-executor-common" +version = "0.10.0-dev" dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.40", + "sc-allocator", + "sp-maybe-compressed-blob", + "sp-wasm-interface", + "thiserror", + "wasm-instrument", ] [[package]] -name = "toml_edit" -version = "0.22.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +name = "sc-executor-wasmtime" +version = "0.10.0-dev" dependencies = [ - "indexmap 2.2.6", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.6.8", + "anyhow", + "cfg-if", + "libc", + "log", + "rustix 0.36.17", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface", + "sp-wasm-interface", + "wasmtime", ] [[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +name = "sc-informant" +version = "0.10.0-dev" dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", + "ansi_term", + "futures", + "futures-timer", + "log", + "sc-client-api", + "sc-network", + "sc-network-common 0.10.0-dev", + "sp-blockchain", + "sp-runtime", ] [[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +name = "sc-keystore" +version = "4.0.0-dev" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "array-bytes", + "parking_lot 0.12.2", + "serde_json", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "thiserror", ] [[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +name = "sc-network" +version = "0.10.0-dev" dependencies = [ - "once_cell", - "valuable", + "array-bytes", + "async-channel 1.9.0", + "async-trait", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "ip_network", + "libp2p", + "linked_hash_set", + "log", + "mockall", + "parity-scale-codec", + "parking_lot 0.12.2", + "partial_sort", + "pin-project", + "rand 0.8.5", + "sc-client-api", + "sc-network-common 0.10.0-dev", + "sc-utils 4.0.0-dev", + "serde", + "serde_json", + "smallvec", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "unsigned-varint", + "wasm-timer", + "zeroize", ] [[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +name = "sc-network-bitswap" +version = "0.10.0-dev" dependencies = [ + "async-channel 1.9.0", + "cid", + "futures", + "libp2p-identity", "log", - "once_cell", - "tracing-core", + "prost", + "prost-build", + "sc-client-api", + "sc-network", + "sp-blockchain", + "sp-runtime", + "thiserror", + "unsigned-varint", ] [[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" +name = "sc-network-common" +version = "0.10.0-dev" dependencies = [ - "serde", - "tracing-core", + "async-trait", + "bitflags 1.3.2", + "futures", + "libp2p-identity", + "parity-scale-codec", + "prost-build", + "sc-consensus 0.10.0-dev", + "sp-consensus 0.10.0-dev", + "sp-consensus-grandpa 4.0.0-dev", + "sp-runtime", ] [[package]] -name = "tracing-subscriber" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +name = "sc-network-common" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", + "async-trait", + "bitflags 1.3.2", + "futures", + "libp2p-identity", + "parity-scale-codec", + "prost-build", + "sc-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", ] [[package]] -name = "trading-pair" -version = "0.1.0" +name = "sc-network-light" +version = "0.10.0-dev" dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", + "array-bytes", + "async-channel 1.9.0", + "futures", + "libp2p-identity", + "log", "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "prost", + "prost-build", + "sc-client-api", + "sc-network", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror", ] [[package]] -name = "trie-db" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +name = "sc-network-sync" +version = "0.10.0-dev" dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", + "array-bytes", + "async-channel 1.9.0", + "async-trait", + "fork-tree", + "futures", + "futures-timer", + "libp2p", "log", - "rustc-hex", + "mockall", + "parity-scale-codec", + "prost", + "prost-build", + "sc-client-api", + "sc-consensus 0.10.0-dev", + "sc-network", + "sc-network-common 0.10.0-dev", + "sc-utils 4.0.0-dev", + "schnellru", "smallvec", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-consensus-grandpa 4.0.0-dev", + "sp-core", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", ] [[package]] -name = "trie-db" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +name = "sc-network-transactions" +version = "0.10.0-dev" dependencies = [ - "hash-db 0.16.0", - "hashbrown 0.13.2", + "array-bytes", + "futures", + "libp2p", "log", - "rustc-hex", - "smallvec", + "parity-scale-codec", + "sc-network", + "sc-network-common 0.10.0-dev", + "sc-utils 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-runtime", + "substrate-prometheus-endpoint", ] [[package]] -name = "trie-root" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" +name = "sc-rpc" +version = "4.0.0-dev" dependencies = [ - "hash-db 0.15.2", + "futures", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-rpc-api", + "sc-tracing", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev", + "serde_json", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-offchain", + "sp-rpc", + "sp-runtime", + "sp-session", + "sp-statement-store", + "sp-version", + "tokio", ] [[package]] -name = "trie-root" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" +name = "sc-rpc-api" +version = "0.10.0-dev" dependencies = [ - "hash-db 0.16.0", + "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 = "tt-call" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" - -[[package]] -name = "twox-hash" -version = "1.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +name = "sc-rpc-server" +version = "4.0.0-dev" dependencies = [ - "cfg-if", - "digest 0.10.7", - "rand 0.8.5", - "static_assertions", + "http", + "jsonrpsee", + "log", + "serde_json", + "substrate-prometheus-endpoint", + "tokio", + "tower", + "tower-http", ] [[package]] -name = "typenum" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" - -[[package]] -name = "uint" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" +name = "sc-rpc-spec-v2" +version = "0.10.0-dev" dependencies = [ - "byteorder", - "crunchy", + "array-bytes", + "futures", + "futures-util", "hex", - "static_assertions", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-chain-spec", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-version", + "thiserror", + "tokio", + "tokio-stream", ] [[package]] -name = "unicode-bidi" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unicode-normalization" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +name = "sc-service" +version = "0.10.0-dev" dependencies = [ - "tinyvec", + "async-trait", + "directories", + "exit-future", + "futures", + "futures-timer", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "pin-project", + "rand 0.8.5", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus 0.10.0-dev", + "sc-executor", + "sc-informant", + "sc-keystore", + "sc-network", + "sc-network-bitswap", + "sc-network-common 0.10.0-dev", + "sc-network-light", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", + "sc-rpc-server", + "sc-rpc-spec-v2", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev", + "serde", + "serde_json", + "sp-api", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "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 = "unicode-xid" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +name = "sc-state-db" +version = "0.10.0-dev" +dependencies = [ + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sp-core", +] [[package]] -name = "url" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +name = "sc-sysinfo" +version = "6.0.0-dev" dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", + "futures", + "libc", + "log", + "rand 0.8.5", + "rand_pcg", + "regex", + "sc-telemetry", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-std", ] [[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +name = "sc-telemetry" +version = "4.0.0-dev" +dependencies = [ + "chrono", + "futures", + "libp2p", + "log", + "parking_lot 0.12.2", + "pin-project", + "rand 0.8.5", + "sc-utils 4.0.0-dev", + "serde", + "serde_json", + "thiserror", + "wasm-timer", +] [[package]] -name = "value-bag" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" +name = "sc-tracing" +version = "4.0.0-dev" +dependencies = [ + "ansi_term", + "atty", + "chrono", + "lazy_static", + "libc", + "log", + "parking_lot 0.12.2", + "regex", + "rustc-hash", + "sc-client-api", + "sc-tracing-proc-macro", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-tracing 10.0.0", + "thiserror", + "tracing", + "tracing-log", + "tracing-subscriber", +] [[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +name = "sc-tracing-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.65", +] [[package]] -name = "vested-rewards" -version = "1.2.1" +name = "sc-transaction-pool" +version = "4.0.0-dev" dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "itertools", + "async-trait", + "futures", + "futures-timer", + "linked-hash-map", "log", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", + "parking_lot 0.12.2", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev", "serde", - "serde_bytes", - "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-tracing 10.0.0", + "sp-transaction-pool", + "substrate-prometheus-endpoint", + "thiserror", ] [[package]] -name = "waker-fn" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" +name = "sc-transaction-pool-api" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "futures", + "log", + "parity-scale-codec", + "serde", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror", +] [[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +name = "sc-utils" +version = "4.0.0-dev" dependencies = [ - "same-file", - "winapi-util", + "async-channel 1.9.0", + "futures", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.2", + "prometheus", + "sp-arithmetic", ] [[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.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +name = "sc-utils" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "async-channel 1.9.0", + "futures", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.2", + "prometheus", + "sp-arithmetic", +] [[package]] -name = "wasm-bindgen" -version = "0.2.92" +name = "scale-info" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ + "bitvec", "cfg-if", - "wasm-bindgen-macro", + "derive_more", + "parity-scale-codec", + "scale-info-derive", + "serde", ] [[package]] -name = "wasm-bindgen-backend" -version = "0.2.92" +name = "scale-info-derive" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "bumpalo", - "log", - "once_cell", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", - "wasm-bindgen-shared", + "syn 1.0.109", ] [[package]] -name = "wasm-bindgen-futures" -version = "0.4.42" +name = "schannel" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "schnellru" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ + "ahash 0.8.11", "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", + "hashbrown 0.13.2", ] [[package]] -name = "wasm-bindgen-macro" -version = "0.2.92" +name = "schnorrkel" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" dependencies = [ - "quote", - "wasm-bindgen-macro-support", + "arrayref", + "arrayvec 0.5.2", + "curve25519-dalek 2.1.3", + "getrandom 0.1.16", + "merlin 2.0.1", + "rand 0.7.3", + "rand_core 0.5.1", + "sha2 0.8.2", + "subtle", + "zeroize", ] [[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.92" +name = "schnorrkel" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", - "wasm-bindgen-backend", - "wasm-bindgen-shared", + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.10.8", + "subtle", + "zeroize", ] [[package]] -name = "wasm-bindgen-shared" -version = "0.2.92" +name = "scopeguard" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] -name = "wasmi" -version = "0.13.2" +name = "scratch" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" + +[[package]] +name = "sct" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "parity-wasm", - "wasmi-validation", - "wasmi_core", + "ring 0.17.8", + "untrusted 0.9.0", ] [[package]] -name = "wasmi-validation" -version = "0.5.0" +name = "sec1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ - "parity-wasm", + "base16ct", + "der", + "generic-array 0.14.7", + "pkcs8", + "subtle", + "zeroize", ] [[package]] -name = "wasmi_core" -version = "0.2.1" +name = "secp256k1" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" +checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" dependencies = [ - "downcast-rs", - "libm", - "memory_units", - "num-rational", - "num-traits", + "secp256k1-sys", ] [[package]] -name = "wasmparser" -version = "0.89.1" +name = "secp256k1-sys" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" +checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" dependencies = [ - "indexmap 1.9.3", + "cc", ] [[package]] -name = "wasmparser" -version = "0.102.0" +name = "secrecy" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" dependencies = [ - "indexmap 1.9.3", - "url", + "zeroize", ] [[package]] -name = "wasmtime" -version = "1.0.2" +name = "security-framework" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", + "bitflags 2.5.0", + "core-foundation", + "core-foundation-sys", "libc", - "log", - "object 0.29.0", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.89.1", - "wasmtime-environ 1.0.2", - "wasmtime-jit 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", + "security-framework-sys", ] [[package]] -name = "wasmtime" -version = "8.0.1" +name = "security-framework-sys" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", + "core-foundation-sys", "libc", - "log", - "object 0.30.4", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.102.0", - "wasmtime-environ 8.0.1", - "wasmtime-jit 8.0.1", - "wasmtime-runtime 8.0.1", - "windows-sys 0.45.0", ] [[package]] -name = "wasmtime-asm-macros" -version = "1.0.2" +name = "semver" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" dependencies = [ - "cfg-if", + "semver-parser", ] [[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" +name = "semver" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" dependencies = [ - "cfg-if", + "semver-parser", ] [[package]] -name = "wasmtime-environ" -version = "1.0.2" +name = "semver" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ - "anyhow", - "cranelift-entity 0.88.2", - "gimli 0.26.2", - "indexmap 1.9.3", - "log", - "object 0.29.0", "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.89.1", - "wasmtime-types 1.0.2", ] [[package]] -name = "wasmtime-environ" -version = "8.0.1" +name = "semver-parser" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" -dependencies = [ - "anyhow", - "cranelift-entity 0.95.1", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.102.0", - "wasmtime-types 8.0.1", -] +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] -name = "wasmtime-jit" -version = "1.0.2" +name = "serde" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681" +checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" dependencies = [ - "addr2line 0.17.0", - "anyhow", - "bincode", - "cfg-if", - "cpp_demangle", - "gimli 0.26.2", - "log", - "object 0.29.0", - "rustc-demangle", - "rustix 0.35.16", - "serde", - "target-lexicon", - "thiserror", - "wasmtime-environ 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", + "serde_derive", ] [[package]] -name = "wasmtime-jit" -version = "8.0.1" +name = "serde_bytes" +version = "0.11.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" dependencies = [ - "addr2line 0.19.0", - "anyhow", - "bincode", - "cfg-if", - "cpp_demangle", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", "serde", - "target-lexicon", - "wasmtime-environ 8.0.1", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime 8.0.1", - "windows-sys 0.45.0", ] [[package]] -name = "wasmtime-jit-debug" -version = "1.0.2" +name = "serde_derive" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ - "once_cell", + "proc-macro2", + "quote", + "syn 2.0.65", ] [[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" +name = "serde_json" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ - "once_cell", + "itoa", + "ryu", + "serde", ] [[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" +name = "serde_spanned" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", + "serde", ] [[package]] -name = "wasmtime-runtime" -version = "1.0.2" +name = "sha-1" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ - "anyhow", - "cc", + "block-buffer 0.9.0", "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.16", - "thiserror", - "wasmtime-asm-macros 1.0.2", - "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", - "windows-sys 0.36.1", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.1", ] [[package]] -name = "wasmtime-runtime" -version = "8.0.1" +name = "sha2" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset 0.8.0", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros 8.0.1", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", - "windows-sys 0.45.0", + "block-buffer 0.7.3", + "digest 0.8.1", + "fake-simd", + "opaque-debug 0.2.3", ] [[package]] -name = "wasmtime-types" -version = "1.0.2" +name = "sha2" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ - "cranelift-entity 0.88.2", - "serde", - "thiserror", - "wasmparser 0.89.1", + "block-buffer 0.9.0", + "cfg-if", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.1", ] [[package]] -name = "wasmtime-types" -version = "8.0.1" +name = "sha2" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ - "cranelift-entity 0.95.1", - "serde", - "thiserror", - "wasmparser 0.102.0", + "cfg-if", + "cpufeatures", + "digest 0.10.7", ] [[package]] -name = "web-sys" -version = "0.3.69" +name = "sha3" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" dependencies = [ - "js-sys", - "wasm-bindgen", + "block-buffer 0.9.0", + "digest 0.9.0", + "keccak", + "opaque-debug 0.3.1", ] [[package]] -name = "wide" -version = "0.7.17" +name = "sha3" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0e39d2c603fdc0504b12b458cf1f34e0b937ed2f4f2dc20796e3e86f34e11f" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "bytemuck", - "safe_arch", + "digest 0.10.7", + "keccak", ] [[package]] -name = "winapi" -version = "0.3.9" +name = "sharded-slab" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "lazy_static", ] [[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" +name = "shlex" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] -name = "winapi-util" -version = "0.1.8" +name = "signal-hook-registry" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ - "windows-sys 0.52.0", + "libc", ] [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" +name = "signature" +version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" [[package]] -name = "windows-core" -version = "0.52.0" +name = "signature" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ - "windows-targets 0.52.5", + "digest 0.10.7", + "rand_core 0.6.4", ] [[package]] -name = "windows-sys" -version = "0.36.1" +name = "simba" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" 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", + "approx", + "num-complex", + "num-traits", + "paste", + "wide", ] [[package]] -name = "windows-sys" -version = "0.42.0" +name = "siphasher" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] -name = "windows-sys" -version = "0.45.0" +name = "slab" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ - "windows-targets 0.42.2", + "autocfg", ] [[package]] -name = "windows-sys" -version = "0.48.0" +name = "slice-group-by" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] +checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] -name = "windows-sys" -version = "0.52.0" +name = "smallvec" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.5", -] +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] -name = "windows-targets" -version = "0.42.2" +name = "snap" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] +checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] -name = "windows-targets" -version = "0.48.5" +name = "snow" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", + "aes-gcm", + "blake2", + "chacha20poly1305", + "curve25519-dalek 4.1.2", + "rand_core 0.6.4", + "ring 0.17.8", + "rustc_version 0.4.0", + "sha2 0.10.8", + "subtle", ] [[package]] -name = "windows-targets" -version = "0.52.5" +name = "socket2" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "libc", + "winapi", ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" +name = "socket2" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.5" +name = "soketto" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" +dependencies = [ + "base64 0.13.1", + "bytes", + "flate2", + "futures", + "http", + "httparse", + "log", + "rand 0.8.5", + "sha-1", +] [[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +name = "sp-api" +version = "4.0.0-dev" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro", + "sp-core", + "sp-externalities", + "sp-metadata-ir", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", + "thiserror", +] [[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +name = "sp-api-proc-macro" +version = "4.0.0-dev" +dependencies = [ + "Inflector", + "blake2", + "expander", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.65", +] [[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +name = "sp-application-crypto" +version = "23.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-std", +] [[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +name = "sp-arithmetic" +version = "16.0.0" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std", + "static_assertions", +] [[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" +name = "sp-block-builder" +version = "4.0.0-dev" +dependencies = [ + "sp-api", + "sp-inherents 4.0.0-dev", + "sp-runtime", + "sp-std", +] [[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +name = "sp-blockchain" +version = "4.0.0-dev" +dependencies = [ + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "schnellru", + "sp-api", + "sp-consensus 0.10.0-dev", + "sp-database", + "sp-runtime", + "sp-state-machine", + "thiserror", +] [[package]] -name = "windows_x86_64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +name = "sp-consensus" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core", + "sp-inherents 4.0.0-dev", + "sp-runtime", + "sp-state-machine", + "thiserror", +] [[package]] -name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +name = "sp-consensus" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "memchr", + "async-trait", + "futures", + "log", + "sp-core", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-state-machine", + "thiserror", ] [[package]] -name = "winnow" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +name = "sp-consensus-aura" +version = "0.10.0-dev" dependencies = [ - "memchr", + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-inherents 4.0.0-dev", + "sp-runtime", + "sp-std", + "sp-timestamp", ] [[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +name = "sp-consensus-babe" +version = "0.10.0-dev" dependencies = [ - "tap", + "async-trait", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-core", + "sp-inherents 4.0.0-dev", + "sp-runtime", + "sp-std", + "sp-timestamp", ] [[package]] -name = "xcm-procedural" -version = "1.0.0" +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 2.0.61", + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", + "strum 0.24.1", ] [[package]] -name = "xor-fee" -version = "0.1.0" +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-session", - "pallet-timestamp 4.0.0-dev", - "pallet-transaction-payment", + "lazy_static", "parity-scale-codec", - "permissions", "scale-info", "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", + "strum 0.24.1", ] [[package]] -name = "xst" -version = "1.0.1" +name = "sp-consensus-grandpa" +version = "4.0.0-dev" dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", + "finality-grandpa", "log", - "mock-liquidity-source", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] -name = "zerocopy" -version = "0.7.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +name = "sp-consensus-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "zerocopy-derive", + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] -name = "zerocopy-derive" -version = "0.7.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +name = "sp-consensus-slots" +version = "0.10.0-dev" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std", + "sp-timestamp", ] [[package]] -name = "zeroize" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +name = "sp-core" +version = "21.0.0" dependencies = [ - "zeroize_derive", + "array-bytes", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.2", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing", + "sp-debug-derive 8.0.0", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tracing", + "zeroize", ] [[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +name = "sp-core-hashing" +version = "9.0.0" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", ] -[[patch.unused]] -name = "frame-election-provider-support" -version = "4.0.0-dev" +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +dependencies = [ + "quote", + "sp-core-hashing", + "syn 2.0.65", +] -[[patch.unused]] -name = "frame-system-benchmarking" +[[package]] +name = "sp-database" version = "4.0.0-dev" +dependencies = [ + "kvdb", + "parking_lot 0.12.2", +] -[[patch.unused]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "pallet-aura" -version = "4.0.0-dev" +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "pallet-authorship" -version = "4.0.0-dev" +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "pallet-babe" -version = "4.0.0-dev" +[[package]] +name = "sp-externalities" +version = "0.19.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std", + "sp-storage", +] -[[patch.unused]] -name = "pallet-bags-list" -version = "4.0.0-dev" +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +dependencies = [ + "serde_json", + "sp-api", + "sp-runtime", + "sp-std", +] -[[patch.unused]] -name = "pallet-democracy" +[[package]] +name = "sp-inherents" version = "4.0.0-dev" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", + "thiserror", +] -[[patch.unused]] -name = "pallet-election-provider-multi-phase" +[[package]] +name = "sp-inherents" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-std", + "thiserror", +] -[[patch.unused]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" +[[package]] +name = "sp-io" +version = "23.0.0" +dependencies = [ + "bytes", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-tracing 10.0.0", + "sp-trie", + "tracing", + "tracing-core", +] -[[patch.unused]] -name = "pallet-grandpa" -version = "4.0.0-dev" +[[package]] +name = "sp-keyring" +version = "24.0.0" +dependencies = [ + "lazy_static", + "sp-core", + "sp-runtime", + "strum 0.24.1", +] -[[patch.unused]] -name = "pallet-identity" -version = "4.0.0-dev" +[[package]] +name = "sp-keystore" +version = "0.27.0" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.2", + "sp-core", + "sp-externalities", + "thiserror", +] -[[patch.unused]] -name = "pallet-im-online" -version = "4.0.0-dev" +[[package]] +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" +dependencies = [ + "thiserror", + "zstd 0.12.4", +] -[[patch.unused]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std", +] -[[patch.unused]] -name = "pallet-membership" +[[package]] +name = "sp-mmr-primitives" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", + "thiserror", +] -[[patch.unused]] -name = "pallet-offences" +[[package]] +name = "sp-mmr-primitives" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", + "thiserror", +] -[[patch.unused]] -name = "pallet-preimage" +[[package]] +name = "sp-npos-elections" version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", +] -[[patch.unused]] -name = "pallet-staking" +[[package]] +name = "sp-offchain" version = "4.0.0-dev" +dependencies = [ + "sp-api", + "sp-core", + "sp-runtime", +] -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] -[[patch.unused]] -name = "pallet-transaction-payment-rpc-runtime-api" +[[package]] +name = "sp-rpc" +version = "6.0.0" +dependencies = [ + "rustc-hash", + "serde", + "sp-core", +] + +[[package]] +name = "sp-runtime" +version = "24.0.0" +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 = "17.0.0" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing 10.0.0", + "sp-wasm-interface", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "sp-session" version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", +] -[[patch.unused]] -name = "pallet-utility" +[[package]] +name = "sp-staking" version = "4.0.0-dev" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-runtime", + "sp-std", +] -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" +[[package]] +name = "sp-state-machine" +version = "0.28.0" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "rand 0.8.5", + "smallvec", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", + "thiserror", + "tracing", + "trie-db", +] -[[patch.unused]] -name = "sc-chain-spec" +[[package]] +name = "sp-statement-store" version = "4.0.0-dev" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.2", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sha2 0.10.8", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "thiserror", + "x25519-dalek 2.0.1", +] -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" +[[package]] +name = "sp-std" +version = "8.0.0" -[[patch.unused]] -name = "sc-client-api" +[[package]] +name = "sp-storage" +version = "13.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0", + "sp-std", +] + +[[package]] +name = "sp-timestamp" version = "4.0.0-dev" +dependencies = [ + "async-trait", + "parity-scale-codec", + "sp-inherents 4.0.0-dev", + "sp-runtime", + "sp-std", + "thiserror", +] -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" +[[package]] +name = "sp-tracing" +version = "10.0.0" +dependencies = [ + "parity-scale-codec", + "sp-std", + "tracing", + "tracing-core", + "tracing-subscriber", +] -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" +[[package]] +name = "sp-tracing" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "sp-std", + "tracing", + "tracing-core", + "tracing-subscriber", +] -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" +[[package]] +name = "sp-transaction-pool" +version = "4.0.0-dev" +dependencies = [ + "sp-api", + "sp-runtime", +] -[[patch.unused]] -name = "sc-executor" -version = "0.10.0-dev" +[[package]] +name = "sp-transaction-storage-proof" +version = "4.0.0-dev" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-inherents 4.0.0-dev", + "sp-runtime", + "sp-std", + "sp-trie", +] -[[patch.unused]] -name = "sc-informant" -version = "0.10.0-dev" +[[package]] +name = "sp-trie" +version = "22.0.0" +dependencies = [ + "ahash 0.8.11", + "hash-db", + "hashbrown 0.13.2", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.2", + "scale-info", + "schnellru", + "sp-core", + "sp-std", + "thiserror", + "tracing", + "trie-db", + "trie-root", +] -[[patch.unused]] -name = "sc-network" -version = "0.10.0-dev" +[[package]] +name = "sp-version" +version = "22.0.0" +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", +] -[[patch.unused]] -name = "sc-rpc" -version = "4.0.0-dev" +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "sc-rpc-api" -version = "0.10.0-dev" +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std", + "wasmtime", +] -[[patch.unused]] -name = "sc-service" -version = "0.10.0-dev" +[[package]] +name = "sp-weights" +version = "20.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic", + "sp-core", + "sp-debug-derive 8.0.0", + "sp-std", +] -[[patch.unused]] -name = "sc-telemetry" -version = "4.0.0-dev" +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" -[[patch.unused]] -name = "sc-transaction-pool" -version = "4.0.0-dev" +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -[[patch.unused]] -name = "sp-block-builder" -version = "4.0.0-dev" +[[package]] +name = "spinners" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" +dependencies = [ + "lazy_static", + "maplit", + "strum 0.24.1", +] -[[patch.unused]] -name = "sp-blockchain" -version = "4.0.0-dev" +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "ss58-registry" +version = "1.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +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 = "staging-xcm" +version = "1.0.0" +dependencies = [ + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights", + "xcm-procedural", +] + +[[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 1.3.2", + "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 1.0.109", +] + +[[package]] +name = "strum" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +dependencies = [ + "strum_macros 0.24.3", +] + +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +dependencies = [ + "strum_macros 0.25.3", +] + +[[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 1.0.109", +] + +[[package]] +name = "strum_macros" +version = "0.25.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.65", +] + +[[package]] +name = "substrate-bip39" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" +dependencies = [ + "hmac 0.11.0", + "pbkdf2 0.8.0", + "schnorrkel 0.11.4", + "sha2 0.9.9", + "zeroize", +] + +[[package]] +name = "substrate-bridge-app" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "substrate-bridge-channel" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "log", + "once_cell", + "pallet-timestamp", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "sp-core", + "sp-externalities", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" +dependencies = [ + "hyper", + "log", + "prometheus", + "thiserror", + "tokio", +] + +[[package]] +name = "substrate-rpc-client" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "async-trait", + "jsonrpsee", + "log", + "sc-rpc-api", + "serde", + "sp-runtime", +] + +[[package]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" +dependencies = [ + "ansi_term", + "build-helper", + "cargo_metadata", + "filetime", + "parity-wasm", + "sp-maybe-compressed-blob", + "strum 0.24.1", + "tempfile", + "toml 0.7.8", + "walkdir", + "wasm-opt", +] + +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" +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 1.0.109", + "unicode-xid", +] + +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "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.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" + +[[package]] +name = "technical" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "twox-hash", +] + +[[package]] +name = "tempfile" +version = "3.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +dependencies = [ + "cfg-if", + "fastrand 2.1.0", + "rustix 0.38.34", + "windows-sys 0.52.0", +] + +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "termtree" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" + +[[package]] +name = "thiserror" +version = "1.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.61" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "thread_local" +version = "1.9.9" +source = "git+https://github.com/sora-xor/thread_local-rs.git?branch=patch-1.0.1#14cf6d022ff79c11648a10acee5b81c82ace3939" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "tikv-jemalloc-sys" +version = "0.5.4+5.3.0-patched" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" +dependencies = [ + "cc", + "libc", +] + +[[package]] +name = "time" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +dependencies = [ + "num-conv", + "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.8", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +dependencies = [ + "backtrace", + "bytes", + "libc", + "mio", + "num_cpus", + "parking_lot 0.12.2", + "pin-project-lite 0.2.14", + "socket2 0.5.7", + "tokio-macros", + "windows-sys 0.48.0", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand 0.8.5", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.12", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +dependencies = [ + "futures-core", + "pin-project-lite 0.2.14", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-util" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +dependencies = [ + "bytes", + "futures-core", + "futures-io", + "futures-sink", + "pin-project-lite 0.2.14", + "tokio", +] + +[[package]] +name = "toml" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +dependencies = [ + "serde", +] + +[[package]] +name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.19.15", +] + +[[package]] +name = "toml" +version = "0.8.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.22.13", +] + +[[package]] +name = "toml_datetime" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.6.8", +] + +[[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.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +dependencies = [ + "bitflags 2.5.0", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-range-header", + "pin-project-lite 0.2.14", + "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.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +dependencies = [ + "log", + "pin-project-lite 0.2.14", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "tracing-core" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +dependencies = [ + "log", + "once_cell", + "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 = "trading-pair" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "trading-pair-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "trie-db" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +dependencies = [ + "hash-db", + "hashbrown 0.13.2", + "log", + "rustc-hex", + "smallvec", +] + +[[package]] +name = "trie-root" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" +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", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.2.3", + "ipnet", + "lazy_static", + "rand 0.8.5", + "smallvec", + "socket2 0.4.10", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +dependencies = [ + "cfg-if", + "futures-util", + "ipconfig", + "lazy_static", + "lru-cache", + "parking_lot 0.12.2", + "resolv-conf", + "smallvec", + "thiserror", + "tokio", + "tracing", + "trust-dns-proto", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "tt-call" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" + +[[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "digest 0.10.7", + "rand 0.8.5", + "static_assertions", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[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 = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-width" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" + +[[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.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + +[[package]] +name = "unsigned-varint" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" +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 = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna 0.5.0", + "percent-encoding", +] + +[[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]] +name = "value-bag" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" + +[[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 = "vested-rewards" +version = "1.2.1" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex", + "hex-literal", + "itertools", + "log", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "serde_bytes", + "serde_json", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", +] + +[[package]] +name = "vested-rewards-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" + +[[package]] +name = "waker-fn" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[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.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wasm-bindgen" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +dependencies = [ + "cfg-if", + "wasm-bindgen-macro", +] + +[[package]] +name = "wasm-bindgen-backend" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +dependencies = [ + "bumpalo", + "log", + "once_cell", + "proc-macro2", + "quote", + "syn 2.0.65", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", + "wasm-bindgen-backend", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" + +[[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.114.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "effbef3bd1dde18acb401f73e740a6f3d4a1bc651e9773bddc512fe4d8d68f67" +dependencies = [ + "anyhow", + "libc", + "strum 0.24.1", + "strum_macros 0.24.3", + "tempfile", + "thiserror", + "wasm-opt-cxx-sys", + "wasm-opt-sys", +] + +[[package]] +name = "wasm-opt-cxx-sys" +version = "0.114.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c09e24eb283919ace2ed5733bda4842a59ce4c8de110ef5c6d98859513d17047" +dependencies = [ + "anyhow", + "cxx", + "cxx-build", + "wasm-opt-sys", +] + +[[package]] +name = "wasm-opt-sys" +version = "0.114.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36f2f817bed2e8d65eb779fa37317e74de15585751f903c9118342d1970703a4" +dependencies = [ + "anyhow", + "cc", + "cxx", + "cxx-build", +] + +[[package]] +name = "wasm-timer" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" +dependencies = [ + "futures", + "js-sys", + "parking_lot 0.11.2", + "pin-utils", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "wasmparser" +version = "0.102.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" +dependencies = [ + "indexmap 1.9.3", + "url", +] + +[[package]] +name = "wasmtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "object 0.30.4", + "once_cell", + "paste", + "psm", + "rayon", + "serde", + "target-lexicon", + "wasmparser", + "wasmtime-cache", + "wasmtime-cranelift", + "wasmtime-environ", + "wasmtime-jit", + "wasmtime-runtime", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-asm-macros" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "wasmtime-cache" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" +dependencies = [ + "anyhow", + "base64 0.21.7", + "bincode", + "directories-next", + "file-per-thread-logger", + "log", + "rustix 0.36.17", + "serde", + "sha2 0.10.8", + "toml 0.5.11", + "windows-sys 0.45.0", + "zstd 0.11.2+zstd.1.5.2", +] + +[[package]] +name = "wasmtime-cranelift" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", + "cranelift-wasm", + "gimli 0.27.3", + "log", + "object 0.30.4", + "target-lexicon", + "thiserror", + "wasmparser", + "wasmtime-cranelift-shared", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-native", + "gimli 0.27.3", + "object 0.30.4", + "target-lexicon", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-environ" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" +dependencies = [ + "anyhow", + "cranelift-entity", + "gimli 0.27.3", + "indexmap 1.9.3", + "log", + "object 0.30.4", + "serde", + "target-lexicon", + "thiserror", + "wasmparser", + "wasmtime-types", +] + +[[package]] +name = "wasmtime-jit" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" +dependencies = [ + "addr2line 0.19.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.27.3", + "log", + "object 0.30.4", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ", + "wasmtime-jit-debug", + "wasmtime-jit-icache-coherence", + "wasmtime-runtime", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" +dependencies = [ + "object 0.30.4", + "once_cell", + "rustix 0.36.17", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-runtime" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap 1.9.3", + "libc", + "log", + "mach", + "memfd", + "memoffset", + "paste", + "rand 0.8.5", + "rustix 0.36.17", + "wasmtime-asm-macros", + "wasmtime-environ", + "wasmtime-jit-debug", + "windows-sys 0.45.0", +] + +[[package]] +name = "wasmtime-types" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" +dependencies = [ + "cranelift-entity", + "serde", + "thiserror", + "wasmparser", +] + +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" +dependencies = [ + "ring 0.17.8", + "untrusted 0.9.0", +] + +[[package]] +name = "webpki-roots" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" +dependencies = [ + "webpki", +] + +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.34", +] + +[[package]] +name = "wide" +version = "0.7.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aab6594190de06d718a5dbc5fa781ab62f8903797056480e549ca74add6b7065" +dependencies = [ + "bytemuck", + "safe_arch", +] + +[[package]] +name = "widestring" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" + +[[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.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +dependencies = [ + "windows-sys 0.52.0", +] + +[[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.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +dependencies = [ + "windows-core 0.51.1", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-core" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.5", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +dependencies = [ + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" -[[patch.unused]] -name = "sp-consensus-aura" -version = "0.10.0-dev" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" -[[patch.unused]] -name = "sp-consensus-babe" -version = "0.10.0-dev" +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -[[patch.unused]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" -[[patch.unused]] -name = "sp-npos-elections" -version = "4.0.0-dev" +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" -[[patch.unused]] -name = "sp-offchain" -version = "4.0.0-dev" +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -[[patch.unused]] -name = "sp-rpc" -version = "6.0.0" +[[package]] +name = "windows_i686_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" -[[patch.unused]] -name = "sp-transaction-pool" -version = "4.0.0-dev" +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" -[[patch.unused]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -[[patch.unused]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" +[[package]] +name = "windows_i686_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" +[[package]] +name = "winnow" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +dependencies = [ + "memchr", +] -[[patch.unused]] -name = "substrate-bridge-app" -version = "0.1.1" +[[package]] +name = "winreg" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] -[[patch.unused]] -name = "frame-election-provider-support" -version = "4.0.0-dev" +[[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", +] -[[patch.unused]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek 4.1.2", + "rand_core 0.6.4", + "serde", + "zeroize", +] -[[patch.unused]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" +[[package]] +name = "x509-parser" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +dependencies = [ + "asn1-rs", + "base64 0.13.1", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror", + "time", +] -[[patch.unused]] -name = "pallet-aura" -version = "4.0.0-dev" +[[package]] +name = "xcm-procedural" +version = "1.0.0" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "pallet-authorship" -version = "4.0.0-dev" +[[package]] +name = "xor-fee" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-session", + "pallet-timestamp", + "pallet-transaction-payment", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", +] -[[patch.unused]] -name = "pallet-babe" -version = "4.0.0-dev" +[[package]] +name = "xst" +version = "1.0.1" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-support", + "frame-system", + "hex-literal", + "log", + "mock-liquidity-source", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", +] -[[patch.unused]] -name = "pallet-bags-list" -version = "4.0.0-dev" +[[package]] +name = "xst-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "mock-liquidity-source", + "oracle-proxy", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", + "trading-pair", + "xst", +] -[[patch.unused]] -name = "pallet-democracy" -version = "4.0.0-dev" +[[package]] +name = "yamux" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" +dependencies = [ + "futures", + "log", + "nohash-hasher", + "parking_lot 0.12.2", + "rand 0.8.5", + "static_assertions", +] -[[patch.unused]] -name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" +[[package]] +name = "yasna" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" +dependencies = [ + "time", +] -[[patch.unused]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" +[[package]] +name = "zerocopy" +version = "0.7.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +dependencies = [ + "zerocopy-derive", +] -[[patch.unused]] -name = "pallet-grandpa" -version = "4.0.0-dev" +[[package]] +name = "zerocopy-derive" +version = "0.7.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "pallet-identity" -version = "4.0.0-dev" +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +dependencies = [ + "zeroize_derive", +] -[[patch.unused]] -name = "pallet-im-online" -version = "4.0.0-dev" +[[package]] +name = "zeroize_derive" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] -[[patch.unused]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" +[[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 5.0.2+zstd.1.5.2", +] -[[patch.unused]] -name = "pallet-membership" -version = "4.0.0-dev" +[[package]] +name = "zstd" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +dependencies = [ + "zstd-safe 6.0.6", +] -[[patch.unused]] -name = "pallet-offences" -version = "4.0.0-dev" +[[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", +] -[[patch.unused]] -name = "pallet-preimage" -version = "4.0.0-dev" +[[package]] +name = "zstd-safe" +version = "6.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +dependencies = [ + "libc", + "zstd-sys", +] -[[patch.unused]] -name = "pallet-staking" -version = "4.0.0-dev" +[[package]] +name = "zstd-sys" +version = "2.0.10+zstd.1.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +dependencies = [ + "cc", + "pkg-config", +] [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-utility" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-basic-authorship" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-chain-spec" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-cli" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-client-api" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-consensus-aura" version = "0.10.0-dev" @@ -7973,85 +12330,49 @@ name = "sc-consensus-slots" version = "0.10.0-dev" [[patch.unused]] -name = "sc-executor" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-informant" -version = "0.10.0-dev" +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" [[patch.unused]] -name = "sc-network" +name = "try-runtime-cli" version = "0.10.0-dev" [[patch.unused]] -name = "sc-rpc" +name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" [[patch.unused]] -name = "sc-rpc-api" +name = "sc-basic-authorship" version = "0.10.0-dev" [[patch.unused]] -name = "sc-service" +name = "sc-cli" version = "0.10.0-dev" [[patch.unused]] -name = "sc-telemetry" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-block-builder" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-blockchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-consensus-aura" +name = "sc-consensus-aura" version = "0.10.0-dev" [[patch.unused]] -name = "sp-consensus-babe" +name = "sc-consensus-babe" version = "0.10.0-dev" [[patch.unused]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" - -[[patch.unused]] -name = "sp-npos-elections" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-offchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-rpc" -version = "6.0.0" - -[[patch.unused]] -name = "sp-transaction-pool" -version = "4.0.0-dev" +name = "sc-consensus-slots" +version = "0.10.0-dev" [[patch.unused]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" [[patch.unused]] -name = "substrate-prometheus-endpoint" +name = "try-runtime-cli" version = "0.10.0-dev" [[patch.unused]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" +name = "beefy-light-client-rpc" +version = "0.1.0" [[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" +name = "leaf-provider-rpc" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 4b126b91f1..0a19dcb751 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,8 @@ +[patch.crates-io] +sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} + + + # [patch.crates-io] # frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } @@ -190,6 +195,8 @@ sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} +sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} +sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} # sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } @@ -287,6 +294,8 @@ sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} +sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} +sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} # sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } @@ -338,12 +347,12 @@ bridge-types = { path = "../sora2-common/pallets/types" } bridge-data-signer = { path = "../sora2-common/pallets/data-signer" } multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } -# bridge-channel = { path = "../sora2-common/pallets/channel" } +bridge-channel = { path = "../sora2-common/pallets/channel" } # substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } [workspace] members = [ - # "runtime", + "runtime", "common", "pallets/apollo-platform", "pallets/assets", diff --git a/_Cargo.lock b/_Cargo.lock index 8960034c0e..d2e147aed5 100644 --- a/_Cargo.lock +++ b/_Cargo.lock @@ -45,25 +45,60 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array 0.14.7", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + [[package]] name = "ahash" version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.14", + "getrandom 0.2.15", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.5" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7d5a2cecb58716e47d67d5703a249964b14c7be1ec3cad3affc295b2d1c35d" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.14", + "getrandom 0.2.15", "once_cell", "version_check", "zerocopy", @@ -104,9 +139,48 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.82" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" +checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" + +[[package]] +name = "apollo-platform" +version = "1.3.1" +dependencies = [ + "apollo-platform", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "liquidity-proxy", + "log", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] [[package]] name = "approx" @@ -188,7 +262,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", - "rustc_version", + "rustc_version 0.4.0", "zeroize", ] @@ -355,12 +429,51 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +[[package]] +name = "asn1-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time", +] + +[[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 1.0.109", + "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 1.0.109", +] + [[package]] name = "assets" version = "1.3.1" dependencies = [ "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -379,6 +492,20 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "assets-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "async-attributes" version = "1.1.2" @@ -402,15 +529,14 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.2.1" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" +checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ "concurrent-queue", - "event-listener 5.3.0", "event-listener-strategy 0.5.2", "futures-core", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -432,7 +558,7 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" dependencies = [ - "async-channel 2.2.1", + "async-channel 2.3.1", "async-executor", "async-io 2.3.2", "async-lock 3.3.0", @@ -457,7 +583,7 @@ dependencies = [ "polling 2.8.0", "rustix 0.37.27", "slab", - "socket2", + "socket2 0.4.10", "waker-fn", ] @@ -497,7 +623,7 @@ checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ "event-listener 4.0.3", "event-listener-strategy 0.4.0", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -517,6 +643,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "async-recursion" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + [[package]] name = "async-signal" version = "0.2.6" @@ -557,7 +694,7 @@ dependencies = [ "log", "memchr", "once_cell", - "pin-project-lite", + "pin-project-lite 0.2.14", "pin-utils", "slab", "wasm-bindgen-futures", @@ -577,7 +714,20 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", +] + +[[package]] +name = "asynchronous-codec" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4057f2c32adbb2fc158e22fb38433c8e9bbf76b75a4732c7c0cbaf695fb65568" +dependencies = [ + "bytes", + "futures-sink", + "futures-util", + "memchr", + "pin-project-lite 0.2.14", ] [[package]] @@ -588,9 +738,9 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" @@ -613,10 +763,11 @@ version = "1.0.1" dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "oracle-proxy", "pallet-balances", "pallet-timestamp 4.0.0-dev", @@ -624,7 +775,7 @@ dependencies = [ "scale-info", "sp-core 21.0.0", "sp-io 23.0.0", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 24.0.0", "sp-std 8.0.0", "xst", ] @@ -646,11 +797,17 @@ dependencies = [ "merlin 3.0.0", "rand_chacha 0.3.1", "rand_core 0.6.4", - "ring", + "ring 0.1.0", "sha2 0.10.8", "zeroize", ] +[[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" @@ -675,12 +832,81 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + [[package]] name = "base64ct" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +[[package]] +name = "beef" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" +dependencies = [ + "serde", +] + +[[package]] +name = "beefy-light-client" +version = "0.1.0" +dependencies = [ + "anyhow", + "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "bridge-common", + "bridge-types", + "ckb-merkle-mountain-range", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "beefy-light-client-runtime-api" +version = "0.1.0" +dependencies = [ + "bridge-types", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "binary-merkle-tree" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "hash-db 0.16.0", + "log", +] + +[[package]] +name = "binary-merkle-tree" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "hash-db 0.16.0", + "log", +] + [[package]] name = "bincode" version = "1.3.3" @@ -710,6 +936,7 @@ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", + "serde", "tap", "wyz", ] @@ -796,7 +1023,7 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" dependencies = [ - "async-channel 2.2.1", + "async-channel 2.3.1", "async-lock 3.3.0", "async-task", "futures-io", @@ -819,21 +1046,61 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" +source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", "ethabi", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "hex-literal", "once_cell", "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", +] + +[[package]] +name = "bridge-common" +version = "0.1.0" +dependencies = [ + "bitvec", + "bridge-types", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", +] + +[[package]] +name = "bridge-data-signer" +version = "0.1.1" +dependencies = [ + "bridge-common", + "bridge-types", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -846,9 +1113,10 @@ dependencies = [ "common 0.1.0", "dispatch", "evm-fungible-app", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -862,25 +1130,38 @@ dependencies = [ "sp-keyring", "sp-runtime 24.0.0", "sp-std 8.0.0", + "staging-xcm", "technical", - "xcm", +] + +[[package]] +name = "bridge-proxy-runtime-api" +version = "0.1.0" +dependencies = [ + "bridge-types", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "bridge-types" version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "derivative", "ethabi", "ethash", "ethbloom", "ethereum-types", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "getrandom 0.2.14", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "getrandom 0.2.15", "hex-literal", "libsecp256k1", + "log", "orml-traits", "parity-bytes", "parity-scale-codec", @@ -888,28 +1169,53 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "xcm", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", ] [[package]] name = "bs58" -version = "0.5.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ +checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" + +[[package]] +name = "bs58" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +dependencies = [ "tinyvec", ] +[[package]] +name = "bstr" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +dependencies = [ + "memchr", + "serde", +] + +[[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.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -941,11 +1247,48 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +[[package]] +name = "camino" +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo-platform" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +dependencies = [ + "serde", +] + +[[package]] +name = "cargo_metadata" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" +dependencies = [ + "camino", + "cargo-platform", + "semver 1.0.23", + "serde", + "serde_json", + "thiserror", +] + [[package]] name = "cc" -version = "1.0.95" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" +checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" +dependencies = [ + "jobserver", + "libc", + "once_cell", +] [[package]] name = "ceres-governance-platform" @@ -957,10 +1300,11 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -981,6 +1325,40 @@ dependencies = [ "trading-pair", ] +[[package]] +name = "ceres-launchpad" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "ceres-token-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + [[package]] name = "ceres-liquidity-locker" version = "1.2.0" @@ -993,6 +1371,7 @@ dependencies = [ "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -1013,13 +1392,46 @@ dependencies = [ "trading-pair", ] +[[package]] +name = "ceres-liquidity-locker-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "getrandom 0.2.15", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + [[package]] name = "ceres-staking" version = "1.0.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -1046,10 +1458,11 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "orml-currencies", "orml-tokens", "pallet-balances", @@ -1091,6 +1504,30 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20", + "cipher", + "poly1305", + "zeroize", +] + [[package]] name = "chrono" version = "0.4.38" @@ -1099,10 +1536,23 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", + "js-sys", "num-traits", + "wasm-bindgen", "windows-targets 0.52.5", ] +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -1112,6 +1562,16 @@ dependencies = [ "cfg-if", ] +[[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 = "common" version = "0.1.0" @@ -1176,6 +1636,19 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "console" +version = "0.15.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" +dependencies = [ + "encode_unicode", + "lazy_static", + "libc", + "unicode-width", + "windows-sys 0.52.0", +] + [[package]] name = "const-oid" version = "0.9.6" @@ -1197,7 +1670,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.14", + "getrandom 0.2.15", "once_cell", "tiny-keccak", ] @@ -1214,12 +1687,31 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +[[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" @@ -1238,6 +1730,50 @@ dependencies = [ "libc", ] +[[package]] +name = "cranelift-bforest" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" +dependencies = [ + "cranelift-entity 0.95.1", +] + +[[package]] +name = "cranelift-codegen" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" +dependencies = [ + "bumpalo", + "cranelift-bforest", + "cranelift-codegen-meta", + "cranelift-codegen-shared", + "cranelift-entity 0.95.1", + "cranelift-isle", + "gimli 0.27.3", + "hashbrown 0.13.2", + "log", + "regalloc2", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-codegen-meta" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" +dependencies = [ + "cranelift-codegen-shared", +] + +[[package]] +name = "cranelift-codegen-shared" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" + [[package]] name = "cranelift-entity" version = "0.88.2" @@ -1256,6 +1792,51 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-frontend" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" +dependencies = [ + "cranelift-codegen", + "log", + "smallvec", + "target-lexicon", +] + +[[package]] +name = "cranelift-isle" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" + +[[package]] +name = "cranelift-native" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" +dependencies = [ + "cranelift-codegen", + "libc", + "target-lexicon", +] + +[[package]] +name = "cranelift-wasm" +version = "0.95.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" +dependencies = [ + "cranelift-codegen", + "cranelift-entity 0.95.1", + "cranelift-frontend", + "itertools", + "log", + "smallvec", + "wasmparser 0.102.0", + "wasmtime-types 8.0.1", +] + [[package]] name = "crc32fast" version = "1.4.0" @@ -1265,6 +1846,25 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-deque" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +dependencies = [ + "crossbeam-utils", +] + [[package]] name = "crossbeam-utils" version = "0.8.19" @@ -1308,6 +1908,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", + "rand_core 0.6.4", "typenum", ] @@ -1331,6 +1932,15 @@ dependencies = [ "subtle", ] +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + [[package]] name = "curve25519-dalek" version = "2.1.3" @@ -1369,8 +1979,9 @@ dependencies = [ "digest 0.10.7", "fiat-crypto", "platforms", - "rustc_version", + "rustc_version 0.4.0", "subtle", + "zeroize", ] [[package]] @@ -1381,19 +1992,123 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] -name = "demeter-farming-platform" -version = "1.0.0" +name = "cxx" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb497fad022245b29c2a0351df572e2d67c1046bcef2260ebc022aec81efea82" dependencies = [ - "assets", + "cc", + "cxxbridge-flags", + "cxxbridge-macro", + "link-cplusplus", +] + +[[package]] +name = "cxx-build" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9327c7f9fbd6329a200a5d4aa6f674c60ab256525ff0084b52a889d4e4c60cee" +dependencies = [ + "cc", + "codespan-reporting", + "once_cell", + "proc-macro2", + "quote", + "scratch", + "syn 2.0.61", +] + +[[package]] +name = "cxxbridge-flags" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "688c799a4a846f1c0acb9f36bb9c6272d9b3d9457f3633c7753c6057270df13c" + +[[package]] +name = "cxxbridge-macro" +version = "1.0.122" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "928bc249a7e3cd554fd2e8e08a426e9670c50bbfc9a621653cfa9accc9641783" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "data-encoding" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" + +[[package]] +name = "data-encoding-macro" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" +dependencies = [ + "data-encoding", + "syn 1.0.109", +] + +[[package]] +name = "demeter-farming-platform" +version = "1.0.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "log", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", +] + +[[package]] +name = "demeter-farming-platform-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", "ceres-liquidity-locker", "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -1408,6 +2123,7 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", + "sp-arithmetic 16.0.0", "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", @@ -1437,6 +2153,29 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der-parser" +version = "8.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] + [[package]] name = "derivative" version = "2.2.0" @@ -1467,7 +2206,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -1490,7 +2229,7 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -1524,6 +2263,7 @@ dependencies = [ "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -1539,6 +2279,37 @@ dependencies = [ "sp-std 8.0.0", ] +[[package]] +name = "dex-manager-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "dex-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[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" @@ -1569,22 +2340,53 @@ dependencies = [ "subtle", ] +[[package]] +name = "directories-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + +[[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 = "dispatch" version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "displaydoc" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] @@ -1625,18 +2427,30 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.60", + "syn 2.0.61", "termcolor", "toml 0.8.12", "walkdir", ] +[[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.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" +[[package]] +name = "dtoa" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" + [[package]] name = "dyn-clonable" version = "0.9.0" @@ -1705,6 +2519,7 @@ version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ + "pkcs8 0.10.2", "signature 2.2.0", ] @@ -1728,8 +2543,11 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek 4.1.2", "ed25519 2.2.3", + "rand_core 0.6.4", + "serde", "sha2 0.10.8", "subtle", + "zeroize", ] [[package]] @@ -1801,6 +2619,44 @@ dependencies = [ "zeroize", ] +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + +[[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 1.0.109", +] + +[[package]] +name = "enumflags2" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" +dependencies = [ + "enumflags2_derive", +] + +[[package]] +name = "enumflags2_derive" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + [[package]] name = "env_logger" version = "0.10.2" @@ -1839,9 +2695,9 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -1870,13 +2726,14 @@ dependencies = [ "ethabi-contract", "ethabi-derive", "ethereum-types", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-executive", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", "jsonrpc-core", "libsecp256k1", + "log", "once_cell", "orml-currencies", "orml-tokens", @@ -1888,7 +2745,7 @@ dependencies = [ "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "parity-util-mem", - "parking_lot", + "parking_lot 0.12.2", "permissions", "rlp", "rustc-hex", @@ -1896,12 +2753,26 @@ dependencies = [ "serde", "serde_json", "sp-core 21.0.0", + "sp-io 23.0.0", "sp-keystore 0.27.0", + "sp-runtime 24.0.0", "sp-std 8.0.0", "tiny-keccak", "tokio", ] +[[package]] +name = "eth-bridge-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "ethabi" version = "17.2.0" @@ -1991,7 +2862,7 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2002,7 +2873,7 @@ checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2013,7 +2884,7 @@ checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2023,7 +2894,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" dependencies = [ "event-listener 4.0.3", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2033,20 +2904,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ "event-listener 5.3.0", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] name = "evm-fungible-app" version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" dependencies = [ "bridge-types", "dispatch", "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-traits", @@ -2055,23 +2925,24 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "expander" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" dependencies = [ "blake2", "fs-err", + "prettier-please", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -2102,7 +2973,7 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "env_logger", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -2132,6 +3003,16 @@ dependencies = [ "vested-rewards", ] +[[package]] +name = "farming-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api 4.0.0-dev", + "sp-std 8.0.0", +] + [[package]] name = "fastrand" version = "1.9.0" @@ -2153,7 +3034,7 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -2214,39 +3095,115 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" [[package]] -name = "fixed-hash" -version = "0.8.0" +name = "file-per-thread-logger" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" +checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", + "env_logger", + "log", ] [[package]] -name = "fixnum" -version = "0.6.0" -source = "git+https://github.com/sora-xor/fixnum?branch=sora-v2.1.0#db1163310fa150ea4d5f5ce5204cf44447ae9a70" +name = "filetime" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" dependencies = [ - "derive_more", - "parity-scale-codec", - "scale-info", - "serde", - "static_assertions", - "typenum", + "cfg-if", + "libc", + "redox_syscall 0.4.1", + "windows-sys 0.52.0", ] [[package]] -name = "form_urlencoded" -version = "1.2.1" +name = "finality-grandpa" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" dependencies = [ - "percent-encoding", + "either", + "futures", + "futures-timer", + "log", + "num-traits", + "parity-scale-codec", + "parking_lot 0.12.2", + "scale-info", +] + +[[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 = "fixnum" +version = "0.6.0" +source = "git+https://github.com/sora-xor/fixnum?branch=sora-v2.1.0#db1163310fa150ea4d5f5ce5204cf44447ae9a70" +dependencies = [ + "derive_more", + "parity-scale-codec", + "scale-info", + "serde", + "static_assertions", + "typenum", +] + +[[package]] +name = "flate2" +version = "1.0.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +dependencies = [ + "crc32fast", + "libz-sys", + "miniz_oxide", +] + +[[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 = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", ] +[[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" @@ -2254,7 +3211,7 @@ dependencies = [ "frame-support 4.0.0-dev", "frame-support-procedural 4.0.0-dev", "frame-system 4.0.0-dev", - "linregress 0.5.3", + "linregress", "log", "parity-scale-codec", "paste", @@ -2279,71 +3236,45 @@ dependencies = [ "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "linregress 0.4.4", "log", "parity-scale-codec", "paste", "scale-info", - "serde", "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", "static_assertions", ] [[package]] -name = "frame-benchmarking" +name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "linregress 0.4.4", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "frame-benchmarking" +name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "linregress 0.5.3", - "log", + "frame-election-provider-solution-type", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", - "paste", "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "static_assertions", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-npos-elections", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -2352,6 +3283,7 @@ version = "4.0.0-dev" dependencies = [ "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", + "frame-try-runtime 0.10.0-dev", "log", "parity-scale-codec", "scale-info", @@ -2386,6 +3318,28 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-remote-externalities" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "async-recursion", + "futures", + "indicatif", + "jsonrpsee", + "log", + "parity-scale-codec", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "spinners", + "substrate-rpc-client", + "tokio", + "tokio-retry", +] + [[package]] name = "frame-support" version = "4.0.0-dev" @@ -2411,10 +3365,10 @@ dependencies = [ "sp-core 21.0.0", "sp-core-hashing-proc-macro 9.0.0", "sp-debug-derive 8.0.0", - "sp-genesis-builder 0.1.0", + "sp-genesis-builder", "sp-inherents 4.0.0-dev", "sp-io 23.0.0", - "sp-metadata-ir 0.1.0", + "sp-metadata-ir", "sp-runtime 24.0.0", "sp-staking 4.0.0-dev", "sp-state-machine 0.28.0", @@ -2443,89 +3397,17 @@ dependencies = [ "serde", "smallvec", "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-core-hashing-proc-macro 5.0.0", "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-io 7.0.0", + "sp-runtime 7.0.0", "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tt-call", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bitflags 1.3.2", - "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tt-call", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "aquamarine", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "impl-trait-for-tuples", - "k256 0.13.3", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-genesis-builder 0.1.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "static_assertions", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-weights 4.0.0", "tt-call", ] @@ -2543,7 +3425,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -2561,48 +3443,15 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "Inflector", - "cfg-expr 0.10.3", - "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "Inflector", - "cfg-expr 0.15.8", - "derive-syn-parse 0.1.5", - "expander", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "itertools", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" dependencies = [ "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -2611,43 +3460,19 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -2660,26 +3485,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "frame-system" version = "4.0.0-dev" @@ -2708,68 +3513,224 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version 5.0.0", + "sp-weights 4.0.0", ] [[package]] -name = "frame-system" +name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "frame-system" +name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "cfg-if", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "log", "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-api 4.0.0-dev", ] [[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +name = "frame-try-runtime" +version = "0.10.0-dev" dependencies = [ - "autocfg", + "frame-support 4.0.0-dev", + "parity-scale-codec", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" +name = "frame-try-runtime" +version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "frame-support 4.0.0-dev", + "parity-scale-codec", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] [[package]] -name = "futures" +name = "framenode-chain-spec" +version = "3.3.0" + +[[package]] +name = "framenode-runtime" +version = "3.3.0" +dependencies = [ + "apollo-platform", + "assets", + "assets-runtime-api", + "band", + "beefy-light-client", + "beefy-light-client-runtime-api", + "bridge-channel", + "bridge-data-signer", + "bridge-proxy", + "bridge-proxy-runtime-api", + "bridge-types", + "ceres-governance-platform", + "ceres-launchpad", + "ceres-liquidity-locker", + "ceres-liquidity-locker-benchmarking", + "ceres-staking", + "ceres-token-locker", + "common 0.1.0", + "demeter-farming-platform", + "demeter-farming-platform-benchmarking", + "dex-api", + "dex-manager", + "dex-manager-runtime-api", + "dex-runtime-api", + "dispatch", + "env_logger", + "eth-bridge", + "eth-bridge-runtime-api", + "evm-fungible-app", + "farming", + "farming-runtime-api", + "faucet", + "frame-benchmarking 4.0.0-dev", + "frame-election-provider-support", + "frame-executive", + "frame-remote-externalities", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "framenode-chain-spec", + "hermes-governance-platform", + "hex-literal", + "iroha-migration", + "iroha-migration-runtime-api", + "kensetsu", + "kensetsu-benchmarking", + "leaf-provider", + "leaf-provider-runtime-api", + "liquidity-proxy", + "liquidity-proxy-benchmarking", + "liquidity-proxy-runtime-api", + "log", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", + "multisig-verifier", + "oracle-proxy", + "oracle-proxy-runtime-api", + "order-book", + "order-book-benchmarking", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-aura", + "pallet-authorship", + "pallet-babe", + "pallet-bags-list", + "pallet-balances", + "pallet-beefy", + "pallet-beefy-mmr", + "pallet-collective", + "pallet-democracy", + "pallet-election-provider-multi-phase", + "pallet-elections-phragmen", + "pallet-grandpa", + "pallet-identity", + "pallet-im-online", + "pallet-insecure-randomness-collective-flip", + "pallet-membership", + "pallet-mmr", + "pallet-multisig 3.2.3", + "pallet-multisig 4.0.0-dev", + "pallet-offences", + "pallet-preimage", + "pallet-scheduler", + "pallet-session", + "pallet-staking", + "pallet-sudo", + "pallet-timestamp 4.0.0-dev", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-utility", + "parachain-bridge-app", + "parity-scale-codec", + "parity-scale-codec-derive", + "permissions", + "pool-xyk", + "pool-xyk-benchmarking", + "price-tools", + "pswap-distribution", + "pswap-distribution-benchmarking", + "pswap-distribution-runtime-api", + "qa-tools", + "referrals", + "rewards", + "rewards-runtime-api", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-npos-elections", + "sp-offchain", + "sp-runtime 24.0.0", + "sp-session", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", + "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-transaction-pool", + "sp-version 22.0.0", + "static_assertions", + "substrate-bridge-app", + "substrate-bridge-channel", + "substrate-wasm-builder", + "technical", + "tokio", + "trading-pair", + "trading-pair-runtime-api", + "vested-rewards", + "vested-rewards-runtime-api", + "xor-fee", + "xst", + "xst-benchmarking", +] + +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" @@ -2828,7 +3789,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", "waker-fn", ] @@ -2842,7 +3803,7 @@ dependencies = [ "futures-core", "futures-io", "parking", - "pin-project-lite", + "pin-project-lite 0.2.14", ] [[package]] @@ -2853,7 +3814,18 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", +] + +[[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.9", + "webpki", ] [[package]] @@ -2887,11 +3859,20 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite", + "pin-project-lite 0.2.14", "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" @@ -2925,9 +3906,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "js-sys", @@ -2936,6 +3917,25 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug 0.3.1", + "polyval", +] + [[package]] name = "gimli" version = "0.26.2" @@ -2963,6 +3963,19 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "globset" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +dependencies = [ + "aho-corasick", + "bstr", + "log", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", +] + [[package]] name = "gloo-timers" version = "0.2.6" @@ -2997,6 +4010,25 @@ dependencies = [ "subtle", ] +[[package]] +name = "h2" +version = "0.3.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap 2.2.6", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "hash-db" version = "0.15.2" @@ -3033,14 +4065,14 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", ] [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" [[package]] name = "heck" @@ -3058,11 +4090,12 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hermes-governance-platform", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -3103,6 +4136,15 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + [[package]] name = "hmac" version = "0.8.1" @@ -3143,12 +4185,107 @@ dependencies = [ "hmac 0.8.1", ] +[[package]] +name = "home" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[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.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http", + "pin-project-lite 0.2.14", +] + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + [[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.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite 0.2.14", + "socket2 0.4.10", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" +dependencies = [ + "futures-util", + "http", + "hyper", + "log", + "rustls 0.21.12", + "rustls-native-certs", + "tokio", + "tokio-rustls", + "webpki-roots 0.25.4", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -3160,7 +4297,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -3172,6 +4309,17 @@ dependencies = [ "cc", ] +[[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.5.0" @@ -3182,6 +4330,35 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "if-addrs" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "if-watch" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +dependencies = [ + "async-io 2.3.2", + "core-foundation", + "fnv", + "futures", + "if-addrs", + "ipnet", + "log", + "rtnetlink", + "system-configuration", + "tokio", + "windows", +] + [[package]] name = "impl-codec" version = "0.6.0" @@ -3257,14 +4434,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.5", +] + +[[package]] +name = "indicatif" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" +dependencies = [ + "console", + "instant", + "number_prefix", + "portable-atomic", + "unicode-width", +] + +[[package]] +name = "inout" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +dependencies = [ + "generic-array 0.14.7", ] [[package]] name = "instant" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if", ] @@ -3295,6 +4494,30 @@ dependencies = [ "windows-sys 0.48.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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" +dependencies = [ + "socket2 0.5.7", + "widestring", + "windows-sys 0.48.0", + "winreg", +] + +[[package]] +name = "ipnet" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" + [[package]] name = "iroha-migration" version = "0.1.0" @@ -3303,11 +4526,12 @@ dependencies = [ "common 0.1.0", "ed25519-dalek-iroha", "eth-bridge", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex", "hex-literal", + "log", "orml-currencies", "orml-tokens", "pallet-balances", @@ -3319,7 +4543,7 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", @@ -3327,9 +4551,16 @@ dependencies = [ ] [[package]] -name = "is-terminal" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" +name = "iroha-migration-runtime-api" +version = "0.1.0" +dependencies = [ + "sp-api 4.0.0-dev", +] + +[[package]] +name = "is-terminal" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ "hermit-abi", @@ -3352,6 +4583,15 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "jobserver" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +dependencies = [ + "libc", +] + [[package]] name = "js-sys" version = "0.3.69" @@ -3373,6 +4613,150 @@ dependencies = [ "serde_json", ] +[[package]] +name = "jsonrpsee" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" +dependencies = [ + "jsonrpsee-core", + "jsonrpsee-http-client", + "jsonrpsee-proc-macros", + "jsonrpsee-server", + "jsonrpsee-types", + "jsonrpsee-ws-client", + "tracing", +] + +[[package]] +name = "jsonrpsee-client-transport" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +dependencies = [ + "futures-util", + "http", + "jsonrpsee-core", + "jsonrpsee-types", + "pin-project", + "rustls-native-certs", + "soketto", + "thiserror", + "tokio", + "tokio-rustls", + "tokio-util", + "tracing", + "webpki-roots 0.25.4", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +dependencies = [ + "anyhow", + "arrayvec 0.7.4", + "async-lock 2.8.0", + "async-trait", + "beef", + "futures-channel", + "futures-timer", + "futures-util", + "globset", + "hyper", + "jsonrpsee-types", + "parking_lot 0.12.2", + "rand 0.8.5", + "rustc-hash", + "serde", + "serde_json", + "soketto", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "jsonrpsee-http-client" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +dependencies = [ + "heck", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "jsonrpsee-server" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + +[[package]] +name = "jsonrpsee-ws-client" +version = "0.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +dependencies = [ + "http", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", +] + [[package]] name = "k256" version = "0.11.6" @@ -3407,6 +4791,52 @@ dependencies = [ "cpufeatures", ] +[[package]] +name = "kensetsu" +version = "0.0.1" +dependencies = [ + "assets", + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "log", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", +] + +[[package]] +name = "kensetsu-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "kensetsu", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "pool-xyk", + "price-tools", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "technical", + "trading-pair", +] + [[package]] name = "kv-log-macro" version = "1.0.7" @@ -3416,17 +4846,58 @@ dependencies = [ "log", ] +[[package]] +name = "kvdb" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" +dependencies = [ + "smallvec", +] + [[package]] name = "lazy_static" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +[[package]] +name = "leaf-provider" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "leaf-provider-runtime-api" +version = "0.1.0" +dependencies = [ + "bridge-types", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "libc" -version = "0.2.153" +version = "0.2.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" [[package]] name = "libm" @@ -3435,323 +4906,541 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] -name = "libsecp256k1" -version = "0.7.1" +name = "libp2p" +version = "0.51.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" +checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" 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" + "bytes", + "futures", + "futures-timer", + "getrandom 0.2.15", + "instant", + "libp2p-allow-block-list", + "libp2p-connection-limits", + "libp2p-core", + "libp2p-dns", + "libp2p-identify", + "libp2p-identity", + "libp2p-kad", + "libp2p-mdns", + "libp2p-metrics", + "libp2p-noise", + "libp2p-ping", + "libp2p-quic", + "libp2p-request-response", + "libp2p-swarm", + "libp2p-tcp", + "libp2p-wasm-ext", + "libp2p-websocket", + "libp2p-yamux", + "multiaddr", + "pin-project", +] + +[[package]] +name = "libp2p-allow-block-list" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" +checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "void", ] [[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" +name = "libp2p-connection-limits" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" dependencies = [ - "libsecp256k1-core", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "void", ] [[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" +name = "libp2p-core" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" +checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" dependencies = [ - "libsecp256k1-core", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-identity", + "log", + "multiaddr", + "multihash", + "multistream-select", + "once_cell", + "parking_lot 0.12.2", + "pin-project", + "quick-protobuf", + "rand 0.8.5", + "rw-stream-sink", + "smallvec", + "thiserror", + "unsigned-varint", + "void", ] [[package]] -name = "linregress" -version = "0.4.4" +name = "libp2p-dns" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" dependencies = [ - "nalgebra 0.27.1", - "statrs", + "futures", + "libp2p-core", + "log", + "parking_lot 0.12.2", + "smallvec", + "trust-dns-resolver", ] [[package]] -name = "linregress" -version = "0.5.3" +name = "libp2p-identify" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" dependencies = [ - "nalgebra 0.32.5", + "asynchronous-codec", + "either", + "futures", + "futures-timer", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "log", + "lru", + "quick-protobuf", + "quick-protobuf-codec", + "smallvec", + "thiserror", + "void", ] [[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" +name = "libp2p-identity" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" +checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" +dependencies = [ + "bs58 0.4.0", + "ed25519-dalek 2.1.1", + "log", + "multiaddr", + "multihash", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "thiserror", + "zeroize", +] [[package]] -name = "linux-raw-sys" -version = "0.3.8" +name = "libp2p-kad" +version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" +dependencies = [ + "arrayvec 0.7.4", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "log", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "smallvec", + "thiserror", + "uint", + "unsigned-varint", + "void", +] [[package]] -name = "linux-raw-sys" -version = "0.4.13" +name = "libp2p-mdns" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" +dependencies = [ + "data-encoding", + "futures", + "if-watch", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "log", + "rand 0.8.5", + "smallvec", + "socket2 0.4.10", + "tokio", + "trust-dns-proto", + "void", +] [[package]] -name = "lock_api" -version = "0.4.12" +name = "libp2p-metrics" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" dependencies = [ - "autocfg", - "scopeguard", + "libp2p-core", + "libp2p-identify", + "libp2p-kad", + "libp2p-ping", + "libp2p-swarm", + "prometheus-client", ] [[package]] -name = "log" -version = "0.4.21" +name = "libp2p-noise" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" dependencies = [ - "value-bag", + "bytes", + "curve25519-dalek 3.2.0", + "futures", + "libp2p-core", + "libp2p-identity", + "log", + "once_cell", + "quick-protobuf", + "rand 0.8.5", + "sha2 0.10.8", + "snow", + "static_assertions", + "thiserror", + "x25519-dalek 1.1.1", + "zeroize", ] [[package]] -name = "mach" -version = "0.3.2" +name = "libp2p-ping" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" +checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" dependencies = [ - "libc", + "either", + "futures", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-swarm", + "log", + "rand 0.8.5", + "void", ] [[package]] -name = "macro_magic" -version = "0.4.2" +name = "libp2p-quic" +version = "0.7.0-alpha.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" +checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" dependencies = [ - "macro_magic_core", - "macro_magic_macros", - "quote", - "syn 2.0.60", + "bytes", + "futures", + "futures-timer", + "if-watch", + "libp2p-core", + "libp2p-identity", + "libp2p-tls", + "log", + "parking_lot 0.12.2", + "quinn-proto", + "rand 0.8.5", + "rustls 0.20.9", + "thiserror", + "tokio", ] [[package]] -name = "macro_magic_core" -version = "0.4.2" +name = "libp2p-request-response" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" +checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" dependencies = [ - "const-random", - "derive-syn-parse 0.1.5", - "macro_magic_core_macros", - "proc-macro2", - "quote", - "syn 2.0.60", + "async-trait", + "futures", + "instant", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm", + "rand 0.8.5", + "smallvec", ] [[package]] -name = "macro_magic_core_macros" -version = "0.4.3" +name = "libp2p-swarm" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" +checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.60", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-identity", + "libp2p-swarm-derive", + "log", + "rand 0.8.5", + "smallvec", + "tokio", + "void", ] [[package]] -name = "macro_magic_macros" -version = "0.4.2" +name = "libp2p-swarm-derive" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" +checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "macro_magic_core", + "heck", "quote", - "syn 2.0.60", + "syn 1.0.109", ] [[package]] -name = "matchers" -version = "0.0.1" +name = "libp2p-tcp" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" dependencies = [ - "regex-automata 0.1.10", + "futures", + "futures-timer", + "if-watch", + "libc", + "libp2p-core", + "log", + "socket2 0.4.10", + "tokio", ] [[package]] -name = "matrixmultiply" -version = "0.3.8" +name = "libp2p-tls" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" dependencies = [ - "autocfg", - "rawpointer", + "futures", + "futures-rustls", + "libp2p-core", + "libp2p-identity", + "rcgen", + "ring 0.16.20", + "rustls 0.20.9", + "thiserror", + "webpki", + "x509-parser", + "yasna", ] [[package]] -name = "memchr" -version = "2.7.2" +name = "libp2p-wasm-ext" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" +dependencies = [ + "futures", + "js-sys", + "libp2p-core", + "parity-send-wrapper", + "wasm-bindgen", + "wasm-bindgen-futures", +] [[package]] -name = "memfd" -version = "0.6.4" +name = "libp2p-websocket" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ - "rustix 0.38.34", + "either", + "futures", + "futures-rustls", + "libp2p-core", + "log", + "parking_lot 0.12.2", + "quicksink", + "rw-stream-sink", + "soketto", + "url", + "webpki-roots 0.22.6", ] [[package]] -name = "memoffset" -version = "0.6.5" +name = "libp2p-yamux" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ - "autocfg", + "futures", + "libp2p-core", + "log", + "thiserror", + "yamux", ] [[package]] -name = "memoffset" -version = "0.8.0" +name = "libredox" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "autocfg", + "bitflags 2.5.0", + "libc", ] [[package]] -name = "memory-db" -version = "0.31.0" +name = "libsecp256k1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", + "arrayref", + "base64 0.13.1", + "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 = "memory-db" -version = "0.32.0" +name = "libsecp256k1-core" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ - "hash-db 0.16.0", + "crunchy", + "digest 0.9.0", + "subtle", ] [[package]] -name = "memory_units" -version = "0.4.0" +name = "libsecp256k1-gen-ecmult" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" +checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +dependencies = [ + "libsecp256k1-core", +] [[package]] -name = "merlin" -version = "2.0.1" +name = "libsecp256k1-gen-genmult" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" +checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", + "libsecp256k1-core", ] [[package]] -name = "merlin" -version = "3.0.0" +name = "libz-sys" +version = "1.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" dependencies = [ - "byteorder", - "keccak", - "rand_core 0.6.4", - "zeroize", + "cc", + "pkg-config", + "vcpkg", ] [[package]] -name = "miniz_oxide" -version = "0.7.2" +name = "link-cplusplus" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" dependencies = [ - "adler", + "cc", ] [[package]] -name = "mock-liquidity-source" -version = "0.1.0" +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 = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", + "linked-hash-map", ] [[package]] -name = "multicollateral-bonding-curve-pool" -version = "0.3.0" +name = "linregress" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "nalgebra", +] + +[[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 = "linux-raw-sys" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" + +[[package]] +name = "linux-raw-sys" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" + +[[package]] +name = "liquidity-proxy" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "fallible-iterator 0.2.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", + "itertools", "mock-liquidity-source", + "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "orml-traits", @@ -3760,8 +5449,8 @@ dependencies = [ "parity-scale-codec", "permissions", "pool-xyk", - "price-tools", "pswap-distribution", + "qa-tools", "scale-info", "serde", "sp-arithmetic 16.0.0", @@ -3775,276 +5464,1230 @@ dependencies = [ ] [[package]] -name = "nalgebra" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +name = "liquidity-proxy-benchmarking" +version = "0.1.0" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.1.0", - "num-complex", - "num-rational", - "num-traits", - "rand 0.8.5", - "rand_distr", - "simba 0.5.1", - "typenum", + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "liquidity-proxy", + "mock-liquidity-source", + "multicollateral-bonding-curve-pool", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", ] [[package]] -name = "nalgebra" -version = "0.32.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +name = "liquidity-proxy-runtime-api" +version = "0.1.0" dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.2.1", - "num-complex", - "num-rational", - "num-traits", - "simba 0.8.1", - "typenum", + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "nalgebra-macros" -version = "0.1.0" +name = "lock_api" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "autocfg", + "scopeguard", ] [[package]] -name = "nalgebra-macros" -version = "0.2.1" +name = "log" +version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "value-bag", ] [[package]] -name = "nodrop" -version = "0.1.14" +name = "lru" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" +checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" +dependencies = [ + "hashbrown 0.13.2", +] [[package]] -name = "nohash-hasher" -version = "0.2.0" +name = "lru-cache" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" +checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" +dependencies = [ + "linked-hash-map", +] [[package]] -name = "num-bigint" -version = "0.4.4" +name = "mach" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" dependencies = [ - "autocfg", - "num-integer", - "num-traits", + "libc", ] [[package]] -name = "num-complex" -version = "0.4.5" +name = "macro_magic" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" +checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" dependencies = [ - "num-traits", + "macro_magic_core", + "macro_magic_macros", + "quote", + "syn 2.0.61", ] [[package]] -name = "num-format" -version = "0.4.4" +name = "macro_magic_core" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" +checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" dependencies = [ - "arrayvec 0.7.4", - "itoa", + "const-random", + "derive-syn-parse 0.1.5", + "macro_magic_core_macros", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "num-integer" -version = "0.1.46" +name = "macro_magic_core_macros" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ - "num-traits", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "num-rational" -version = "0.4.1" +name = "macro_magic_macros" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ - "autocfg", - "num-bigint", - "num-integer", - "num-traits", + "macro_magic_core", + "quote", + "syn 2.0.61", ] [[package]] -name = "num-traits" -version = "0.2.18" +name = "maplit" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" -dependencies = [ - "autocfg", - "libm", -] +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" [[package]] -name = "num_cpus" -version = "1.16.0" +name = "match_cfg" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" [[package]] -name = "object" -version = "0.29.0" +name = "matchers" +version = "0.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" dependencies = [ - "crc32fast", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "memchr", + "regex-automata 0.1.10", ] [[package]] -name = "object" -version = "0.30.4" +name = "matches" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" -dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", -] +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] -name = "object" -version = "0.32.2" +name = "matrixmultiply" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ - "memchr", + "autocfg", + "rawpointer", ] [[package]] -name = "once_cell" -version = "1.19.0" +name = "memchr" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] -name = "opaque-debug" -version = "0.2.3" +name = "memfd" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +dependencies = [ + "rustix 0.38.34", +] [[package]] -name = "opaque-debug" -version = "0.3.1" +name = "memmap2" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +dependencies = [ + "libc", +] [[package]] -name = "oracle-proxy" -version = "1.0.0" +name = "memoffset" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" dependencies = [ - "band", + "autocfg", +] + +[[package]] +name = "memoffset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +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 0.15.2", + "hashbrown 0.12.3", +] + +[[package]] +name = "memory-db" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" +dependencies = [ + "hash-db 0.16.0", +] + +[[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 = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core 0.6.4", + "zeroize", +] + +[[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.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +dependencies = [ + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "windows-sys 0.48.0", +] + +[[package]] +name = "mock-liquidity-source" +version = "0.1.0" +dependencies = [ + "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "dex-manager", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", "parity-scale-codec", + "permissions", "scale-info", "serde", + "sp-arithmetic 16.0.0", "sp-core 21.0.0", "sp-io 23.0.0", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 24.0.0", "sp-std 8.0.0", + "technical", ] [[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "mockall" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive", + "predicates", + "predicates-tree", +] + +[[package]] +name = "mockall_derive" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" +dependencies = [ + "cfg-if", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "multiaddr" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b36f567c7099511fa8612bbbb52dda2419ce0bdbacf31714e3a5ffdb766d3bd" +dependencies = [ + "arrayref", + "byteorder", + "data-encoding", + "log", + "multibase", + "multihash", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint", + "url", +] + +[[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 = "multicollateral-bonding-curve-pool" +version = "0.3.0" dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", + "hex-literal", + "log", + "mock-liquidity-source", + "orml-currencies", + "orml-tokens", "orml-traits", - "orml-utilities", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", + "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", "scale-info", "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", + "technical", + "trading-pair", + "vested-rewards", ] [[package]] -name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "multihash" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" +dependencies = [ + "core2", + "multihash-derive", + "unsigned-varint", +] + +[[package]] +name = "multihash-derive" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" +dependencies = [ + "proc-macro-crate 1.1.3", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", + "synstructure", +] + +[[package]] +name = "multimap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" + +[[package]] +name = "multisig-verifier" +version = "0.1.0" dependencies = [ + "bridge-common", + "bridge-types", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "log", - "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "multistream-select" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" +dependencies = [ + "bytes", + "futures", + "log", + "pin-project", + "smallvec", + "unsigned-varint", +] + +[[package]] +name = "nalgebra" +version = "0.32.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +dependencies = [ + "approx", + "matrixmultiply", + "nalgebra-macros", + "num-complex", + "num-rational", + "num-traits", + "simba", + "typenum", +] + +[[package]] +name = "nalgebra-macros" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[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 1.3.2", + "byteorder", + "libc", + "netlink-packet-core", + "netlink-packet-utils", +] + +[[package]] +name = "netlink-packet-utils" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34" +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", + "log", + "netlink-packet-core", + "netlink-sys", + "thiserror", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" +dependencies = [ + "bytes", + "futures", + "libc", + "log", + "tokio", +] + +[[package]] +name = "nix" +version = "0.24.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" +dependencies = [ + "bitflags 1.3.2", + "cfg-if", + "libc", +] + +[[package]] +name = "nodrop" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + +[[package]] +name = "num-bigint" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-format" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" +dependencies = [ + "arrayvec 0.7.4", + "itoa", +] + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +dependencies = [ + "num-bigint", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "number_prefix" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" + +[[package]] +name = "object" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +dependencies = [ + "crc32fast", + "hashbrown 0.12.3", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.30.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +dependencies = [ + "crc32fast", + "hashbrown 0.13.2", + "indexmap 1.9.3", + "memchr", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "oid-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +dependencies = [ + "asn1-rs", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[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.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + +[[package]] +name = "oracle-proxy" +version = "1.0.0" +dependencies = [ + "band", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "oracle-proxy-runtime-api" +version = "1.0.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "order-book" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-tokens", + "pallet-balances", + "pallet-collective", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "order-book-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "framenode-chain-spec", + "framenode-runtime", + "hex-literal", + "order-book", + "orml-tokens", + "pallet-balances", + "pallet-collective", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "orml-currencies" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "orml-traits", + "orml-utilities", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-tokens" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "orml-traits" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "impl-trait-for-tuples", + "num-traits", + "orml-utilities", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm", +] + +[[package]] +name = "orml-utilities" +version = "0.4.1-dev" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +dependencies = [ + "frame-support 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-aura" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 23.0.0", + "sp-consensus-aura", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-authorship" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-babe" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-authorship", + "pallet-session", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 23.0.0", + "sp-consensus-babe", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-session", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-bags-list" +version = "4.0.0-dev" +dependencies = [ + "aquamarine", + "docify", + "frame-election-provider-support", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-balances", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-balances" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-session", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-beefy-mmr" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "array-bytes 6.2.2", + "binary-merkle-tree 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-beefy", + "pallet-mmr", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-collective" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-democracy" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-election-provider-multi-phase" +version = "4.0.0-dev" +dependencies = [ + "frame-election-provider-support", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-npos-elections", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-elections-phragmen" +version = "5.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-npos-elections", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-grandpa" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 23.0.0", + "sp-consensus-grandpa", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-session", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-identity" +version = "4.0.0-dev" +dependencies = [ + "enumflags2", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-im-online" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-authorship", + "parity-scale-codec", + "scale-info", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-insecure-randomness-collective-flip" +version = "4.0.0-dev" +dependencies = [ + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "safe-mix", + "scale-info", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-membership" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", ] [[package]] -name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "pallet-mmr" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", + "frame-system 4.0.0-dev", + "log", "parity-scale-codec", - "paste", "scale-info", - "serde", "sp-core 21.0.0", "sp-io 23.0.0", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-runtime 24.0.0", "sp-std 8.0.0", - "staging-xcm", ] [[package]] -name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +name = "pallet-multisig" +version = "3.2.3" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" dependencies = [ "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", @@ -4055,7 +6698,7 @@ dependencies = [ ] [[package]] -name = "pallet-balances" +name = "pallet-multisig" version = "4.0.0-dev" dependencies = [ "frame-benchmarking 4.0.0-dev", @@ -4064,28 +6707,29 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", ] [[package]] -name = "pallet-multisig" -version = "3.2.3" -source = "git+https://github.com/soramitsu/sora2-frame-pallets.git?branch=polkadot-v0.9.38#9762e3948a5823a312df658862c2d2311267d6aa" +name = "pallet-offences" +version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] -name = "pallet-multisig" +name = "pallet-preimage" version = "4.0.0-dev" dependencies = [ "frame-benchmarking 4.0.0-dev", @@ -4094,6 +6738,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", + "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", @@ -4119,22 +6764,44 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "impl-trait-for-tuples", "log", - "pallet-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", +] + +[[package]] +name = "pallet-staking" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-election-provider-support", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-traits", + "pallet-authorship", + "pallet-session", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto 23.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -4180,42 +6847,74 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-runtime 7.0.0", + "sp-std 5.0.0", "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", ] [[package]] -name = "pallet-timestamp" +name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "pallet-transaction-payment" +name = "pallet-transaction-payment-rpc-runtime-api" +version = "4.0.0-dev" +dependencies = [ + "pallet-transaction-payment", + "parity-scale-codec", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-weights 20.0.0", +] + +[[package]] +name = "pallet-utility" version = "4.0.0-dev" dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "parachain-bridge-app" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-traits", "parity-scale-codec", + "rlp", + "rustc-hex", "scale-info", "serde", "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", + "staging-xcm", ] [[package]] @@ -4245,12 +6944,18 @@ version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "parity-send-wrapper" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" + [[package]] name = "parity-util-mem" version = "0.12.0" @@ -4287,6 +6992,17 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +[[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.2" @@ -4294,7 +7010,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" dependencies = [ "lock_api", - "parking_lot_core", + "parking_lot_core 0.9.10", +] + +[[package]] +name = "parking_lot_core" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" +dependencies = [ + "cfg-if", + "instant", + "libc", + "redox_syscall 0.2.16", + "smallvec", + "winapi", ] [[package]] @@ -4305,16 +7035,22 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall", + "redox_syscall 0.5.1", "smallvec", "windows-targets 0.52.5", ] +[[package]] +name = "partial_sort" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" + [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pbkdf2" @@ -4334,6 +7070,15 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "pem" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + [[package]] name = "percent-encoding" version = "2.3.1" @@ -4357,6 +7102,42 @@ dependencies = [ "sp-std 8.0.0", ] +[[package]] +name = "petgraph" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" +dependencies = [ + "fixedbitset", + "indexmap 2.2.6", +] + +[[package]] +name = "pin-project" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[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.14" @@ -4371,9 +7152,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" dependencies = [ "atomic-waker", "fastrand 2.1.0", @@ -4400,6 +7181,12 @@ dependencies = [ "spki 0.7.3", ] +[[package]] +name = "pkg-config" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" + [[package]] name = "platforms" version = "3.4.0" @@ -4418,7 +7205,7 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite", + "pin-project-lite 0.2.14", "windows-sys 0.48.0", ] @@ -4431,12 +7218,35 @@ dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi", - "pin-project-lite", + "pin-project-lite 0.2.14", "rustix 0.38.34", "tracing", "windows-sys 0.52.0", ] +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures", + "opaque-debug 0.3.1", + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures", + "opaque-debug 0.3.1", + "universal-hash", +] + [[package]] name = "pool-xyk" version = "1.2.0" @@ -4450,6 +7260,7 @@ dependencies = [ "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "num-traits", "oracle-proxy", "orml-currencies", @@ -4473,10 +7284,104 @@ dependencies = [ ] [[package]] -name = "ppv-lite86" -version = "0.2.17" +name = "pool-xyk-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "portable-atomic" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" + +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "predicates" +version = "2.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" +dependencies = [ + "difflib", + "float-cmp", + "itertools", + "normalize-line-endings", + "predicates-core", + "regex", +] + +[[package]] +name = "predicates-core" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" + +[[package]] +name = "predicates-tree" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +dependencies = [ + "predicates-core", + "termtree", +] + +[[package]] +name = "prettier-please" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" +dependencies = [ + "proc-macro2", + "syn 2.0.61", +] + +[[package]] +name = "prettyplease" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" +dependencies = [ + "proc-macro2", + "syn 1.0.109", +] [[package]] name = "price-tools" @@ -4488,7 +7393,7 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -4536,6 +7441,15 @@ dependencies = [ "toml 0.5.11", ] +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.1", +] + [[package]] name = "proc-macro-error" version = "1.0.4" @@ -4568,18 +7482,109 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "proc-macro2" -version = "1.0.81" +version = "1.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" +checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" dependencies = [ "unicode-ident", ] +[[package]] +name = "prometheus" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" +dependencies = [ + "cfg-if", + "fnv", + "lazy_static", + "memchr", + "parking_lot 0.12.2", + "thiserror", +] + +[[package]] +name = "prometheus-client" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" +dependencies = [ + "dtoa", + "itoa", + "parking_lot 0.12.2", + "prometheus-client-derive-encode", +] + +[[package]] +name = "prometheus-client-derive-encode" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "prost" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-build" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +dependencies = [ + "bytes", + "heck", + "itertools", + "lazy_static", + "log", + "multimap", + "petgraph", + "prettyplease", + "prost", + "prost-types", + "regex", + "syn 1.0.109", + "tempfile", + "which", +] + +[[package]] +name = "prost-derive" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "prost-types" +version = "0.11.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +dependencies = [ + "prost", +] + [[package]] name = "psm" version = "0.1.21" @@ -4598,10 +7603,11 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", + "log", "mock-liquidity-source", "orml-currencies", "orml-tokens", @@ -4621,6 +7627,137 @@ dependencies = [ "technical", ] +[[package]] +name = "pswap-distribution-benchmarking" +version = "0.1.0" +dependencies = [ + "assets", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-manager", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "pool-xyk", + "pswap-distribution", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "trading-pair", +] + +[[package]] +name = "pswap-distribution-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "qa-tools" +version = "0.1.0" +dependencies = [ + "assets", + "band", + "common 0.1.0", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "multicollateral-bonding-curve-pool", + "oracle-proxy", + "order-book", + "pallet-balances", + "parity-scale-codec", + "pool-xyk", + "price-tools", + "rand 0.8.5", + "rand_chacha 0.3.1", + "scale-info", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", + "xst", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quick-protobuf" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d6da84cc204722a989e01ba2f6e1e276e190f22263d0cb6ce8526fcdb0d2e1f" +dependencies = [ + "byteorder", +] + +[[package]] +name = "quick-protobuf-codec" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +dependencies = [ + "asynchronous-codec", + "bytes", + "quick-protobuf", + "thiserror", + "unsigned-varint", +] + +[[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.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" +dependencies = [ + "bytes", + "rand 0.8.5", + "ring 0.16.20", + "rustc-hash", + "rustls 0.20.9", + "slab", + "thiserror", + "tinyvec", + "tracing", + "webpki", +] + [[package]] name = "quote" version = "1.0.36" @@ -4695,17 +7832,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.14", -] - -[[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", + "getrandom 0.2.15", ] [[package]] @@ -4723,6 +7850,56 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" +[[package]] +name = "rayon" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "rcgen" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" +dependencies = [ + "pem", + "ring 0.16.20", + "time", + "yasna", +] + +[[package]] +name = "redox_syscall" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + [[package]] name = "redox_syscall" version = "0.5.1" @@ -4732,24 +7909,35 @@ dependencies = [ "bitflags 2.5.0", ] +[[package]] +name = "redox_users" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +dependencies = [ + "getrandom 0.2.15", + "libredox", + "thiserror", +] + [[package]] name = "ref-cast" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -4758,7 +7946,7 @@ version = "1.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -4776,6 +7964,18 @@ dependencies = [ "sp-std 8.0.0", ] +[[package]] +name = "regalloc2" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" +dependencies = [ + "fxhash", + "log", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.10.4" @@ -4818,7 +8018,17 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" name = "regex-syntax" version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" + +[[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 = "rewards" @@ -4826,12 +8036,13 @@ version = "1.3.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex", "hex-literal", "libsecp256k1", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -4847,6 +8058,19 @@ dependencies = [ "technical", ] +[[package]] +name = "rewards-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "rfc6979" version = "0.3.1" @@ -4883,6 +8107,36 @@ dependencies = [ "merlin 3.0.0", ] +[[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 0.7.1", + "web-sys", + "winapi", +] + +[[package]] +name = "ring" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.15", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys 0.52.0", +] + [[package]] name = "rlp" version = "0.5.2" @@ -4893,11 +8147,26 @@ dependencies = [ "rustc-hex", ] +[[package]] +name = "rtnetlink" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" +dependencies = [ + "futures", + "log", + "netlink-packet-route", + "netlink-proto", + "nix", + "thiserror", + "tokio", +] + [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -4911,13 +8180,31 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" +[[package]] +name = "rustc_version" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +dependencies = [ + "semver 0.9.0", +] + [[package]] name = "rustc_version" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver", + "semver 1.0.23", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", ] [[package]] @@ -4935,81 +8222,412 @@ dependencies = [ ] [[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +name = "rustix" +version = "0.36.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.9", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", +] + +[[package]] +name = "rustix" +version = "0.37.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +dependencies = [ + "bitflags 1.3.2", + "errno 0.3.9", + "io-lifetimes 1.0.11", + "libc", + "linux-raw-sys 0.3.8", + "windows-sys 0.48.0", +] + +[[package]] +name = "rustix" +version = "0.38.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +dependencies = [ + "bitflags 2.5.0", + "errno 0.3.9", + "libc", + "linux-raw-sys 0.4.13", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustls" +version = "0.20.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" +dependencies = [ + "log", + "ring 0.16.20", + "sct", + "webpki", +] + +[[package]] +name = "rustls" +version = "0.21.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" +dependencies = [ + "log", + "ring 0.17.8", + "rustls-webpki", + "sct", +] + +[[package]] +name = "rustls-native-certs" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.7", +] + +[[package]] +name = "rustls-webpki" +version = "0.101.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +dependencies = [ + "ring 0.17.8", + "untrusted 0.9.0", +] + +[[package]] +name = "rustversion" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" + +[[package]] +name = "rw-stream-sink" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" +dependencies = [ + "futures", + "pin-project", + "static_assertions", +] + +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + +[[package]] +name = "safe-mix" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" +dependencies = [ + "rustc_version 0.2.3", +] + +[[package]] +name = "safe_arch" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +dependencies = [ + "bytemuck", +] + +[[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" +dependencies = [ + "log", + "sp-core 21.0.0", + "sp-wasm-interface 14.0.0", + "thiserror", +] + +[[package]] +name = "sc-chain-spec" +version = "4.0.0-dev" +dependencies = [ + "memmap2", + "sc-chain-spec-derive", + "sc-client-api", + "sc-executor", + "sc-network", + "sc-telemetry", + "serde", + "serde_json", + "sp-blockchain", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", +] + +[[package]] +name = "sc-chain-spec-derive" +version = "4.0.0-dev" +dependencies = [ + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.61", +] + +[[package]] +name = "sc-client-api" +version = "4.0.0-dev" +dependencies = [ + "fnv", + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-executor", + "sc-transaction-pool-api", + "sc-utils", + "sp-api 4.0.0-dev", + "sp-blockchain", + "sp-consensus", + "sp-core 21.0.0", + "sp-database", + "sp-externalities 0.19.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-statement-store", + "sp-storage 13.0.0", + "substrate-prometheus-endpoint", +] + +[[package]] +name = "sc-consensus" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures", + "futures-timer", + "libp2p-identity", + "log", + "mockall", + "parking_lot 0.12.2", + "sc-client-api", + "sc-utils", + "serde", + "sp-api 4.0.0-dev", + "sp-blockchain", + "sp-consensus", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "sc-executor" +version = "0.10.0-dev" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-executor-common", + "sc-executor-wasmtime", + "schnellru", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-io 23.0.0", + "sp-panic-handler 8.0.0", + "sp-runtime-interface 17.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "sp-wasm-interface 14.0.0", + "tracing", +] + +[[package]] +name = "sc-executor-common" +version = "0.10.0-dev" +dependencies = [ + "sc-allocator", + "sp-maybe-compressed-blob", + "sp-wasm-interface 14.0.0", + "thiserror", + "wasm-instrument", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.10.0-dev" +dependencies = [ + "anyhow", + "cfg-if", + "libc", + "log", + "rustix 0.36.17", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface 17.0.0", + "sp-wasm-interface 14.0.0", + "wasmtime 8.0.1", +] + +[[package]] +name = "sc-network" +version = "0.10.0-dev" dependencies = [ - "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", + "array-bytes 6.2.2", + "async-channel 1.9.0", + "async-trait", + "asynchronous-codec", + "bytes", + "either", + "fnv", + "futures", + "futures-timer", + "ip_network", + "libp2p", + "linked_hash_set", + "log", + "mockall", + "parity-scale-codec", + "parking_lot 0.12.2", + "partial_sort", + "pin-project", + "rand 0.8.5", + "sc-client-api", + "sc-network-common", + "sc-utils", + "serde", + "serde_json", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-blockchain", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "substrate-prometheus-endpoint", + "thiserror", + "unsigned-varint", + "wasm-timer", + "zeroize", ] [[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +name = "sc-network-common" +version = "0.10.0-dev" dependencies = [ + "async-trait", "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", + "futures", + "libp2p-identity", + "parity-scale-codec", + "prost-build", + "sc-consensus", + "sp-consensus", + "sp-consensus-grandpa", + "sp-runtime 24.0.0", ] [[package]] -name = "rustix" -version = "0.38.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +name = "sc-rpc-api" +version = "0.10.0-dev" dependencies = [ - "bitflags 2.5.0", - "errno 0.3.8", - "libc", - "linux-raw-sys 0.4.13", - "windows-sys 0.52.0", + "jsonrpsee", + "parity-scale-codec", + "sc-chain-spec", + "sc-transaction-pool-api", + "scale-info", + "serde", + "serde_json", + "sp-core 21.0.0", + "sp-rpc", + "sp-runtime 24.0.0", + "sp-version 22.0.0", + "thiserror", ] [[package]] -name = "rustversion" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80af6f9131f277a45a3fba6ce8e2258037bb0477a67e610d3c1fe046ab31de47" - -[[package]] -name = "ryu" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" +name = "sc-telemetry" +version = "4.0.0-dev" +dependencies = [ + "chrono", + "futures", + "libp2p", + "log", + "parking_lot 0.12.2", + "pin-project", + "rand 0.8.5", + "sc-utils", + "serde", + "serde_json", + "thiserror", + "wasm-timer", +] [[package]] -name = "safe_arch" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +name = "sc-transaction-pool-api" +version = "4.0.0-dev" dependencies = [ - "bytemuck", + "async-trait", + "futures", + "log", + "parity-scale-codec", + "serde", + "sp-blockchain", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "thiserror", ] [[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +name = "sc-utils" +version = "4.0.0-dev" dependencies = [ - "winapi-util", + "async-channel 1.9.0", + "futures", + "futures-timer", + "lazy_static", + "log", + "parking_lot 0.12.2", + "prometheus", + "sp-arithmetic 16.0.0", ] [[package]] name = "scale-info" -version = "2.11.2" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", @@ -5021,23 +8639,32 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.2" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "schannel" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +dependencies = [ + "windows-sys 0.52.0", +] + [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "6b0cf7da6fc4477944d5529807234f66802fcb618fc62b9c05bedca7f9be6c43" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -5060,12 +8687,45 @@ dependencies = [ "zeroize", ] +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "arrayref", + "arrayvec 0.7.4", + "curve25519-dalek 4.1.2", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.10.8", + "subtle", + "zeroize", +] + [[package]] name = "scopeguard" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "scratch" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" + +[[package]] +name = "sct" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +dependencies = [ + "ring 0.17.8", + "untrusted 0.9.0", +] + [[package]] name = "sec1" version = "0.3.0" @@ -5121,17 +8781,67 @@ dependencies = [ "zeroize", ] +[[package]] +name = "security-framework" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +dependencies = [ + "bitflags 2.5.0", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +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.22" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" +dependencies = [ + "semver-parser", +] + +[[package]] +name = "semver" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +dependencies = [ + "serde", +] + +[[package]] +name = "semver-parser" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" +checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.198" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" +checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" dependencies = [ "serde_derive", ] @@ -5147,20 +8857,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.198" +version = "1.0.201" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" +checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "serde_json" -version = "1.0.116" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -5176,6 +8886,19 @@ dependencies = [ "serde", ] +[[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", + "cpufeatures", + "digest 0.9.0", + "opaque-debug 0.3.1", +] + [[package]] name = "sha2" version = "0.8.2" @@ -5272,18 +8995,6 @@ dependencies = [ "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 = "simba" version = "0.8.1" @@ -5306,12 +9017,35 @@ dependencies = [ "autocfg", ] +[[package]] +name = "slice-group-by" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" + [[package]] name = "smallvec" version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +[[package]] +name = "snow" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" +dependencies = [ + "aes-gcm", + "blake2", + "chacha20poly1305", + "curve25519-dalek 4.1.2", + "rand_core 0.6.4", + "ring 0.17.8", + "rustc_version 0.4.0", + "sha2 0.10.8", + "subtle", +] + [[package]] name = "socket2" version = "0.4.10" @@ -5323,79 +9057,67 @@ dependencies = [ ] [[package]] -name = "sp-api" -version = "4.0.0-dev" +name = "socket2" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-metadata-ir 0.1.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "thiserror", + "libc", + "windows-sys 0.52.0", ] [[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "soketto" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ - "hash-db 0.15.2", + "base64 0.13.1", + "bytes", + "flate2", + "futures", + "http", + "httparse", "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "rand 0.8.5", + "sha-1", ] [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ - "hash-db 0.15.2", + "hash-db 0.16.0", "log", "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-metadata-ir", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", "thiserror", ] [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "hash-db 0.16.0", + "hash-db 0.15.2", "log", "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", + "sp-version 5.0.0", "thiserror", ] @@ -5406,10 +9128,10 @@ dependencies = [ "Inflector", "blake2", "expander", - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5418,38 +9140,12 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "blake2", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "blake2", - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "Inflector", - "blake2", - "expander", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "sp-application-crypto" version = "7.0.0" @@ -5458,22 +9154,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -5489,136 +9172,177 @@ dependencies = [ ] [[package]] -name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +name = "sp-arithmetic" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ + "integer-sqrt", + "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 5.0.0", + "static_assertions", ] [[package]] name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +version = "16.0.0" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 8.0.0", "static_assertions", ] [[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +name = "sp-block-builder" +version = "4.0.0-dev" dependencies = [ - "integer-sqrt", - "num-traits", + "sp-api 4.0.0-dev", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-blockchain" +version = "4.0.0-dev" +dependencies = [ + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "schnellru", + "sp-api 4.0.0-dev", + "sp-consensus", + "sp-database", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "thiserror", +] + +[[package]] +name = "sp-consensus-aura" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-consensus-slots", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-timestamp 4.0.0-dev", +] + +[[package]] +name = "sp-consensus-babe" +version = "0.10.0-dev" +dependencies = [ + "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-consensus-slots", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] -name = "sp-arithmetic" -version = "16.0.0" +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "integer-sqrt", - "num-traits", + "lazy_static", "parity-scale-codec", "scale-info", "serde", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", "sp-std 8.0.0", - "static_assertions", + "strum 0.24.1", ] [[package]] -name = "sp-arithmetic" -version = "16.0.0" +name = "sp-consensus-beefy" +version = "4.0.0-dev" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "integer-sqrt", - "num-traits", + "lazy_static", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "static_assertions", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "strum 0.24.1", ] [[package]] -name = "sp-beefy" +name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ + "finality-grandpa", + "log", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-mmr-primitives", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-consensus-slots" +version = "0.10.0-dev" dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", "parity-scale-codec", - "parking_lot", - "primitive-types", - "rand 0.8.5", - "regex", "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", + "sp-std 8.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "array-bytes 4.2.0", "base58", @@ -5635,21 +9359,21 @@ dependencies = [ "log", "merlin 2.0.1", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "primitive-types", "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing 5.0.0", + "sp-debug-derive 5.0.0", + "sp-externalities 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", "ss58-registry", "substrate-bip39", "thiserror", @@ -5667,7 +9391,7 @@ dependencies = [ "bitflags 1.3.2", "blake2", "bounded-collections", - "bs58", + "bs58 0.5.1", "dyn-clonable", "ed25519-zebra", "futures", @@ -5679,13 +9403,13 @@ dependencies = [ "log", "merlin 2.0.1", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "paste", "primitive-types", "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", @@ -5703,97 +9427,23 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "array-bytes 6.2.2", - "arrayvec 0.7.4", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "9.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "blake2b_simd", + "blake2", "byteorder", "digest 0.10.7", "sha2 0.10.8", "sha3 0.10.8", + "sp-std 5.0.0", "twox-hash", ] [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ "blake2b_simd", "byteorder", @@ -5810,18 +9460,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.3 dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "syn 1.0.109", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing 5.0.0", "syn 1.0.109", ] @@ -5831,17 +9470,15 @@ version = "9.0.0" dependencies = [ "quote", "sp-core-hashing 9.0.0", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +name = "sp-database" +version = "4.0.0-dev" dependencies = [ - "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "syn 2.0.60", + "kvdb", + "parking_lot 0.12.2", ] [[package]] @@ -5854,23 +9491,13 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-debug-derive" version = "8.0.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5880,7 +9507,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5890,7 +9517,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkad dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -5900,24 +9527,24 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.3 dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", + "sp-storage 7.0.0", ] [[package]] name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +version = "0.19.0" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 8.0.0", + "sp-storage 13.0.0", ] [[package]] name = "sp-externalities" version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "environmental", "parity-scale-codec", @@ -5932,8 +9559,8 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkad dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0", + "sp-storage 13.0.0", ] [[package]] @@ -5946,17 +9573,6 @@ dependencies = [ "sp-std 8.0.0", ] -[[package]] -name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", -] - [[package]] name = "sp-inherents" version = "4.0.0-dev" @@ -5978,37 +9594,23 @@ dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", "thiserror", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "thiserror", ] @@ -6025,39 +9627,14 @@ dependencies = [ "log", "parity-scale-codec", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-keystore 0.13.0", + "sp-runtime-interface 7.0.0", + "sp-state-machine 0.13.0", + "sp-std 5.0.0", + "sp-tracing 6.0.0", + "sp-trie 7.0.0", "tracing", "tracing-core", ] @@ -6085,30 +9662,6 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "bytes", - "ed25519-dalek 2.1.1", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "tracing", - "tracing-core", -] - [[package]] name = "sp-keyring" version = "24.0.0" @@ -6128,26 +9681,10 @@ dependencies = [ "futures", "merlin 2.0.1", "parity-scale-codec", - "parking_lot", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "parking_lot 0.12.2", + "schnorrkel 0.9.1", + "sp-core 7.0.0", + "sp-externalities 0.13.0", "thiserror", ] @@ -6156,22 +9693,18 @@ name = "sp-keystore" version = "0.27.0" dependencies = [ "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "sp-core 21.0.0", "sp-externalities 0.19.0", "thiserror", ] [[package]] -name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +name = "sp-maybe-compressed-blob" +version = "4.1.0-dev" dependencies = [ - "parity-scale-codec", - "parking_lot", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "thiserror", + "zstd 0.12.4", ] [[package]] @@ -6185,34 +9718,63 @@ dependencies = [ ] [[package]] -name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +name = "sp-mmr-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "frame-metadata 16.0.0", + "ckb-merkle-mountain-range", + "log", "parity-scale-codec", "scale-info", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "serde", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", ] [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ "ckb-merkle-mountain-range", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "thiserror", ] +[[package]] +name = "sp-npos-elections" +version = "4.0.0-dev" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-offchain" +version = "4.0.0-dev" +dependencies = [ + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", +] + [[package]] name = "sp-panic-handler" version = "5.0.0" @@ -6225,8 +9787,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +version = "8.0.0" dependencies = [ "backtrace", "lazy_static", @@ -6236,6 +9797,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "backtrace", "lazy_static", @@ -6253,31 +9815,18 @@ dependencies = [ ] [[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-rpc" +version = "6.0.0" dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", + "rustc-hash", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", ] [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "either", "hash256-std-hasher", @@ -6288,12 +9837,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-application-crypto 7.0.0", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-io 7.0.0", + "sp-std 5.0.0", + "sp-weights 4.0.0", ] [[package]] @@ -6317,28 +9866,6 @@ dependencies = [ "sp-weights 20.0.0", ] -[[package]] -name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", -] - [[package]] name = "sp-runtime-interface" version = "7.0.0" @@ -6348,30 +9875,12 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-externalities 0.13.0", + "sp-runtime-interface-proc-macro 6.0.0", + "sp-std 5.0.0", + "sp-storage 7.0.0", + "sp-tracing 6.0.0", + "sp-wasm-interface 7.0.0", "static_assertions", ] @@ -6392,43 +9901,13 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "static_assertions", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "Inflector", - "proc-macro-crate", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 1.0.109", @@ -6439,87 +9918,49 @@ name = "sp-runtime-interface-proc-macro" version = "11.0.0" dependencies = [ "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.60", -] - -[[package]] -name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.61", ] [[package]] -name = "sp-staking" +name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" dependencies = [ + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "serde", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 7.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -6530,51 +9971,52 @@ dependencies = [ "hash-db 0.15.2", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-externalities 0.13.0", + "sp-panic-handler 5.0.0", + "sp-std 5.0.0", + "sp-trie 7.0.0", "thiserror", "tracing", ] [[package]] name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +version = "0.28.0" dependencies = [ - "hash-db 0.15.2", + "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", "thiserror", "tracing", + "trie-db 0.27.1", ] [[package]] name = "sp-state-machine" version = "0.28.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "rand 0.8.5", "smallvec", "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-std 8.0.0", "sp-trie 22.0.0", "thiserror", @@ -6590,37 +10032,50 @@ dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "rand 0.8.5", "smallvec", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-panic-handler 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0", + "sp-trie 22.0.0", "thiserror", "tracing", "trie-db 0.27.1", ] [[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-statement-store" +version = "4.0.0-dev" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.2", + "ed25519-dalek 2.1.1", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sha2 0.10.8", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "thiserror", + "x25519-dalek 2.0.1", +] [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" - -[[package]] -name = "sp-std" -version = "8.0.0" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" [[package]] name = "sp-storage" @@ -6631,21 +10086,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", ] [[package]] @@ -6660,19 +10102,6 @@ dependencies = [ "sp-std 8.0.0", ] -[[package]] -name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", -] - [[package]] name = "sp-timestamp" version = "4.0.0-dev" @@ -6692,23 +10121,8 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.3 dependencies = [ "parity-scale-codec", "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures-timer", - "log", - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", + "sp-runtime 7.0.0", + "sp-std 5.0.0", ] [[package]] @@ -6717,19 +10131,7 @@ version = "6.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", "tracing", "tracing-core", "tracing-subscriber", @@ -6749,55 +10151,40 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0", "tracing", "tracing-core", "tracing-subscriber", ] [[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-transaction-pool" +version = "4.0.0-dev" dependencies = [ - "ahash 0.8.5", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", "hash-db 0.15.2", "hashbrown 0.12.3", "lazy_static", "memory-db 0.31.0", "nohash-hasher", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core 7.0.0", + "sp-std 5.0.0", "thiserror", "tracing", "trie-db 0.24.0", @@ -6808,14 +10195,14 @@ dependencies = [ name = "sp-trie" version = "22.0.0" dependencies = [ - "ahash 0.8.5", + "ahash 0.8.11", "hash-db 0.16.0", "hashbrown 0.13.2", "lazy_static", "memory-db 0.32.0", "nohash-hasher", "parity-scale-codec", - "parking_lot", + "parking_lot 0.12.2", "scale-info", "schnellru", "sp-core 21.0.0", @@ -6826,29 +10213,6 @@ dependencies = [ "trie-root 0.18.0", ] -[[package]] -name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "ahash 0.8.5", - "hash-db 0.16.0", - "hashbrown 0.13.2", - "lazy_static", - "memory-db 0.32.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "thiserror", - "tracing", - "trie-db 0.27.1", - "trie-root 0.18.0", -] - [[package]] name = "sp-version" version = "5.0.0" @@ -6859,27 +10223,10 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-core-hashing-proc-macro 5.0.0", + "sp-runtime 7.0.0", + "sp-std 5.0.0", + "sp-version-proc-macro 4.0.0-dev", "thiserror", ] @@ -6899,23 +10246,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-version-proc-macro 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "thiserror", -] - [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" @@ -6927,36 +10257,14 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-version-proc-macro" -version = "8.0.0" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.60", -] - [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -6967,20 +10275,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "wasmi", - "wasmtime 1.0.2", -] - -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-std 5.0.0", "wasmi", "wasmtime 1.0.2", ] @@ -6997,19 +10292,6 @@ dependencies = [ "wasmtime 8.0.1", ] -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "wasmtime 8.0.1", -] - [[package]] name = "sp-weights" version = "4.0.0" @@ -7019,25 +10301,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", + "sp-arithmetic 6.0.0", + "sp-core 7.0.0", + "sp-debug-derive 5.0.0", + "sp-std 5.0.0", ] [[package]] @@ -7055,33 +10322,26 @@ dependencies = [ ] [[package]] -name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0", -] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] -name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spinners" +version = "4.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "lazy_static", + "maplit", + "strum 0.24.1", ] [[package]] @@ -7128,7 +10388,6 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "bounded-collections", "derivative", @@ -7138,8 +10397,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "xcm-procedural 1.0.0", + "sp-weights 20.0.0", + "xcm-procedural", ] [[package]] @@ -7148,19 +10407,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra 0.27.1", - "num-traits", - "rand 0.8.5", -] - [[package]] name = "strum" version = "0.24.1" @@ -7202,22 +10448,110 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel", + "schnorrkel 0.11.4", "sha2 0.9.9", "zeroize", ] +[[package]] +name = "substrate-bridge-app" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rlp", + "rustc-hex", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "substrate-bridge-channel" +version = "0.1.1" +dependencies = [ + "bridge-types", + "ethabi", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "log", + "once_cell", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "rlp", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "substrate-prometheus-endpoint" +version = "0.10.0-dev" +dependencies = [ + "hyper", + "log", + "prometheus", + "thiserror", + "tokio", +] + +[[package]] +name = "substrate-rpc-client" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "async-trait", + "jsonrpsee", + "log", + "sc-rpc-api", + "serde", + "sp-runtime 24.0.0", +] + +[[package]] +name = "substrate-wasm-builder" +version = "5.0.0-dev" +dependencies = [ + "ansi_term", + "build-helper", + "cargo_metadata", + "filetime", + "parity-wasm", + "sp-maybe-compressed-blob", + "strum 0.24.1", + "tempfile", + "toml 0.7.8", + "walkdir", + "wasm-opt", +] + [[package]] name = "subtle" version = "2.4.1" @@ -7237,9 +10571,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.60" +version = "2.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" +checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" dependencies = [ "proc-macro2", "quote", @@ -7258,6 +10592,27 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "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" @@ -7277,7 +10632,7 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -7296,6 +10651,18 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "tempfile" +version = "3.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +dependencies = [ + "cfg-if", + "fastrand 2.1.0", + "rustix 0.38.34", + "windows-sys 0.52.0", +] + [[package]] name = "termcolor" version = "1.4.1" @@ -7305,24 +10672,30 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "termtree" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" + [[package]] name = "thiserror" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -7335,6 +10708,37 @@ dependencies = [ "once_cell", ] +[[package]] +name = "time" +version = "0.3.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +dependencies = [ + "num-conv", + "time-core", +] + [[package]] name = "tiny-bip39" version = "1.0.0" @@ -7385,8 +10789,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" dependencies = [ "backtrace", - "pin-project-lite", + "bytes", + "libc", + "mio", + "num_cpus", + "parking_lot 0.12.2", + "pin-project-lite 0.2.14", + "socket2 0.5.7", "tokio-macros", + "windows-sys 0.48.0", ] [[package]] @@ -7397,7 +10808,53 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", +] + +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand 0.8.5", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.12", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +dependencies = [ + "futures-core", + "pin-project-lite 0.2.14", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.7.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +dependencies = [ + "bytes", + "futures-core", + "futures-io", + "futures-sink", + "pin-project-lite 0.2.14", + "tokio", ] [[package]] @@ -7409,6 +10866,18 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.19.15", +] + [[package]] name = "toml" version = "0.8.12" @@ -7418,7 +10887,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.22.12", ] [[package]] @@ -7430,6 +10899,30 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] + [[package]] name = "toml_edit" version = "0.22.12" @@ -7440,16 +10933,40 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.8", +] + +[[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-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.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "pin-project-lite", + "log", + "pin-project-lite 0.2.14", "tracing-attributes", "tracing-core", ] @@ -7462,7 +10979,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -7525,7 +11042,7 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -7543,6 +11060,18 @@ dependencies = [ "sp-std 8.0.0", ] +[[package]] +name = "trading-pair-runtime-api" +version = "0.1.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + [[package]] name = "trie-db" version = "0.24.0" @@ -7587,6 +11116,58 @@ dependencies = [ "hash-db 0.16.0", ] +[[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", + "data-encoding", + "enum-as-inner", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.2.3", + "ipnet", + "lazy_static", + "rand 0.8.5", + "smallvec", + "socket2 0.4.10", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" +dependencies = [ + "cfg-if", + "futures-util", + "ipconfig", + "lazy_static", + "lru-cache", + "parking_lot 0.12.2", + "resolv-conf", + "smallvec", + "thiserror", + "tokio", + "tracing", + "trust-dns-proto", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + [[package]] name = "tt-call" version = "1.0.9" @@ -7644,12 +11225,52 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-width" +version = "0.1.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" + [[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.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + +[[package]] +name = "unsigned-varint" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" +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 = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + [[package]] name = "url" version = "2.5.0" @@ -7657,7 +11278,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", - "idna", + "idna 0.5.0", "percent-encoding", ] @@ -7673,6 +11294,12 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" +[[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" @@ -7688,12 +11315,13 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex", "hex-literal", "itertools", + "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", @@ -7715,11 +11343,30 @@ dependencies = [ "technical", ] +[[package]] +name = "vested-rewards-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" + [[package]] name = "waker-fn" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" +checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" [[package]] name = "walkdir" @@ -7731,6 +11378,15 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + [[package]] name = "wasi" version = "0.9.0+wasi-snapshot-preview1" @@ -7764,7 +11420,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "wasm-bindgen-shared", ] @@ -7798,7 +11454,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -7809,6 +11465,70 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +[[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.114.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "effbef3bd1dde18acb401f73e740a6f3d4a1bc651e9773bddc512fe4d8d68f67" +dependencies = [ + "anyhow", + "libc", + "strum 0.24.1", + "strum_macros 0.24.3", + "tempfile", + "thiserror", + "wasm-opt-cxx-sys", + "wasm-opt-sys", +] + +[[package]] +name = "wasm-opt-cxx-sys" +version = "0.114.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c09e24eb283919ace2ed5733bda4842a59ce4c8de110ef5c6d98859513d17047" +dependencies = [ + "anyhow", + "cxx", + "cxx-build", + "wasm-opt-sys", +] + +[[package]] +name = "wasm-opt-sys" +version = "0.114.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36f2f817bed2e8d65eb779fa37317e74de15585751f903c9118342d1970703a4" +dependencies = [ + "anyhow", + "cc", + "cxx", + "cxx-build", +] + +[[package]] +name = "wasm-timer" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" +dependencies = [ + "futures", + "js-sys", + "parking_lot 0.11.2", + "pin-utils", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "wasmi" version = "0.13.2" @@ -7902,9 +11622,12 @@ dependencies = [ "once_cell", "paste", "psm", + "rayon", "serde", "target-lexicon", "wasmparser 0.102.0", + "wasmtime-cache", + "wasmtime-cranelift", "wasmtime-environ 8.0.1", "wasmtime-jit 8.0.1", "wasmtime-runtime 8.0.1", @@ -7929,6 +11652,63 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-cache" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" +dependencies = [ + "anyhow", + "base64 0.21.7", + "bincode", + "directories-next", + "file-per-thread-logger", + "log", + "rustix 0.36.17", + "serde", + "sha2 0.10.8", + "toml 0.5.11", + "windows-sys 0.45.0", + "zstd 0.11.2+zstd.1.5.2", +] + +[[package]] +name = "wasmtime-cranelift" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-entity 0.95.1", + "cranelift-frontend", + "cranelift-native", + "cranelift-wasm", + "gimli 0.27.3", + "log", + "object 0.30.4", + "target-lexicon", + "thiserror", + "wasmparser 0.102.0", + "wasmtime-cranelift-shared", + "wasmtime-environ 8.0.1", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +dependencies = [ + "anyhow", + "cranelift-codegen", + "cranelift-native", + "gimli 0.27.3", + "object 0.30.4", + "target-lexicon", + "wasmtime-environ 8.0.1", +] + [[package]] name = "wasmtime-environ" version = "1.0.2" @@ -8009,6 +11789,7 @@ dependencies = [ "serde", "target-lexicon", "wasmtime-environ 8.0.1", + "wasmtime-jit-debug 8.0.1", "wasmtime-jit-icache-coherence", "wasmtime-runtime 8.0.1", "windows-sys 0.45.0", @@ -8029,7 +11810,9 @@ version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ + "object 0.30.4", "once_cell", + "rustix 0.36.17", ] [[package]] @@ -8125,6 +11908,43 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webpki" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" +dependencies = [ + "ring 0.17.8", + "untrusted 0.9.0", +] + +[[package]] +name = "webpki-roots" +version = "0.22.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" +dependencies = [ + "webpki", +] + +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.34", +] + [[package]] name = "wide" version = "0.7.17" @@ -8135,6 +11955,12 @@ dependencies = [ "safe_arch", ] +[[package]] +name = "widestring" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" + [[package]] name = "winapi" version = "0.3.9" @@ -8166,6 +11992,25 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +dependencies = [ + "windows-core 0.51.1", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-core" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +dependencies = [ + "windows-targets 0.48.5", +] + [[package]] name = "windows-core" version = "0.52.0" @@ -8438,6 +12283,15 @@ version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + [[package]] name = "winnow" version = "0.6.8" @@ -8447,6 +12301,16 @@ dependencies = [ "memchr", ] +[[package]] +name = "winreg" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "wyz" version = "0.5.1" @@ -8457,41 +12321,54 @@ dependencies = [ ] [[package]] -name = "xcm" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +name = "x25519-dalek" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" dependencies = [ - "derivative", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", + "curve25519-dalek 3.2.0", + "rand_core 0.5.1", + "zeroize", +] + +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek 4.1.2", + "rand_core 0.6.4", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "xcm-procedural 0.9.38", + "zeroize", ] [[package]] -name = "xcm-procedural" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +name = "x509-parser" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 1.0.109", + "asn1-rs", + "base64 0.13.1", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror", + "time", ] [[package]] name = "xcm-procedural" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -8500,32 +12377,71 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", + "orml-currencies", + "orml-tokens", + "orml-traits", + "pallet-balances", + "pallet-session", + "pallet-timestamp 4.0.0-dev", + "pallet-transaction-payment", + "parity-scale-codec", + "permissions", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", +] + +[[package]] +name = "xst" +version = "1.0.1" +dependencies = [ + "assets", + "band", + "ceres-liquidity-locker", + "common 0.1.0", + "demeter-farming-platform", + "dex-api", + "dex-manager", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", + "hex-literal", + "log", + "mock-liquidity-source", + "oracle-proxy", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-session", "pallet-timestamp 4.0.0-dev", - "pallet-transaction-payment", "parity-scale-codec", "permissions", + "pool-xyk", + "price-tools", + "pswap-distribution", "scale-info", "serde", - "smallvec", "sp-arithmetic 16.0.0", "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", "sp-std 8.0.0", + "technical", + "trading-pair", ] [[package]] -name = "xst" -version = "1.0.1" +name = "xst-benchmarking" +version = "0.1.0" dependencies = [ "assets", "band", @@ -8534,6 +12450,7 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", + "frame-benchmarking 4.0.0-dev", "frame-support 4.0.0-dev", "frame-system 4.0.0-dev", "hex-literal", @@ -8541,7 +12458,6 @@ dependencies = [ "oracle-proxy", "orml-currencies", "orml-tokens", - "orml-traits", "pallet-balances", "pallet-timestamp 4.0.0-dev", "parity-scale-codec", @@ -8550,34 +12466,56 @@ dependencies = [ "price-tools", "pswap-distribution", "scale-info", - "serde", - "sp-arithmetic 16.0.0", "sp-core 21.0.0", "sp-io 23.0.0", "sp-runtime 24.0.0", "sp-std 8.0.0", "technical", "trading-pair", + "xst", +] + +[[package]] +name = "yamux" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" +dependencies = [ + "futures", + "log", + "nohash-hasher", + "parking_lot 0.12.2", + "rand 0.8.5", + "static_assertions", +] + +[[package]] +name = "yasna" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" +dependencies = [ + "time", ] [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] [[package]] @@ -8597,172 +12535,117 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.61", ] -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" -source = "git+https://github.com/sora-xor//sora2-common.git?tag=1.0.24#cfedc198af9f89463f91c55d9fdd174082391dc0" - -[[patch.unused]] -name = "frame-election-provider-support" -version = "4.0.0-dev" - -[[patch.unused]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" - -[[patch.unused]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-aura" -version = "4.0.0-dev" +[[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 5.0.2+zstd.1.5.2", +] -[[patch.unused]] -name = "pallet-authorship" -version = "4.0.0-dev" +[[package]] +name = "zstd" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +dependencies = [ + "zstd-safe 6.0.6", +] -[[patch.unused]] -name = "pallet-babe" -version = "4.0.0-dev" +[[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", +] -[[patch.unused]] -name = "pallet-bags-list" -version = "4.0.0-dev" +[[package]] +name = "zstd-safe" +version = "6.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +dependencies = [ + "libc", + "zstd-sys", +] -[[patch.unused]] -name = "pallet-collective" -version = "4.0.0-dev" +[[package]] +name = "zstd-sys" +version = "2.0.10+zstd.1.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +dependencies = [ + "cc", + "pkg-config", +] [[patch.unused]] -name = "pallet-democracy" +name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" +name = "sc-basic-authorship" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" +name = "sc-cli" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-grandpa" -version = "4.0.0-dev" +name = "sc-consensus-aura" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-identity" -version = "4.0.0-dev" +name = "sc-consensus-babe" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-im-online" -version = "4.0.0-dev" +name = "sc-consensus-slots" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" +name = "sc-informant" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-membership" +name = "sc-rpc" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-offences" -version = "4.0.0-dev" +name = "sc-service" +version = "0.10.0-dev" [[patch.unused]] -name = "pallet-preimage" +name = "sc-transaction-pool" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-session" +name = "substrate-frame-rpc-system" version = "4.0.0-dev" [[patch.unused]] -name = "pallet-staking" -version = "4.0.0-dev" +name = "try-runtime-cli" +version = "0.10.0-dev" [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -[[patch.unused]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-utility" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-basic-authorship" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-chain-spec" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-cli" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-client-api" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-consensus-aura" version = "0.10.0-dev" @@ -8775,90 +12658,34 @@ version = "0.10.0-dev" name = "sc-consensus-slots" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-executor" -version = "0.10.0-dev" - [[patch.unused]] name = "sc-informant" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-network" -version = "0.10.0-dev" - [[patch.unused]] name = "sc-rpc" version = "4.0.0-dev" -[[patch.unused]] -name = "sc-rpc-api" -version = "0.10.0-dev" - [[patch.unused]] name = "sc-service" version = "0.10.0-dev" -[[patch.unused]] -name = "sc-telemetry" -version = "4.0.0-dev" - [[patch.unused]] name = "sc-transaction-pool" version = "4.0.0-dev" -[[patch.unused]] -name = "sp-block-builder" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-blockchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sp-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" - -[[patch.unused]] -name = "sp-npos-elections" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-offchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-rpc" -version = "6.0.0" - -[[patch.unused]] -name = "sp-session" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-transaction-pool" -version = "4.0.0-dev" - [[patch.unused]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" [[patch.unused]] -name = "substrate-prometheus-endpoint" +name = "try-runtime-cli" version = "0.10.0-dev" [[patch.unused]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" +name = "beefy-light-client-rpc" +version = "0.1.0" [[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" +name = "leaf-provider-rpc" +version = "0.1.0" diff --git a/__Cargo.lock b/__Cargo.lock deleted file mode 100644 index 42b2be1fa8..0000000000 --- a/__Cargo.lock +++ /dev/null @@ -1,8452 +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.3", -] - -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli 0.28.1", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "version_check", -] - -[[package]] -name = "ahash" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" -dependencies = [ - "cfg-if", - "getrandom 0.2.15", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[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.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" - -[[package]] -name = "approx" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" -dependencies = [ - "num-traits", -] - -[[package]] -name = "aquamarine" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" -dependencies = [ - "include_dir", - "itertools", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-bls12-381" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-ec" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" -dependencies = [ - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", - "itertools", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ff" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" -dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", - "derivative", - "digest 0.10.7", - "itertools", - "num-bigint", - "num-traits", - "paste", - "rustc_version", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-poly" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", -] - -[[package]] -name = "ark-scale" -version = "0.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", -] - -[[package]] -name = "ark-scale" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "ark-transcript", - "digest 0.10.7", - "rand_core 0.6.4", - "zeroize", -] - -[[package]] -name = "ark-serialize" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" -dependencies = [ - "ark-serialize-derive", - "ark-std", - "digest 0.10.7", - "num-bigint", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-std" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3 0.10.8", -] - -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - -[[package]] -name = "array-bytes" -version = "6.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" - -[[package]] -name = "arrayref" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" - -[[package]] -name = "arrayvec" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" -dependencies = [ - "nodrop", -] - -[[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.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" - -[[package]] -name = "assets" -version = "1.3.1" -dependencies = [ - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "tiny-keccak", -] - -[[package]] -name = "async-attributes" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "async-channel" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -dependencies = [ - "concurrent-queue", - "event-listener 2.5.3", - "futures-core", -] - -[[package]] -name = "async-channel" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" -dependencies = [ - "concurrent-queue", - "event-listener 5.3.0", - "event-listener-strategy 0.5.2", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-executor" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" -dependencies = [ - "async-task", - "concurrent-queue", - "fastrand 2.1.0", - "futures-lite 2.3.0", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" -dependencies = [ - "async-channel 2.2.1", - "async-executor", - "async-io 2.3.2", - "async-lock 3.3.0", - "blocking", - "futures-lite 2.3.0", - "once_cell", -] - -[[package]] -name = "async-io" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" -dependencies = [ - "async-lock 3.3.0", - "cfg-if", - "concurrent-queue", - "futures-io", - "futures-lite 2.3.0", - "parking", - "polling 3.7.0", - "rustix 0.38.34", - "slab", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", -] - -[[package]] -name = "async-lock" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" -dependencies = [ - "event-listener 4.0.3", - "event-listener-strategy 0.4.0", - "pin-project-lite", -] - -[[package]] -name = "async-process" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" -dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", - "async-signal", - "blocking", - "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.34", - "windows-sys 0.48.0", -] - -[[package]] -name = "async-signal" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" -dependencies = [ - "async-io 2.3.2", - "async-lock 3.3.0", - "atomic-waker", - "cfg-if", - "futures-core", - "futures-io", - "rustix 0.38.34", - "signal-hook-registry", - "slab", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-attributes", - "async-channel 1.9.0", - "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", - "async-process", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite 1.13.0", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" - -[[package]] -name = "async-trait" -version = "0.1.80" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - -[[package]] -name = "autocfg" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" - -[[package]] -name = "backtrace" -version = "0.3.71" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" -dependencies = [ - "addr2line 0.21.0", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object 0.32.2", - "rustc-demangle", -] - -[[package]] -name = "band" -version = "1.0.1" -dependencies = [ - "common 0.1.0", - "fallible-iterator 0.3.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "oracle-proxy", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "xst", -] - -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-scale 0.0.12", - "ark-serialize", - "ark-std", - "dleq_vrf", - "fflonk", - "merlin 3.0.0", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring", - "sha2 0.10.8", - "zeroize", -] - -[[package]] -name = "base16ct" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" - -[[package]] -name = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - -[[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.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" - -[[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.7", -] - -[[package]] -name = "blake2-rfc" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" -dependencies = [ - "arrayvec 0.4.12", - "constant_time_eq 0.1.5", -] - -[[package]] -name = "blake2b_simd" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", -] - -[[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 = [ - "block-padding 0.2.1", - "generic-array 0.14.7", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array 0.14.7", -] - -[[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 = "blocking" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" -dependencies = [ - "async-channel 2.2.1", - "async-lock 3.3.0", - "async-task", - "futures-io", - "futures-lite 2.3.0", - "piper", -] - -[[package]] -name = "bounded-collections" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" -dependencies = [ - "log", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "bridge-channel" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "ethabi", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "once_cell", - "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "bridge-proxy" -version = "0.1.0" -dependencies = [ - "assets", - "bridge-channel", - "bridge-types", - "common 0.1.0", - "dispatch", - "evm-fungible-app", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-keyring", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", - "technical", -] - -[[package]] -name = "bridge-types" -version = "0.1.0" -dependencies = [ - "derivative", - "ethabi", - "ethash", - "ethbloom", - "ethereum-types", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "getrandom 0.2.15", - "hex-literal", - "libsecp256k1", - "orml-traits", - "parity-bytes", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-consensus-beefy", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", -] - -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "bumpalo" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[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 = "bytemuck" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "bytes" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" - -[[package]] -name = "cc" -version = "1.0.97" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" - -[[package]] -name = "ceres-governance-platform" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-governance-platform", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "ceres-liquidity-locker" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "ceres-staking" -version = "1.0.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "ceres-token-locker" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[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-expr" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" -dependencies = [ - "smallvec", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "num-traits", - "windows-targets 0.52.5", -] - -[[package]] -name = "ckb-merkle-mountain-range" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "common" -version = "0.1.0" -dependencies = [ - "blake2-rfc", - "bridge-types", - "env_logger", - "fixnum", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "libsecp256k1", - "num-traits", - "orml-currencies", - "orml-traits", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "paste", - "rustc-hex", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "static_assertions", - "strum 0.25.0", - "thiserror", -] - -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "fflonk", - "merlin 3.0.0", -] - -[[package]] -name = "common-path" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" - -[[package]] -name = "concurrent-queue" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "const-random" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" -dependencies = [ - "const-random-macro", -] - -[[package]] -name = "const-random-macro" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "tiny-keccak", -] - -[[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.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" - -[[package]] -name = "core-foundation-sys" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" - -[[package]] -name = "cpp_demangle" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "cpufeatures" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" -dependencies = [ - "libc", -] - -[[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-entity" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" -dependencies = [ - "serde", -] - -[[package]] -name = "crc32fast" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" - -[[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.7", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-bigint" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" -dependencies = [ - "generic-array 0.14.7", - "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.7", - "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.7", - "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.7", - "subtle", -] - -[[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.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" -dependencies = [ - "cfg-if", - "cpufeatures", - "curve25519-dalek-derive", - "digest 0.10.7", - "fiat-crypto", - "platforms", - "rustc_version", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "demeter-farming-platform" -version = "1.0.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "der" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "der" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive-syn-parse" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive-syn-parse" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "dex-api" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.25.0", - "technical", -] - -[[package]] -name = "dex-manager" -version = "0.2.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[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.7", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer 0.10.4", - "const-oid", - "crypto-common", - "subtle", -] - -[[package]] -name = "dispatch" -version = "0.1.1" -dependencies = [ - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-scale 0.0.10", - "ark-secret-scalar", - "ark-serialize", - "ark-std", - "ark-transcript", - "arrayvec 0.7.4", - "rand_core 0.6.4", - "zeroize", -] - -[[package]] -name = "docify" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" -dependencies = [ - "docify_macros", -] - -[[package]] -name = "docify_macros" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" -dependencies = [ - "common-path", - "derive-syn-parse 0.2.0", - "once_cell", - "proc-macro2", - "quote", - "regex", - "syn 2.0.61", - "termcolor", - "toml", - "walkdir", -] - -[[package]] -name = "downcast-rs" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" - -[[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 1.0.109", -] - -[[package]] -name = "dyn-clone" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" - -[[package]] -name = "ecdsa" -version = "0.14.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" -dependencies = [ - "der 0.6.1", - "elliptic-curve 0.12.3", - "rfc6979 0.3.1", - "signature 1.6.4", -] - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" -dependencies = [ - "der 0.7.9", - "digest 0.10.7", - "elliptic-curve 0.13.8", - "rfc6979 0.4.0", - "signature 2.2.0", - "spki 0.7.3", -] - -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - -[[package]] -name = "ed25519" -version = "2.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" -dependencies = [ - "signature 2.2.0", -] - -[[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 1.5.3", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "ed25519-dalek" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" -dependencies = [ - "curve25519-dalek 4.1.2", - "ed25519 2.2.3", - "sha2 0.10.8", - "subtle", -] - -[[package]] -name = "ed25519-dalek-iroha" -version = "1.0.1" -source = "git+https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git?branch=develop#11f9bb453fe208f83840dd6ddb4d05afdb0c1fde" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "sha3 0.9.1", - "zeroize", -] - -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" - -[[package]] -name = "elliptic-curve" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" -dependencies = [ - "base16ct 0.1.1", - "crypto-bigint 0.4.9", - "der 0.6.1", - "digest 0.10.7", - "ff 0.12.1", - "generic-array 0.14.7", - "group 0.12.1", - "rand_core 0.6.4", - "sec1 0.3.0", - "subtle", - "zeroize", -] - -[[package]] -name = "elliptic-curve" -version = "0.13.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" -dependencies = [ - "base16ct 0.2.0", - "crypto-bigint 0.5.5", - "digest 0.10.7", - "ff 0.13.0", - "generic-array 0.14.7", - "group 0.13.0", - "pkcs8 0.10.2", - "rand_core 0.6.4", - "sec1 0.7.3", - "subtle", - "zeroize", -] - -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "environmental" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[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" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[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 = "eth-bridge" -version = "0.2.0" -dependencies = [ - "assets", - "async-std", - "bridge-types", - "common 0.1.0", - "env_logger", - "ethabi", - "ethabi-contract", - "ethabi-derive", - "ethereum-types", - "frame-benchmarking 4.0.0-dev", - "frame-executive", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "jsonrpc-core", - "libsecp256k1", - "once_cell", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-multisig 3.2.3", - "pallet-scheduler", - "pallet-sudo", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "parity-util-mem", - "parking_lot", - "permissions", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "serde_json", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-std 8.0.0", - "tiny-keccak", - "tokio", -] - -[[package]] -name = "ethabi" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" -dependencies = [ - "ethereum-types", - "hex", - "once_cell", - "regex", - "serde", - "serde_json", - "sha3 0.10.8", - "thiserror", - "uint", -] - -[[package]] -name = "ethabi-contract" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" - -[[package]] -name = "ethabi-derive" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" -dependencies = [ - "ethabi", - "heck", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ethash" -version = "0.6.0" -source = "git+https://github.com/sora-xor/ethash.git?branch=sora-v1.6.0#e08609468f3ff60fecf6a0643d121db43793e137" -dependencies = [ - "byteorder", - "ethereum-types", - "rlp", - "sha3 0.10.8", -] - -[[package]] -name = "ethbloom" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethereum-types" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "primitive-types", - "scale-info", - "uint", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener-strategy" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.3", - "pin-project-lite", -] - -[[package]] -name = "event-listener-strategy" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" -dependencies = [ - "event-listener 5.3.0", - "pin-project-lite", -] - -[[package]] -name = "evm-fungible-app" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "dispatch", - "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "expander" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" -dependencies = [ - "blake2", - "fs-err", - "prettier-please", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[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 = "fallible-iterator" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" - -[[package]] -name = "farming" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "env_logger", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-scheduler", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "rustc-hex", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fastrand" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" - -[[package]] -name = "faucet" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "rewards", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[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 = "ff" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "merlin 3.0.0", -] - -[[package]] -name = "fiat-crypto" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" - -[[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 = "fixnum" -version = "0.6.0" -source = "git+https://github.com/sora-xor/fixnum?branch=sora-v2.1.0#db1163310fa150ea4d5f5ce5204cf44447ae9a70" -dependencies = [ - "derive_more", - "parity-scale-codec", - "scale-info", - "serde", - "static_assertions", - "typenum", -] - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-support-procedural 4.0.0-dev", - "frame-system 4.0.0-dev", - "linregress 0.5.3", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "static_assertions", -] - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "linregress 0.4.4", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "frame-executive" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", -] - -[[package]] -name = "frame-metadata" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-metadata" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -dependencies = [ - "aquamarine", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev", - "impl-trait-for-tuples", - "k256 0.13.3", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-core-hashing-proc-macro 9.0.0", - "sp-debug-derive 8.0.0", - "sp-genesis-builder", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-weights 20.0.0", - "static_assertions", - "tt-call", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bitflags 1.3.2", - "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tt-call", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bitflags 1.3.2", - "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-inherents 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-staking 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tt-call", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "cfg-expr 0.15.8", - "derive-syn-parse 0.1.5", - "expander", - "frame-support-procedural-tools 4.0.0-dev", - "itertools", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "cfg-expr 0.10.3", - "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "Inflector", - "cfg-expr 0.10.3", - "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -dependencies = [ - "cfg-if", - "frame-support 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version 22.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-executor" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", - "num_cpus", -] - -[[package]] -name = "futures-io" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - -[[package]] -name = "futures-lite" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" -dependencies = [ - "fastrand 2.1.0", - "futures-core", - "futures-io", - "parking", - "pin-project-lite", -] - -[[package]] -name = "futures-macro" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "futures-sink" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" - -[[package]] -name = "futures-task" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" - -[[package]] -name = "futures-util" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[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.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", - "zeroize", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "getrandom_or_panic" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" -dependencies = [ - "fallible-iterator 0.2.0", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.27.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" -dependencies = [ - "fallible-iterator 0.2.0", - "indexmap 1.9.3", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" - -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff 0.13.0", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - -[[package]] -name = "hash-db" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" - -[[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 0.7.8", -] - -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash 0.8.11", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermes-governance-platform" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-governance-platform", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hermes-governance-platform", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] - -[[package]] -name = "hex-literal" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" - -[[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.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.7", -] - -[[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.7", - "hmac 0.8.1", -] - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "iana-time-zone" -version = "0.1.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows-core", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[package]] -name = "idna" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[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-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - -[[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 1.0.109", -] - -[[package]] -name = "include_dir" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" -dependencies = [ - "include_dir_macros", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", - "serde", -] - -[[package]] -name = "indexmap" -version = "2.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" -dependencies = [ - "equivalent", - "hashbrown 0.14.5", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[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 = "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.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "iroha-migration" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "ed25519-dalek-iroha", - "eth-bridge", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-multisig 4.0.0-dev", - "parity-scale-codec", - "parity-util-mem", - "permissions", - "referrals", - "scale-info", - "serde", - "sha3 0.9.1", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "is-terminal" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.52.0", -] - -[[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.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "js-sys" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "jsonrpc-core" -version = "17.0.0" -source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" -dependencies = [ - "futures", - "log", - "serde", - "serde_derive", - "serde_json", -] - -[[package]] -name = "k256" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" -dependencies = [ - "cfg-if", - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - -[[package]] -name = "k256" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" -dependencies = [ - "cfg-if", - "ecdsa 0.16.9", - "elliptic-curve 0.13.8", - "once_cell", - "sha2 0.10.8", -] - -[[package]] -name = "keccak" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.154" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" - -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - -[[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 = "linregress" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" -dependencies = [ - "nalgebra 0.27.1", - "statrs", -] - -[[package]] -name = "linregress" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" -dependencies = [ - "nalgebra 0.32.5", -] - -[[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 = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" -dependencies = [ - "value-bag", -] - -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - -[[package]] -name = "macro_magic" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" -dependencies = [ - "macro_magic_core", - "macro_magic_macros", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "macro_magic_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" -dependencies = [ - "const-random", - "derive-syn-parse 0.1.5", - "macro_magic_core_macros", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "macro_magic_core_macros" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "macro_magic_macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" -dependencies = [ - "macro_magic_core", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata 0.1.10", -] - -[[package]] -name = "matrixmultiply" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" -dependencies = [ - "autocfg", - "rawpointer", -] - -[[package]] -name = "memchr" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" - -[[package]] -name = "memfd" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" -dependencies = [ - "rustix 0.38.34", -] - -[[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.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -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 0.15.2", - "hashbrown 0.12.3", -] - -[[package]] -name = "memory-db" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" -dependencies = [ - "hash-db 0.16.0", -] - -[[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 = "merlin" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.6.4", - "zeroize", -] - -[[package]] -name = "miniz_oxide" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" -dependencies = [ - "adler", -] - -[[package]] -name = "mock-liquidity-source" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "multicollateral-bonding-curve-pool" -version = "0.3.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "nalgebra" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" -dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.1.0", - "num-complex", - "num-rational", - "num-traits", - "rand 0.8.5", - "rand_distr", - "simba 0.5.1", - "typenum", -] - -[[package]] -name = "nalgebra" -version = "0.32.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" -dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros 0.2.1", - "num-complex", - "num-rational", - "num-traits", - "simba 0.8.1", - "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 1.0.109", -] - -[[package]] -name = "nalgebra-macros" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - -[[package]] -name = "nohash-hasher" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" - -[[package]] -name = "num-bigint" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c6602fda94a57c990fe0df199a035d83576b496aa29f4e634a8ac6004e68a6" -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.4", - "itoa", -] - -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "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.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "crc32fast", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "memchr", -] - -[[package]] -name = "object" -version = "0.30.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" -dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", -] - -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" - -[[package]] -name = "oracle-proxy" -version = "1.0.0" -dependencies = [ - "band", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", -] - -[[package]] -name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-balances" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-multisig" -version = "3.2.3" -source = "git+https://github.com/soramitsu/sora2-frame-pallets.git?branch=polkadot-v0.9.38#9762e3948a5823a312df658862c2d2311267d6aa" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-multisig" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-scheduler" -version = "4.0.0-dev" -dependencies = [ - "docify", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "pallet-session" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "impl-trait-for-tuples", - "log", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", -] - -[[package]] -name = "pallet-sudo" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-transaction-payment" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "parity-bytes" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" - -[[package]] -name = "parity-scale-codec" -version = "3.6.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" -dependencies = [ - "arrayvec 0.7.4", - "bitvec", - "byte-slice-cast", - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.6.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" -dependencies = [ - "proc-macro-crate 2.0.2", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "impl-trait-for-tuples", - "parity-util-mem-derive", - "primitive-types", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure", -] - -[[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.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" - -[[package]] -name = "parking_lot" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets 0.52.5", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[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.7", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "permissions" -version = "1.1.0" -dependencies = [ - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "piper" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" -dependencies = [ - "atomic-waker", - "fastrand 2.1.0", - "futures-io", -] - -[[package]] -name = "pkcs8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" -dependencies = [ - "der 0.6.1", - "spki 0.6.0", -] - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der 0.7.9", - "spki 0.7.3", -] - -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] - -[[package]] -name = "polling" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" -dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi", - "pin-project-lite", - "rustix 0.38.34", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "pool-xyk" -version = "1.2.0" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "num-traits", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "xst", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "prettier-please" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" -dependencies = [ - "proc-macro2", - "syn 2.0.61", -] - -[[package]] -name = "price-tools" -version = "1.0.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "primitive-types" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit 0.19.15", -] - -[[package]] -name = "proc-macro-crate" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" -dependencies = [ - "toml_datetime", - "toml_edit 0.20.2", -] - -[[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 1.0.109", - "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-warning" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "proc-macro2" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "psm" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" -dependencies = [ - "cc", -] - -[[package]] -name = "pswap-distribution" -version = "1.1.1" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "quote" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -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.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.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.15", -] - -[[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 = "rawpointer" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" - -[[package]] -name = "redox_syscall" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" -dependencies = [ - "bitflags 2.5.0", -] - -[[package]] -name = "ref-cast" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "referrals" -version = "1.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "regex" -version = "1.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.3", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" - -[[package]] -name = "rewards" -version = "1.3.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "libsecp256k1", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" -dependencies = [ - "crypto-bigint 0.4.9", - "hmac 0.12.1", - "zeroize", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac 0.12.1", - "subtle", -] - -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", - "fflonk", - "merlin 3.0.0", -] - -[[package]] -name = "rlp" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" -dependencies = [ - "bytes", - "rustc-hex", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[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", -] - -[[package]] -name = "rustix" -version = "0.35.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" -dependencies = [ - "bitflags 1.3.2", - "errno 0.2.8", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", -] - -[[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", -] - -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" -dependencies = [ - "bitflags 2.5.0", - "errno 0.3.8", - "libc", - "linux-raw-sys 0.4.13", - "windows-sys 0.52.0", -] - -[[package]] -name = "rustversion" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "safe_arch" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" -dependencies = [ - "bytemuck", -] - -[[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 = "scale-info" -version = "2.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c453e59a955f81fb62ee5d596b450383d699f152d350e9d23a0db2adb78e4c0" -dependencies = [ - "bitvec", - "cfg-if", - "derive_more", - "parity-scale-codec", - "scale-info-derive", - "serde", -] - -[[package]] -name = "scale-info-derive" -version = "2.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18cf6c6447f813ef19eb450e985bcce6705f9ce7660db221b59093d15c79c4b7" -dependencies = [ - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "schnellru" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" -dependencies = [ - "ahash 0.8.11", - "cfg-if", - "hashbrown 0.13.2", -] - -[[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 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle", - "zeroize", -] - -[[package]] -name = "schnorrkel" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "curve25519-dalek 4.1.2", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_core 0.6.4", - "sha2 0.10.8", - "subtle", - "zeroize", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "sec1" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" -dependencies = [ - "base16ct 0.1.1", - "der 0.6.1", - "generic-array 0.14.7", - "pkcs8 0.9.0", - "subtle", - "zeroize", -] - -[[package]] -name = "sec1" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct 0.2.0", - "der 0.7.9", - "generic-array 0.14.7", - "pkcs8 0.10.2", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" -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 = "semver" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" - -[[package]] -name = "serde" -version = "1.0.200" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_bytes" -version = "0.11.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_derive" -version = "1.0.200" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "serde_json" -version = "1.0.116" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_spanned" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" -dependencies = [ - "serde", -] - -[[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", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] - -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.1", -] - -[[package]] -name = "sha3" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" -dependencies = [ - "digest 0.10.7", - "keccak", -] - -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest 0.10.7", - "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 = "simba" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" -dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", - "wide", -] - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "blake2", - "expander", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "blake2", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-application-crypto" -version = "23.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "16.0.0" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0", - "static_assertions", -] - -[[package]] -name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.24.1", -] - -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - -[[package]] -name = "sp-core" -version = "21.0.0" -dependencies = [ - "array-bytes 6.2.2", - "arrayvec 0.7.4", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 9.0.0", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "syn 1.0.109", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "syn 1.0.109", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -dependencies = [ - "quote", - "sp-core-hashing 9.0.0", - "syn 2.0.61", -] - -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.1.0" -dependencies = [ - "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-keystore 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "23.0.0" -dependencies = [ - "bytes", - "ed25519-dalek 2.1.1", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime-interface 17.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie 22.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-keyring" -version = "24.0.0" -dependencies = [ - "lazy_static", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "strum 0.24.1", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "futures", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "schnorrkel 0.9.1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "async-trait", - "futures", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot", - "schnorrkel 0.9.1", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.27.0" -dependencies = [ - "parity-scale-codec", - "parking_lot", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "thiserror", -] - -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -dependencies = [ - "frame-metadata 16.0.0", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-weights 4.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-runtime" -version = "24.0.0" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-storage 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-tracing 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-wasm-interface 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "17.0.0" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-session" -version = "4.0.0-dev" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "parking_lot", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "parking_lot", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-externalities 0.13.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-panic-handler 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-trie 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", -] - -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" - -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" - -[[package]] -name = "sp-std" -version = "8.0.0" - -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-storage" -version = "13.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "10.0.0" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", -] - -[[package]] -name = "sp-trie" -version = "22.0.0" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.16.0", - "hashbrown 0.13.2", - "lazy_static", - "memory-db 0.32.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot", - "scale-info", - "schnellru", - "sp-core 21.0.0", - "sp-std 8.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", - "trie-root 0.18.0", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-version-proc-macro 4.0.0-dev (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "22.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 9.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version-proc-macro 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-version-proc-macro" -version = "8.0.0" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "wasmi", - "wasmtime 1.0.2", -] - -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "wasmi", - "wasmtime 1.0.2", -] - -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0", - "wasmtime 8.0.1", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38#b12c8d200054c92586ec33f5dfc5d0e109958004" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-debug-derive 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", - "sp-std 5.0.0 (git+https://github.com/sora-xor/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "sp-weights" -version = "20.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0", -] - -[[package]] -name = "spki" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" -dependencies = [ - "base64ct", - "der 0.6.1", -] - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der 0.7.9", -] - -[[package]] -name = "ss58-registry" -version = "1.47.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" -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 = "staging-xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "bounded-collections", - "derivative", - "environmental", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "xcm-procedural", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra 0.27.1", - "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" -dependencies = [ - "strum_macros 0.24.3", -] - -[[package]] -name = "strum" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" -dependencies = [ - "strum_macros 0.25.3", -] - -[[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 1.0.109", -] - -[[package]] -name = "strum_macros" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.61", -] - -[[package]] -name = "substrate-bip39" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" -dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.11.4", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" -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 1.0.109", - "unicode-xid", -] - -[[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.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" - -[[package]] -name = "technical" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "twox-hash", -] - -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "thiserror" -version = "1.0.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[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.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.37.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" -dependencies = [ - "backtrace", - "pin-project-lite", - "tokio-macros", -] - -[[package]] -name = "tokio-macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "toml" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.20.2", -] - -[[package]] -name = "toml_datetime" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow", -] - -[[package]] -name = "toml_edit" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" -dependencies = [ - "indexmap 2.2.6", - "serde", - "serde_spanned", - "toml_datetime", - "winnow", -] - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" -dependencies = [ - "log", - "once_cell", - "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", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", -] - -[[package]] -name = "trading-pair" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "trie-db" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" -dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", - "log", - "rustc-hex", - "smallvec", -] - -[[package]] -name = "trie-db" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" -dependencies = [ - "hash-db 0.16.0", - "hashbrown 0.13.2", - "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 0.15.2", -] - -[[package]] -name = "trie-root" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" -dependencies = [ - "hash-db 0.16.0", -] - -[[package]] -name = "tt-call" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" - -[[package]] -name = "twox-hash" -version = "1.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" -dependencies = [ - "cfg-if", - "digest 0.10.7", - "rand 0.8.5", - "static_assertions", -] - -[[package]] -name = "typenum" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" - -[[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 = "unicode-bidi" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unicode-normalization" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-xid" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" - -[[package]] -name = "url" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "value-bag" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "vested-rewards" -version = "1.2.1" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "itertools", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "serde_bytes", - "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "waker-fn" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[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.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.61", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" - -[[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", - "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 1.9.3", -] - -[[package]] -name = "wasmparser" -version = "0.102.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" -dependencies = [ - "indexmap 1.9.3", - "url", -] - -[[package]] -name = "wasmtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "object 0.29.0", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.89.1", - "wasmtime-environ 1.0.2", - "wasmtime-jit 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "object 0.30.4", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.102.0", - "wasmtime-environ 8.0.1", - "wasmtime-jit 8.0.1", - "wasmtime-runtime 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-environ" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" -dependencies = [ - "anyhow", - "cranelift-entity 0.88.2", - "gimli 0.26.2", - "indexmap 1.9.3", - "log", - "object 0.29.0", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.89.1", - "wasmtime-types 1.0.2", -] - -[[package]] -name = "wasmtime-environ" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" -dependencies = [ - "anyhow", - "cranelift-entity 0.95.1", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.102.0", - "wasmtime-types 8.0.1", -] - -[[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", - "cpp_demangle", - "gimli 0.26.2", - "log", - "object 0.29.0", - "rustc-demangle", - "rustix 0.35.16", - "serde", - "target-lexicon", - "thiserror", - "wasmtime-environ 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-jit" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" -dependencies = [ - "addr2line 0.19.0", - "anyhow", - "bincode", - "cfg-if", - "cpp_demangle", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", - "serde", - "target-lexicon", - "wasmtime-environ 8.0.1", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" -dependencies = [ - "once_cell", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" -dependencies = [ - "once_cell", -] - -[[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", -] - -[[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", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.16", - "thiserror", - "wasmtime-asm-macros 1.0.2", - "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-runtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" -dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset 0.8.0", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros 8.0.1", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-types" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" -dependencies = [ - "cranelift-entity 0.88.2", - "serde", - "thiserror", - "wasmparser 0.89.1", -] - -[[package]] -name = "wasmtime-types" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" -dependencies = [ - "cranelift-entity 0.95.1", - "serde", - "thiserror", - "wasmparser 0.102.0", -] - -[[package]] -name = "web-sys" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "wide" -version = "0.7.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0e39d2c603fdc0504b12b458cf1f34e0b937ed2f4f2dc20796e3e86f34e11f" -dependencies = [ - "bytemuck", - "safe_arch", -] - -[[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.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" -dependencies = [ - "windows-sys 0.52.0", -] - -[[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-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.5", -] - -[[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 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.5", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" -dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" - -[[package]] -name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] - -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - -[[package]] -name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "xor-fee" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-session", - "pallet-timestamp 4.0.0-dev", - "pallet-transaction-payment", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "xst" -version = "1.0.1" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "zerocopy" -version = "0.7.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "zeroize" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[patch.unused]] -name = "frame-election-provider-support" -version = "4.0.0-dev" - -[[patch.unused]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" - -[[patch.unused]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-aura" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-authorship" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-babe" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-bags-list" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-collective" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-democracy" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" - -[[patch.unused]] -name = "pallet-grandpa" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-identity" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-im-online" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-membership" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-offences" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-preimage" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-staking" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-utility" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-chain-spec" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-client-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-executor" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-informant" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-network" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-rpc-api" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-service" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-telemetry" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-block-builder" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-blockchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sp-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" - -[[patch.unused]] -name = "sp-npos-elections" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-offchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-rpc" -version = "6.0.0" - -[[patch.unused]] -name = "sp-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" - -[[patch.unused]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" - -[[patch.unused]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" - -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "beefy-light-client" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-common" -version = "0.1.0" - -[[patch.unused]] -name = "bridge-data-signer" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider" -version = "0.1.1" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-runtime-api" -version = "0.1.0" - -[[patch.unused]] -name = "multisig-verifier" -version = "0.1.0" - -[[patch.unused]] -name = "parachain-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-app" -version = "0.1.1" - -[[patch.unused]] -name = "substrate-bridge-channel" -version = "0.1.1" - -[[patch.unused]] -name = "frame-election-provider-support" -version = "4.0.0-dev" - -[[patch.unused]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" - -[[patch.unused]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-aura" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-authorship" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-babe" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-bags-list" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-collective" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-democracy" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" - -[[patch.unused]] -name = "pallet-grandpa" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-identity" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-im-online" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-membership" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-offences" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-preimage" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-staking" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "pallet-utility" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-chain-spec" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-client-api" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-executor" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-informant" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-network" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-rpc-api" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-service" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-telemetry" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-block-builder" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-blockchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sp-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" - -[[patch.unused]] -name = "sp-npos-elections" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-offchain" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sp-rpc" -version = "6.0.0" - -[[patch.unused]] -name = "sp-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" - -[[patch.unused]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" - -[[patch.unused]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" - -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index d8bdf6333c..3ce3981c89 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -4,47 +4,52 @@ version = "3.3.0" authors = ["Parity Technologies "] edition = "2021" -# [dependencies] -# codec = { package = "parity-scale-codec", version = "3", features = [ -# "derive", -# "chain-error", -# ] } -# frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# hex-literal = "0.4.1" +[dependencies] +codec = { package = "parity-scale-codec", version = "3", features = [ + "derive", + "chain-error", +] } +frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +hex-literal = "0.4.1" # sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } - -# serde = { version = "1.0.101", features = ["derive"] } -# serde_json = "1.0.61" - -# # bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } - -# common = { path = "../../common" } -# faucet = { path = "../../pallets/faucet", optional = true } -# framenode-runtime = { path = "../../runtime" } -# iroha-migration = { path = "../../pallets/iroha-migration" } -# order-book = { path = "../../pallets/order-book" } -# permissions = { path = "../../pallets/permissions" } -# rewards = { path = "../../pallets/rewards" } -# technical = { path = "../../pallets/technical" } -# xor-fee = { path = "../../pallets/xor-fee" } - -# [dev-dependencies] -# common = { path = "../../common", features = ["test"] } - -# [features] +# sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", package = "finality-grandpa" } +sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } + +serde = { version = "1.0.101", features = ["derive"] } +serde_json = "1.0.61" + +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } + +common = { path = "../../common" } +faucet = { path = "../../pallets/faucet", optional = true } +framenode-runtime = { path = "../../runtime" } +iroha-migration = { path = "../../pallets/iroha-migration" } +order-book = { path = "../../pallets/order-book" } +permissions = { path = "../../pallets/permissions" } +rewards = { path = "../../pallets/rewards" } +technical = { path = "../../pallets/technical" } +xor-fee = { path = "../../pallets/xor-fee" } + +[dev-dependencies] +common = { path = "../../common", features = ["test"] } + +[features] # include-real-files = [] # main-net-coded = [] # test = ["common/test"] +test = [] # private-net = ["faucet", "framenode-runtime/private-net"] +private-net = [] # wip = ["framenode-runtime/wip"] +wip = [] +ready-to-test = [] # ready-to-test = ["framenode-runtime/ready-to-test"] diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 75df54f3e5..f561486d2c 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -1,2541 +1,2541 @@ -// This file is part of the SORA network and Polkaswap app. - -// Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. -// SPDX-License-Identifier: BSD-4-Clause - -// Redistribution and use in source and binary forms, with or without modification, -// are permitted provided that the following conditions are met: - -// Redistributions of source code must retain the above copyright notice, this list -// of conditions and the following disclaimer. -// Redistributions in binary form must reproduce the above copyright notice, this -// list of conditions and the following disclaimer in the documentation and/or other -// materials provided with the distribution. -// -// All advertising materials mentioning features or use of this software must display -// the following acknowledgement: This product includes software developed by Polka Biome -// Ltd., SORA, and Polkaswap. -// -// Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used -// to endorse or promote products derived from this software without specific prior written permission. - -// THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, -// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY -// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Tips: -// * not(feature = "private-net") means "main net", however, given that "main net" is the default -// option and Cargo doesn't provide any way to disable "main net" if any "private net" is -// specified, we have to rely on such constructions. - -#![allow(unused_imports, unused_macros, dead_code)] -// TODO #167: fix clippy warnings -#![allow(clippy::all)] - -use common::prelude::{Balance, DEXInfo, FixedWrapper}; -use common::{ - balance, fixed, hash, our_include, our_include_bytes, vec_push, BalancePrecision, DEXId, Fixed, - TechPurpose, APOLLO_ASSET_ID, DAI, DEFAULT_BALANCE_PRECISION, ETH, HERMES_ASSET_ID, KEN, KUSD, - PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, -}; -use frame_support::sp_runtime::Percent; -use framenode_runtime::eth_bridge::{AssetConfig, BridgeAssetData, NetworkConfig}; -use framenode_runtime::multicollateral_bonding_curve_pool::{ - DistributionAccount, DistributionAccountData, DistributionAccounts, -}; -use framenode_runtime::opaque::SessionKeys; -#[cfg(feature = "wip")] -use framenode_runtime::BridgeOutboundChannelConfig; -use framenode_runtime::{ - assets, eth_bridge, frame_system, AccountId, AssetId, AssetName, AssetSymbol, AssetsConfig, - BabeConfig, BalancesConfig, BeefyConfig, BeefyId, BridgeMultisigConfig, CouncilConfig, - DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GenesisConfig, - GetBaseAssetId, GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, - GetValAssetId, GetXorAssetId, GrandpaConfig, ImOnlineId, IrohaMigrationConfig, - LiquiditySourceType, MulticollateralBondingCurvePoolConfig, PermissionsConfig, - PswapDistributionConfig, RewardsConfig, Runtime, SS58Prefix, SessionConfig, Signature, - StakerStatus, StakingConfig, SystemConfig, TechAccountId, TechnicalCommitteeConfig, - TechnicalConfig, TokensConfig, TradingPair, TradingPairConfig, XSTPoolConfig, WASM_BINARY, -}; - -use hex_literal::hex; -use permissions::Scope; -use sc_finality_grandpa::AuthorityId as GrandpaId; -use sc_network_common::config::MultiaddrWithPeerId; -use sc_service::{ChainType, Properties}; -use sp_consensus_aura::sr25519::AuthorityId as AuraId; -use sp_consensus_babe::AuthorityId as BabeId; -use sp_core::crypto::ByteArray; -use sp_core::{Public, H160, H256, U256}; -use sp_runtime::sp_std::iter::once; -use sp_runtime::traits::Zero; -use sp_runtime::{BuildStorage, Perbill}; -use std::str::FromStr; - -use codec::Encode; -use framenode_runtime::assets::{AssetRecord, AssetRecordArg}; -#[cfg(feature = "private-net")] -use framenode_runtime::{FaucetConfig, SudoConfig}; -use sp_core::{sr25519, Pair}; -use sp_runtime::traits::{IdentifyAccount, Verify}; -use std::borrow::Cow; - -/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -pub type ChainSpec = sc_service::GenericChainSpec; -type Technical = technical::Pallet; -type AccountPublic = ::Signer; - -/// Helper function to generate a crypto pair from seed -fn get_from_seed(seed: &str) -> ::Public { - TPublic::Pair::from_string(&format!("//{}", seed), None) - .expect("static values are valid; qed") - .public() -} - -/// Helper function to generate an account ID from seed -fn get_account_id_from_seed(seed: &str) -> AccountId -where - AccountPublic: From<::Public>, -{ - AccountPublic::from(get_from_seed::(seed)).into_account() -} - -/// Generate an Babe authority key. -pub fn authority_keys_from_seed( - seed: &str, -) -> ( - AccountId, - AccountId, - AuraId, - BabeId, - GrandpaId, - ImOnlineId, - BeefyId, -) { - ( - get_account_id_from_seed::(&format!("{}//stash", seed)), - get_account_id_from_seed::(seed), - get_from_seed::(seed), - get_from_seed::(seed), - get_from_seed::(seed), - get_from_seed::(seed), - get_from_seed::(seed), - ) -} - -pub fn authority_keys_from_public_keys( - stash_address: [u8; 32], - controller_address: [u8; 32], - sr25519_key: [u8; 32], - ed25519_key: [u8; 32], - ecdsa_key: [u8; 33], -) -> ( - AccountId, - AccountId, - AuraId, - BabeId, - GrandpaId, - ImOnlineId, - BeefyId, -) { - ( - stash_address.into(), - controller_address.into(), - AuraId::from_slice(&sr25519_key).unwrap(), - BabeId::from_slice(&sr25519_key).unwrap(), - GrandpaId::from_slice(&ed25519_key).unwrap(), - ImOnlineId::from_slice(&sr25519_key).unwrap(), - BeefyId::from_slice(&ecdsa_key).unwrap(), - ) -} - -fn session_keys( - grandpa: GrandpaId, - babe: BabeId, - im_online: ImOnlineId, - beefy: BeefyId, -) -> SessionKeys { - SessionKeys { - babe, - grandpa, - im_online, - beefy, - } -} - -struct EthBridgeParams { - xor_master_contract_address: H160, - xor_contract_address: H160, - val_master_contract_address: H160, - val_contract_address: H160, - bridge_contract_address: H160, -} - -fn calculate_reserves(accounts: impl Iterator) -> Balance { - accounts.fold(0, |sum, balance| sum + balance) -} - -pub fn staging_net() -> Result { - ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_staging.json")[..]) -} - -pub fn bridge_staging_net() -> Result { - ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_bridge_staging.json")[..]) -} - -pub fn test_net() -> Result { - ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_test.json")[..]) -} - -pub fn main_net() -> Result { - ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_main.json")[..]) -} - -#[cfg(feature = "private-net")] -pub fn predev_net_coded() -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - ChainSpec::from_genesis( - "SORA-predev Testnet", - "sora-substrate-predev", - ChainType::Development, - move || { - testnet_genesis( - true, - hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), - vec![ - authority_keys_from_public_keys( - hex!("28d3bdf388ac911afa8e6c4394eafaa42d1cdf438ed1128086b1f7d666c5335e"), - hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), - hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), - hex!("9fcd1a31681bff3ca3ac195c11ba8fb0fb6bce3eb61c7cfecf4e4273ea5970af"), - hex!("02b702b6684a4d93a2c1044e7f8c1e5b42fd4ae24fc2ea571347b45665898de590"), - ), - authority_keys_from_public_keys( - hex!("e0be466ddaabaf864b9dd54905f5e0d410c23265fe4e7925ce2a675f371b8274"), - hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), - hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), - hex!("5749c1e8b7a87bd114c3b151eb899feccedbcf6c439c1d7dda0fc29c7179d51c"), - hex!("03b91512a19d2433c0d4c51c4c31f56e553c5ebfb30c82a0c3573e96377f7e6baf"), - ), - authority_keys_from_public_keys( - hex!("c0b48c43b9911da9cb1f2a1ea78ab88c34fe6d27e642f141389986b7276c442b"), - hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), - hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), - hex!("244266d4ced385b782e35c2e5b45db1d5988e5f8abf9b7085d8a52b9b3f642a4"), - hex!("024a5b7eefee22145c704a71b303d96532ec28736a0e841fd498a73ab325c48c8e"), - ), - ], - vec![ - hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), - hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), - hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), - hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), - hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), - hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), - hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), - hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), - hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), - hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), - hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), - ], - vec![ - hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), - hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), - hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), - ], - EthBridgeParams { - xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") - .into(), - xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), - val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") - .into(), - val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), - bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") - .into(), - }, - vec![ - hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), - hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), - hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), - hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), - hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), - hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), - ], - vec![ - hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), - hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), - hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), - ], - 3, - ) - }, - vec![], - None, - Some("sora-substrate-predev"), - None, - Some(properties), - None, - ) -} - -#[cfg(feature = "private-net")] -pub fn dev_net_coded() -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - ChainSpec::from_genesis( - "SORA-dev Testnet", - "sora-substrate-dev", - ChainType::Development, - move || { - testnet_genesis( - true, - hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), - vec![ - authority_keys_from_public_keys( - hex!("349b061381fe1e47b5dd18061f7c7f76801b41dc9c6afe0b2c4c65e0171c8b35"), - hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), - hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), - hex!("0ced48eb19e0e2809a769c35a64264c3dd39f3aa0ff132aa7caaa6730ad31f57"), - hex!("032001ac7aab973536274d6903d5108f2a18114f6b8eaf63a94b10eda40831b8e9"), - ), - authority_keys_from_public_keys( - hex!("5e7df6d78fb252ecfe5e2c516a145671b9c64ee7b733a3c128af27d76e2fe74c"), - hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), - hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), - hex!("c75a2ed4012a61cf05ec6eecc4b83faedcf6a781111cc61f8e9a23ad2810bb5e"), - hex!("032773c06f08f6a0bcb6d1e2487c4ab60ea9e6e90227f686115cc75de06149aca0"), - ), - authority_keys_from_public_keys( - hex!("baa98b9fde4fc1c983998798536a63ab70b3c365ce3870dd84a230cb19093004"), - hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), - hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), - hex!("4be870c72a1ac412a5c239d701b5dd62a9e030899943faad55b48eb2c7c9dc2a"), - hex!("031b4b72dc354abf2efa3ba17d27907a0ef73de252719e8b5953f568a86eca9a18"), - ), - // authority_keys_from_public_keys( - // hex!("4eb0f6225cef84a0285a54916625846e50d86526bdece448894af0ac87792956"), - // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), - // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), - // hex!("8061f3a75ef96a0d840d84cec5d42bcad43f882efdcf93b30a60c7bac6c894c1"), - // hex!("03cafa6f45bfad692c66ff5b8b3f24f826802f4dd863b31821fc05832cad3e8389"), - // ), - // authority_keys_from_public_keys( - // hex!("22a886a8f0a0ddd031518a2bc567585b0046d02d7aacbdb058857b42da40444b"), - // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), - // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), - // hex!("86320cd87cbe2881cdf3515d3a72d833099d61b4c38266437366e3b143f8835b"), - // hex!("0249197248076adbd30b1e162c6ec6517ed552b1f63f1f102efa6fc57c892d4f03"), - // ), - // authority_keys_from_public_keys( - // hex!("20a0225a3cafe2d5e9813025e3f1a2d9a3e50f44528ecc3bed01c13466e33316"), - // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), - // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), - // hex!("15c652e559703197d10997d04df0081918314b77b8475d74002adaca0f3b634d"), - // hex!("026b0e88acde2c1e83b22c1638bd41d4c70464e6b9dc2434a731adc97f3d16c677"), - // ), - ], - vec![ - hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), - hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), - hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), - hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), - hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), - hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), - hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), - hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), - hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), - hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), - hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), - ], - vec![ - hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), - hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), - hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), - ], - EthBridgeParams { - xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") - .into(), - xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), - val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") - .into(), - val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), - bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") - .into(), - }, - vec![ - hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), - hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), - hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), - hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), - hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), - hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), - ], - vec![ - hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), - hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), - hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), - ], - 3, - ) - }, - vec![], - None, - Some("sora-substrate-dev"), - None, - Some(properties), - None, - ) -} - -#[cfg(feature = "private-net")] -pub fn bridge_dev_net_coded() -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - ChainSpec::from_genesis( - "SORA-dev Testnet", - "sora-substrate-dev", - ChainType::Live, - move || { - testnet_genesis( - true, - hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), - vec![ - authority_keys_from_public_keys( - // scheme: sr25519, seed: //framenode-1//stash - hex!("38c2970a9988caff722c140726f53ea0b0f654254dbf3f472b1ac5efd3aace35"), - // scheme: sr25519, seed: //framenode-1 - hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), - // scheme: sr25519, seed: //framenode-1 - hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), - // scheme: ed25519, seed: //framenode-1 - hex!("4e84eeed48dd52d45f599a549edecf2a135f8045de32c6a801086b1e1fb251c9"), - // scheme: ecdsa, seed: //framenode-1 - hex!("03c8833ad1ed110cdfee2ef838a0fc2b830a8aa821711aa4ab5b679e2624173cbb"), - ), - authority_keys_from_public_keys( - // scheme: sr25519, seed: //framenode-2//stash - hex!("36c75c50a04c792f7074453bc3080c4166a60a81361cc2d5e436a0a83f3cf643"), - // scheme: sr25519, seed: //framenode-2 - hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), - // scheme: sr25519, seed: //framenode-2 - hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), - // scheme: ed25519, seed: //framenode-2 - hex!("2d67d9d22097d2f6f74a4076bece0b97ee3809916b0a6e234a3e27b5fabaa84f"), - // scheme: ecdsa, seed: //framenode-2 - hex!("03629d2d9aaf8c09637b2cd1696d6d65bb632e1fe2489e45e0f3538176c3c58300"), - ), - ], - vec![ - hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), - hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), - hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), - hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), - hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), - hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), - hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), - hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), - hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), - hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), - hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), - hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), - ], - vec![ - hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), - hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), - ], - EthBridgeParams { - xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") - .into(), - xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), - val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") - .into(), - val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), - bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") - .into(), - }, - vec![ - hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), - hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), - hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), - hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), - hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), - hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), - ], - vec![ - hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), - hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), - hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), - ], - 2, - ) - }, - vec![], - None, - Some("sora-substrate-dev"), - None, - Some(properties), - None, - ) -} - -#[cfg(feature = "private-net")] -pub fn bridge_staging_net_coded() -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - let protocol = "sora-substrate-bridge-staging"; - ChainSpec::from_genesis( - "SORA-bridge Testnet", - "sora-substrate-bridge", - ChainType::Live, - move || { - let eth_bridge_params = EthBridgeParams { - xor_master_contract_address: Default::default(), - xor_contract_address: Default::default(), - val_master_contract_address: Default::default(), - val_contract_address: Default::default(), - bridge_contract_address: Default::default(), - }; - testnet_genesis( - false, - hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), - vec![ - authority_keys_from_public_keys( - hex!("ee806e5ed183345d5986ea31d93aa1afc6cbe48f128ac864e158d51f5ccda538"), - hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), - hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), - hex!("55b2663327d8143b45a666c904c1a6621ae2d77604cabfcd3431fd0b975de480"), - hex!("034405a66d5b3aa47946ee49ad23c8ef1dfabcbbc99ea30d6abe8cebe16d3561ef"), - ), - authority_keys_from_public_keys( - hex!("628a21efe6c21f41d6e04b313ac779a74870dbba27ab404d921d2f09467e5258"), - hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), - hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), - hex!("311646bc40d9b5ec724ff2deebeba9ff0d1866dd0d8f2db371dd2e5fc7ecf462"), - hex!("03ec5ede1a45c754093a878d87ff30b28f6e9594a8b0e03e0a8b3ec6db7846e6a6"), - ), - authority_keys_from_public_keys( - hex!("ce36d1ac5e9d8da1f2e0a4f8a26b102394dd35c352e2b960f56168cc10478c3c"), - hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), - hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), - hex!("9448e9b714635de2158d1d7e2413c6f844793db970e76b3af40622325355e510"), - hex!("031d86e31c78bcc4350e781961216d44f36550d8c8826a3805bb9915a79386018d"), - ), - // authority_keys_from_public_keys( - // hex!("4e7ffd5823ea6ee8c0b4d69e9104cf375cbe63f0d13175d31a02fbed76393448"), - // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), - // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), - // hex!("9ad0bfa8282b9b1b324ee394e5335e0e98c3722653f45f61535d65b9514c6f7c"), - // hex!("0268ec544e1cf933f2ac54de6362930ee0c7a571ad87809cd72b4ce93dcf14f8bb"), - // ), - // authority_keys_from_public_keys( - // hex!("b4ea29407e2dc0dfde55e7e823db250f3165a02d794c3672bd32c64278cbc13f"), - // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), - // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), - // hex!("f694905813600d496d05bd9d12487498e7ed4716ee65a60f667e5535bfe43c36"), - // hex!("03e5181b1c9acec5aed73e8c14e3104792c722caadcfcb9a813edaf7fe0613e86d"), - // ), - // authority_keys_from_public_keys( - // hex!("284b92d3cfa7bfdffb5a905c8f9e2bdc38315a9f45f13267ab285632684ab709"), - // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), - // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), - // hex!("99bac188e04592d31059c612c386106393d2c2103747c8da3badeee0fc130627"), - // hex!("03367a1882741e54b7ddf082f1a23173a92f38f66897000b7689d6552e5397e4d2"), - // ), - ], - vec![], - vec![], - eth_bridge_params, - vec![ - hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), - hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), - hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), - hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), - hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), - hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), - ], - vec![ - hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), - hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), - hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), - ], - 69, - ) - }, - vec![], - None, - Some(protocol), - None, - Some(properties), - None, - ) -} - -/// # Parameters -/// * `test` - indicates if the chain spec is to be used in test environment -#[cfg(feature = "private-net")] -pub fn staging_net_coded(test: bool) -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - let (name, id, boot_nodes) = if test { - ( - "SORA-test", - "sora-substrate-test", - vec![ - MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWSG3eJ9LXNyhzUzkzqjhT3Jv35vak9zLTHTsoTiqU4mxW").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWCfkMa5ATWfa8Edn3Lx71tfZwTU8X532Qx8jbtBnyvXyD").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWCKC4hDHz8AxnacYg7CmeDPJL8MuJxGYHUBFZ4BjZYcCy").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWRo4T2RxgLs1ej61g788kbYR3obU4fHu4GEfeQNEPGD2Y").unwrap(), - ] - ) - } else { - ( - "SORA-staging Testnet", - "sora-substrate-staging", - vec![ - MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWQf9AXopgwHsfKCweXtuePnWKieythwNa7AFwNfyemcjX").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWGXhnvgvUwbU831p19sy2gEdPbusN1B8P8ShuKi4JfLDH").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWBwZmMTKQ37dEKAR3oxcuH9YFpzUdGRTbQcKgXLEmyhob").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWExRdWV2CAF8oEyMYiXc9NABu8mmYLdXLtTNjjt1WjqAC").unwrap(), - MultiaddrWithPeerId::from_str("/dns/s3.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWCN5ZRsK9FekLLD7vSkyoh99bXZ9uXgLpd7zEVWmD5ySH").unwrap(), - ] - ) - }; - let protocol = if test { - "sora-substrate-test" - } else { - "sora-substrate-staging" - }; - ChainSpec::from_genesis( - name, - id, - ChainType::Live, - move || { - let eth_bridge_params = if test { - EthBridgeParams { - xor_master_contract_address: hex!("09F9c9165A00f9FF3d69cc292848E93f39C50a42") - .into(), - xor_contract_address: hex!("9826Ecfcd937C4518E1C42B3703c7CB908B61197").into(), - val_master_contract_address: hex!("517e5DfF04CAD3c81171Dec46Ef9407fbf31b2C5") - .into(), - val_contract_address: hex!("88eE18dEfC56D78417B0d331e794EF75799cA6D1").into(), - bridge_contract_address: hex!("10Ce25aE3B05c9Ba860D5aD3544ca62565E7A184") - .into(), - } - } else { - EthBridgeParams { - xor_master_contract_address: hex!("cceb41100aa2a9a6f144d7c1f876070b810bf7ae") - .into(), - xor_contract_address: hex!("dc1c024535118f6de6d999c23fc31e33bc2cafc9").into(), - val_master_contract_address: hex!("d7f81ed173cb3af28f983670164df30851fba678") - .into(), - val_contract_address: hex!("725c6b8cd3621eba4e0ccc40d532e7025b925a65").into(), - bridge_contract_address: hex!("077c2ec37d28709ce01ae740209bfbe185bd1eaa") - .into(), - } - }; - testnet_genesis( - false, - hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), - vec![ - authority_keys_from_public_keys( - hex!("dce47ff231d43281e03dd21e5890db128176d9ee20e65da331d8ae0b64863779"), - hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), - hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), - hex!("51d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), - hex!("0251d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), - ), - authority_keys_from_public_keys( - hex!("2a57402736d2b5ada9ee900e506a84436556470de7abd382031e1d90b182bd48"), - hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), - hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), - hex!("f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), - hex!("02f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), - ), - authority_keys_from_public_keys( - hex!("e493667f399170b28f3b2db4b9f28dbbabbc5da5fc21114e076768fc3c539002"), - hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), - hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), - hex!("b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), - hex!("02b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), - ), - authority_keys_from_public_keys( - hex!("00e8f3ad6566b446834f5361d0ed98aca3ab0c59848372f87546897345f9456f"), - hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), - hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), - hex!("04bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), - hex!("0204bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), - ), - authority_keys_from_public_keys( - hex!("621067638b1d90bfd52450c0569b5318b283bc4eccfaaf0175adada721a86e17"), - hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), - hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), - hex!("c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), - hex!("02c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), - ), - ], - vec![], - vec![ - hex!("9cbca76054814f05364abf691f9166b1be176d9b399d94dc2d88b6c4bc2b0589").into(), - hex!("3b2e166bca8913d9b88d7a8acdfc54c3fe92c15e347deda6a13c191c6e0cc19c").into(), - ], - eth_bridge_params, - vec![ - hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), - hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), - hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), - hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), - hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), - hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), - ], - vec![ - hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), - hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), - hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), - ], - 69, - ) - }, - boot_nodes, - None, - Some(protocol), - None, - Some(properties), - None, - ) -} - -fn bonding_curve_distribution_accounts( -) -> DistributionAccounts>> { - use common::fixed_wrapper; - use common::prelude::fixnum::ops::One; - let val_holders_coefficient = fixed_wrapper!(0.5); - let val_holders_xor_alloc_coeff = fixed_wrapper!(0.9) * val_holders_coefficient.clone(); - let val_holders_buy_back_coefficient = - val_holders_coefficient.clone() * (fixed_wrapper!(1) - fixed_wrapper!(0.9)); - let projects_coefficient = fixed_wrapper!(1) - val_holders_coefficient; - let projects_sora_citizens_coeff = projects_coefficient.clone() * fixed_wrapper!(0.01); - let projects_stores_and_shops_coeff = projects_coefficient.clone() * fixed_wrapper!(0.04); - let projects_parliament_and_development_coeff = - projects_coefficient.clone() * fixed_wrapper!(0.05); - let projects_other_coeff = projects_coefficient.clone() * fixed_wrapper!(0.9); - - debug_assert_eq!( - Fixed::ONE, - FixedWrapper::get( - val_holders_xor_alloc_coeff.clone() - + projects_sora_citizens_coeff.clone() - + projects_stores_and_shops_coeff.clone() - + projects_parliament_and_development_coeff.clone() - + projects_other_coeff.clone() - + val_holders_buy_back_coefficient.clone() - ) - .unwrap() - ); - - let xor_allocation = DistributionAccountData::new( - DistributionAccount::TechAccount(TechAccountId::Pure( - DEXId::Polkaswap.into(), - TechPurpose::Identifier(b"xor_allocation".to_vec()), - )), - val_holders_xor_alloc_coeff.get().unwrap(), - ); - let sora_citizens = DistributionAccountData::new( - DistributionAccount::TechAccount(TechAccountId::Pure( - DEXId::Polkaswap.into(), - TechPurpose::Identifier(b"sora_citizens".to_vec()), - )), - projects_sora_citizens_coeff.get().unwrap(), - ); - let stores_and_shops = DistributionAccountData::new( - DistributionAccount::TechAccount(TechAccountId::Pure( - DEXId::Polkaswap.into(), - TechPurpose::Identifier(b"stores_and_shops".to_vec()), - )), - projects_stores_and_shops_coeff.get().unwrap(), - ); - let projects = DistributionAccountData::new( - DistributionAccount::TechAccount(TechAccountId::Pure( - DEXId::Polkaswap.into(), - TechPurpose::Identifier(b"projects".to_vec()), - )), - projects_other_coeff.get().unwrap(), - ); - let val_holders = DistributionAccountData::new( - DistributionAccount::TechAccount(TechAccountId::Pure( - DEXId::Polkaswap.into(), - TechPurpose::Identifier(b"val_holders".to_vec()), - )), - val_holders_buy_back_coefficient.get().unwrap(), - ); - DistributionAccounts::<_> { - xor_allocation, - sora_citizens, - stores_and_shops, - projects, - val_holders, - } -} - -#[cfg(feature = "private-net")] -pub fn local_testnet_config(initial_authorities: usize, validator_count: u32) -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - ChainSpec::from_genesis( - "SORA-local Testnet", - "sora-substrate-local", - ChainType::Development, - move || { - testnet_genesis( - false, - get_account_id_from_seed::("Alice"), - vec![ - authority_keys_from_seed("Alice"), - authority_keys_from_seed("Bob"), - authority_keys_from_seed("Charlie"), - authority_keys_from_seed("Dave"), - authority_keys_from_seed("Eve"), - authority_keys_from_seed("Ferdie"), - /* - authority_keys_from_seed("Treasury"), - */ - ] - .into_iter() - .take(initial_authorities) - .collect(), - vec![ - hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), - hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), - hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), - hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), - hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), - hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), - hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), - hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), - hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), - get_account_id_from_seed::("Relayer"), - get_account_id_from_seed::("Relayer//1"), - get_account_id_from_seed::("Relayer//2"), - get_account_id_from_seed::("Relayer//3"), - get_account_id_from_seed::("Relayer//4"), - ], - vec![ - hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), - hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), - hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), - hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), - hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), - hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), - hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), - hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), - hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), - ], - EthBridgeParams { - xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") - .into(), - xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), - val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") - .into(), - val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), - bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") - .into(), - }, - vec![ - hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), - hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), - hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), - hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), - hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), - hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), - ], - vec![ - hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), - hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), - hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), - ], - validator_count, - ) - }, - vec![], - None, - None, - None, - Some(properties), - None, - ) -} - -// Some variables are only changed if faucet is enabled -#[cfg(feature = "private-net")] -fn testnet_genesis( - dev: bool, - root_key: AccountId, - initial_authorities: Vec<( - AccountId, - AccountId, - AuraId, - BabeId, - GrandpaId, - ImOnlineId, - BeefyId, - )>, - endowed_accounts: Vec, - initial_bridge_peers: Vec, - eth_bridge_params: EthBridgeParams, - council_accounts: Vec, - technical_committee_accounts: Vec, - validator_count: u32, -) -> GenesisConfig { - use common::XSTUSD; - - // Initial balances - let initial_staking = balance!(1000000000); - let initial_eth_bridge_xor_amount = balance!(350000); - let initial_eth_bridge_val_amount = balance!(33900000); - let initial_pswap_tbc_rewards = balance!(2500000000); - - let parliament_investment_fund = - hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); - let parliament_investment_fund_balance = balance!(33000000); - - let val_rewards_for_erc20_xor_holders = balance!(33100000); - - // Initial accounts - - let xor_fee_tech_account_id = TechAccountId::Generic( - xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), - xor_fee::TECH_ACCOUNT_MAIN.to_vec(), - ); - let xor_fee_account_id: AccountId = - technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) - .expect("Failed to decode account Id"); - - let eth_bridge_tech_account_id = TechAccountId::Generic( - eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), - eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), - ); - let eth_bridge_account_id = - technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) - .unwrap(); - let eth_bridge_authority_tech_account_id = TechAccountId::Generic( - eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), - eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), - ); - let eth_bridge_authority_account_id = - technical::Pallet::::tech_account_id_to_account_id( - ð_bridge_authority_tech_account_id, - ) - .unwrap(); - - let trustless_eth_bridge_tech_account_id = - framenode_runtime::GetTrustlessBridgeTechAccountId::get(); - let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); - - let trustless_eth_bridge_fees_tech_account_id = - framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); - let trustless_eth_bridge_fees_account_id = - framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); - - let treasury_tech_account_id = framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); - let treasury_account_id = framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); - - let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); - let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); - - let pswap_distribution_tech_account_id = - framenode_runtime::GetPswapDistributionTechAccountId::get(); - let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); - - let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); - let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); - - let mbc_pool_free_reserves_tech_account_id = - framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); - let mbc_pool_free_reserves_account_id = - framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); - - let xst_pool_permissioned_tech_account_id = - framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); - let xst_pool_permissioned_account_id = - framenode_runtime::GetXSTPoolPermissionedAccountId::get(); - - let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); - let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); - - let iroha_migration_tech_account_id = TechAccountId::Generic( - iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), - iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), - ); - let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( - &iroha_migration_tech_account_id, - ) - .unwrap(); - - let rewards_tech_account_id = TechAccountId::Generic( - rewards::TECH_ACCOUNT_PREFIX.to_vec(), - rewards::TECH_ACCOUNT_MAIN.to_vec(), - ); - let rewards_account_id = - technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) - .unwrap(); - - let assets_and_permissions_tech_account_id = - TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); - let assets_and_permissions_account_id = - technical::Pallet::::tech_account_id_to_account_id( - &assets_and_permissions_tech_account_id, - ) - .unwrap(); - - let dex_root_tech_account_id = - TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); - let dex_root_account_id = - technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) - .unwrap(); - - #[cfg(feature = "ready-to-test")] // kensetsu - let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); - #[cfg(feature = "ready-to-test")] // kensetsu - let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); - - let mut tech_accounts = vec![ - (xor_fee_account_id.clone(), xor_fee_tech_account_id), - ( - eth_bridge_account_id.clone(), - eth_bridge_tech_account_id.clone(), - ), - ( - eth_bridge_authority_account_id.clone(), - eth_bridge_authority_tech_account_id.clone(), - ), - ( - trustless_eth_bridge_account_id.clone(), - trustless_eth_bridge_tech_account_id.clone(), - ), - ( - trustless_eth_bridge_fees_account_id.clone(), - trustless_eth_bridge_fees_tech_account_id.clone(), - ), - ( - treasury_account_id.clone(), - treasury_tech_account_id.clone(), - ), - ( - pswap_distribution_account_id.clone(), - pswap_distribution_tech_account_id.clone(), - ), - ( - liquidity_proxy_account_id.clone(), - liquidity_proxy_tech_account_id.clone(), - ), - ( - mbc_reserves_account_id.clone(), - mbc_reserves_tech_account_id.clone(), - ), - ( - mbc_pool_rewards_account_id.clone(), - mbc_pool_rewards_tech_account_id.clone(), - ), - ( - mbc_pool_free_reserves_account_id.clone(), - mbc_pool_free_reserves_tech_account_id.clone(), - ), - ( - xst_pool_permissioned_account_id.clone(), - xst_pool_permissioned_tech_account_id.clone(), - ), - ( - iroha_migration_account_id.clone(), - iroha_migration_tech_account_id.clone(), - ), - (rewards_account_id.clone(), rewards_tech_account_id.clone()), - ( - assets_and_permissions_account_id.clone(), - assets_and_permissions_tech_account_id.clone(), - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - kensetsu_treasury_account_id.clone(), - kensetsu_treasury_tech_account_id.clone(), - ), - ]; - let accounts = bonding_curve_distribution_accounts(); - for account in &accounts.accounts() { - match account { - DistributionAccount::Account(_) => continue, - DistributionAccount::TechAccount(account) => { - tech_accounts.push(( - Technical::tech_account_id_to_account_id(account).unwrap(), - account.to_owned(), - )); - } - } - } - let mut balances = vec![ - (eth_bridge_account_id.clone(), initial_eth_bridge_xor_amount), - (assets_and_permissions_account_id.clone(), 0), - (xor_fee_account_id.clone(), 0), - (dex_root_account_id.clone(), 0), - (iroha_migration_account_id.clone(), 0), - (pswap_distribution_account_id.clone(), 0), - (mbc_reserves_account_id.clone(), 0), - (mbc_pool_rewards_account_id.clone(), 0), - (mbc_pool_free_reserves_account_id.clone(), 0), - (xst_pool_permissioned_account_id.clone(), 0), - #[cfg(feature = "ready-to-test")] // kensetsu - (kensetsu_treasury_account_id.clone(), 0), - ] - .into_iter() - .chain( - initial_authorities - .iter() - .cloned() - .map(|(k1, ..)| (k1, initial_staking)), - ) - .chain( - initial_authorities - .iter() - .cloned() - .map(|(_, k2, ..)| (k2, initial_staking)), - ) - .chain( - endowed_accounts - .iter() - .cloned() - .map(|account| (account, initial_staking)), - ) - .collect::>(); - - #[cfg(not(feature = "include-real-files"))] - let rewards_config = RewardsConfig { - reserves_account_id: rewards_tech_account_id, - val_owners: vec![ - ( - hex!("d170A274320333243b9F860e8891C6792DE1eC19").into(), - balance!(995).into(), - ), - ( - hex!("21Bc9f4a3d9Dc86f142F802668dB7D908cF0A636").into(), - balance!(111).into(), - ), - ( - hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), - balance!(444).into(), - ), - ], - pswap_farm_owners: vec![ - ( - hex!("4fE143cDD48791cB364823A41e018AEC5cBb9AbB").into(), - balance!(222), - ), - ( - hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), - balance!(555), - ), - ], - pswap_waifu_owners: vec![( - hex!("886021F300dC809269CFC758A2364a2baF63af0c").into(), - balance!(333), - )], - umi_nfts: vec![PSWAP.into(), VAL.into()], - }; - - #[cfg(feature = "include-real-files")] - let rewards_config = RewardsConfig { - reserves_account_id: rewards_tech_account_id, - val_owners: our_include!("bytes/rewards_val_owners.in"), - pswap_farm_owners: our_include!("bytes/rewards_pswap_farm_owners.in"), - pswap_waifu_owners: our_include!("bytes/rewards_pswap_waifu_owners.in"), - umi_nfts: vec![PSWAP.into(), VAL.into()], - }; - - let rewards_pswap_reserves = - calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) - + calculate_reserves(rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b)); - let mut tokens_endowed_accounts = vec![ - ( - rewards_account_id.clone(), - GetValAssetId::get(), - val_rewards_for_erc20_xor_holders, - ), - ( - rewards_account_id, - GetPswapAssetId::get(), - rewards_pswap_reserves, - ), - ( - eth_bridge_account_id.clone(), - VAL, - initial_eth_bridge_val_amount, - ), - ( - mbc_pool_rewards_account_id.clone(), - PSWAP, - initial_pswap_tbc_rewards, - ), - ( - parliament_investment_fund, - VAL, - parliament_investment_fund_balance, - ), - ]; - let faucet_config = { - let initial_faucet_balance = balance!(6000000000); - let faucet_tech_account_id = TechAccountId::Generic( - faucet::TECH_ACCOUNT_PREFIX.to_vec(), - faucet::TECH_ACCOUNT_MAIN.to_vec(), - ); - let faucet_account_id: AccountId = - technical::Pallet::::tech_account_id_to_account_id(&faucet_tech_account_id) - .expect("Failed to decode account id"); - let ceres = common::AssetId32::from_bytes(hex!( - "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" - )); - tech_accounts.push((faucet_account_id.clone(), faucet_tech_account_id.clone())); - balances.push((faucet_account_id.clone(), initial_faucet_balance)); - tokens_endowed_accounts.push((faucet_account_id.clone(), VAL, initial_faucet_balance)); - tokens_endowed_accounts.push((faucet_account_id.clone(), PSWAP, initial_faucet_balance)); - tokens_endowed_accounts.push((faucet_account_id.clone(), ceres, initial_faucet_balance)); - tokens_endowed_accounts.push(( - faucet_account_id.clone(), - HERMES_ASSET_ID, - initial_faucet_balance, - )); - tokens_endowed_accounts.push((faucet_account_id, APOLLO_ASSET_ID, initial_faucet_balance)); - FaucetConfig { - reserves_account_id: faucet_tech_account_id, - } - }; - - let iroha_migration_config = IrohaMigrationConfig { - iroha_accounts: if dev { - our_include!("bytes/iroha_migration_accounts_dev.in") - } else { - our_include!("bytes/iroha_migration_accounts_staging.in") - }, - account_id: Some(iroha_migration_account_id.clone()), - }; - let initial_collateral_assets = vec![ - DAI.into(), - VAL.into(), - PSWAP.into(), - ETH.into(), - XST.into(), - TBCD.into(), - ]; - GenesisConfig { - #[cfg(feature = "wip")] // EVM bridge - evm_fungible_app: Default::default(), - parachain_bridge_app: Default::default(), - substrate_bridge_outbound_channel: Default::default(), - - #[cfg(feature = "wip")] // Trustless substrate bridge - beefy_light_client: Default::default(), - - #[cfg(feature = "wip")] // EVM bridge - bridge_outbound_channel: BridgeOutboundChannelConfig { - interval: 10, - ..Default::default() - }, - - system: SystemConfig { - code: WASM_BINARY.unwrap_or_default().to_vec(), - }, - sudo: SudoConfig { - key: Some(root_key.clone()), - }, - technical: TechnicalConfig { - register_tech_accounts: tech_accounts, - }, - babe: BabeConfig { - authorities: vec![], - epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), - }, - grandpa: GrandpaConfig { - authorities: vec![], - }, - session: SessionConfig { - keys: initial_authorities - .iter() - .map( - |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { - ( - account.clone(), - account.clone(), - session_keys( - grandpa_id.clone(), - babe_id.clone(), - im_online_id.clone(), - beefy_id.clone(), - ), - ) - }, - ) - .collect::>(), - }, - staking: StakingConfig { - validator_count, - minimum_validator_count: 1, - stakers: initial_authorities - .iter() - .map(|(stash_account, account, _, _, _, _, _)| { - ( - stash_account.clone(), - account.clone(), - initial_staking, - StakerStatus::Validator, - ) - }) - .collect(), - invulnerables: Vec::new(), - slash_reward_fraction: Perbill::from_percent(10), - ..Default::default() - }, - assets: AssetsConfig { - endowed_assets: vec![ - ( - GetXorAssetId::get(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"XOR".to_vec()), - AssetName(b"SORA".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - // ( - // UsdId::get(), - // assets_and_permissions_account_id.clone(), - // AssetSymbol(b"USDT".to_vec()), - // AssetName(b"Tether USD".to_vec()), - // DEFAULT_BALANCE_PRECISION, - // Balance::zero(), - // true, - // None, - // None, - // ), - ( - GetValAssetId::get(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"VAL".to_vec()), - AssetName(b"SORA Validator Token".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - GetPswapAssetId::get(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"PSWAP".to_vec()), - AssetName(b"Polkaswap".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - DAI.into(), - eth_bridge_account_id.clone(), - AssetSymbol(b"DAI".to_vec()), - AssetName(b"Dai Stablecoin".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - ETH.into(), - eth_bridge_account_id.clone(), - AssetSymbol(b"ETH".to_vec()), - AssetName(b"Ether".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - XST.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"XST".to_vec()), - AssetName(b"SORA Synthetics".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - TBCD.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"TBCD".to_vec()), - AssetName(b"SORA TBC Dollar".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - KEN.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"KEN".to_vec()), - AssetName(b"Kensetsu incentive token".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - KUSD.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"KUSD".to_vec()), - AssetName(b"Kensetsu Stable Dollar".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - common::AssetId32::from_bytes(hex!( - "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" - )) - .into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"CERES".to_vec()), - AssetName(b"Ceres".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - common::HERMES_ASSET_ID, - assets_and_permissions_account_id.clone(), - AssetSymbol(b"HMX".to_vec()), - AssetName(b"Hermes".to_vec()), - 18, - Balance::zero(), - true, - None, - None, - ), - ( - APOLLO_ASSET_ID, - assets_and_permissions_account_id.clone(), - AssetSymbol(b"APOLLO".to_vec()), - AssetName(b"Apollo".to_vec()), - 18, - Balance::zero(), - true, - None, - None, - ), - ( - XSTUSD, - assets_and_permissions_account_id.clone(), - AssetSymbol(b"XSTUSD".to_vec()), - AssetName(b"SORA Synthetics USD".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ], - }, - permissions: PermissionsConfig { - initial_permission_owners: vec![ - ( - permissions::MANAGE_DEX, - Scope::Limited(hash(&0u32)), - vec![assets_and_permissions_account_id.clone()], - ), - ( - permissions::MINT, - Scope::Unlimited, - vec![assets_and_permissions_account_id.clone()], - ), - ( - permissions::BURN, - Scope::Unlimited, - vec![assets_and_permissions_account_id.clone()], - ), - ], - initial_permissions: vec![ - ( - dex_root_account_id.clone(), - Scope::Limited(hash(&0u32)), - vec![permissions::MANAGE_DEX], - ), - ( - dex_root_account_id.clone(), - Scope::Unlimited, - vec![permissions::CREATE_FARM], - ), - ( - xor_fee_account_id, - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - iroha_migration_account_id, - Scope::Limited(hash(&VAL)), - vec![permissions::MINT], - ), - ( - assets_and_permissions_account_id, - Scope::Unlimited, - vec![ - permissions::MINT, - permissions::BURN, - permissions::LOCK_TO_FARM, - permissions::UNLOCK_FROM_FARM, - permissions::CLAIM_FROM_FARM, - ], - ), - ( - pswap_distribution_account_id, - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - mbc_reserves_account_id, - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - mbc_pool_free_reserves_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - xst_pool_permissioned_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - kensetsu_treasury_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ], - }, - balances: BalancesConfig { balances }, - dex_manager: DEXManagerConfig { - dex_list: vec![ - ( - 0, - DEXInfo { - base_asset_id: GetBaseAssetId::get(), - synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), - is_public: true, - }, - ), - ( - 1, - DEXInfo { - base_asset_id: XSTUSD, - synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), - is_public: true, - }, - ), - ], - }, - faucet: faucet_config, - tokens: TokensConfig { - balances: tokens_endowed_accounts, - }, - trading_pair: TradingPairConfig { - trading_pairs: initial_collateral_assets - .iter() - .cloned() - .map(|target_asset_id| create_trading_pair(XOR, target_asset_id)) - .collect(), - }, - dexapi: DEXAPIConfig { - source_types: [ - LiquiditySourceType::XYKPool, - LiquiditySourceType::MulticollateralBondingCurvePool, - LiquiditySourceType::XSTPool, - LiquiditySourceType::OrderBook, - ] - .into(), - }, - eth_bridge: EthBridgeConfig { - authority_account: Some(eth_bridge_authority_account_id.clone()), - networks: vec![NetworkConfig { - initial_peers: initial_bridge_peers.iter().cloned().collect(), - bridge_account_id: eth_bridge_account_id.clone(), - assets: vec![ - AssetConfig::Sidechain { - id: XOR.into(), - sidechain_id: eth_bridge_params.xor_contract_address, - owned: true, - precision: DEFAULT_BALANCE_PRECISION, - }, - AssetConfig::Sidechain { - id: VAL.into(), - sidechain_id: eth_bridge_params.val_contract_address, - owned: true, - precision: DEFAULT_BALANCE_PRECISION, - }, - AssetConfig::Sidechain { - id: DAI.into(), - sidechain_id: hex!("34273F3a534dF490437F0deFFcb0549B40fb3Db6").into(), - owned: false, - precision: DEFAULT_BALANCE_PRECISION, - }, - AssetConfig::Sidechain { - id: ETH.into(), - sidechain_id: hex!("0000000000000000000000000000000000000000").into(), - owned: false, - precision: DEFAULT_BALANCE_PRECISION, - }, - ], - bridge_contract_address: eth_bridge_params.bridge_contract_address, - reserves: vec![ - (XOR.into(), balance!(350000)), - (VAL.into(), balance!(33900000)), - ], - }], - xor_master_contract_address: eth_bridge_params.xor_master_contract_address, - val_master_contract_address: eth_bridge_params.val_master_contract_address, - }, - bridge_multisig: BridgeMultisigConfig { - accounts: once(( - eth_bridge_account_id.clone(), - bridge_multisig::MultisigAccount::new(initial_bridge_peers), - )) - .collect(), - }, - multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { - distribution_accounts: accounts, - reserves_account_id: mbc_reserves_tech_account_id, - reference_asset_id: DAI.into(), - incentives_account_id: Some(mbc_pool_rewards_account_id), - initial_collateral_assets, - free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), - }, - pswap_distribution: PswapDistributionConfig { - subscribed_accounts: Vec::new(), - burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), - }, - iroha_migration: iroha_migration_config, - rewards: rewards_config, - council: CouncilConfig { - members: council_accounts, - phantom: Default::default(), - }, - technical_committee: TechnicalCommitteeConfig { - members: technical_committee_accounts, - phantom: Default::default(), - }, - democracy: DemocracyConfig::default(), - elections_phragmen: Default::default(), - technical_membership: Default::default(), - im_online: Default::default(), - xst_pool: XSTPoolConfig { - reference_asset_id: DAI, - initial_synthetic_assets: vec![( - XSTUSD.into(), - common::SymbolName::usd().into(), - fixed!(0.00666), - )], - }, - beefy: BeefyConfig { - authorities: vec![], - }, - } -} - -#[cfg(all( - any( - feature = "main-net-coded", - feature = "test", - feature = "runtime-benchmarks", - feature = "wip", - feature = "ready-to-test" - ), - not(feature = "private-net") -))] -pub fn main_net_coded() -> ChainSpec { - let mut properties = Properties::new(); - properties.insert("ss58Format".into(), SS58Prefix::get().into()); - properties.insert("tokenSymbol".into(), "XOR".into()); - properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); - let name = "SORA"; - let id = "sora-substrate-main-net"; - // SORA main-net node address. We should have 2 nodes. - let boot_nodes = vec![ - MultiaddrWithPeerId::from_str("/dns/v1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWLHZRLHeVPdrXuNNdzpKuPqo6Sm6f9rjVtp5XsEvhXvyG").unwrap(), //Prod value - MultiaddrWithPeerId::from_str("/dns/v2.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWGiemoYceJ1y5nQR1YNxysjbCH8MbW5ps1uApLfN36VQa").unwrap() //Prod value - ]; - ChainSpec::from_genesis( - name, - id, - ChainType::Live, - move || { - let eth_bridge_params = EthBridgeParams { - xor_master_contract_address: hex!("c08edf13be9b9cc584c5da8004ce7e6be63c1316") //Prod value - .into(), - xor_contract_address: hex!("40fd72257597aa14c7231a7b1aaa29fce868f677").into(), //Prod value - val_master_contract_address: hex!("d1eeb2f30016fffd746233ee12c486e7ca8efef1") //Prod value - .into(), - val_contract_address: hex!("e88f8313e61a97cec1871ee37fbbe2a8bf3ed1e4").into(), //Prod value - bridge_contract_address: hex!("1485e9852ac841b52ed44d573036429504f4f602").into(), - }; - - // SORA main-net node address. We should have 2 nodes. - // Currently filled with staging example values - mainnet_genesis( - vec![ - authority_keys_from_public_keys( - hex!("207ed7bbf6fa0685dca5f24d6773a58ab9c710512d1087db5e47e0fe0f357239"), //Prod value - hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value - hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value - hex!("71e6acfa06696ae5d962a36b88ddf4b0c7d5751a7107a2db1e6947ee2442f573"), //Prod value - hex!("024f206cdff359d50597b3fd41fd17a1b585c7914037eedbd8e4a0d3f213a8ab33"), // Prod value - ), - authority_keys_from_public_keys( - hex!("94ee828c3455a327dde32f577e27f0b8a4c42b3fb626ee27f0004f7cf02bd332"), //Prod value - hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value - hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value - hex!("d603aea460c53393cfd2e2eb2820bb138738288502488fd6431fa93f7b59642d"), //Prod value - hex!("02aadf7d2aa0d424cd60d6b384647f48e8d00610a631079fa33c1da0d712a71b1d"), // Prod value - ), - ], - vec![ - hex!("4cd5a4a244bc53f6f1458757ed0af8680e8faa860deca32976bbd9a951bf6c1c").into(), - hex!("54d7aa0bba9a5dbb1bb77973f344625df346f6a65840b8534ee22e93fbad767a").into(), - hex!("e811eac3cf718caa98d77bb479227e8cc512e51e79d6ba1494dd089093f5707f").into(), - hex!("a648c659a86eeb7cf84ddcedac64f33de6966b8853dd636ba693fce100bd8858").into(), - hex!("60a17ce8550db4e1358db54bc3791026a285ab88e9c988ad54c3dc282475fe14").into(), - hex!("de06bf70964d8aff4816e3cfd576d8d8f774663906a6e40d316860a3d4c55b6c").into(), - hex!("4a4371f63db17fb4f33bec3ce7c8f588e3258c3b268b450647f4870d964dca6f").into(), - hex!("d8815601fc99d9afa27a09fc5e46ebcc2472edc466fbb5c6fbae7a8566e50318").into(), - ], - vec![ - hex!("a3bcbf3044069ac13c30d662a204d8368c266e2f0e8cf603c7bfb2b7b5daae55").into(), //Prod value - hex!("297c03e65c2930daa7c6067a2bb853819b61ed49b70de2f3219a2eb6ec0364aa").into(), //Prod value - ], - eth_bridge_params, - vec![ - hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), - hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), - hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), - hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), - hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), - hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), - ], - vec![ - hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), - hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), - hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), - ], - ) - }, - boot_nodes, - None, - Some("sora-substrate-1"), - None, - Some(properties), - None, - ) -} - -#[cfg(all( - any( - feature = "main-net-coded", - feature = "test", - feature = "runtime-benchmarks", - feature = "wip", - feature = "ready-to-test" - ), - not(feature = "private-net") -))] -fn mainnet_genesis( - initial_authorities: Vec<( - AccountId, - AccountId, - AuraId, - BabeId, - GrandpaId, - ImOnlineId, - BeefyId, - )>, - additional_validators: Vec, - initial_bridge_peers: Vec, - eth_bridge_params: EthBridgeParams, - council_accounts: Vec, - technical_committee_accounts: Vec, -) -> GenesisConfig { - // Minimum stake for an active validator - let initial_staking = balance!(0.2); - // XOR amount which already exists on Ethereum - let initial_eth_bridge_xor_amount = balance!(350000); - // VAL amount which already exists on SORA_1 and Ethereum. Partially can be migrated directly from SORA_1. Not yet decided finally. - let initial_eth_bridge_val_amount = balance!(33900000); - // Initial token bonding curve PSWAP rewards according to 10 bln PSWAP total supply. - let initial_pswap_tbc_rewards = balance!(2500000000); - // Initial market maker PSWAP rewards. - let initial_pswap_market_maker_rewards = balance!(364988000); - - let parliament_investment_fund: AccountId = - hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); - let parliament_investment_fund_balance = balance!(33000000); - - // Initial accounts - let xor_fee_tech_account_id = TechAccountId::Generic( - xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), - xor_fee::TECH_ACCOUNT_MAIN.to_vec(), - ); - let xor_fee_account_id: AccountId = - technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) - .expect("Failed to decode account Id"); - - // Bridge peers multisignature account - let eth_bridge_tech_account_id = TechAccountId::Generic( - eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), - eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), - ); - // Wrapping of bridge peers multisignature account - let eth_bridge_account_id = - technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) - .unwrap(); - // Bridge authority account expected to be managed by voting - let eth_bridge_authority_tech_account_id = TechAccountId::Generic( - eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), - eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), - ); - // Wrapper for Bridge authority account expected to be managed by voting - let eth_bridge_authority_account_id = - technical::Pallet::::tech_account_id_to_account_id( - ð_bridge_authority_tech_account_id, - ) - .unwrap(); - - let trustless_eth_bridge_tech_account_id = - framenode_runtime::GetTrustlessBridgeTechAccountId::get(); - let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); - - let trustless_eth_bridge_fees_tech_account_id = - framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); - let trustless_eth_bridge_fees_account_id = - framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); - - let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); - let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); - - let pswap_distribution_tech_account_id = - framenode_runtime::GetPswapDistributionTechAccountId::get(); - let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); - - let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); - let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); - - let mbc_pool_free_reserves_tech_account_id = - framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); - let mbc_pool_free_reserves_account_id = - framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); - - let xst_pool_permissioned_tech_account_id = - framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); - let xst_pool_permissioned_account_id = - framenode_runtime::GetXSTPoolPermissionedAccountId::get(); - - let market_maker_rewards_tech_account_id = - framenode_runtime::GetMarketMakerRewardsTechAccountId::get(); - let market_maker_rewards_account_id = framenode_runtime::GetMarketMakerRewardsAccountId::get(); - - let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); - let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); - - let iroha_migration_tech_account_id = TechAccountId::Generic( - iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), - iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), - ); - let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( - &iroha_migration_tech_account_id, - ) - .unwrap(); - - let rewards_tech_account_id = TechAccountId::Generic( - rewards::TECH_ACCOUNT_PREFIX.to_vec(), - rewards::TECH_ACCOUNT_MAIN.to_vec(), - ); - let rewards_account_id = - technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) - .unwrap(); - - let assets_and_permissions_tech_account_id = - TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); - let assets_and_permissions_account_id = - technical::Pallet::::tech_account_id_to_account_id( - &assets_and_permissions_tech_account_id, - ) - .unwrap(); - - let dex_root_tech_account_id = - TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); - let dex_root_account_id = - technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) - .unwrap(); - - #[cfg(feature = "ready-to-test")] // kensetsu - let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); - #[cfg(feature = "ready-to-test")] // kensetsu - let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); - - let mut tech_accounts = vec![ - (xor_fee_account_id.clone(), xor_fee_tech_account_id), - ( - eth_bridge_account_id.clone(), - eth_bridge_tech_account_id.clone(), - ), - ( - eth_bridge_authority_account_id.clone(), - eth_bridge_authority_tech_account_id.clone(), - ), - ( - trustless_eth_bridge_account_id.clone(), - trustless_eth_bridge_tech_account_id.clone(), - ), - ( - trustless_eth_bridge_fees_account_id.clone(), - trustless_eth_bridge_fees_tech_account_id.clone(), - ), - ( - pswap_distribution_account_id.clone(), - pswap_distribution_tech_account_id.clone(), - ), - ( - liquidity_proxy_account_id.clone(), - liquidity_proxy_tech_account_id.clone(), - ), - ( - mbc_reserves_account_id.clone(), - mbc_reserves_tech_account_id.clone(), - ), - ( - mbc_pool_rewards_account_id.clone(), - mbc_pool_rewards_tech_account_id.clone(), - ), - ( - mbc_pool_free_reserves_account_id.clone(), - mbc_pool_free_reserves_tech_account_id.clone(), - ), - ( - xst_pool_permissioned_account_id.clone(), - xst_pool_permissioned_tech_account_id.clone(), - ), - ( - iroha_migration_account_id.clone(), - iroha_migration_tech_account_id.clone(), - ), - (rewards_account_id.clone(), rewards_tech_account_id.clone()), - ( - assets_and_permissions_account_id.clone(), - assets_and_permissions_tech_account_id.clone(), - ), - ( - market_maker_rewards_account_id.clone(), - market_maker_rewards_tech_account_id.clone(), - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - kensetsu_treasury_account_id.clone(), - kensetsu_treasury_tech_account_id.clone(), - ), - ]; - let accounts = bonding_curve_distribution_accounts(); - for account in &accounts.accounts() { - match account { - DistributionAccount::Account(_) => continue, - DistributionAccount::TechAccount(account) => { - tech_accounts.push(( - Technical::tech_account_id_to_account_id(account).unwrap(), - account.to_owned(), - )); - } - } - } - let rewards_config = RewardsConfig { - reserves_account_id: rewards_tech_account_id, - val_owners: Vec::new(), - pswap_farm_owners: Vec::new(), - pswap_waifu_owners: Vec::new(), - umi_nfts: Vec::new(), - }; - let initial_collateral_assets = vec![DAI.into(), VAL.into(), PSWAP.into(), ETH.into()]; - let mut bridge_assets = vec![ - AssetConfig::Sidechain { - id: XOR.into(), - sidechain_id: eth_bridge_params.xor_contract_address, - owned: true, - precision: DEFAULT_BALANCE_PRECISION, - }, - AssetConfig::Sidechain { - id: VAL.into(), - sidechain_id: eth_bridge_params.val_contract_address, - owned: true, - precision: DEFAULT_BALANCE_PRECISION, - }, - AssetConfig::Sidechain { - id: ETH.into(), - sidechain_id: hex!("0000000000000000000000000000000000000000").into(), - owned: false, - precision: DEFAULT_BALANCE_PRECISION, - }, - ]; - let mut endowed_assets = vec![ - ( - GetXorAssetId::get(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"XOR".to_vec()), - AssetName(b"SORA".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - GetValAssetId::get(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"VAL".to_vec()), - AssetName(b"SORA Validator Token".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - GetPswapAssetId::get(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"PSWAP".to_vec()), - AssetName(b"Polkaswap".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - ETH.into(), - eth_bridge_account_id.clone(), - AssetSymbol(b"ETH".to_vec()), - AssetName(b"Ether".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - XST.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"XST".to_vec()), - AssetName(b"SORA Synthetics".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - TBCD.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"TBCD".to_vec()), - AssetName(b"SORA TBC Dollar".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - KEN.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"KEN".to_vec()), - AssetName(b"Kensetsu incentive token".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - KUSD.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"KUSD".to_vec()), - AssetName(b"Kensetsu Stable Dollar".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - common::AssetId32::from_bytes(hex!( - "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" - )) - .into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"CERES".to_vec()), - AssetName(b"Ceres".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - APOLLO_ASSET_ID.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"APOLLO".to_vec()), - AssetName(b"Apollo".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ( - XSTUSD.into(), - assets_and_permissions_account_id.clone(), - AssetSymbol(b"XSTUSD".to_vec()), - AssetName(b"SORA Synthetics USD".to_vec()), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ), - ]; - let bridge_assets_data: Vec> = Vec::new(); - bridge_assets.extend(bridge_assets_data.iter().map(|x| { - AssetConfig::sidechain( - x.asset_id, - x.sidechain_asset_id.into(), - x.sidechain_precision, - ) - })); - endowed_assets.extend(bridge_assets_data.iter().map(|x| { - ( - x.asset_id, - eth_bridge_account_id.clone(), - x.symbol.clone(), - x.name.clone(), - DEFAULT_BALANCE_PRECISION, - Balance::zero(), - true, - None, - None, - ) - })); - GenesisConfig { - evm_fungible_app: Default::default(), - parachain_bridge_app: Default::default(), - substrate_bridge_outbound_channel: Default::default(), - - #[cfg(feature = "wip")] // Trustless substrate bridge - beefy_light_client: Default::default(), - - #[cfg(feature = "wip")] // EVM bridge - bridge_outbound_channel: BridgeOutboundChannelConfig { - interval: 10, - }, - - system: SystemConfig { - code: WASM_BINARY.unwrap_or_default().to_vec(), - }, - technical: TechnicalConfig { - register_tech_accounts: tech_accounts, - }, - babe: BabeConfig { - authorities: vec![], - epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), - }, - grandpa: GrandpaConfig { - authorities: vec![], - }, - session: SessionConfig { - keys: initial_authorities - .iter() - .map( - |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { - ( - account.clone(), - account.clone(), - session_keys( - grandpa_id.clone(), - babe_id.clone(), - im_online_id.clone(), - beefy_id.clone(), - ), - ) - }, - ) - .collect::>(), - }, - staking: StakingConfig { - validator_count: 69, - minimum_validator_count: 1, - stakers: initial_authorities - .iter() - .map(|(stash_account, account, _, _, _, _, _)| { - ( - stash_account.clone(), - account.clone(), - initial_staking, - StakerStatus::Validator, - ) - }) - .collect(), - invulnerables: initial_authorities - .iter() - .map(|(stash_account, _, _, _, _, _, _)| stash_account.clone()) - .collect(), - slash_reward_fraction: Perbill::from_percent(10), - ..Default::default() - }, - assets: AssetsConfig { - endowed_assets: endowed_assets, - }, - permissions: PermissionsConfig { - initial_permission_owners: vec![ - ( - permissions::MANAGE_DEX, - Scope::Limited(hash(&0u32)), - vec![assets_and_permissions_account_id.clone()], - ), - ( - permissions::MINT, - Scope::Unlimited, - vec![assets_and_permissions_account_id.clone()], - ), - ( - permissions::BURN, - Scope::Unlimited, - vec![assets_and_permissions_account_id.clone()], - ), - ], - initial_permissions: vec![ - ( - dex_root_account_id.clone(), - Scope::Limited(hash(&0u32)), - vec![permissions::MANAGE_DEX], - ), - ( - dex_root_account_id.clone(), - Scope::Unlimited, - vec![permissions::CREATE_FARM], - ), - ( - xor_fee_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - iroha_migration_account_id.clone(), - Scope::Limited(hash(&VAL)), - vec![permissions::MINT], - ), - ( - assets_and_permissions_account_id.clone(), - Scope::Unlimited, - vec![ - permissions::MINT, - permissions::BURN, - permissions::LOCK_TO_FARM, - permissions::UNLOCK_FROM_FARM, - permissions::CLAIM_FROM_FARM, - ], - ), - ( - pswap_distribution_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - mbc_reserves_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - mbc_pool_free_reserves_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ( - xst_pool_permissioned_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - #[cfg(feature = "ready-to-test")] // kensetsu - ( - kensetsu_treasury_account_id.clone(), - Scope::Unlimited, - vec![permissions::MINT, permissions::BURN], - ), - ], - }, - balances: BalancesConfig { - balances: vec![ - (eth_bridge_account_id.clone(), 0), - (trustless_eth_bridge_account_id.clone(), 0), - (trustless_eth_bridge_fees_account_id.clone(), 0), - (assets_and_permissions_account_id.clone(), 0), - (xor_fee_account_id.clone(), 0), - (dex_root_account_id.clone(), 0), - (iroha_migration_account_id.clone(), 0), - (pswap_distribution_account_id.clone(), 0), - (mbc_reserves_account_id.clone(), 0), - (mbc_pool_rewards_account_id.clone(), 0), - (mbc_pool_free_reserves_account_id.clone(), 0), - (market_maker_rewards_account_id.clone(), 0), - (xst_pool_permissioned_account_id.clone(), 0), - #[cfg(feature = "ready-to-test")] // kensetsu - (kensetsu_treasury_account_id.clone(), 0), - ] - .into_iter() - .chain( - initial_authorities - .iter() - .cloned() - .map(|(k1, ..)| (k1, initial_staking)), - ) - .chain( - initial_authorities - .iter() - .cloned() - .map(|(_, k2, ..)| (k2, initial_staking)), - ) - .chain( - additional_validators - .iter() - .cloned() - .map(|account_id| (account_id, initial_staking)), - ) - .collect(), - }, - dex_manager: DEXManagerConfig { - dex_list: vec![ - ( - 0, - DEXInfo { - base_asset_id: GetBaseAssetId::get(), - synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), - is_public: true, - }, - ), - ( - 1, - DEXInfo { - base_asset_id: XSTUSD.into(), - synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), - is_public: true, - }, - ), - ], - }, - tokens: TokensConfig { - balances: vec![ - ( - rewards_account_id.clone(), - GetValAssetId::get(), - calculate_reserves(rewards_config.val_owners.iter().map(|(_, b)| b.total)), - ), - ( - rewards_account_id, - GetPswapAssetId::get(), - calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) - + calculate_reserves( - rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b), - ), - ), - ( - mbc_pool_rewards_account_id.clone(), - PSWAP, - initial_pswap_tbc_rewards, - ), - ( - parliament_investment_fund, - VAL, - parliament_investment_fund_balance, - ), - ( - market_maker_rewards_account_id.clone(), - PSWAP, - initial_pswap_market_maker_rewards, - ), - ], - }, - trading_pair: TradingPairConfig { - trading_pairs: initial_collateral_assets - .iter() - .cloned() - .map(|target_asset_id| create_trading_pair(XOR.into(), target_asset_id)) - .collect(), - }, - dexapi: DEXAPIConfig { - source_types: [ - LiquiditySourceType::XYKPool, - LiquiditySourceType::MulticollateralBondingCurvePool, - LiquiditySourceType::OrderBook, - ] - .into(), - }, - eth_bridge: EthBridgeConfig { - authority_account: Some(eth_bridge_authority_account_id.clone()), - networks: vec![NetworkConfig { - initial_peers: initial_bridge_peers.iter().cloned().collect(), - bridge_account_id: eth_bridge_account_id.clone(), - assets: bridge_assets, - bridge_contract_address: eth_bridge_params.bridge_contract_address, - reserves: vec![ - (XOR.into(), initial_eth_bridge_xor_amount), - (VAL.into(), initial_eth_bridge_val_amount), - ], - }], - xor_master_contract_address: eth_bridge_params.xor_master_contract_address, - val_master_contract_address: eth_bridge_params.val_master_contract_address, - }, - bridge_multisig: BridgeMultisigConfig { - accounts: once(( - eth_bridge_account_id.clone(), - bridge_multisig::MultisigAccount::new(initial_bridge_peers), - )) - .collect(), - }, - multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { - distribution_accounts: accounts, - reserves_account_id: mbc_reserves_tech_account_id, - reference_asset_id: DAI.into(), - incentives_account_id: Some(mbc_pool_rewards_account_id), - initial_collateral_assets, - free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), - }, - pswap_distribution: PswapDistributionConfig { - subscribed_accounts: Vec::new(), - burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), - }, - iroha_migration: IrohaMigrationConfig { - iroha_accounts: Vec::new(), - account_id: Some(iroha_migration_account_id), - }, - rewards: rewards_config, - council: CouncilConfig { - members: council_accounts, - phantom: Default::default(), - }, - technical_committee: TechnicalCommitteeConfig { - members: technical_committee_accounts, - phantom: Default::default(), - }, - democracy: DemocracyConfig::default(), - elections_phragmen: Default::default(), - technical_membership: Default::default(), - im_online: Default::default(), - xst_pool: XSTPoolConfig { - reference_asset_id: DAI, - initial_synthetic_assets: vec![( - XSTUSD, - common::SymbolName::usd().into(), - fixed!(0.00666), - )], - }, - beefy: BeefyConfig { - authorities: vec![], - }, - } -} - -fn create_trading_pair( - base_asset_id: AssetId, - target_asset_id: AssetId, -) -> (u32, common::TradingPair) { - ( - DEXId::Polkaswap.into(), - common::TradingPair { - base_asset_id, - target_asset_id, - }, - ) -} - -/// Creates TestExternalities -#[cfg(all(feature = "test", not(feature = "private-net")))] -pub fn ext() -> sp_io::TestExternalities { - let storage = main_net_coded().build_storage().unwrap(); - sp_io::TestExternalities::new(storage) -} - -/// Creates TestExternalities for `private-net` -#[cfg(all(feature = "test", feature = "private-net"))] -pub fn ext() -> sp_io::TestExternalities { - let storage = dev_net_coded().build_storage().unwrap(); - sp_io::TestExternalities::new(storage) -} - -#[cfg(test)] -mod tests { - use hex_literal::hex; - - use common::eth::EthAddress; - use common::{balance, Balance}; - - #[test] - fn calculate_reserves() { - let accounts: Vec<(EthAddress, Balance)> = vec![ - ( - hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), - balance!(100), - ), - ( - hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), - balance!(23.4000000), - ), - ( - hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), - balance!(0.05678), - ), - ]; - assert_eq!( - super::calculate_reserves(accounts.iter().map(|(_, b)| *b)), - balance!(123.45678) - ); - } -} +// // This file is part of the SORA network and Polkaswap app. + +// // Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. +// // SPDX-License-Identifier: BSD-4-Clause + +// // Redistribution and use in source and binary forms, with or without modification, +// // are permitted provided that the following conditions are met: + +// // Redistributions of source code must retain the above copyright notice, this list +// // of conditions and the following disclaimer. +// // Redistributions in binary form must reproduce the above copyright notice, this +// // list of conditions and the following disclaimer in the documentation and/or other +// // materials provided with the distribution. +// // +// // All advertising materials mentioning features or use of this software must display +// // the following acknowledgement: This product includes software developed by Polka Biome +// // Ltd., SORA, and Polkaswap. +// // +// // Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used +// // to endorse or promote products derived from this software without specific prior written permission. + +// // THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, +// // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY +// // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +// // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +// // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +// // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// // Tips: +// // * not(feature = "private-net") means "main net", however, given that "main net" is the default +// // option and Cargo doesn't provide any way to disable "main net" if any "private net" is +// // specified, we have to rely on such constructions. + +// #![allow(unused_imports, unused_macros, dead_code)] +// // TODO #167: fix clippy warnings +// #![allow(clippy::all)] + +// use common::prelude::{Balance, DEXInfo, FixedWrapper}; +// use common::{ +// balance, fixed, hash, our_include, our_include_bytes, vec_push, BalancePrecision, DEXId, Fixed, +// TechPurpose, APOLLO_ASSET_ID, DAI, DEFAULT_BALANCE_PRECISION, ETH, HERMES_ASSET_ID, KEN, KUSD, +// PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, +// }; +// use frame_support::sp_runtime::Percent; +// use framenode_runtime::eth_bridge::{AssetConfig, BridgeAssetData, NetworkConfig}; +// use framenode_runtime::multicollateral_bonding_curve_pool::{ +// DistributionAccount, DistributionAccountData, DistributionAccounts, +// }; +// use framenode_runtime::opaque::SessionKeys; +// #[cfg(feature = "wip")] +// use framenode_runtime::BridgeOutboundChannelConfig; +// use framenode_runtime::{ +// assets, eth_bridge, frame_system, AccountId, AssetId, AssetName, AssetSymbol, AssetsConfig, +// BabeConfig, BalancesConfig, BeefyConfig, BeefyId, BridgeMultisigConfig, CouncilConfig, +// DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GenesisConfig, +// GetBaseAssetId, GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, +// GetValAssetId, GetXorAssetId, GrandpaConfig, ImOnlineId, IrohaMigrationConfig, +// LiquiditySourceType, MulticollateralBondingCurvePoolConfig, PermissionsConfig, +// PswapDistributionConfig, RewardsConfig, Runtime, SS58Prefix, SessionConfig, Signature, +// StakerStatus, StakingConfig, SystemConfig, TechAccountId, TechnicalCommitteeConfig, +// TechnicalConfig, TokensConfig, TradingPair, TradingPairConfig, XSTPoolConfig, WASM_BINARY, +// }; + +// use hex_literal::hex; +// use permissions::Scope; +// use sc_finality_grandpa::AuthorityId as GrandpaId; +// use sc_network_common::config::MultiaddrWithPeerId; +// use sc_service::{ChainType, Properties}; +// use sp_consensus_aura::sr25519::AuthorityId as AuraId; +// use sp_consensus_babe::AuthorityId as BabeId; +// use sp_core::crypto::ByteArray; +// use sp_core::{Public, H160, H256, U256}; +// use sp_runtime::sp_std::iter::once; +// use sp_runtime::traits::Zero; +// use sp_runtime::{BuildStorage, Perbill}; +// use std::str::FromStr; + +// use codec::Encode; +// use framenode_runtime::assets::{AssetRecord, AssetRecordArg}; +// #[cfg(feature = "private-net")] +// use framenode_runtime::{FaucetConfig, SudoConfig}; +// use sp_core::{sr25519, Pair}; +// use sp_runtime::traits::{IdentifyAccount, Verify}; +// use std::borrow::Cow; + +// /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. +// pub type ChainSpec = sc_service::GenericChainSpec; +// type Technical = technical::Pallet; +// type AccountPublic = ::Signer; + +// /// Helper function to generate a crypto pair from seed +// fn get_from_seed(seed: &str) -> ::Public { +// TPublic::Pair::from_string(&format!("//{}", seed), None) +// .expect("static values are valid; qed") +// .public() +// } + +// /// Helper function to generate an account ID from seed +// fn get_account_id_from_seed(seed: &str) -> AccountId +// where +// AccountPublic: From<::Public>, +// { +// AccountPublic::from(get_from_seed::(seed)).into_account() +// } + +// /// Generate an Babe authority key. +// pub fn authority_keys_from_seed( +// seed: &str, +// ) -> ( +// AccountId, +// AccountId, +// AuraId, +// BabeId, +// GrandpaId, +// ImOnlineId, +// BeefyId, +// ) { +// ( +// get_account_id_from_seed::(&format!("{}//stash", seed)), +// get_account_id_from_seed::(seed), +// get_from_seed::(seed), +// get_from_seed::(seed), +// get_from_seed::(seed), +// get_from_seed::(seed), +// get_from_seed::(seed), +// ) +// } + +// pub fn authority_keys_from_public_keys( +// stash_address: [u8; 32], +// controller_address: [u8; 32], +// sr25519_key: [u8; 32], +// ed25519_key: [u8; 32], +// ecdsa_key: [u8; 33], +// ) -> ( +// AccountId, +// AccountId, +// AuraId, +// BabeId, +// GrandpaId, +// ImOnlineId, +// BeefyId, +// ) { +// ( +// stash_address.into(), +// controller_address.into(), +// AuraId::from_slice(&sr25519_key).unwrap(), +// BabeId::from_slice(&sr25519_key).unwrap(), +// GrandpaId::from_slice(&ed25519_key).unwrap(), +// ImOnlineId::from_slice(&sr25519_key).unwrap(), +// BeefyId::from_slice(&ecdsa_key).unwrap(), +// ) +// } + +// fn session_keys( +// grandpa: GrandpaId, +// babe: BabeId, +// im_online: ImOnlineId, +// beefy: BeefyId, +// ) -> SessionKeys { +// SessionKeys { +// babe, +// grandpa, +// im_online, +// beefy, +// } +// } + +// struct EthBridgeParams { +// xor_master_contract_address: H160, +// xor_contract_address: H160, +// val_master_contract_address: H160, +// val_contract_address: H160, +// bridge_contract_address: H160, +// } + +// fn calculate_reserves(accounts: impl Iterator) -> Balance { +// accounts.fold(0, |sum, balance| sum + balance) +// } + +// pub fn staging_net() -> Result { +// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_staging.json")[..]) +// } + +// pub fn bridge_staging_net() -> Result { +// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_bridge_staging.json")[..]) +// } + +// pub fn test_net() -> Result { +// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_test.json")[..]) +// } + +// pub fn main_net() -> Result { +// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_main.json")[..]) +// } + +// #[cfg(feature = "private-net")] +// pub fn predev_net_coded() -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// ChainSpec::from_genesis( +// "SORA-predev Testnet", +// "sora-substrate-predev", +// ChainType::Development, +// move || { +// testnet_genesis( +// true, +// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), +// vec![ +// authority_keys_from_public_keys( +// hex!("28d3bdf388ac911afa8e6c4394eafaa42d1cdf438ed1128086b1f7d666c5335e"), +// hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), +// hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), +// hex!("9fcd1a31681bff3ca3ac195c11ba8fb0fb6bce3eb61c7cfecf4e4273ea5970af"), +// hex!("02b702b6684a4d93a2c1044e7f8c1e5b42fd4ae24fc2ea571347b45665898de590"), +// ), +// authority_keys_from_public_keys( +// hex!("e0be466ddaabaf864b9dd54905f5e0d410c23265fe4e7925ce2a675f371b8274"), +// hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), +// hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), +// hex!("5749c1e8b7a87bd114c3b151eb899feccedbcf6c439c1d7dda0fc29c7179d51c"), +// hex!("03b91512a19d2433c0d4c51c4c31f56e553c5ebfb30c82a0c3573e96377f7e6baf"), +// ), +// authority_keys_from_public_keys( +// hex!("c0b48c43b9911da9cb1f2a1ea78ab88c34fe6d27e642f141389986b7276c442b"), +// hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), +// hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), +// hex!("244266d4ced385b782e35c2e5b45db1d5988e5f8abf9b7085d8a52b9b3f642a4"), +// hex!("024a5b7eefee22145c704a71b303d96532ec28736a0e841fd498a73ab325c48c8e"), +// ), +// ], +// vec![ +// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), +// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), +// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), +// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), +// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), +// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), +// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), +// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), +// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), +// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), +// hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), +// ], +// vec![ +// hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), +// hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), +// hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), +// ], +// EthBridgeParams { +// xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") +// .into(), +// xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), +// val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") +// .into(), +// val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), +// bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") +// .into(), +// }, +// vec![ +// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), +// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), +// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), +// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), +// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), +// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), +// ], +// vec![ +// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), +// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), +// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), +// ], +// 3, +// ) +// }, +// vec![], +// None, +// Some("sora-substrate-predev"), +// None, +// Some(properties), +// None, +// ) +// } + +// #[cfg(feature = "private-net")] +// pub fn dev_net_coded() -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// ChainSpec::from_genesis( +// "SORA-dev Testnet", +// "sora-substrate-dev", +// ChainType::Development, +// move || { +// testnet_genesis( +// true, +// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), +// vec![ +// authority_keys_from_public_keys( +// hex!("349b061381fe1e47b5dd18061f7c7f76801b41dc9c6afe0b2c4c65e0171c8b35"), +// hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), +// hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), +// hex!("0ced48eb19e0e2809a769c35a64264c3dd39f3aa0ff132aa7caaa6730ad31f57"), +// hex!("032001ac7aab973536274d6903d5108f2a18114f6b8eaf63a94b10eda40831b8e9"), +// ), +// authority_keys_from_public_keys( +// hex!("5e7df6d78fb252ecfe5e2c516a145671b9c64ee7b733a3c128af27d76e2fe74c"), +// hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), +// hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), +// hex!("c75a2ed4012a61cf05ec6eecc4b83faedcf6a781111cc61f8e9a23ad2810bb5e"), +// hex!("032773c06f08f6a0bcb6d1e2487c4ab60ea9e6e90227f686115cc75de06149aca0"), +// ), +// authority_keys_from_public_keys( +// hex!("baa98b9fde4fc1c983998798536a63ab70b3c365ce3870dd84a230cb19093004"), +// hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), +// hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), +// hex!("4be870c72a1ac412a5c239d701b5dd62a9e030899943faad55b48eb2c7c9dc2a"), +// hex!("031b4b72dc354abf2efa3ba17d27907a0ef73de252719e8b5953f568a86eca9a18"), +// ), +// // authority_keys_from_public_keys( +// // hex!("4eb0f6225cef84a0285a54916625846e50d86526bdece448894af0ac87792956"), +// // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), +// // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), +// // hex!("8061f3a75ef96a0d840d84cec5d42bcad43f882efdcf93b30a60c7bac6c894c1"), +// // hex!("03cafa6f45bfad692c66ff5b8b3f24f826802f4dd863b31821fc05832cad3e8389"), +// // ), +// // authority_keys_from_public_keys( +// // hex!("22a886a8f0a0ddd031518a2bc567585b0046d02d7aacbdb058857b42da40444b"), +// // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), +// // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), +// // hex!("86320cd87cbe2881cdf3515d3a72d833099d61b4c38266437366e3b143f8835b"), +// // hex!("0249197248076adbd30b1e162c6ec6517ed552b1f63f1f102efa6fc57c892d4f03"), +// // ), +// // authority_keys_from_public_keys( +// // hex!("20a0225a3cafe2d5e9813025e3f1a2d9a3e50f44528ecc3bed01c13466e33316"), +// // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), +// // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), +// // hex!("15c652e559703197d10997d04df0081918314b77b8475d74002adaca0f3b634d"), +// // hex!("026b0e88acde2c1e83b22c1638bd41d4c70464e6b9dc2434a731adc97f3d16c677"), +// // ), +// ], +// vec![ +// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), +// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), +// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), +// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), +// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), +// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), +// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), +// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), +// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), +// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), +// hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), +// ], +// vec![ +// hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), +// hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), +// hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), +// ], +// EthBridgeParams { +// xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") +// .into(), +// xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), +// val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") +// .into(), +// val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), +// bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") +// .into(), +// }, +// vec![ +// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), +// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), +// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), +// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), +// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), +// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), +// ], +// vec![ +// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), +// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), +// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), +// ], +// 3, +// ) +// }, +// vec![], +// None, +// Some("sora-substrate-dev"), +// None, +// Some(properties), +// None, +// ) +// } + +// #[cfg(feature = "private-net")] +// pub fn bridge_dev_net_coded() -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// ChainSpec::from_genesis( +// "SORA-dev Testnet", +// "sora-substrate-dev", +// ChainType::Live, +// move || { +// testnet_genesis( +// true, +// hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), +// vec![ +// authority_keys_from_public_keys( +// // scheme: sr25519, seed: //framenode-1//stash +// hex!("38c2970a9988caff722c140726f53ea0b0f654254dbf3f472b1ac5efd3aace35"), +// // scheme: sr25519, seed: //framenode-1 +// hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), +// // scheme: sr25519, seed: //framenode-1 +// hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), +// // scheme: ed25519, seed: //framenode-1 +// hex!("4e84eeed48dd52d45f599a549edecf2a135f8045de32c6a801086b1e1fb251c9"), +// // scheme: ecdsa, seed: //framenode-1 +// hex!("03c8833ad1ed110cdfee2ef838a0fc2b830a8aa821711aa4ab5b679e2624173cbb"), +// ), +// authority_keys_from_public_keys( +// // scheme: sr25519, seed: //framenode-2//stash +// hex!("36c75c50a04c792f7074453bc3080c4166a60a81361cc2d5e436a0a83f3cf643"), +// // scheme: sr25519, seed: //framenode-2 +// hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), +// // scheme: sr25519, seed: //framenode-2 +// hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), +// // scheme: ed25519, seed: //framenode-2 +// hex!("2d67d9d22097d2f6f74a4076bece0b97ee3809916b0a6e234a3e27b5fabaa84f"), +// // scheme: ecdsa, seed: //framenode-2 +// hex!("03629d2d9aaf8c09637b2cd1696d6d65bb632e1fe2489e45e0f3538176c3c58300"), +// ), +// ], +// vec![ +// hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), +// hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), +// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), +// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), +// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), +// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), +// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), +// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), +// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), +// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), +// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), +// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), +// ], +// vec![ +// hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), +// hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), +// ], +// EthBridgeParams { +// xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") +// .into(), +// xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), +// val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") +// .into(), +// val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), +// bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") +// .into(), +// }, +// vec![ +// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), +// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), +// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), +// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), +// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), +// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), +// ], +// vec![ +// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), +// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), +// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), +// ], +// 2, +// ) +// }, +// vec![], +// None, +// Some("sora-substrate-dev"), +// None, +// Some(properties), +// None, +// ) +// } + +// #[cfg(feature = "private-net")] +// pub fn bridge_staging_net_coded() -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// let protocol = "sora-substrate-bridge-staging"; +// ChainSpec::from_genesis( +// "SORA-bridge Testnet", +// "sora-substrate-bridge", +// ChainType::Live, +// move || { +// let eth_bridge_params = EthBridgeParams { +// xor_master_contract_address: Default::default(), +// xor_contract_address: Default::default(), +// val_master_contract_address: Default::default(), +// val_contract_address: Default::default(), +// bridge_contract_address: Default::default(), +// }; +// testnet_genesis( +// false, +// hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), +// vec![ +// authority_keys_from_public_keys( +// hex!("ee806e5ed183345d5986ea31d93aa1afc6cbe48f128ac864e158d51f5ccda538"), +// hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), +// hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), +// hex!("55b2663327d8143b45a666c904c1a6621ae2d77604cabfcd3431fd0b975de480"), +// hex!("034405a66d5b3aa47946ee49ad23c8ef1dfabcbbc99ea30d6abe8cebe16d3561ef"), +// ), +// authority_keys_from_public_keys( +// hex!("628a21efe6c21f41d6e04b313ac779a74870dbba27ab404d921d2f09467e5258"), +// hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), +// hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), +// hex!("311646bc40d9b5ec724ff2deebeba9ff0d1866dd0d8f2db371dd2e5fc7ecf462"), +// hex!("03ec5ede1a45c754093a878d87ff30b28f6e9594a8b0e03e0a8b3ec6db7846e6a6"), +// ), +// authority_keys_from_public_keys( +// hex!("ce36d1ac5e9d8da1f2e0a4f8a26b102394dd35c352e2b960f56168cc10478c3c"), +// hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), +// hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), +// hex!("9448e9b714635de2158d1d7e2413c6f844793db970e76b3af40622325355e510"), +// hex!("031d86e31c78bcc4350e781961216d44f36550d8c8826a3805bb9915a79386018d"), +// ), +// // authority_keys_from_public_keys( +// // hex!("4e7ffd5823ea6ee8c0b4d69e9104cf375cbe63f0d13175d31a02fbed76393448"), +// // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), +// // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), +// // hex!("9ad0bfa8282b9b1b324ee394e5335e0e98c3722653f45f61535d65b9514c6f7c"), +// // hex!("0268ec544e1cf933f2ac54de6362930ee0c7a571ad87809cd72b4ce93dcf14f8bb"), +// // ), +// // authority_keys_from_public_keys( +// // hex!("b4ea29407e2dc0dfde55e7e823db250f3165a02d794c3672bd32c64278cbc13f"), +// // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), +// // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), +// // hex!("f694905813600d496d05bd9d12487498e7ed4716ee65a60f667e5535bfe43c36"), +// // hex!("03e5181b1c9acec5aed73e8c14e3104792c722caadcfcb9a813edaf7fe0613e86d"), +// // ), +// // authority_keys_from_public_keys( +// // hex!("284b92d3cfa7bfdffb5a905c8f9e2bdc38315a9f45f13267ab285632684ab709"), +// // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), +// // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), +// // hex!("99bac188e04592d31059c612c386106393d2c2103747c8da3badeee0fc130627"), +// // hex!("03367a1882741e54b7ddf082f1a23173a92f38f66897000b7689d6552e5397e4d2"), +// // ), +// ], +// vec![], +// vec![], +// eth_bridge_params, +// vec![ +// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), +// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), +// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), +// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), +// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), +// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), +// ], +// vec![ +// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), +// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), +// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), +// ], +// 69, +// ) +// }, +// vec![], +// None, +// Some(protocol), +// None, +// Some(properties), +// None, +// ) +// } + +// /// # Parameters +// /// * `test` - indicates if the chain spec is to be used in test environment +// #[cfg(feature = "private-net")] +// pub fn staging_net_coded(test: bool) -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// let (name, id, boot_nodes) = if test { +// ( +// "SORA-test", +// "sora-substrate-test", +// vec![ +// MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWSG3eJ9LXNyhzUzkzqjhT3Jv35vak9zLTHTsoTiqU4mxW").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWCfkMa5ATWfa8Edn3Lx71tfZwTU8X532Qx8jbtBnyvXyD").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWCKC4hDHz8AxnacYg7CmeDPJL8MuJxGYHUBFZ4BjZYcCy").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWRo4T2RxgLs1ej61g788kbYR3obU4fHu4GEfeQNEPGD2Y").unwrap(), +// ] +// ) +// } else { +// ( +// "SORA-staging Testnet", +// "sora-substrate-staging", +// vec![ +// MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWQf9AXopgwHsfKCweXtuePnWKieythwNa7AFwNfyemcjX").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWGXhnvgvUwbU831p19sy2gEdPbusN1B8P8ShuKi4JfLDH").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWBwZmMTKQ37dEKAR3oxcuH9YFpzUdGRTbQcKgXLEmyhob").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWExRdWV2CAF8oEyMYiXc9NABu8mmYLdXLtTNjjt1WjqAC").unwrap(), +// MultiaddrWithPeerId::from_str("/dns/s3.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWCN5ZRsK9FekLLD7vSkyoh99bXZ9uXgLpd7zEVWmD5ySH").unwrap(), +// ] +// ) +// }; +// let protocol = if test { +// "sora-substrate-test" +// } else { +// "sora-substrate-staging" +// }; +// ChainSpec::from_genesis( +// name, +// id, +// ChainType::Live, +// move || { +// let eth_bridge_params = if test { +// EthBridgeParams { +// xor_master_contract_address: hex!("09F9c9165A00f9FF3d69cc292848E93f39C50a42") +// .into(), +// xor_contract_address: hex!("9826Ecfcd937C4518E1C42B3703c7CB908B61197").into(), +// val_master_contract_address: hex!("517e5DfF04CAD3c81171Dec46Ef9407fbf31b2C5") +// .into(), +// val_contract_address: hex!("88eE18dEfC56D78417B0d331e794EF75799cA6D1").into(), +// bridge_contract_address: hex!("10Ce25aE3B05c9Ba860D5aD3544ca62565E7A184") +// .into(), +// } +// } else { +// EthBridgeParams { +// xor_master_contract_address: hex!("cceb41100aa2a9a6f144d7c1f876070b810bf7ae") +// .into(), +// xor_contract_address: hex!("dc1c024535118f6de6d999c23fc31e33bc2cafc9").into(), +// val_master_contract_address: hex!("d7f81ed173cb3af28f983670164df30851fba678") +// .into(), +// val_contract_address: hex!("725c6b8cd3621eba4e0ccc40d532e7025b925a65").into(), +// bridge_contract_address: hex!("077c2ec37d28709ce01ae740209bfbe185bd1eaa") +// .into(), +// } +// }; +// testnet_genesis( +// false, +// hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), +// vec![ +// authority_keys_from_public_keys( +// hex!("dce47ff231d43281e03dd21e5890db128176d9ee20e65da331d8ae0b64863779"), +// hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), +// hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), +// hex!("51d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), +// hex!("0251d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), +// ), +// authority_keys_from_public_keys( +// hex!("2a57402736d2b5ada9ee900e506a84436556470de7abd382031e1d90b182bd48"), +// hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), +// hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), +// hex!("f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), +// hex!("02f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), +// ), +// authority_keys_from_public_keys( +// hex!("e493667f399170b28f3b2db4b9f28dbbabbc5da5fc21114e076768fc3c539002"), +// hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), +// hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), +// hex!("b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), +// hex!("02b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), +// ), +// authority_keys_from_public_keys( +// hex!("00e8f3ad6566b446834f5361d0ed98aca3ab0c59848372f87546897345f9456f"), +// hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), +// hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), +// hex!("04bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), +// hex!("0204bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), +// ), +// authority_keys_from_public_keys( +// hex!("621067638b1d90bfd52450c0569b5318b283bc4eccfaaf0175adada721a86e17"), +// hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), +// hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), +// hex!("c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), +// hex!("02c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), +// ), +// ], +// vec![], +// vec![ +// hex!("9cbca76054814f05364abf691f9166b1be176d9b399d94dc2d88b6c4bc2b0589").into(), +// hex!("3b2e166bca8913d9b88d7a8acdfc54c3fe92c15e347deda6a13c191c6e0cc19c").into(), +// ], +// eth_bridge_params, +// vec![ +// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), +// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), +// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), +// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), +// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), +// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), +// ], +// vec![ +// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), +// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), +// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), +// ], +// 69, +// ) +// }, +// boot_nodes, +// None, +// Some(protocol), +// None, +// Some(properties), +// None, +// ) +// } + +// fn bonding_curve_distribution_accounts( +// ) -> DistributionAccounts>> { +// use common::fixed_wrapper; +// use common::prelude::fixnum::ops::One; +// let val_holders_coefficient = fixed_wrapper!(0.5); +// let val_holders_xor_alloc_coeff = fixed_wrapper!(0.9) * val_holders_coefficient.clone(); +// let val_holders_buy_back_coefficient = +// val_holders_coefficient.clone() * (fixed_wrapper!(1) - fixed_wrapper!(0.9)); +// let projects_coefficient = fixed_wrapper!(1) - val_holders_coefficient; +// let projects_sora_citizens_coeff = projects_coefficient.clone() * fixed_wrapper!(0.01); +// let projects_stores_and_shops_coeff = projects_coefficient.clone() * fixed_wrapper!(0.04); +// let projects_parliament_and_development_coeff = +// projects_coefficient.clone() * fixed_wrapper!(0.05); +// let projects_other_coeff = projects_coefficient.clone() * fixed_wrapper!(0.9); + +// debug_assert_eq!( +// Fixed::ONE, +// FixedWrapper::get( +// val_holders_xor_alloc_coeff.clone() +// + projects_sora_citizens_coeff.clone() +// + projects_stores_and_shops_coeff.clone() +// + projects_parliament_and_development_coeff.clone() +// + projects_other_coeff.clone() +// + val_holders_buy_back_coefficient.clone() +// ) +// .unwrap() +// ); + +// let xor_allocation = DistributionAccountData::new( +// DistributionAccount::TechAccount(TechAccountId::Pure( +// DEXId::Polkaswap.into(), +// TechPurpose::Identifier(b"xor_allocation".to_vec()), +// )), +// val_holders_xor_alloc_coeff.get().unwrap(), +// ); +// let sora_citizens = DistributionAccountData::new( +// DistributionAccount::TechAccount(TechAccountId::Pure( +// DEXId::Polkaswap.into(), +// TechPurpose::Identifier(b"sora_citizens".to_vec()), +// )), +// projects_sora_citizens_coeff.get().unwrap(), +// ); +// let stores_and_shops = DistributionAccountData::new( +// DistributionAccount::TechAccount(TechAccountId::Pure( +// DEXId::Polkaswap.into(), +// TechPurpose::Identifier(b"stores_and_shops".to_vec()), +// )), +// projects_stores_and_shops_coeff.get().unwrap(), +// ); +// let projects = DistributionAccountData::new( +// DistributionAccount::TechAccount(TechAccountId::Pure( +// DEXId::Polkaswap.into(), +// TechPurpose::Identifier(b"projects".to_vec()), +// )), +// projects_other_coeff.get().unwrap(), +// ); +// let val_holders = DistributionAccountData::new( +// DistributionAccount::TechAccount(TechAccountId::Pure( +// DEXId::Polkaswap.into(), +// TechPurpose::Identifier(b"val_holders".to_vec()), +// )), +// val_holders_buy_back_coefficient.get().unwrap(), +// ); +// DistributionAccounts::<_> { +// xor_allocation, +// sora_citizens, +// stores_and_shops, +// projects, +// val_holders, +// } +// } + +// #[cfg(feature = "private-net")] +// pub fn local_testnet_config(initial_authorities: usize, validator_count: u32) -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// ChainSpec::from_genesis( +// "SORA-local Testnet", +// "sora-substrate-local", +// ChainType::Development, +// move || { +// testnet_genesis( +// false, +// get_account_id_from_seed::("Alice"), +// vec![ +// authority_keys_from_seed("Alice"), +// authority_keys_from_seed("Bob"), +// authority_keys_from_seed("Charlie"), +// authority_keys_from_seed("Dave"), +// authority_keys_from_seed("Eve"), +// authority_keys_from_seed("Ferdie"), +// /* +// authority_keys_from_seed("Treasury"), +// */ +// ] +// .into_iter() +// .take(initial_authorities) +// .collect(), +// vec![ +// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), +// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), +// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), +// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), +// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), +// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), +// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), +// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), +// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), +// get_account_id_from_seed::("Relayer"), +// get_account_id_from_seed::("Relayer//1"), +// get_account_id_from_seed::("Relayer//2"), +// get_account_id_from_seed::("Relayer//3"), +// get_account_id_from_seed::("Relayer//4"), +// ], +// vec![ +// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), +// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), +// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), +// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), +// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), +// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), +// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), +// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), +// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), +// ], +// EthBridgeParams { +// xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") +// .into(), +// xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), +// val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") +// .into(), +// val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), +// bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") +// .into(), +// }, +// vec![ +// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), +// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), +// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), +// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), +// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), +// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), +// ], +// vec![ +// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), +// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), +// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), +// ], +// validator_count, +// ) +// }, +// vec![], +// None, +// None, +// None, +// Some(properties), +// None, +// ) +// } + +// // Some variables are only changed if faucet is enabled +// #[cfg(feature = "private-net")] +// fn testnet_genesis( +// dev: bool, +// root_key: AccountId, +// initial_authorities: Vec<( +// AccountId, +// AccountId, +// AuraId, +// BabeId, +// GrandpaId, +// ImOnlineId, +// BeefyId, +// )>, +// endowed_accounts: Vec, +// initial_bridge_peers: Vec, +// eth_bridge_params: EthBridgeParams, +// council_accounts: Vec, +// technical_committee_accounts: Vec, +// validator_count: u32, +// ) -> GenesisConfig { +// use common::XSTUSD; + +// // Initial balances +// let initial_staking = balance!(1000000000); +// let initial_eth_bridge_xor_amount = balance!(350000); +// let initial_eth_bridge_val_amount = balance!(33900000); +// let initial_pswap_tbc_rewards = balance!(2500000000); + +// let parliament_investment_fund = +// hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); +// let parliament_investment_fund_balance = balance!(33000000); + +// let val_rewards_for_erc20_xor_holders = balance!(33100000); + +// // Initial accounts + +// let xor_fee_tech_account_id = TechAccountId::Generic( +// xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), +// xor_fee::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let xor_fee_account_id: AccountId = +// technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) +// .expect("Failed to decode account Id"); + +// let eth_bridge_tech_account_id = TechAccountId::Generic( +// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), +// eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let eth_bridge_account_id = +// technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) +// .unwrap(); +// let eth_bridge_authority_tech_account_id = TechAccountId::Generic( +// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), +// eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), +// ); +// let eth_bridge_authority_account_id = +// technical::Pallet::::tech_account_id_to_account_id( +// ð_bridge_authority_tech_account_id, +// ) +// .unwrap(); + +// let trustless_eth_bridge_tech_account_id = +// framenode_runtime::GetTrustlessBridgeTechAccountId::get(); +// let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); + +// let trustless_eth_bridge_fees_tech_account_id = +// framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); +// let trustless_eth_bridge_fees_account_id = +// framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); + +// let treasury_tech_account_id = framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); +// let treasury_account_id = framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); + +// let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); +// let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); + +// let pswap_distribution_tech_account_id = +// framenode_runtime::GetPswapDistributionTechAccountId::get(); +// let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); + +// let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); +// let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); + +// let mbc_pool_free_reserves_tech_account_id = +// framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); +// let mbc_pool_free_reserves_account_id = +// framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); + +// let xst_pool_permissioned_tech_account_id = +// framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); +// let xst_pool_permissioned_account_id = +// framenode_runtime::GetXSTPoolPermissionedAccountId::get(); + +// let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); +// let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); + +// let iroha_migration_tech_account_id = TechAccountId::Generic( +// iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), +// iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( +// &iroha_migration_tech_account_id, +// ) +// .unwrap(); + +// let rewards_tech_account_id = TechAccountId::Generic( +// rewards::TECH_ACCOUNT_PREFIX.to_vec(), +// rewards::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let rewards_account_id = +// technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) +// .unwrap(); + +// let assets_and_permissions_tech_account_id = +// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); +// let assets_and_permissions_account_id = +// technical::Pallet::::tech_account_id_to_account_id( +// &assets_and_permissions_tech_account_id, +// ) +// .unwrap(); + +// let dex_root_tech_account_id = +// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); +// let dex_root_account_id = +// technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) +// .unwrap(); + +// #[cfg(feature = "ready-to-test")] // kensetsu +// let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); +// #[cfg(feature = "ready-to-test")] // kensetsu +// let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); + +// let mut tech_accounts = vec![ +// (xor_fee_account_id.clone(), xor_fee_tech_account_id), +// ( +// eth_bridge_account_id.clone(), +// eth_bridge_tech_account_id.clone(), +// ), +// ( +// eth_bridge_authority_account_id.clone(), +// eth_bridge_authority_tech_account_id.clone(), +// ), +// ( +// trustless_eth_bridge_account_id.clone(), +// trustless_eth_bridge_tech_account_id.clone(), +// ), +// ( +// trustless_eth_bridge_fees_account_id.clone(), +// trustless_eth_bridge_fees_tech_account_id.clone(), +// ), +// ( +// treasury_account_id.clone(), +// treasury_tech_account_id.clone(), +// ), +// ( +// pswap_distribution_account_id.clone(), +// pswap_distribution_tech_account_id.clone(), +// ), +// ( +// liquidity_proxy_account_id.clone(), +// liquidity_proxy_tech_account_id.clone(), +// ), +// ( +// mbc_reserves_account_id.clone(), +// mbc_reserves_tech_account_id.clone(), +// ), +// ( +// mbc_pool_rewards_account_id.clone(), +// mbc_pool_rewards_tech_account_id.clone(), +// ), +// ( +// mbc_pool_free_reserves_account_id.clone(), +// mbc_pool_free_reserves_tech_account_id.clone(), +// ), +// ( +// xst_pool_permissioned_account_id.clone(), +// xst_pool_permissioned_tech_account_id.clone(), +// ), +// ( +// iroha_migration_account_id.clone(), +// iroha_migration_tech_account_id.clone(), +// ), +// (rewards_account_id.clone(), rewards_tech_account_id.clone()), +// ( +// assets_and_permissions_account_id.clone(), +// assets_and_permissions_tech_account_id.clone(), +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// kensetsu_treasury_account_id.clone(), +// kensetsu_treasury_tech_account_id.clone(), +// ), +// ]; +// let accounts = bonding_curve_distribution_accounts(); +// for account in &accounts.accounts() { +// match account { +// DistributionAccount::Account(_) => continue, +// DistributionAccount::TechAccount(account) => { +// tech_accounts.push(( +// Technical::tech_account_id_to_account_id(account).unwrap(), +// account.to_owned(), +// )); +// } +// } +// } +// let mut balances = vec![ +// (eth_bridge_account_id.clone(), initial_eth_bridge_xor_amount), +// (assets_and_permissions_account_id.clone(), 0), +// (xor_fee_account_id.clone(), 0), +// (dex_root_account_id.clone(), 0), +// (iroha_migration_account_id.clone(), 0), +// (pswap_distribution_account_id.clone(), 0), +// (mbc_reserves_account_id.clone(), 0), +// (mbc_pool_rewards_account_id.clone(), 0), +// (mbc_pool_free_reserves_account_id.clone(), 0), +// (xst_pool_permissioned_account_id.clone(), 0), +// #[cfg(feature = "ready-to-test")] // kensetsu +// (kensetsu_treasury_account_id.clone(), 0), +// ] +// .into_iter() +// .chain( +// initial_authorities +// .iter() +// .cloned() +// .map(|(k1, ..)| (k1, initial_staking)), +// ) +// .chain( +// initial_authorities +// .iter() +// .cloned() +// .map(|(_, k2, ..)| (k2, initial_staking)), +// ) +// .chain( +// endowed_accounts +// .iter() +// .cloned() +// .map(|account| (account, initial_staking)), +// ) +// .collect::>(); + +// #[cfg(not(feature = "include-real-files"))] +// let rewards_config = RewardsConfig { +// reserves_account_id: rewards_tech_account_id, +// val_owners: vec![ +// ( +// hex!("d170A274320333243b9F860e8891C6792DE1eC19").into(), +// balance!(995).into(), +// ), +// ( +// hex!("21Bc9f4a3d9Dc86f142F802668dB7D908cF0A636").into(), +// balance!(111).into(), +// ), +// ( +// hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), +// balance!(444).into(), +// ), +// ], +// pswap_farm_owners: vec![ +// ( +// hex!("4fE143cDD48791cB364823A41e018AEC5cBb9AbB").into(), +// balance!(222), +// ), +// ( +// hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), +// balance!(555), +// ), +// ], +// pswap_waifu_owners: vec![( +// hex!("886021F300dC809269CFC758A2364a2baF63af0c").into(), +// balance!(333), +// )], +// umi_nfts: vec![PSWAP.into(), VAL.into()], +// }; + +// #[cfg(feature = "include-real-files")] +// let rewards_config = RewardsConfig { +// reserves_account_id: rewards_tech_account_id, +// val_owners: our_include!("bytes/rewards_val_owners.in"), +// pswap_farm_owners: our_include!("bytes/rewards_pswap_farm_owners.in"), +// pswap_waifu_owners: our_include!("bytes/rewards_pswap_waifu_owners.in"), +// umi_nfts: vec![PSWAP.into(), VAL.into()], +// }; + +// let rewards_pswap_reserves = +// calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) +// + calculate_reserves(rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b)); +// let mut tokens_endowed_accounts = vec![ +// ( +// rewards_account_id.clone(), +// GetValAssetId::get(), +// val_rewards_for_erc20_xor_holders, +// ), +// ( +// rewards_account_id, +// GetPswapAssetId::get(), +// rewards_pswap_reserves, +// ), +// ( +// eth_bridge_account_id.clone(), +// VAL, +// initial_eth_bridge_val_amount, +// ), +// ( +// mbc_pool_rewards_account_id.clone(), +// PSWAP, +// initial_pswap_tbc_rewards, +// ), +// ( +// parliament_investment_fund, +// VAL, +// parliament_investment_fund_balance, +// ), +// ]; +// let faucet_config = { +// let initial_faucet_balance = balance!(6000000000); +// let faucet_tech_account_id = TechAccountId::Generic( +// faucet::TECH_ACCOUNT_PREFIX.to_vec(), +// faucet::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let faucet_account_id: AccountId = +// technical::Pallet::::tech_account_id_to_account_id(&faucet_tech_account_id) +// .expect("Failed to decode account id"); +// let ceres = common::AssetId32::from_bytes(hex!( +// "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" +// )); +// tech_accounts.push((faucet_account_id.clone(), faucet_tech_account_id.clone())); +// balances.push((faucet_account_id.clone(), initial_faucet_balance)); +// tokens_endowed_accounts.push((faucet_account_id.clone(), VAL, initial_faucet_balance)); +// tokens_endowed_accounts.push((faucet_account_id.clone(), PSWAP, initial_faucet_balance)); +// tokens_endowed_accounts.push((faucet_account_id.clone(), ceres, initial_faucet_balance)); +// tokens_endowed_accounts.push(( +// faucet_account_id.clone(), +// HERMES_ASSET_ID, +// initial_faucet_balance, +// )); +// tokens_endowed_accounts.push((faucet_account_id, APOLLO_ASSET_ID, initial_faucet_balance)); +// FaucetConfig { +// reserves_account_id: faucet_tech_account_id, +// } +// }; + +// let iroha_migration_config = IrohaMigrationConfig { +// iroha_accounts: if dev { +// our_include!("bytes/iroha_migration_accounts_dev.in") +// } else { +// our_include!("bytes/iroha_migration_accounts_staging.in") +// }, +// account_id: Some(iroha_migration_account_id.clone()), +// }; +// let initial_collateral_assets = vec![ +// DAI.into(), +// VAL.into(), +// PSWAP.into(), +// ETH.into(), +// XST.into(), +// TBCD.into(), +// ]; +// GenesisConfig { +// #[cfg(feature = "wip")] // EVM bridge +// evm_fungible_app: Default::default(), +// parachain_bridge_app: Default::default(), +// substrate_bridge_outbound_channel: Default::default(), + +// #[cfg(feature = "wip")] // Trustless substrate bridge +// beefy_light_client: Default::default(), + +// #[cfg(feature = "wip")] // EVM bridge +// bridge_outbound_channel: BridgeOutboundChannelConfig { +// interval: 10, +// ..Default::default() +// }, + +// system: SystemConfig { +// code: WASM_BINARY.unwrap_or_default().to_vec(), +// }, +// sudo: SudoConfig { +// key: Some(root_key.clone()), +// }, +// technical: TechnicalConfig { +// register_tech_accounts: tech_accounts, +// }, +// babe: BabeConfig { +// authorities: vec![], +// epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), +// }, +// grandpa: GrandpaConfig { +// authorities: vec![], +// }, +// session: SessionConfig { +// keys: initial_authorities +// .iter() +// .map( +// |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { +// ( +// account.clone(), +// account.clone(), +// session_keys( +// grandpa_id.clone(), +// babe_id.clone(), +// im_online_id.clone(), +// beefy_id.clone(), +// ), +// ) +// }, +// ) +// .collect::>(), +// }, +// staking: StakingConfig { +// validator_count, +// minimum_validator_count: 1, +// stakers: initial_authorities +// .iter() +// .map(|(stash_account, account, _, _, _, _, _)| { +// ( +// stash_account.clone(), +// account.clone(), +// initial_staking, +// StakerStatus::Validator, +// ) +// }) +// .collect(), +// invulnerables: Vec::new(), +// slash_reward_fraction: Perbill::from_percent(10), +// ..Default::default() +// }, +// assets: AssetsConfig { +// endowed_assets: vec![ +// ( +// GetXorAssetId::get(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"XOR".to_vec()), +// AssetName(b"SORA".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// // ( +// // UsdId::get(), +// // assets_and_permissions_account_id.clone(), +// // AssetSymbol(b"USDT".to_vec()), +// // AssetName(b"Tether USD".to_vec()), +// // DEFAULT_BALANCE_PRECISION, +// // Balance::zero(), +// // true, +// // None, +// // None, +// // ), +// ( +// GetValAssetId::get(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"VAL".to_vec()), +// AssetName(b"SORA Validator Token".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// GetPswapAssetId::get(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"PSWAP".to_vec()), +// AssetName(b"Polkaswap".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// DAI.into(), +// eth_bridge_account_id.clone(), +// AssetSymbol(b"DAI".to_vec()), +// AssetName(b"Dai Stablecoin".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// ETH.into(), +// eth_bridge_account_id.clone(), +// AssetSymbol(b"ETH".to_vec()), +// AssetName(b"Ether".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// XST.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"XST".to_vec()), +// AssetName(b"SORA Synthetics".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// TBCD.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"TBCD".to_vec()), +// AssetName(b"SORA TBC Dollar".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// KEN.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"KEN".to_vec()), +// AssetName(b"Kensetsu incentive token".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// KUSD.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"KUSD".to_vec()), +// AssetName(b"Kensetsu Stable Dollar".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// common::AssetId32::from_bytes(hex!( +// "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" +// )) +// .into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"CERES".to_vec()), +// AssetName(b"Ceres".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// common::HERMES_ASSET_ID, +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"HMX".to_vec()), +// AssetName(b"Hermes".to_vec()), +// 18, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// APOLLO_ASSET_ID, +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"APOLLO".to_vec()), +// AssetName(b"Apollo".to_vec()), +// 18, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// XSTUSD, +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"XSTUSD".to_vec()), +// AssetName(b"SORA Synthetics USD".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ], +// }, +// permissions: PermissionsConfig { +// initial_permission_owners: vec![ +// ( +// permissions::MANAGE_DEX, +// Scope::Limited(hash(&0u32)), +// vec![assets_and_permissions_account_id.clone()], +// ), +// ( +// permissions::MINT, +// Scope::Unlimited, +// vec![assets_and_permissions_account_id.clone()], +// ), +// ( +// permissions::BURN, +// Scope::Unlimited, +// vec![assets_and_permissions_account_id.clone()], +// ), +// ], +// initial_permissions: vec![ +// ( +// dex_root_account_id.clone(), +// Scope::Limited(hash(&0u32)), +// vec![permissions::MANAGE_DEX], +// ), +// ( +// dex_root_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::CREATE_FARM], +// ), +// ( +// xor_fee_account_id, +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// iroha_migration_account_id, +// Scope::Limited(hash(&VAL)), +// vec![permissions::MINT], +// ), +// ( +// assets_and_permissions_account_id, +// Scope::Unlimited, +// vec![ +// permissions::MINT, +// permissions::BURN, +// permissions::LOCK_TO_FARM, +// permissions::UNLOCK_FROM_FARM, +// permissions::CLAIM_FROM_FARM, +// ], +// ), +// ( +// pswap_distribution_account_id, +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// mbc_reserves_account_id, +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// mbc_pool_free_reserves_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// xst_pool_permissioned_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// kensetsu_treasury_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ], +// }, +// balances: BalancesConfig { balances }, +// dex_manager: DEXManagerConfig { +// dex_list: vec![ +// ( +// 0, +// DEXInfo { +// base_asset_id: GetBaseAssetId::get(), +// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), +// is_public: true, +// }, +// ), +// ( +// 1, +// DEXInfo { +// base_asset_id: XSTUSD, +// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), +// is_public: true, +// }, +// ), +// ], +// }, +// faucet: faucet_config, +// tokens: TokensConfig { +// balances: tokens_endowed_accounts, +// }, +// trading_pair: TradingPairConfig { +// trading_pairs: initial_collateral_assets +// .iter() +// .cloned() +// .map(|target_asset_id| create_trading_pair(XOR, target_asset_id)) +// .collect(), +// }, +// dexapi: DEXAPIConfig { +// source_types: [ +// LiquiditySourceType::XYKPool, +// LiquiditySourceType::MulticollateralBondingCurvePool, +// LiquiditySourceType::XSTPool, +// LiquiditySourceType::OrderBook, +// ] +// .into(), +// }, +// eth_bridge: EthBridgeConfig { +// authority_account: Some(eth_bridge_authority_account_id.clone()), +// networks: vec![NetworkConfig { +// initial_peers: initial_bridge_peers.iter().cloned().collect(), +// bridge_account_id: eth_bridge_account_id.clone(), +// assets: vec![ +// AssetConfig::Sidechain { +// id: XOR.into(), +// sidechain_id: eth_bridge_params.xor_contract_address, +// owned: true, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// AssetConfig::Sidechain { +// id: VAL.into(), +// sidechain_id: eth_bridge_params.val_contract_address, +// owned: true, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// AssetConfig::Sidechain { +// id: DAI.into(), +// sidechain_id: hex!("34273F3a534dF490437F0deFFcb0549B40fb3Db6").into(), +// owned: false, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// AssetConfig::Sidechain { +// id: ETH.into(), +// sidechain_id: hex!("0000000000000000000000000000000000000000").into(), +// owned: false, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// ], +// bridge_contract_address: eth_bridge_params.bridge_contract_address, +// reserves: vec![ +// (XOR.into(), balance!(350000)), +// (VAL.into(), balance!(33900000)), +// ], +// }], +// xor_master_contract_address: eth_bridge_params.xor_master_contract_address, +// val_master_contract_address: eth_bridge_params.val_master_contract_address, +// }, +// bridge_multisig: BridgeMultisigConfig { +// accounts: once(( +// eth_bridge_account_id.clone(), +// bridge_multisig::MultisigAccount::new(initial_bridge_peers), +// )) +// .collect(), +// }, +// multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { +// distribution_accounts: accounts, +// reserves_account_id: mbc_reserves_tech_account_id, +// reference_asset_id: DAI.into(), +// incentives_account_id: Some(mbc_pool_rewards_account_id), +// initial_collateral_assets, +// free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), +// }, +// pswap_distribution: PswapDistributionConfig { +// subscribed_accounts: Vec::new(), +// burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), +// }, +// iroha_migration: iroha_migration_config, +// rewards: rewards_config, +// council: CouncilConfig { +// members: council_accounts, +// phantom: Default::default(), +// }, +// technical_committee: TechnicalCommitteeConfig { +// members: technical_committee_accounts, +// phantom: Default::default(), +// }, +// democracy: DemocracyConfig::default(), +// elections_phragmen: Default::default(), +// technical_membership: Default::default(), +// im_online: Default::default(), +// xst_pool: XSTPoolConfig { +// reference_asset_id: DAI, +// initial_synthetic_assets: vec![( +// XSTUSD.into(), +// common::SymbolName::usd().into(), +// fixed!(0.00666), +// )], +// }, +// beefy: BeefyConfig { +// authorities: vec![], +// }, +// } +// } + +// #[cfg(all( +// any( +// feature = "main-net-coded", +// feature = "test", +// feature = "runtime-benchmarks", +// feature = "wip", +// feature = "ready-to-test" +// ), +// not(feature = "private-net") +// ))] +// pub fn main_net_coded() -> ChainSpec { +// let mut properties = Properties::new(); +// properties.insert("ss58Format".into(), SS58Prefix::get().into()); +// properties.insert("tokenSymbol".into(), "XOR".into()); +// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); +// let name = "SORA"; +// let id = "sora-substrate-main-net"; +// // SORA main-net node address. We should have 2 nodes. +// let boot_nodes = vec![ +// MultiaddrWithPeerId::from_str("/dns/v1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWLHZRLHeVPdrXuNNdzpKuPqo6Sm6f9rjVtp5XsEvhXvyG").unwrap(), //Prod value +// MultiaddrWithPeerId::from_str("/dns/v2.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWGiemoYceJ1y5nQR1YNxysjbCH8MbW5ps1uApLfN36VQa").unwrap() //Prod value +// ]; +// ChainSpec::from_genesis( +// name, +// id, +// ChainType::Live, +// move || { +// let eth_bridge_params = EthBridgeParams { +// xor_master_contract_address: hex!("c08edf13be9b9cc584c5da8004ce7e6be63c1316") //Prod value +// .into(), +// xor_contract_address: hex!("40fd72257597aa14c7231a7b1aaa29fce868f677").into(), //Prod value +// val_master_contract_address: hex!("d1eeb2f30016fffd746233ee12c486e7ca8efef1") //Prod value +// .into(), +// val_contract_address: hex!("e88f8313e61a97cec1871ee37fbbe2a8bf3ed1e4").into(), //Prod value +// bridge_contract_address: hex!("1485e9852ac841b52ed44d573036429504f4f602").into(), +// }; + +// // SORA main-net node address. We should have 2 nodes. +// // Currently filled with staging example values +// mainnet_genesis( +// vec![ +// authority_keys_from_public_keys( +// hex!("207ed7bbf6fa0685dca5f24d6773a58ab9c710512d1087db5e47e0fe0f357239"), //Prod value +// hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value +// hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value +// hex!("71e6acfa06696ae5d962a36b88ddf4b0c7d5751a7107a2db1e6947ee2442f573"), //Prod value +// hex!("024f206cdff359d50597b3fd41fd17a1b585c7914037eedbd8e4a0d3f213a8ab33"), // Prod value +// ), +// authority_keys_from_public_keys( +// hex!("94ee828c3455a327dde32f577e27f0b8a4c42b3fb626ee27f0004f7cf02bd332"), //Prod value +// hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value +// hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value +// hex!("d603aea460c53393cfd2e2eb2820bb138738288502488fd6431fa93f7b59642d"), //Prod value +// hex!("02aadf7d2aa0d424cd60d6b384647f48e8d00610a631079fa33c1da0d712a71b1d"), // Prod value +// ), +// ], +// vec![ +// hex!("4cd5a4a244bc53f6f1458757ed0af8680e8faa860deca32976bbd9a951bf6c1c").into(), +// hex!("54d7aa0bba9a5dbb1bb77973f344625df346f6a65840b8534ee22e93fbad767a").into(), +// hex!("e811eac3cf718caa98d77bb479227e8cc512e51e79d6ba1494dd089093f5707f").into(), +// hex!("a648c659a86eeb7cf84ddcedac64f33de6966b8853dd636ba693fce100bd8858").into(), +// hex!("60a17ce8550db4e1358db54bc3791026a285ab88e9c988ad54c3dc282475fe14").into(), +// hex!("de06bf70964d8aff4816e3cfd576d8d8f774663906a6e40d316860a3d4c55b6c").into(), +// hex!("4a4371f63db17fb4f33bec3ce7c8f588e3258c3b268b450647f4870d964dca6f").into(), +// hex!("d8815601fc99d9afa27a09fc5e46ebcc2472edc466fbb5c6fbae7a8566e50318").into(), +// ], +// vec![ +// hex!("a3bcbf3044069ac13c30d662a204d8368c266e2f0e8cf603c7bfb2b7b5daae55").into(), //Prod value +// hex!("297c03e65c2930daa7c6067a2bb853819b61ed49b70de2f3219a2eb6ec0364aa").into(), //Prod value +// ], +// eth_bridge_params, +// vec![ +// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), +// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), +// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), +// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), +// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), +// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), +// ], +// vec![ +// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), +// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), +// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), +// ], +// ) +// }, +// boot_nodes, +// None, +// Some("sora-substrate-1"), +// None, +// Some(properties), +// None, +// ) +// } + +// #[cfg(all( +// any( +// feature = "main-net-coded", +// feature = "test", +// feature = "runtime-benchmarks", +// feature = "wip", +// feature = "ready-to-test" +// ), +// not(feature = "private-net") +// ))] +// fn mainnet_genesis( +// initial_authorities: Vec<( +// AccountId, +// AccountId, +// AuraId, +// BabeId, +// GrandpaId, +// ImOnlineId, +// BeefyId, +// )>, +// additional_validators: Vec, +// initial_bridge_peers: Vec, +// eth_bridge_params: EthBridgeParams, +// council_accounts: Vec, +// technical_committee_accounts: Vec, +// ) -> GenesisConfig { +// // Minimum stake for an active validator +// let initial_staking = balance!(0.2); +// // XOR amount which already exists on Ethereum +// let initial_eth_bridge_xor_amount = balance!(350000); +// // VAL amount which already exists on SORA_1 and Ethereum. Partially can be migrated directly from SORA_1. Not yet decided finally. +// let initial_eth_bridge_val_amount = balance!(33900000); +// // Initial token bonding curve PSWAP rewards according to 10 bln PSWAP total supply. +// let initial_pswap_tbc_rewards = balance!(2500000000); +// // Initial market maker PSWAP rewards. +// let initial_pswap_market_maker_rewards = balance!(364988000); + +// let parliament_investment_fund: AccountId = +// hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); +// let parliament_investment_fund_balance = balance!(33000000); + +// // Initial accounts +// let xor_fee_tech_account_id = TechAccountId::Generic( +// xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), +// xor_fee::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let xor_fee_account_id: AccountId = +// technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) +// .expect("Failed to decode account Id"); + +// // Bridge peers multisignature account +// let eth_bridge_tech_account_id = TechAccountId::Generic( +// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), +// eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// // Wrapping of bridge peers multisignature account +// let eth_bridge_account_id = +// technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) +// .unwrap(); +// // Bridge authority account expected to be managed by voting +// let eth_bridge_authority_tech_account_id = TechAccountId::Generic( +// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), +// eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), +// ); +// // Wrapper for Bridge authority account expected to be managed by voting +// let eth_bridge_authority_account_id = +// technical::Pallet::::tech_account_id_to_account_id( +// ð_bridge_authority_tech_account_id, +// ) +// .unwrap(); + +// let trustless_eth_bridge_tech_account_id = +// framenode_runtime::GetTrustlessBridgeTechAccountId::get(); +// let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); + +// let trustless_eth_bridge_fees_tech_account_id = +// framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); +// let trustless_eth_bridge_fees_account_id = +// framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); + +// let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); +// let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); + +// let pswap_distribution_tech_account_id = +// framenode_runtime::GetPswapDistributionTechAccountId::get(); +// let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); + +// let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); +// let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); + +// let mbc_pool_free_reserves_tech_account_id = +// framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); +// let mbc_pool_free_reserves_account_id = +// framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); + +// let xst_pool_permissioned_tech_account_id = +// framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); +// let xst_pool_permissioned_account_id = +// framenode_runtime::GetXSTPoolPermissionedAccountId::get(); + +// let market_maker_rewards_tech_account_id = +// framenode_runtime::GetMarketMakerRewardsTechAccountId::get(); +// let market_maker_rewards_account_id = framenode_runtime::GetMarketMakerRewardsAccountId::get(); + +// let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); +// let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); + +// let iroha_migration_tech_account_id = TechAccountId::Generic( +// iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), +// iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( +// &iroha_migration_tech_account_id, +// ) +// .unwrap(); + +// let rewards_tech_account_id = TechAccountId::Generic( +// rewards::TECH_ACCOUNT_PREFIX.to_vec(), +// rewards::TECH_ACCOUNT_MAIN.to_vec(), +// ); +// let rewards_account_id = +// technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) +// .unwrap(); + +// let assets_and_permissions_tech_account_id = +// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); +// let assets_and_permissions_account_id = +// technical::Pallet::::tech_account_id_to_account_id( +// &assets_and_permissions_tech_account_id, +// ) +// .unwrap(); + +// let dex_root_tech_account_id = +// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); +// let dex_root_account_id = +// technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) +// .unwrap(); + +// #[cfg(feature = "ready-to-test")] // kensetsu +// let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); +// #[cfg(feature = "ready-to-test")] // kensetsu +// let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); + +// let mut tech_accounts = vec![ +// (xor_fee_account_id.clone(), xor_fee_tech_account_id), +// ( +// eth_bridge_account_id.clone(), +// eth_bridge_tech_account_id.clone(), +// ), +// ( +// eth_bridge_authority_account_id.clone(), +// eth_bridge_authority_tech_account_id.clone(), +// ), +// ( +// trustless_eth_bridge_account_id.clone(), +// trustless_eth_bridge_tech_account_id.clone(), +// ), +// ( +// trustless_eth_bridge_fees_account_id.clone(), +// trustless_eth_bridge_fees_tech_account_id.clone(), +// ), +// ( +// pswap_distribution_account_id.clone(), +// pswap_distribution_tech_account_id.clone(), +// ), +// ( +// liquidity_proxy_account_id.clone(), +// liquidity_proxy_tech_account_id.clone(), +// ), +// ( +// mbc_reserves_account_id.clone(), +// mbc_reserves_tech_account_id.clone(), +// ), +// ( +// mbc_pool_rewards_account_id.clone(), +// mbc_pool_rewards_tech_account_id.clone(), +// ), +// ( +// mbc_pool_free_reserves_account_id.clone(), +// mbc_pool_free_reserves_tech_account_id.clone(), +// ), +// ( +// xst_pool_permissioned_account_id.clone(), +// xst_pool_permissioned_tech_account_id.clone(), +// ), +// ( +// iroha_migration_account_id.clone(), +// iroha_migration_tech_account_id.clone(), +// ), +// (rewards_account_id.clone(), rewards_tech_account_id.clone()), +// ( +// assets_and_permissions_account_id.clone(), +// assets_and_permissions_tech_account_id.clone(), +// ), +// ( +// market_maker_rewards_account_id.clone(), +// market_maker_rewards_tech_account_id.clone(), +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// kensetsu_treasury_account_id.clone(), +// kensetsu_treasury_tech_account_id.clone(), +// ), +// ]; +// let accounts = bonding_curve_distribution_accounts(); +// for account in &accounts.accounts() { +// match account { +// DistributionAccount::Account(_) => continue, +// DistributionAccount::TechAccount(account) => { +// tech_accounts.push(( +// Technical::tech_account_id_to_account_id(account).unwrap(), +// account.to_owned(), +// )); +// } +// } +// } +// let rewards_config = RewardsConfig { +// reserves_account_id: rewards_tech_account_id, +// val_owners: Vec::new(), +// pswap_farm_owners: Vec::new(), +// pswap_waifu_owners: Vec::new(), +// umi_nfts: Vec::new(), +// }; +// let initial_collateral_assets = vec![DAI.into(), VAL.into(), PSWAP.into(), ETH.into()]; +// let mut bridge_assets = vec![ +// AssetConfig::Sidechain { +// id: XOR.into(), +// sidechain_id: eth_bridge_params.xor_contract_address, +// owned: true, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// AssetConfig::Sidechain { +// id: VAL.into(), +// sidechain_id: eth_bridge_params.val_contract_address, +// owned: true, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// AssetConfig::Sidechain { +// id: ETH.into(), +// sidechain_id: hex!("0000000000000000000000000000000000000000").into(), +// owned: false, +// precision: DEFAULT_BALANCE_PRECISION, +// }, +// ]; +// let mut endowed_assets = vec![ +// ( +// GetXorAssetId::get(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"XOR".to_vec()), +// AssetName(b"SORA".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// GetValAssetId::get(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"VAL".to_vec()), +// AssetName(b"SORA Validator Token".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// GetPswapAssetId::get(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"PSWAP".to_vec()), +// AssetName(b"Polkaswap".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// ETH.into(), +// eth_bridge_account_id.clone(), +// AssetSymbol(b"ETH".to_vec()), +// AssetName(b"Ether".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// XST.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"XST".to_vec()), +// AssetName(b"SORA Synthetics".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// TBCD.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"TBCD".to_vec()), +// AssetName(b"SORA TBC Dollar".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// KEN.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"KEN".to_vec()), +// AssetName(b"Kensetsu incentive token".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// KUSD.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"KUSD".to_vec()), +// AssetName(b"Kensetsu Stable Dollar".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// common::AssetId32::from_bytes(hex!( +// "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" +// )) +// .into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"CERES".to_vec()), +// AssetName(b"Ceres".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// APOLLO_ASSET_ID.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"APOLLO".to_vec()), +// AssetName(b"Apollo".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ( +// XSTUSD.into(), +// assets_and_permissions_account_id.clone(), +// AssetSymbol(b"XSTUSD".to_vec()), +// AssetName(b"SORA Synthetics USD".to_vec()), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ), +// ]; +// let bridge_assets_data: Vec> = Vec::new(); +// bridge_assets.extend(bridge_assets_data.iter().map(|x| { +// AssetConfig::sidechain( +// x.asset_id, +// x.sidechain_asset_id.into(), +// x.sidechain_precision, +// ) +// })); +// endowed_assets.extend(bridge_assets_data.iter().map(|x| { +// ( +// x.asset_id, +// eth_bridge_account_id.clone(), +// x.symbol.clone(), +// x.name.clone(), +// DEFAULT_BALANCE_PRECISION, +// Balance::zero(), +// true, +// None, +// None, +// ) +// })); +// GenesisConfig { +// evm_fungible_app: Default::default(), +// parachain_bridge_app: Default::default(), +// substrate_bridge_outbound_channel: Default::default(), + +// #[cfg(feature = "wip")] // Trustless substrate bridge +// beefy_light_client: Default::default(), + +// #[cfg(feature = "wip")] // EVM bridge +// bridge_outbound_channel: BridgeOutboundChannelConfig { +// interval: 10, +// }, + +// system: SystemConfig { +// code: WASM_BINARY.unwrap_or_default().to_vec(), +// }, +// technical: TechnicalConfig { +// register_tech_accounts: tech_accounts, +// }, +// babe: BabeConfig { +// authorities: vec![], +// epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), +// }, +// grandpa: GrandpaConfig { +// authorities: vec![], +// }, +// session: SessionConfig { +// keys: initial_authorities +// .iter() +// .map( +// |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { +// ( +// account.clone(), +// account.clone(), +// session_keys( +// grandpa_id.clone(), +// babe_id.clone(), +// im_online_id.clone(), +// beefy_id.clone(), +// ), +// ) +// }, +// ) +// .collect::>(), +// }, +// staking: StakingConfig { +// validator_count: 69, +// minimum_validator_count: 1, +// stakers: initial_authorities +// .iter() +// .map(|(stash_account, account, _, _, _, _, _)| { +// ( +// stash_account.clone(), +// account.clone(), +// initial_staking, +// StakerStatus::Validator, +// ) +// }) +// .collect(), +// invulnerables: initial_authorities +// .iter() +// .map(|(stash_account, _, _, _, _, _, _)| stash_account.clone()) +// .collect(), +// slash_reward_fraction: Perbill::from_percent(10), +// ..Default::default() +// }, +// assets: AssetsConfig { +// endowed_assets: endowed_assets, +// }, +// permissions: PermissionsConfig { +// initial_permission_owners: vec![ +// ( +// permissions::MANAGE_DEX, +// Scope::Limited(hash(&0u32)), +// vec![assets_and_permissions_account_id.clone()], +// ), +// ( +// permissions::MINT, +// Scope::Unlimited, +// vec![assets_and_permissions_account_id.clone()], +// ), +// ( +// permissions::BURN, +// Scope::Unlimited, +// vec![assets_and_permissions_account_id.clone()], +// ), +// ], +// initial_permissions: vec![ +// ( +// dex_root_account_id.clone(), +// Scope::Limited(hash(&0u32)), +// vec![permissions::MANAGE_DEX], +// ), +// ( +// dex_root_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::CREATE_FARM], +// ), +// ( +// xor_fee_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// iroha_migration_account_id.clone(), +// Scope::Limited(hash(&VAL)), +// vec![permissions::MINT], +// ), +// ( +// assets_and_permissions_account_id.clone(), +// Scope::Unlimited, +// vec![ +// permissions::MINT, +// permissions::BURN, +// permissions::LOCK_TO_FARM, +// permissions::UNLOCK_FROM_FARM, +// permissions::CLAIM_FROM_FARM, +// ], +// ), +// ( +// pswap_distribution_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// mbc_reserves_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// mbc_pool_free_reserves_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ( +// xst_pool_permissioned_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// #[cfg(feature = "ready-to-test")] // kensetsu +// ( +// kensetsu_treasury_account_id.clone(), +// Scope::Unlimited, +// vec![permissions::MINT, permissions::BURN], +// ), +// ], +// }, +// balances: BalancesConfig { +// balances: vec![ +// (eth_bridge_account_id.clone(), 0), +// (trustless_eth_bridge_account_id.clone(), 0), +// (trustless_eth_bridge_fees_account_id.clone(), 0), +// (assets_and_permissions_account_id.clone(), 0), +// (xor_fee_account_id.clone(), 0), +// (dex_root_account_id.clone(), 0), +// (iroha_migration_account_id.clone(), 0), +// (pswap_distribution_account_id.clone(), 0), +// (mbc_reserves_account_id.clone(), 0), +// (mbc_pool_rewards_account_id.clone(), 0), +// (mbc_pool_free_reserves_account_id.clone(), 0), +// (market_maker_rewards_account_id.clone(), 0), +// (xst_pool_permissioned_account_id.clone(), 0), +// #[cfg(feature = "ready-to-test")] // kensetsu +// (kensetsu_treasury_account_id.clone(), 0), +// ] +// .into_iter() +// .chain( +// initial_authorities +// .iter() +// .cloned() +// .map(|(k1, ..)| (k1, initial_staking)), +// ) +// .chain( +// initial_authorities +// .iter() +// .cloned() +// .map(|(_, k2, ..)| (k2, initial_staking)), +// ) +// .chain( +// additional_validators +// .iter() +// .cloned() +// .map(|account_id| (account_id, initial_staking)), +// ) +// .collect(), +// }, +// dex_manager: DEXManagerConfig { +// dex_list: vec![ +// ( +// 0, +// DEXInfo { +// base_asset_id: GetBaseAssetId::get(), +// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), +// is_public: true, +// }, +// ), +// ( +// 1, +// DEXInfo { +// base_asset_id: XSTUSD.into(), +// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), +// is_public: true, +// }, +// ), +// ], +// }, +// tokens: TokensConfig { +// balances: vec![ +// ( +// rewards_account_id.clone(), +// GetValAssetId::get(), +// calculate_reserves(rewards_config.val_owners.iter().map(|(_, b)| b.total)), +// ), +// ( +// rewards_account_id, +// GetPswapAssetId::get(), +// calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) +// + calculate_reserves( +// rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b), +// ), +// ), +// ( +// mbc_pool_rewards_account_id.clone(), +// PSWAP, +// initial_pswap_tbc_rewards, +// ), +// ( +// parliament_investment_fund, +// VAL, +// parliament_investment_fund_balance, +// ), +// ( +// market_maker_rewards_account_id.clone(), +// PSWAP, +// initial_pswap_market_maker_rewards, +// ), +// ], +// }, +// trading_pair: TradingPairConfig { +// trading_pairs: initial_collateral_assets +// .iter() +// .cloned() +// .map(|target_asset_id| create_trading_pair(XOR.into(), target_asset_id)) +// .collect(), +// }, +// dexapi: DEXAPIConfig { +// source_types: [ +// LiquiditySourceType::XYKPool, +// LiquiditySourceType::MulticollateralBondingCurvePool, +// LiquiditySourceType::OrderBook, +// ] +// .into(), +// }, +// eth_bridge: EthBridgeConfig { +// authority_account: Some(eth_bridge_authority_account_id.clone()), +// networks: vec![NetworkConfig { +// initial_peers: initial_bridge_peers.iter().cloned().collect(), +// bridge_account_id: eth_bridge_account_id.clone(), +// assets: bridge_assets, +// bridge_contract_address: eth_bridge_params.bridge_contract_address, +// reserves: vec![ +// (XOR.into(), initial_eth_bridge_xor_amount), +// (VAL.into(), initial_eth_bridge_val_amount), +// ], +// }], +// xor_master_contract_address: eth_bridge_params.xor_master_contract_address, +// val_master_contract_address: eth_bridge_params.val_master_contract_address, +// }, +// bridge_multisig: BridgeMultisigConfig { +// accounts: once(( +// eth_bridge_account_id.clone(), +// bridge_multisig::MultisigAccount::new(initial_bridge_peers), +// )) +// .collect(), +// }, +// multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { +// distribution_accounts: accounts, +// reserves_account_id: mbc_reserves_tech_account_id, +// reference_asset_id: DAI.into(), +// incentives_account_id: Some(mbc_pool_rewards_account_id), +// initial_collateral_assets, +// free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), +// }, +// pswap_distribution: PswapDistributionConfig { +// subscribed_accounts: Vec::new(), +// burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), +// }, +// iroha_migration: IrohaMigrationConfig { +// iroha_accounts: Vec::new(), +// account_id: Some(iroha_migration_account_id), +// }, +// rewards: rewards_config, +// council: CouncilConfig { +// members: council_accounts, +// phantom: Default::default(), +// }, +// technical_committee: TechnicalCommitteeConfig { +// members: technical_committee_accounts, +// phantom: Default::default(), +// }, +// democracy: DemocracyConfig::default(), +// elections_phragmen: Default::default(), +// technical_membership: Default::default(), +// im_online: Default::default(), +// xst_pool: XSTPoolConfig { +// reference_asset_id: DAI, +// initial_synthetic_assets: vec![( +// XSTUSD, +// common::SymbolName::usd().into(), +// fixed!(0.00666), +// )], +// }, +// beefy: BeefyConfig { +// authorities: vec![], +// }, +// } +// } + +// fn create_trading_pair( +// base_asset_id: AssetId, +// target_asset_id: AssetId, +// ) -> (u32, common::TradingPair) { +// ( +// DEXId::Polkaswap.into(), +// common::TradingPair { +// base_asset_id, +// target_asset_id, +// }, +// ) +// } + +// /// Creates TestExternalities +// #[cfg(all(feature = "test", not(feature = "private-net")))] +// pub fn ext() -> sp_io::TestExternalities { +// let storage = main_net_coded().build_storage().unwrap(); +// sp_io::TestExternalities::new(storage) +// } + +// /// Creates TestExternalities for `private-net` +// #[cfg(all(feature = "test", feature = "private-net"))] +// pub fn ext() -> sp_io::TestExternalities { +// let storage = dev_net_coded().build_storage().unwrap(); +// sp_io::TestExternalities::new(storage) +// } + +// #[cfg(test)] +// mod tests { +// use hex_literal::hex; + +// use common::eth::EthAddress; +// use common::{balance, Balance}; + +// #[test] +// fn calculate_reserves() { +// let accounts: Vec<(EthAddress, Balance)> = vec![ +// ( +// hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), +// balance!(100), +// ), +// ( +// hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), +// balance!(23.4000000), +// ), +// ( +// hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), +// balance!(0.05678), +// ), +// ]; +// assert_eq!( +// super::calculate_reserves(accounts.iter().map(|(_, b)| *b)), +// balance!(123.45678) +// ); +// } +// } diff --git a/pallets/assets/runtime-api/src/lib.rs b/pallets/assets/runtime-api/src/lib.rs index e19be6b899..fa2f67aaf7 100644 --- a/pallets/assets/runtime-api/src/lib.rs +++ b/pallets/assets/runtime-api/src/lib.rs @@ -35,12 +35,13 @@ use codec::{Codec, Decode, Encode}; #[cfg(feature = "std")] use common::utils::{string_serialization, string_serialization_opt}; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::traits::{MaybeDisplay, MaybeFromStr}; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] #[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] pub struct BalanceInfo { @@ -57,7 +58,7 @@ pub struct BalanceInfo { pub balance: Balance, } -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct AssetInfo { #[cfg_attr( diff --git a/pallets/dex-api/runtime-api/src/lib.rs b/pallets/dex-api/runtime-api/src/lib.rs index 83aa77531f..48333150e0 100644 --- a/pallets/dex-api/runtime-api/src/lib.rs +++ b/pallets/dex-api/runtime-api/src/lib.rs @@ -37,6 +37,7 @@ use common::prelude::OutcomeFee; #[cfg(feature = "std")] use common::utils::{fee_serialization, string_serialization}; use common::BalanceWrapper; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::de::DeserializeOwned; #[cfg(feature = "std")] @@ -44,7 +45,7 @@ use serde::{Deserialize, Serialize}; use sp_runtime::traits::{MaybeDisplay, MaybeFromStr, Zero}; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct SwapOutcomeInfo where @@ -87,7 +88,7 @@ where } } -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct SwapOutcomeInfoV1 { #[cfg_attr( diff --git a/pallets/liquidity-proxy/runtime-api/src/lib.rs b/pallets/liquidity-proxy/runtime-api/src/lib.rs index 7c73c4e8e0..7db4b8b77e 100644 --- a/pallets/liquidity-proxy/runtime-api/src/lib.rs +++ b/pallets/liquidity-proxy/runtime-api/src/lib.rs @@ -37,12 +37,13 @@ use common::prelude::OutcomeFee; #[cfg(feature = "std")] use common::utils::{fee_serialization, string_serialization}; use common::{BalanceWrapper, RewardReason}; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::traits::{MaybeDisplay, MaybeFromStr, Zero}; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct SwapOutcomeInfo where @@ -102,7 +103,7 @@ where } } -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct SwapOutcomeInfoV2 { #[cfg_attr( @@ -159,7 +160,7 @@ where } } -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct SwapOutcomeInfoV1 { #[cfg_attr( @@ -187,7 +188,7 @@ pub struct SwapOutcomeInfoV1 { pub rewards: Vec>, } -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct RewardsInfo { #[cfg_attr( diff --git a/pallets/oracle-proxy/runtime-api/src/lib.rs b/pallets/oracle-proxy/runtime-api/src/lib.rs index cd5b88d176..1add0eb4bf 100644 --- a/pallets/oracle-proxy/runtime-api/src/lib.rs +++ b/pallets/oracle-proxy/runtime-api/src/lib.rs @@ -36,12 +36,13 @@ use codec::{Codec, Decode, Encode}; #[cfg(feature = "std")] use common::utils::string_serialization; use common::Balance; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::DispatchError; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct RateInfo { #[cfg_attr( diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index fede6101bc..e03fcd9c43 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -69,4 +69,4 @@ private-net = [ # "framenode-runtime/private-net", ] -# test = [] +test = [] diff --git a/pallets/pswap-distribution/runtime-api/src/lib.rs b/pallets/pswap-distribution/runtime-api/src/lib.rs index 393f2679cd..3cc451c6ad 100644 --- a/pallets/pswap-distribution/runtime-api/src/lib.rs +++ b/pallets/pswap-distribution/runtime-api/src/lib.rs @@ -35,12 +35,13 @@ use codec::{Codec, Decode, Encode}; #[cfg(feature = "std")] use common::utils::string_serialization; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::traits::{MaybeDisplay, MaybeFromStr}; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] #[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] pub struct BalanceInfo { diff --git a/pallets/rewards/runtime-api/src/lib.rs b/pallets/rewards/runtime-api/src/lib.rs index 201d261461..1c2e0b9eaf 100644 --- a/pallets/rewards/runtime-api/src/lib.rs +++ b/pallets/rewards/runtime-api/src/lib.rs @@ -33,12 +33,13 @@ use codec::{Codec, Decode, Encode}; #[cfg(feature = "std")] use common::utils::string_serialization; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::traits::{MaybeDisplay, MaybeFromStr}; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] #[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] pub struct BalanceInfo { diff --git a/pallets/vested-rewards/runtime-api/src/lib.rs b/pallets/vested-rewards/runtime-api/src/lib.rs index 4938c2904f..812ff57372 100644 --- a/pallets/vested-rewards/runtime-api/src/lib.rs +++ b/pallets/vested-rewards/runtime-api/src/lib.rs @@ -34,12 +34,13 @@ use codec::{Codec, Decode, Encode}; #[cfg(feature = "std")] use common::utils::string_serialization; +use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_runtime::traits::{MaybeDisplay, MaybeFromStr}; use sp_std::prelude::*; -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct BalanceInfo { #[cfg_attr( @@ -55,7 +56,7 @@ pub struct BalanceInfo { pub balance: Balance, } -#[derive(Eq, PartialEq, Encode, Decode, Default)] +#[derive(Eq, PartialEq, Encode, Decode, Default, TypeInfo)] #[cfg_attr(feature = "std", derive(Debug, Serialize, Deserialize))] pub struct CrowdloanLease { #[cfg_attr(feature = "std", serde(with = "string_serialization"))] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 3ca057efaf..12166afda6 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -7,467 +7,468 @@ repository = "https://github.com/sora-xor/sora2-network" name = "framenode-runtime" version = "3.3.0" -# [package.metadata.docs.rs] -# targets = ["x86_64-unknown-linux-gnu"] +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] -# [build-dependencies] -# substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +[build-dependencies] +substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# [dependencies] -# codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ -# "derive", -# "chain-error", -# ] } -# # Does not compile with newer version -# parity-scale-codec-derive = "=3.6.5" -# scale-info = { version = "2", default-features = false, features = ["derive"] } -# hex-literal = "0.4.1" -# log = { version = "0.4.14" } -# serde = { features = [ -# 'derive', -# ], default-features = false, optional = true, version = '1.0.101' } +[dependencies] +codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ + "derive", + "chain-error", +] } +# Does not compile with newer version +parity-scale-codec-derive = "=3.6.5" +scale-info = { version = "2", default-features = false, features = ["derive"] } +hex-literal = "0.4.1" +log = { version = "0.4.14" } +serde = { features = [ + 'derive', +], default-features = false, optional = true, version = '1.0.101' } # bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } -# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -# beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -# bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } +sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, package = "sp-consensus-beefy" } +sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -# dispatch = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# bridge-proxy = { path = "../pallets/bridge-proxy", default-features = false } -# bridge-proxy-runtime-api = { path = "../pallets/bridge-proxy/runtime-api", default-features = false } -# parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -# evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -# bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +dispatch = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +bridge-proxy = { path = "../pallets/bridge-proxy", default-features = false } +bridge-proxy-runtime-api = { path = "../pallets/bridge-proxy/runtime-api", default-features = false } +parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -# apollo-platform = { path = "../pallets/apollo-platform", default-features = false, optional = true } -# assets = { path = "../pallets/assets", default-features = false } -# assets-runtime-api = { path = "../pallets/assets/runtime-api", default-features = false } -# band = { path = "../pallets/band", default-features = false } -# common = { path = "../common", default-features = false } -# ceres-governance-platform = { path = "../pallets/ceres-governance-platform", default-features = false } -# ceres-launchpad = { path = "../pallets/ceres-launchpad", default-features = false } -# ceres-liquidity-locker = { path = "../pallets/ceres-liquidity-locker", default-features = false } -# ceres-liquidity-locker-benchmarking = { path = "../pallets/ceres-liquidity-locker/benchmarking", default-features = false, optional = true } -# ceres-token-locker = { path = "../pallets/ceres-token-locker", default-features = false } -# ceres-staking = { path = "../pallets/ceres-staking", default-features = false } -# demeter-farming-platform = { path = "../pallets/demeter-farming-platform", default-features = false } -# demeter-farming-platform-benchmarking = { path = "../pallets/demeter-farming-platform/benchmarking", default-features = false, optional = true } -# dex-api = { path = "../pallets/dex-api", default-features = false } -# dex-manager = { path = "../pallets/dex-manager", default-features = false } -# dex-manager-runtime-api = { path = "../pallets/dex-manager/runtime-api", default-features = false } -# dex-runtime-api = { path = "../pallets/dex-api/runtime-api", default-features = false } -# eth-bridge = { path = "../pallets/eth-bridge", default-features = false } -# eth-bridge-runtime-api = { path = "../pallets/eth-bridge/runtime-api", default-features = false } -# farming = { path = "../pallets/farming", default-features = false } -# farming-runtime-api = { path = "../pallets/farming/runtime-api", default-features = false } -# faucet = { path = "../pallets/faucet", default-features = false, optional = true } -# hermes-governance-platform = { path = "../pallets/hermes-governance-platform", default-features = false } -# iroha-migration = { path = "../pallets/iroha-migration", default-features = false } -# iroha-migration-runtime-api = { path = "../pallets/iroha-migration/runtime-api", default-features = false } -# kensetsu = { path = "../pallets/kensetsu", default-features = false } -# kensetsu-benchmarking = { path = "../pallets/kensetsu/benchmarking", default-features = false, optional = true } -# liquidity-proxy = { path = "../pallets/liquidity-proxy", default-features = false } -# liquidity-proxy-benchmarking = { path = "../pallets/liquidity-proxy/benchmarking", default-features = false, optional = true } -# liquidity-proxy-runtime-api = { path = "../pallets/liquidity-proxy/runtime-api", default-features = false } -# mock-liquidity-source = { path = "../pallets/mock-liquidity-source", default-features = false } -# multicollateral-bonding-curve-pool = { path = "../pallets/multicollateral-bonding-curve-pool", default-features = false } -# oracle-proxy = { path = "../pallets/oracle-proxy", default-features = false } -# oracle-proxy-runtime-api = { path = "../pallets/oracle-proxy/runtime-api", default-features = false } -# order-book = { path = "../pallets/order-book", default-features = false } -# order-book-benchmarking = { path = "../pallets/order-book/benchmarking", default-features = false, optional = true } -# permissions = { path = "../pallets/permissions", default-features = false } -# pool-xyk = { path = "../pallets/pool-xyk", default-features = false } -# pool-xyk-benchmarking = { path = "../pallets/pool-xyk/benchmarking", default-features = false, optional = true } -# price-tools = { path = "../pallets/price-tools", default-features = false } -# pswap-distribution = { path = "../pallets/pswap-distribution", default-features = false } -# pswap-distribution-benchmarking = { path = "../pallets/pswap-distribution/benchmarking", default-features = false, optional = true } -# pswap-distribution-runtime-api = { path = "../pallets/pswap-distribution/runtime-api", default-features = false } -# qa-tools = { path = "../pallets/qa-tools", default-features = false, optional = true } -# referrals = { path = "../pallets/referrals", default-features = false } -# rewards = { path = "../pallets/rewards", default-features = false } -# rewards-runtime-api = { path = "../pallets/rewards/runtime-api", default-features = false } -# technical = { path = "../pallets/technical", default-features = false } -# trading-pair = { path = "../pallets/trading-pair", default-features = false } -# trading-pair-runtime-api = { path = "../pallets/trading-pair/runtime-api", default-features = false } -# vested-rewards = { path = "../pallets/vested-rewards", default-features = false } -# vested-rewards-runtime-api = { path = "../pallets/vested-rewards/runtime-api", default-features = false } -# xor-fee = { path = "../pallets/xor-fee", default-features = false } -# xst = { path = "../pallets/xst", default-features = false } -# xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } +apollo-platform = { path = "../pallets/apollo-platform", default-features = false, optional = true } +assets = { path = "../pallets/assets", default-features = false } +assets-runtime-api = { path = "../pallets/assets/runtime-api", default-features = false } +band = { path = "../pallets/band", default-features = false } +common = { path = "../common", default-features = false } +ceres-governance-platform = { path = "../pallets/ceres-governance-platform", default-features = false } +ceres-launchpad = { path = "../pallets/ceres-launchpad", default-features = false } +ceres-liquidity-locker = { path = "../pallets/ceres-liquidity-locker", default-features = false } +ceres-liquidity-locker-benchmarking = { path = "../pallets/ceres-liquidity-locker/benchmarking", default-features = false, optional = true } +ceres-token-locker = { path = "../pallets/ceres-token-locker", default-features = false } +ceres-staking = { path = "../pallets/ceres-staking", default-features = false } +demeter-farming-platform = { path = "../pallets/demeter-farming-platform", default-features = false } +demeter-farming-platform-benchmarking = { path = "../pallets/demeter-farming-platform/benchmarking", default-features = false, optional = true } +dex-api = { path = "../pallets/dex-api", default-features = false } +dex-manager = { path = "../pallets/dex-manager", default-features = false } +dex-manager-runtime-api = { path = "../pallets/dex-manager/runtime-api", default-features = false } +dex-runtime-api = { path = "../pallets/dex-api/runtime-api", default-features = false } +eth-bridge = { path = "../pallets/eth-bridge", default-features = false } +eth-bridge-runtime-api = { path = "../pallets/eth-bridge/runtime-api", default-features = false } +farming = { path = "../pallets/farming", default-features = false } +farming-runtime-api = { path = "../pallets/farming/runtime-api", default-features = false } +faucet = { path = "../pallets/faucet", default-features = false, optional = true } +hermes-governance-platform = { path = "../pallets/hermes-governance-platform", default-features = false } +iroha-migration = { path = "../pallets/iroha-migration", default-features = false } +iroha-migration-runtime-api = { path = "../pallets/iroha-migration/runtime-api", default-features = false } +kensetsu = { path = "../pallets/kensetsu", default-features = false } +kensetsu-benchmarking = { path = "../pallets/kensetsu/benchmarking", default-features = false, optional = true } +liquidity-proxy = { path = "../pallets/liquidity-proxy", default-features = false } +liquidity-proxy-benchmarking = { path = "../pallets/liquidity-proxy/benchmarking", default-features = false, optional = true } +liquidity-proxy-runtime-api = { path = "../pallets/liquidity-proxy/runtime-api", default-features = false } +mock-liquidity-source = { path = "../pallets/mock-liquidity-source", default-features = false } +multicollateral-bonding-curve-pool = { path = "../pallets/multicollateral-bonding-curve-pool", default-features = false } +oracle-proxy = { path = "../pallets/oracle-proxy", default-features = false } +oracle-proxy-runtime-api = { path = "../pallets/oracle-proxy/runtime-api", default-features = false } +order-book = { path = "../pallets/order-book", default-features = false } +order-book-benchmarking = { path = "../pallets/order-book/benchmarking", default-features = false, optional = true } +permissions = { path = "../pallets/permissions", default-features = false } +pool-xyk = { path = "../pallets/pool-xyk", default-features = false } +pool-xyk-benchmarking = { path = "../pallets/pool-xyk/benchmarking", default-features = false, optional = true } +price-tools = { path = "../pallets/price-tools", default-features = false } +pswap-distribution = { path = "../pallets/pswap-distribution", default-features = false } +pswap-distribution-benchmarking = { path = "../pallets/pswap-distribution/benchmarking", default-features = false, optional = true } +pswap-distribution-runtime-api = { path = "../pallets/pswap-distribution/runtime-api", default-features = false } +qa-tools = { path = "../pallets/qa-tools", default-features = false, optional = true } +referrals = { path = "../pallets/referrals", default-features = false } +rewards = { path = "../pallets/rewards", default-features = false } +rewards-runtime-api = { path = "../pallets/rewards/runtime-api", default-features = false } +technical = { path = "../pallets/technical", default-features = false } +trading-pair = { path = "../pallets/trading-pair", default-features = false } +trading-pair-runtime-api = { path = "../pallets/trading-pair/runtime-api", default-features = false } +vested-rewards = { path = "../pallets/vested-rewards", default-features = false } +vested-rewards-runtime-api = { path = "../pallets/vested-rewards/runtime-api", default-features = false } +xor-fee = { path = "../pallets/xor-fee", default-features = false } +xst = { path = "../pallets/xst", default-features = false } +xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } -# # Substrate dependencies -# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -# frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# # frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ -# # "tuples-96", -# # ] } -# frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -# frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -# pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -# pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# # pallet-session = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, features = [ -# # "historical", -# # ] } -# pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +# Substrate dependencies +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-executive = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ + "tuples-96", +] } +frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +pallet-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, package = "pallet-insecure-randomness-collective-flip" } +pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ + "historical", +] } +pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-session = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-version = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-npos-elections = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-election-provider-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# # Other -# currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -# static_assertions = "1.1.0" -# tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -# traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -# bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +# Other +currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } +static_assertions = "1.1.0" +tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } +traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -# [dev-dependencies] -# env_logger = "0.10.0" -# framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } -# tokio = { version = "1.19.2", features = ["macros"] } -# sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +[dev-dependencies] +env_logger = "0.10.0" +framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } +tokio = { version = "1.19.2", features = ["macros"] } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# [features] -# default = ["std", "build-wasm-binary"] +[features] +default = ["std", "build-wasm-binary"] -# std = [ -# "apollo-platform/std", -# "assets-runtime-api/std", -# "assets/std", -# "band/std", -# "bridge-multisig/std", -# "pallet-beefy/std", -# "pallet-mmr/std", -# "pallet-beefy-mmr/std", -# "sp-mmr-primitives/std", -# "sp-beefy/std", -# "beefy-light-client/std", -# "beefy-light-client-runtime-api/std", -# "codec/std", -# "scale-info/std", -# "common/std", -# "ceres-governance-platform/std", -# "ceres-launchpad/std", -# "ceres-liquidity-locker/std", -# "ceres-staking/std", -# "ceres-token-locker/std", -# "demeter-farming-platform/std", -# "dex-api/std", -# "dex-manager-runtime-api/std", -# "dex-manager/std", -# "dex-runtime-api/std", -# "eth-bridge-runtime-api/std", -# "eth-bridge/std", -# "dispatch/std", -# "leaf-provider/std", -# "leaf-provider-runtime-api/std", -# "bridge-proxy/std", -# "bridge-proxy-runtime-api/std", -# "evm-fungible-app/std", -# "parachain-bridge-app/std", -# "substrate-bridge-channel/std", -# "bridge-channel/std", -# "bridge-data-signer/std", -# "multisig-verifier/std", -# "bridge-types/std", -# "farming/std", -# "farming-runtime-api/std", -# "faucet/std", -# "frame-executive/std", -# "frame-support/std", -# "frame-system-rpc-runtime-api/std", -# "frame-system/std", -# "frame-try-runtime/std", -# "hermes-governance-platform/std", -# "iroha-migration-runtime-api/std", -# "iroha-migration/std", -# "kensetsu/std", -# "liquidity-proxy-runtime-api/std", -# "liquidity-proxy/std", -# "liquidity-proxy-benchmarking/std", -# "mock-liquidity-source/std", -# "multicollateral-bonding-curve-pool/std", -# "oracle-proxy/std", -# "oracle-proxy-runtime-api/std", -# "order-book/std", -# "order-book-benchmarking/std", -# "pallet-aura/std", -# "pallet-authorship/std", -# "pallet-babe/std", -# "pallet-balances/std", -# "pallet-collective/std", -# "pallet-democracy/std", -# "pallet-elections-phragmen/std", -# "pallet-grandpa/std", -# "pallet-identity/std", -# "pallet-im-online/std", -# "pallet-membership/std", -# "pallet-multisig/std", -# "pallet-offences/std", -# "pallet-preimage/std", -# "pallet-randomness-collective-flip/std", -# "pallet-scheduler/std", -# "pallet-session/std", -# "pallet-staking/std", -# "pallet-sudo/std", -# "pallet-timestamp/std", -# "pallet-transaction-payment-rpc-runtime-api/std", -# "pallet-transaction-payment/std", -# "pallet-utility/std", -# "permissions/std", -# "pool-xyk/std", -# "price-tools/std", -# "pswap-distribution-runtime-api/std", -# "pswap-distribution/std", -# "qa-tools/std", -# "referrals/std", -# "rewards-runtime-api/std", -# "rewards/std", -# "serde/std", -# "sp-api/std", -# "sp-block-builder/std", -# "sp-consensus-aura/std", -# "sp-consensus-babe/std", -# "sp-core/std", -# "sp-inherents/std", -# "sp-offchain/std", -# "sp-runtime/std", -# "sp-session/std", -# "sp-staking/std", -# "sp-std/std", -# "sp-transaction-pool/std", -# "sp-version/std", -# "sp-npos-elections/std", -# "substrate-bridge-app/std", -# "technical/std", -# "trading-pair-runtime-api/std", -# "trading-pair/std", -# "vested-rewards/std", -# "vested-rewards-runtime-api/std", -# "xor-fee/std", -# "xst/std", -# "xst-benchmarking/std", -# ] +std = [ + "apollo-platform/std", + "assets-runtime-api/std", + "assets/std", + "band/std", + "bridge-multisig/std", + "pallet-beefy/std", + "pallet-mmr/std", + "pallet-beefy-mmr/std", + "sp-mmr-primitives/std", + "sp-beefy/std", + "beefy-light-client/std", + "beefy-light-client-runtime-api/std", + "codec/std", + "scale-info/std", + "common/std", + "ceres-governance-platform/std", + "ceres-launchpad/std", + "ceres-liquidity-locker/std", + "ceres-staking/std", + "ceres-token-locker/std", + "demeter-farming-platform/std", + "dex-api/std", + "dex-manager-runtime-api/std", + "dex-manager/std", + "dex-runtime-api/std", + "eth-bridge-runtime-api/std", + "eth-bridge/std", + "dispatch/std", + "leaf-provider/std", + "leaf-provider-runtime-api/std", + "bridge-proxy/std", + "bridge-proxy-runtime-api/std", + "evm-fungible-app/std", + "parachain-bridge-app/std", + "substrate-bridge-channel/std", + "bridge-channel/std", + "bridge-data-signer/std", + "multisig-verifier/std", + "bridge-types/std", + "farming/std", + "farming-runtime-api/std", + "faucet/std", + "frame-executive/std", + "frame-support/std", + "frame-system-rpc-runtime-api/std", + "frame-system/std", + "frame-try-runtime/std", + "hermes-governance-platform/std", + "iroha-migration-runtime-api/std", + "iroha-migration/std", + "kensetsu/std", + "liquidity-proxy-runtime-api/std", + "liquidity-proxy/std", + "liquidity-proxy-benchmarking/std", + "mock-liquidity-source/std", + "multicollateral-bonding-curve-pool/std", + "oracle-proxy/std", + "oracle-proxy-runtime-api/std", + "order-book/std", + "order-book-benchmarking/std", + "pallet-aura/std", + "pallet-authorship/std", + "pallet-babe/std", + "pallet-balances/std", + "pallet-collective/std", + "pallet-democracy/std", + "pallet-elections-phragmen/std", + "pallet-grandpa/std", + "pallet-identity/std", + "pallet-im-online/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-offences/std", + "pallet-preimage/std", + "pallet-randomness-collective-flip/std", + "pallet-scheduler/std", + "pallet-session/std", + "pallet-staking/std", + "pallet-sudo/std", + "pallet-timestamp/std", + "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", + "pallet-utility/std", + "permissions/std", + "pool-xyk/std", + "price-tools/std", + "pswap-distribution-runtime-api/std", + "pswap-distribution/std", + "qa-tools/std", + "referrals/std", + "rewards-runtime-api/std", + "rewards/std", + "serde/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-consensus-babe/std", + "sp-core/std", + "sp-inherents/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-staking/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "sp-npos-elections/std", + "substrate-bridge-app/std", + "technical/std", + "trading-pair-runtime-api/std", + "trading-pair/std", + "vested-rewards/std", + "vested-rewards-runtime-api/std", + "xor-fee/std", + "xst/std", + "xst-benchmarking/std", +] -# private-net = [ -# "faucet", -# "farming/private-net", -# "vested-rewards/private-net", -# "framenode-chain-spec/private-net", -# "qa-tools", -# ] +private-net = [ + "faucet", + "farming/private-net", + "vested-rewards/private-net", + "framenode-chain-spec/private-net", + "qa-tools", +] -# wip = [ -# "framenode-chain-spec/wip", -# "liquidity-proxy/wip", -# "liquidity-proxy-runtime-api/wip", -# "liquidity-proxy-benchmarking/wip", -# "pallet-mmr", -# "beefy-light-client", -# "beefy-light-client-runtime-api", -# "evm-fungible-app", -# "bridge-channel", -# "pallet-beefy", -# "pallet-beefy-mmr", -# ] +wip = [ + "framenode-chain-spec/wip", + "liquidity-proxy/wip", + "liquidity-proxy-runtime-api/wip", + "liquidity-proxy-benchmarking/wip", + "pallet-mmr", + "beefy-light-client", + "beefy-light-client-runtime-api", + "evm-fungible-app", + "bridge-channel", + "pallet-beefy", + "pallet-beefy-mmr", +] -# ready-to-test = ["framenode-chain-spec/ready-to-test", "apollo-platform"] +ready-to-test = ["framenode-chain-spec/ready-to-test", "apollo-platform"] -# runtime-benchmarks = [ -# "apollo-platform/runtime-benchmarks", -# "assets/runtime-benchmarks", -# "band/runtime-benchmarks", -# "ceres-governance-platform/runtime-benchmarks", -# "ceres-launchpad/runtime-benchmarks", -# "ceres-liquidity-locker-benchmarking", -# "ceres-liquidity-locker-benchmarking/runtime-benchmarks", -# "common/runtime-benchmarks", -# "demeter-farming-platform-benchmarking", -# "demeter-farming-platform-benchmarking/runtime-benchmarks", -# "dex-api/runtime-benchmarks", -# "ceres-staking/runtime-benchmarks", -# "ceres-token-locker/runtime-benchmarks", -# "eth-bridge/runtime-benchmarks", -# "dispatch/runtime-benchmarks", -# "bridge-types/runtime-benchmarks", -# "bridge-proxy/runtime-benchmarks", -# "evm-fungible-app/runtime-benchmarks", -# "parachain-bridge-app/runtime-benchmarks", -# "substrate-bridge-app/runtime-benchmarks", -# "substrate-bridge-channel/runtime-benchmarks", -# "bridge-channel/runtime-benchmarks", -# "farming/runtime-benchmarks", -# "faucet/runtime-benchmarks", -# "frame-benchmarking", -# "frame-support/runtime-benchmarks", -# "frame-system-benchmarking", -# "frame-system/runtime-benchmarks", -# "hermes-governance-platform/runtime-benchmarks", -# "iroha-migration/runtime-benchmarks", -# "kensetsu-benchmarking", -# "kensetsu-benchmarking/runtime-benchmarks", -# "liquidity-proxy-benchmarking", -# "liquidity-proxy-benchmarking/runtime-benchmarks", -# "multicollateral-bonding-curve-pool/runtime-benchmarks", -# "multicollateral-bonding-curve-pool/runtime-benchmarks", -# "oracle-proxy/runtime-benchmarks", -# "order-book-benchmarking", -# "order-book-benchmarking/runtime-benchmarks", -# "pallet-collective/runtime-benchmarks", -# "pool-xyk-benchmarking", -# "pool-xyk-benchmarking/runtime-benchmarks", -# "price-tools/runtime-benchmarks", -# "pswap-distribution-benchmarking/runtime-benchmarks", -# "pswap-distribution/runtime-benchmarks", -# "pswap-distribution/runtime-benchmarks", -# "referrals/runtime-benchmarks", -# "rewards/runtime-benchmarks", -# "technical/runtime-benchmarks", -# "trading-pair/runtime-benchmarks", -# "multicollateral-bonding-curve-pool/runtime-benchmarks", -# "pswap-distribution/runtime-benchmarks", -# "price-tools/runtime-benchmarks", -# "vested-rewards/runtime-benchmarks", -# "xor-fee/runtime-benchmarks", -# "xst-benchmarking", -# "xst-benchmarking/runtime-benchmarks", -# "dispatch/runtime-benchmarks", -# "beefy-light-client/runtime-benchmarks", -# "multisig-verifier/runtime-benchmarks", -# "bridge-data-signer/runtime-benchmarks", -# ] +runtime-benchmarks = [ + "apollo-platform/runtime-benchmarks", + "assets/runtime-benchmarks", + "band/runtime-benchmarks", + "ceres-governance-platform/runtime-benchmarks", + "ceres-launchpad/runtime-benchmarks", + "ceres-liquidity-locker-benchmarking", + "ceres-liquidity-locker-benchmarking/runtime-benchmarks", + "common/runtime-benchmarks", + "demeter-farming-platform-benchmarking", + "demeter-farming-platform-benchmarking/runtime-benchmarks", + "dex-api/runtime-benchmarks", + "ceres-staking/runtime-benchmarks", + "ceres-token-locker/runtime-benchmarks", + "eth-bridge/runtime-benchmarks", + "dispatch/runtime-benchmarks", + "bridge-types/runtime-benchmarks", + "bridge-proxy/runtime-benchmarks", + "evm-fungible-app/runtime-benchmarks", + "parachain-bridge-app/runtime-benchmarks", + "substrate-bridge-app/runtime-benchmarks", + "substrate-bridge-channel/runtime-benchmarks", + "bridge-channel/runtime-benchmarks", + "farming/runtime-benchmarks", + "faucet/runtime-benchmarks", + "frame-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system-benchmarking", + "frame-system/runtime-benchmarks", + "hermes-governance-platform/runtime-benchmarks", + "iroha-migration/runtime-benchmarks", + "kensetsu-benchmarking", + "kensetsu-benchmarking/runtime-benchmarks", + "liquidity-proxy-benchmarking", + "liquidity-proxy-benchmarking/runtime-benchmarks", + "multicollateral-bonding-curve-pool/runtime-benchmarks", + "multicollateral-bonding-curve-pool/runtime-benchmarks", + "oracle-proxy/runtime-benchmarks", + "order-book-benchmarking", + "order-book-benchmarking/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pool-xyk-benchmarking", + "pool-xyk-benchmarking/runtime-benchmarks", + "price-tools/runtime-benchmarks", + "pswap-distribution-benchmarking/runtime-benchmarks", + "pswap-distribution/runtime-benchmarks", + "pswap-distribution/runtime-benchmarks", + "referrals/runtime-benchmarks", + "rewards/runtime-benchmarks", + "technical/runtime-benchmarks", + "trading-pair/runtime-benchmarks", + "multicollateral-bonding-curve-pool/runtime-benchmarks", + "pswap-distribution/runtime-benchmarks", + "price-tools/runtime-benchmarks", + "vested-rewards/runtime-benchmarks", + "xor-fee/runtime-benchmarks", + "xst-benchmarking", + "xst-benchmarking/runtime-benchmarks", + "dispatch/runtime-benchmarks", + "beefy-light-client/runtime-benchmarks", + "multisig-verifier/runtime-benchmarks", + "bridge-data-signer/runtime-benchmarks", +] -# reduced-pswap-reward-periods = [] +reduced-pswap-reward-periods = [] -# build-wasm-binary = [] +build-wasm-binary = [] -# try-runtime = [ -# "frame-try-runtime", -# "apollo-platform/try-runtime", -# "assets/try-runtime", -# "band/try-runtime", -# "bridge-multisig/try-runtime", -# "pallet-beefy/try-runtime", -# "beefy-light-client/try-runtime", -# "ceres-governance-platform/try-runtime", -# "ceres-launchpad/try-runtime", -# "ceres-liquidity-locker/try-runtime", -# "ceres-staking/try-runtime", -# "ceres-token-locker/try-runtime", -# "demeter-farming-platform/try-runtime", -# "hermes-governance-platform/try-runtime", -# "dex-api/try-runtime", -# "dex-manager/try-runtime", -# "eth-bridge/try-runtime", -# "dispatch/try-runtime", -# "leaf-provider/try-runtime", -# "bridge-proxy/try-runtime", -# "evm-fungible-app/try-runtime", -# "parachain-bridge-app/try-runtime", -# "bridge-channel/try-runtime", -# "substrate-bridge-app/try-runtime", -# "substrate-bridge-channel/try-runtime", -# "bridge-types/try-runtime", -# "farming/try-runtime", -# "faucet/try-runtime", -# "frame-executive/try-runtime", -# "frame-support/try-runtime", -# "frame-system/try-runtime", -# "iroha-migration/try-runtime", -# "kensetsu/try-runtime", -# "liquidity-proxy/try-runtime", -# "mock-liquidity-source/try-runtime", -# "multicollateral-bonding-curve-pool/try-runtime", -# "oracle-proxy/try-runtime", -# "order-book/try-runtime", -# "pallet-aura/try-runtime", -# "pallet-authorship/try-runtime", -# "pallet-babe/try-runtime", -# "pallet-balances/try-runtime", -# "pallet-collective/try-runtime", -# "pallet-democracy/try-runtime", -# "pallet-elections-phragmen/try-runtime", -# "pallet-grandpa/try-runtime", -# "pallet-identity/try-runtime", -# "pallet-im-online/try-runtime", -# "pallet-membership/try-runtime", -# "pallet-multisig/try-runtime", -# "pallet-offences/try-runtime", -# "pallet-preimage/try-runtime", -# "pallet-randomness-collective-flip/try-runtime", -# "pallet-scheduler/try-runtime", -# "pallet-session/try-runtime", -# "pallet-staking/try-runtime", -# "pallet-sudo/try-runtime", -# "pallet-timestamp/try-runtime", -# "pallet-transaction-payment/try-runtime", -# "pallet-utility/try-runtime", -# "permissions/try-runtime", -# "pool-xyk/try-runtime", -# "price-tools/try-runtime", -# "pswap-distribution/try-runtime", -# "referrals/try-runtime", -# "rewards/try-runtime", -# "technical/try-runtime", -# "trading-pair/try-runtime", -# "vested-rewards/try-runtime", -# "xor-fee/try-runtime", -# "xst/try-runtime", -# "tokens/try-runtime", -# "currencies/try-runtime", -# "pallet-election-provider-multi-phase/try-runtime", -# "pallet-bags-list/try-runtime", -# "pallet-mmr/try-runtime", -# "pallet-beefy-mmr/try-runtime", -# "bridge-data-signer/try-runtime", -# "multisig-verifier/try-runtime", -# "qa-tools/try-runtime", -# ] +try-runtime = [ + "frame-try-runtime", + "apollo-platform/try-runtime", + "assets/try-runtime", + "band/try-runtime", + "bridge-multisig/try-runtime", + "pallet-beefy/try-runtime", + "beefy-light-client/try-runtime", + "ceres-governance-platform/try-runtime", + "ceres-launchpad/try-runtime", + "ceres-liquidity-locker/try-runtime", + "ceres-staking/try-runtime", + "ceres-token-locker/try-runtime", + "demeter-farming-platform/try-runtime", + "hermes-governance-platform/try-runtime", + "dex-api/try-runtime", + "dex-manager/try-runtime", + "eth-bridge/try-runtime", + "dispatch/try-runtime", + "leaf-provider/try-runtime", + "bridge-proxy/try-runtime", + "evm-fungible-app/try-runtime", + "parachain-bridge-app/try-runtime", + "bridge-channel/try-runtime", + "substrate-bridge-app/try-runtime", + "substrate-bridge-channel/try-runtime", + "bridge-types/try-runtime", + "farming/try-runtime", + "faucet/try-runtime", + "frame-executive/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "iroha-migration/try-runtime", + "kensetsu/try-runtime", + "liquidity-proxy/try-runtime", + "mock-liquidity-source/try-runtime", + "multicollateral-bonding-curve-pool/try-runtime", + "oracle-proxy/try-runtime", + "order-book/try-runtime", + "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", + "pallet-babe/try-runtime", + "pallet-balances/try-runtime", + "pallet-collective/try-runtime", + "pallet-democracy/try-runtime", + "pallet-elections-phragmen/try-runtime", + "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", + "pallet-im-online/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-offences/try-runtime", + "pallet-preimage/try-runtime", + "pallet-randomness-collective-flip/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session/try-runtime", + "pallet-staking/try-runtime", + "pallet-sudo/try-runtime", + "pallet-timestamp/try-runtime", + "pallet-transaction-payment/try-runtime", + "pallet-utility/try-runtime", + "permissions/try-runtime", + "pool-xyk/try-runtime", + "price-tools/try-runtime", + "pswap-distribution/try-runtime", + "referrals/try-runtime", + "rewards/try-runtime", + "technical/try-runtime", + "trading-pair/try-runtime", + "vested-rewards/try-runtime", + "xor-fee/try-runtime", + "xst/try-runtime", + "tokens/try-runtime", + "currencies/try-runtime", + "pallet-election-provider-multi-phase/try-runtime", + "pallet-bags-list/try-runtime", + "pallet-mmr/try-runtime", + "pallet-beefy-mmr/try-runtime", + "bridge-data-signer/try-runtime", + "multisig-verifier/try-runtime", + "qa-tools/try-runtime", +] -# test = ["framenode-chain-spec/test", "liquidity-proxy/test", "order-book/test"] +test = ["framenode-chain-spec/test", "liquidity-proxy/test", "order-book/test"] diff --git a/runtime/build.rs b/runtime/build.rs index c27789587b..8a135806e1 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -35,25 +35,25 @@ use std::{env, fs}; use substrate_wasm_builder::WasmBuilder; fn main() { - #[cfg(feature = "build-wasm-binary")] - WasmBuilder::new() - .with_current_project() - .import_memory() - .export_heap_base() - .build(); - - let root_path = PathBuf::new() - .join(env::var("CARGO_MANIFEST_DIR").unwrap()) - .parent() - .unwrap() - .to_owned(); - let pre_commit_hook_path = root_path.join(".hooks/pre-commit"); - println!( - "cargo:rerun-if-changed={}", - pre_commit_hook_path.to_string_lossy() - ); - let enabled_hooks_dir = root_path.join(".git/hooks"); - fs::create_dir_all(&enabled_hooks_dir).expect("Failed to create '.git/hooks' dir"); - fs::copy(&pre_commit_hook_path, enabled_hooks_dir.join("pre-commit")) - .expect("Failed to copy '.hooks/pre_commit' to '.git/hooks/pre_commit'"); + // #[cfg(feature = "build-wasm-binary")] + // WasmBuilder::new() + // .with_current_project() + // .import_memory() + // .export_heap_base() + // .build(); + + // let root_path = PathBuf::new() + // .join(env::var("CARGO_MANIFEST_DIR").unwrap()) + // .parent() + // .unwrap() + // .to_owned(); + // let pre_commit_hook_path = root_path.join(".hooks/pre-commit"); + // println!( + // "cargo:rerun-if-changed={}", + // pre_commit_hook_path.to_string_lossy() + // ); + // let enabled_hooks_dir = root_path.join(".git/hooks"); + // fs::create_dir_all(&enabled_hooks_dir).expect("Failed to create '.git/hooks' dir"); + // fs::copy(&pre_commit_hook_path, enabled_hooks_dir.join("pre-commit")) + // .expect("Failed to copy '.hooks/pre_commit' to '.git/hooks/pre_commit'"); } diff --git a/runtime/src/impls.rs b/runtime/src/impls.rs index ae647fe519..6cd6343c67 100644 --- a/runtime/src/impls.rs +++ b/runtime/src/impls.rs @@ -37,10 +37,11 @@ use frame_support::traits::{Currency, OnUnbalanced}; use frame_support::weights::constants::BlockExecutionWeight; use frame_support::weights::Weight; use frame_support::{ - dispatch::{DispatchInfo, Dispatchable, GetDispatchInfo, PostDispatchInfo}, + dispatch::{DispatchInfo, GetDispatchInfo, PostDispatchInfo}, traits::Contains, - RuntimeDebug, }; +use sp_runtime::traits::Dispatchable; +use sp_runtime::RuntimeDebug; pub use common::weights::{BlockLength, BlockWeights, TransactionByteFee}; use scale_info::TypeInfo; @@ -247,6 +248,24 @@ impl pallet_democracy::WeightInfo for DemocracyWeightInfo { fn remove_other_vote(r: u32) -> Weight { <() as pallet_democracy::WeightInfo>::remove_other_vote(r) } + fn set_external_metadata() -> Weight { + <() as pallet_democracy::WeightInfo>::set_external_metadata() + } + fn clear_external_metadata() -> Weight { + <() as pallet_democracy::WeightInfo>::clear_external_metadata() + } + fn set_proposal_metadata() -> Weight { + <() as pallet_democracy::WeightInfo>::set_proposal_metadata() + } + fn clear_proposal_metadata() -> Weight { + <() as pallet_democracy::WeightInfo>::clear_proposal_metadata() + } + fn set_referendum_metadata() -> Weight { + <() as pallet_democracy::WeightInfo>::set_referendum_metadata() + } + fn clear_referendum_metadata() -> Weight { + <() as pallet_democracy::WeightInfo>::clear_referendum_metadata() + } } impl OnUnbalanced> diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c663da3d15..ee102798d3 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -30,7 +30,7 @@ #![cfg_attr(not(feature = "std"), no_std)] // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. -#![recursion_limit = "256"] +#![recursion_limit = "512"] // TODO #167: fix clippy warnings #![allow(clippy::all)] @@ -75,7 +75,9 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use core::time::Duration; use currencies::BasicCurrencyAdapter; -use frame_election_provider_support::{generate_solution_type, onchain, SequentialPhragmen}; +use frame_election_provider_support::{ + bounds::ElectionBoundsBuilder, generate_solution_type, onchain, SequentialPhragmen, +}; use frame_support::traits::{ConstU128, ConstU32, Currency, EitherOfDiverse}; use frame_system::offchain::{Account, SigningTypes}; use frame_system::EnsureRoot; @@ -89,7 +91,8 @@ use pallet_staking::sora::ValBurnedNotifier; #[cfg(feature = "std")] use serde::{Serialize, Serializer}; use sp_api::impl_runtime_apis; -pub use sp_beefy::crypto::AuthorityId as BeefyId; +pub use sp_beefy::ecdsa_crypto::AuthorityId as BeefyId; +use sp_beefy::ecdsa_crypto::Signature as BeefySignature; #[cfg(feature = "wip")] // Trustless bridges use sp_beefy::mmr::MmrLeafVersion; use sp_core::crypto::KeyTypeId; @@ -133,7 +136,7 @@ use constants::rewards::{PSWAP_BURN_PERCENT, VAL_BURN_PERCENT}; pub use frame_support::dispatch::DispatchClass; pub use frame_support::traits::schedule::Named as ScheduleNamed; pub use frame_support::traits::{ - Contains, KeyOwnerProofSystem, LockIdentifier, OnUnbalanced, Randomness, U128CurrencyToVote, + Contains, KeyOwnerProofSystem, LockIdentifier, OnUnbalanced, Randomness, }; pub use frame_support::weights::constants::{BlockExecutionWeight, RocksDbWeight}; pub use frame_support::weights::Weight; @@ -145,6 +148,7 @@ pub use pallet_timestamp::Call as TimestampCall; pub use pallet_transaction_payment::{Multiplier, MultiplierUpdate}; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; +use sp_staking::currency_to_vote::U128CurrencyToVote; use eth_bridge::offchain::SignatureParams; use eth_bridge::requests::{AssetKind, OffchainRequest, OutgoingRequestEncoded, RequestStatus}; @@ -184,7 +188,7 @@ assert_eq_size!(AccountId, sp_core::H256); pub type AccountIndex = u32; /// Index of a transaction in the chain. -pub type Index = u32; +pub type Nonce = u32; /// A hash of some data used by the chain. pub type Hash = sp_core::H256; @@ -363,12 +367,15 @@ parameter_types! { pub const ElectionsMaxVoters: u32 = 10000; pub const ElectionsMaxCandidates: u32 = 1000; pub const ElectionsModuleId: LockIdentifier = *b"phrelect"; + pub const MaxVotesPerVoter: u32 = 16; pub FarmingRewardDoublingAssets: Vec = vec![ GetPswapAssetId::get(), GetValAssetId::get(), GetDaiAssetId::get(), GetEthAssetId::get(), GetXstAssetId::get(), GetTbcdAssetId::get(), DOT ]; pub const MaxAuthorities: u32 = 100_000; pub const NoPreimagePostponement: Option = Some(10); + // TODO! Change this parameter + pub MaxProposalWeight: Weight = Weight::from_parts(u64::MAX, u64::MAX); } pub struct BaseCallFilter; @@ -398,9 +405,9 @@ impl frame_system::Config for Runtime { /// The aggregated dispatch type that is available for extrinsics. type RuntimeCall = RuntimeCall; /// The index type for storing how many extrinsics an account has signed. - type Index = Index; - /// The index type for blocks. - type BlockNumber = BlockNumber; + type Nonce = Nonce; + // /// The index type for blocks. + // type BlockNumber = BlockNumber; /// The type for hashing blocks and tries. type Hash = Hash; /// The hashing algorithm used. @@ -409,8 +416,8 @@ impl frame_system::Config for Runtime { type AccountId = AccountId; /// The lookup mechanism to get account ID from whatever is passed in dispatchers. type Lookup = IdentityLookup; - /// The header type. - type Header = generic::Header; + // /// The header type. + // type Header = generic::Header; /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; /// Maximum number of block number to block hash mappings to keep (oldest pruned first). @@ -428,6 +435,8 @@ impl frame_system::Config for Runtime { type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<65536>; + /// The block type. + type Block = Block; } impl pallet_babe::Config for Runtime { @@ -435,19 +444,21 @@ impl pallet_babe::Config for Runtime { type ExpectedBlockTime = ExpectedBlockTime; type EpochChangeTrigger = pallet_babe::ExternalTrigger; type DisabledValidators = Session; - type KeyOwnerProof = >::Proof; - type KeyOwnerIdentification = >::IdentificationTuple; - type KeyOwnerProofSystem = Historical; - type HandleEquivocation = - pallet_babe::EquivocationHandler; + type KeyOwnerProof = + >::Proof; + // type KeyOwnerIdentification = >::IdentificationTuple; + // type KeyOwnerProofSystem = Historical; + // type HandleEquivocation = + // pallet_babe::EquivocationHandler; type WeightInfo = (); type MaxAuthorities = MaxAuthorities; + + type MaxNominators = MaxNominatorRewardedPerValidator; + type EquivocationReportSystem = + pallet_babe::EquivocationReportSystem; } impl pallet_collective::Config for Runtime { @@ -459,6 +470,8 @@ impl pallet_collective::Config for Runtime { type MaxMembers = CouncilCollectiveMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = CollectiveWeightInfo; + type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } impl pallet_collective::Config for Runtime { @@ -470,6 +483,8 @@ impl pallet_collective::Config for Runtime { type MaxMembers = TechnicalCollectiveMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = CollectiveWeightInfo; + type SetMembersOrigin = EnsureRoot; + type MaxProposalWeight = MaxProposalWeight; } impl pallet_democracy::Config for Runtime { @@ -516,6 +531,7 @@ impl pallet_democracy::Config for Runtime { type Preimages = Preimage; type MaxDeposits = DemocracyMaxDeposits; type MaxBlacklisted = DemocracyMaxBlacklisted; + type SubmitOrigin = frame_system::EnsureSigned; } impl pallet_elections_phragmen::Config for Runtime { @@ -524,7 +540,7 @@ impl pallet_elections_phragmen::Config for Runtime { type Currency = Balances; type ChangeMembers = Council; type InitializeMembers = Council; - type CurrencyToVote = frame_support::traits::U128CurrencyToVote; + type CurrencyToVote = U128CurrencyToVote; type CandidacyBond = ElectionsCandidacyBond; type VotingBondBase = ElectionsVotingBondBase; type VotingBondFactor = ElectionsVotingBondFactor; @@ -536,6 +552,7 @@ impl pallet_elections_phragmen::Config for Runtime { type MaxVoters = ElectionsMaxVoters; type MaxCandidates = ElectionsMaxCandidates; type WeightInfo = (); + type MaxVotesPerVoter = MaxVotesPerVoter; } impl pallet_membership::Config for Runtime { @@ -558,24 +575,27 @@ parameter_types! { impl pallet_grandpa::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type KeyOwnerProofSystem = Historical; + // type KeyOwnerProofSystem = Historical; - type KeyOwnerProof = - >::Proof; + type KeyOwnerProof = >::Proof; - type KeyOwnerIdentification = >::IdentificationTuple; + // type KeyOwnerIdentification = >::IdentificationTuple; - type HandleEquivocation = pallet_grandpa::EquivocationHandler< - Self::KeyOwnerIdentification, - Offences, - ReportLongevity, - >; + // type HandleEquivocation = pallet_grandpa::EquivocationHandler< + // Self::KeyOwnerIdentification, + // Offences, + // ReportLongevity, + // >; type WeightInfo = (); type MaxAuthorities = MaxAuthorities; type MaxSetIdSessionEntries = MaxSetIdSessionEntries; + + type MaxNominators = MaxNominatorRewardedPerValidator; + type EquivocationReportSystem = + pallet_grandpa::EquivocationReportSystem; } parameter_types! { @@ -651,11 +671,14 @@ impl pallet_staking::Config for Runtime { type BenchmarkingConfig = StakingBenchmarkingConfig; type MaxUnlockingChunks = ConstU32<32>; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; - type MaxNominations = MaxNominations; + // type MaxNominations = MaxNominations; + // type NominationsQuota = MaxNominations; + type NominationsQuota = pallet_staking::FixedNominationsQuota<{ MaxNominations::get() }>; type GenesisElectionProvider = onchain::OnChainExecution; - type OnStakerSlash = (); + // type OnStakerSlash = (); type HistoryDepth = frame_support::traits::ConstU32<84>; type TargetList = pallet_staking::UseValidatorsMap; + type EventListeners = (); type WeightInfo = (); } @@ -701,6 +724,12 @@ parameter_types! { pub const MaxActiveValidators: u32 = 1200; pub NposSolutionPriority: TransactionPriority = Perbill::from_percent(90) * TransactionPriority::max_value(); + + /// We take the top 12500 nominators as electing voters and all of the validators as electable + /// targets. Whilst this is the case, we cannot and shall not increase the size of the + /// validator intentions. + pub ElectionBounds: frame_election_provider_support::bounds::ElectionBounds = + ElectionBoundsBuilder::default().voters_count(MaxElectingVoters::get().into()).build(); } generate_solution_type!( @@ -723,8 +752,9 @@ impl onchain::Config for OnChainSeqPhragmen { type DataProvider = Staking; type WeightInfo = (); type MaxWinners = MaxActiveValidators; - type VotersBound = MaxElectingVoters; - type TargetsBound = MaxElectableTargets; + // type VotersBound = MaxElectingVoters; + // type TargetsBound = MaxElectableTargets; + type Bounds = ElectionBounds; } impl pallet_election_provider_multi_phase::MinerConfig for Runtime { @@ -737,6 +767,7 @@ impl pallet_election_provider_multi_phase::MinerConfig for Runtime { as frame_election_provider_support::ElectionDataProvider >::MaxVotesPerVoter; + type MaxWinners = MaxActiveValidators; // The unsigned submissions have to respect the weight of the submit_unsigned call, thus their // weight estimate function is wired to this call's weight. @@ -792,9 +823,10 @@ impl pallet_election_provider_multi_phase::Config for Runtime { >, >; type WeightInfo = (); - type MaxElectingVoters = MaxElectingVoters; - type MaxElectableTargets = MaxElectableTargets; + // type MaxElectingVoters = MaxElectingVoters; + // type MaxElectableTargets = MaxElectableTargets; type MaxWinners = MaxActiveValidators; + type ElectionBounds = ElectionBounds; } parameter_types! { @@ -878,6 +910,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = MaxLocks; type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub type Amount = i128; @@ -1182,7 +1218,7 @@ where call: RuntimeCall, public: ::Signer, account: AccountId, - index: Index, + index: Nonce, ) -> Option<( RuntimeCall, ::SignaturePayload, @@ -1323,6 +1359,7 @@ impl pallet_transaction_payment::Config for Runtime { impl pallet_sudo::Config for Runtime { type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; + type WeightInfo = (); } impl permissions::Config for Runtime { @@ -1460,6 +1497,8 @@ impl eth_bridge::Config for Runtime { type WeightToFee = XorFee; type MessageStatusNotifier = BridgeProxy; type BridgeAssetLockChecker = BridgeProxy; + #[cfg(test)] + type Mock = (); } #[cfg(feature = "private-net")] @@ -1739,7 +1778,7 @@ impl pallet_im_online::Config for Runtime { type WeightInfo = (); type MaxKeys = MaxKeys; type MaxPeerInHeartbeats = MaxPeerInHeartbeats; - type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize; + // type MaxPeerDataEncodingSize = MaxPeerDataEncodingSize; } impl pallet_offences::Config for Runtime { @@ -1766,11 +1805,22 @@ impl price_tools::Config for Runtime { impl pallet_randomness_collective_flip::Config for Runtime {} +parameter_types! { + pub BeefySetIdSessionEntries: u32 = BondingDuration::get() * SessionsPerEra::get(); +} + #[cfg(not(feature = "wip"))] // Basic impl for session keys impl pallet_beefy::Config for Runtime { type BeefyId = BeefyId; type MaxAuthorities = MaxAuthorities; type OnNewValidatorSet = (); + + type MaxNominators = MaxNominatorRewardedPerValidator; + type MaxSetIdSessionEntries = BeefySetIdSessionEntries; + type WeightInfo = (); + type KeyOwnerProof = >::Proof; + type EquivocationReportSystem = + pallet_beefy::EquivocationReportSystem; } #[cfg(feature = "wip")] // Trustless bridges @@ -1778,13 +1828,20 @@ impl pallet_beefy::Config for Runtime { type BeefyId = BeefyId; type MaxAuthorities = MaxAuthorities; type OnNewValidatorSet = MmrLeaf; + + type MaxNominators = MaxNominatorRewardedPerValidator; + type MaxSetIdSessionEntries = BeefySetIdSessionEntries; + type WeightInfo = (); + type KeyOwnerProof = >::Proof; + type EquivocationReportSystem = + pallet_beefy::EquivocationReportSystem; } #[cfg(feature = "wip")] // Trustless bridges impl pallet_mmr::Config for Runtime { const INDEXING_PREFIX: &'static [u8] = b"mmr"; type Hashing = Keccak256; - type Hash = ::Output; + // type Hash = ::Output; type OnNewRoot = pallet_beefy_mmr::DepositBeefyDigest; type WeightInfo = (); type LeafData = pallet_beefy_mmr::Pallet; @@ -2375,9 +2432,9 @@ construct_runtime! { NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic { - System: frame_system::{Pallet, Call, Storage, Config, Event} = 0, + System: frame_system = 0, - Babe: pallet_babe::{Pallet, Call, Storage, Config, ValidateUnsigned} = 14, + Babe: pallet_babe = 14, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 1, // Balances in native currency - XOR. @@ -2393,11 +2450,11 @@ construct_runtime! { // Consensus and staking. Authorship: pallet_authorship::{Pallet, Storage} = 16, - Staking: pallet_staking::{Pallet, Call, Config, Storage, Event} = 17, + Staking: pallet_staking = 17, Offences: pallet_offences::{Pallet, Storage, Event} = 37, Historical: pallet_session_historical::{Pallet} = 13, Session: pallet_session::{Pallet, Call, Storage, Event, Config} = 12, - Grandpa: pallet_grandpa::{Pallet, Call, Storage, Config, Event} = 15, + Grandpa: pallet_grandpa = 15, ImOnline: pallet_im_online::{Pallet, Call, Storage, Event, ValidateUnsigned, Config} = 36, // Non-native tokens - everything apart of XOR. @@ -2414,7 +2471,7 @@ construct_runtime! { Council: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 27, TechnicalCommittee: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 28, Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event} = 29, - DEXAPI: dex_api::{Pallet, Call, Storage, Config, Event} = 30, + DEXAPI: dex_api = 30, EthBridge: eth_bridge::{Pallet, Call, Storage, Config, Event} = 31, PswapDistribution: pswap_distribution::{Pallet, Call, Storage, Config, Event} = 32, Multisig: pallet_multisig::{Pallet, Call, Storage, Event} = 33, @@ -2571,6 +2628,14 @@ impl_runtime_apis! { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -2591,10 +2656,6 @@ impl_runtime_apis! { fn check_inherents(block: Block, data: sp_inherents::InherentData) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) } - - // fn random_seed() -> ::Hash { - // RandomnessCollectiveFlip::random_seed() - // } } impl sp_transaction_pool::runtime_api::TaggedTransactionQueue for Runtime { @@ -3050,14 +3111,14 @@ impl_runtime_apis! { } } - impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { - fn account_nonce(account: AccountId) -> Index { + impl frame_system_rpc_runtime_api::AccountNonceApi for Runtime { + fn account_nonce(account: AccountId) -> Nonce { System::account_nonce(account) } } // For BEEFY gadget - impl sp_beefy::BeefyApi for Runtime { + impl sp_beefy::BeefyApi for Runtime { fn validator_set() -> Option> { #[cfg(not(feature = "wip"))] // Trustless bridges return None; @@ -3065,6 +3126,39 @@ impl_runtime_apis! { #[cfg(feature = "wip")] // Trustless bridges Beefy::validator_set() } + + fn beefy_genesis() -> Option { + Beefy::genesis_block() + } + + fn submit_report_equivocation_unsigned_extrinsic( + equivocation_proof: sp_beefy::EquivocationProof< + BlockNumber, + BeefyId, + BeefySignature, + >, + key_owner_proof: sp_beefy::OpaqueKeyOwnershipProof, + ) -> Option<()> { + // let key_owner_proof = key_owner_proof.decode()?; + + // Beefy::submit_unsigned_equivocation_report( + // equivocation_proof, + // key_owner_proof, + // ) + None + } + + fn generate_key_ownership_proof( + _set_id: sp_beefy::ValidatorSetId, + authority_id: BeefyId, + ) -> Option { + // use parity_scale_codec::Encode; + + // Historical::prove((sp_beefy::KEY_TYPE, authority_id)) + // .map(|p| p.encode()) + // .map(sp_beefy::OpaqueKeyOwnershipProof::new) + None + } } impl mmr::MmrApi for Runtime { diff --git a/runtime/src/weights/dispatch.rs b/runtime/src/weights/dispatch.rs index 7fbb49a537..25dd742269 100644 --- a/runtime/src/weights/dispatch.rs +++ b/runtime/src/weights/dispatch.rs @@ -64,13 +64,13 @@ impl dispatch::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 12_110 nanoseconds. - Weight::from_ref_time(12_351_000) + Weight::from_parts(12_351_000, 0) } fn dispatch_decode_failed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 7_280 nanoseconds. - Weight::from_ref_time(7_531_000) + Weight::from_parts(7_531_000, 0) } } diff --git a/runtime/src/weights/multisig_verifier.rs b/runtime/src/weights/multisig_verifier.rs index df046ad8b6..ff2554e96a 100644 --- a/runtime/src/weights/multisig_verifier.rs +++ b/runtime/src/weights/multisig_verifier.rs @@ -66,7 +66,7 @@ impl multisig_verifier::WeightInfo for WeightInfo { // Measured: `0` // Estimated: `0` // Minimum execution time: 20_181 nanoseconds. - Weight::from_ref_time(21_101_000) + Weight::from_parts(21_101_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: MultisigVerifier PeerKeys (r:1 w:1) @@ -111,7 +111,7 @@ impl multisig_verifier::WeightInfo for WeightInfo { // Minimum execution time: 56_773 nanoseconds. Weight::from_parts(16_389_514, 4695) // Standard Error: 35_503 - .saturating_add(Weight::from_ref_time(39_179_946).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(39_179_946, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) } } diff --git a/runtime/src/weights/parachain_bridge_app.rs b/runtime/src/weights/parachain_bridge_app.rs index 83fd07af76..036e8c6e96 100644 --- a/runtime/src/weights/parachain_bridge_app.rs +++ b/runtime/src/weights/parachain_bridge_app.rs @@ -83,12 +83,12 @@ impl parachain_bridge_app::WeightInfo for WeightInfo // Minimum execution time: 68_373 nanoseconds. Weight::from_parts(66_646_938, 28522) // Standard Error: 1_731 - .saturating_add(Weight::from_ref_time(2_540_977).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(2_540_977, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(2475).saturating_mul(a.into())) + .saturating_add(Weight::proof_size(2475.into()).saturating_mul(a.into()).into()) } /// Storage: Technical TechAccounts (r:1 w:1) /// Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) @@ -118,12 +118,12 @@ impl parachain_bridge_app::WeightInfo for WeightInfo // Minimum execution time: 143_367 nanoseconds. Weight::from_parts(144_031_928, 42077) // Standard Error: 2_668 - .saturating_add(Weight::from_ref_time(2_549_037).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(2_549_037, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(2475).saturating_mul(a.into())) + .saturating_add(Weight::proof_size(2475.into()).saturating_mul(a.into()).into()) } /// Storage: SubstrateBridgeApp BridgeTransferLimit (r:0 w:1) /// Proof Skipped: SubstrateBridgeApp BridgeTransferLimit (max_values: Some(1), max_size: None, mode: Measured) @@ -132,7 +132,7 @@ impl parachain_bridge_app::WeightInfo for WeightInfo // Measured: `0` // Estimated: `0` // Minimum execution time: 4_380 nanoseconds. - Weight::from_ref_time(4_530_000) + Weight::from_parts(4_530_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: SubstrateBridgeApp AssetKinds (r:1 w:0) diff --git a/runtime/src/weights/substrate_bridge_app.rs b/runtime/src/weights/substrate_bridge_app.rs index 074bc48506..570f2d9495 100644 --- a/runtime/src/weights/substrate_bridge_app.rs +++ b/runtime/src/weights/substrate_bridge_app.rs @@ -134,7 +134,7 @@ impl substrate_bridge_app::WeightInfo for WeightInfo // Measured: `0` // Estimated: `0` // Minimum execution time: 8_000 nanoseconds. - Weight::from_ref_time(8_000_000) + Weight::from_parts(8_000_000, 0) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: LiberlandBridgeApp AssetKinds (r:1 w:0) diff --git a/runtime/src/weights/substrate_outbound_channel.rs b/runtime/src/weights/substrate_outbound_channel.rs index 727d98d2c8..fe942c3979 100644 --- a/runtime/src/weights/substrate_outbound_channel.rs +++ b/runtime/src/weights/substrate_outbound_channel.rs @@ -55,7 +55,7 @@ impl substrate_bridge_channel::outbound::WeightInfo for // Measured: `0` // Estimated: `0` // Minimum execution time: 9_921 nanoseconds. - Weight::from_ref_time(10_191_000) + Weight::from_parts(10_191_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/src/xor_fee_impls.rs b/runtime/src/xor_fee_impls.rs index 3b6396b3b2..0015f35652 100644 --- a/runtime/src/xor_fee_impls.rs +++ b/runtime/src/xor_fee_impls.rs @@ -250,15 +250,15 @@ impl xor_fee::ApplyCustomFees for CustomFees { selected_source_types.clone(), ); let Ok(swap_result) = LiquidityProxy::quote( - *dex_id, - input_asset_id, - output_asset_id, - (*swap_amount).into(), - filter, - true, - ) else { - return false; - }; + *dex_id, + input_asset_id, + output_asset_id, + (*swap_amount).into(), + filter, + true, + ) else { + return false; + }; let (limits_ok, output_amount) = match swap_amount { SwapAmount::WithDesiredInput { min_amount_out, .. } => { @@ -311,15 +311,15 @@ impl xor_fee::ApplyCustomFees for CustomFees { selected_source_types.clone(), ); let Ok(swap_result) = LiquidityProxy::quote( - *dex_id, - asset_id, - &XOR, - QuoteAmount::with_desired_output(*desired_xor_amount), - filter, - true, - ) else { - return false; - }; + *dex_id, + asset_id, + &XOR, + QuoteAmount::with_desired_output(*desired_xor_amount), + filter, + true, + ) else { + return false; + }; if swap_result.amount <= *max_amount_in && balance .saturating_add(*desired_xor_amount) From 0298bb3b8239b2630f51281af234ffabea7cbe90 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 23 May 2024 21:49:44 -0300 Subject: [PATCH 012/110] fix all except wasm build --- Cargo.lock | 90 +++++++++------------ Cargo.toml | 13 +-- runtime/src/lib.rs | 2 +- runtime/src/weights/parachain_bridge_app.rs | 4 +- 4 files changed, 47 insertions(+), 62 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 11a5df44aa..6dddb4cc3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -853,7 +853,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-runtime", @@ -1107,7 +1107,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-runtime", @@ -1198,7 +1198,7 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-runtime", @@ -3326,7 +3326,7 @@ dependencies = [ "sp-core-hashing-proc-macro", "sp-debug-derive 8.0.0", "sp-genesis-builder", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-io", "sp-metadata-ir", "sp-runtime", @@ -3584,9 +3584,9 @@ dependencies = [ "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-core", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-inherents", "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-npos-elections", "sp-offchain", @@ -4786,7 +4786,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", @@ -6382,7 +6382,6 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ "frame-support", "frame-system", @@ -6392,7 +6391,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-runtime", "sp-session", "sp-staking", @@ -6416,7 +6415,7 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", "sp-core", "sp-io", "sp-runtime", @@ -6743,7 +6742,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-io", "sp-runtime", "sp-std", @@ -8307,7 +8306,7 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-core", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", ] @@ -9504,7 +9503,7 @@ name = "sp-block-builder" version = "4.0.0-dev" dependencies = [ "sp-api", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", "sp-std", ] @@ -9534,7 +9533,7 @@ dependencies = [ "futures", "log", "sp-core", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", "sp-state-machine", "thiserror", @@ -9549,7 +9548,7 @@ dependencies = [ "futures", "log", "sp-core", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-inherents", "sp-runtime", "sp-state-machine", "thiserror", @@ -9565,7 +9564,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-consensus-slots", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", "sp-std", "sp-timestamp", @@ -9583,7 +9582,7 @@ dependencies = [ "sp-application-crypto", "sp-consensus-slots", "sp-core", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", "sp-std", "sp-timestamp", @@ -9592,7 +9591,6 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "lazy_static", "parity-scale-codec", @@ -9602,26 +9600,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-io", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime", - "sp-std", - "strum 0.24.1", -] - -[[package]] -name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives 4.0.0-dev", "sp-runtime", "sp-std", "strum 0.24.1", @@ -9810,20 +9789,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", - "thiserror", -] - [[package]] name = "sp-io" version = "23.0.0" @@ -9886,6 +9851,23 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-mmr-primitives" +version = "4.0.0-dev" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-core", + "sp-debug-derive 8.0.0", + "sp-runtime", + "sp-std", + "thiserror", +] + [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" @@ -10103,7 +10085,7 @@ version = "4.0.0-dev" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", "sp-std", "thiserror", @@ -10148,7 +10130,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-inherents 4.0.0-dev", + "sp-inherents", "sp-runtime", "sp-std", "sp-trie", diff --git a/Cargo.toml b/Cargo.toml index 0a19dcb751..4c41b01638 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -178,7 +178,7 @@ sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensu sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} # sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -# sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} +sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} @@ -203,7 +203,10 @@ substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/fram # mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } -# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } +pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } +# sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } + # pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } @@ -277,7 +280,7 @@ sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensu sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} # sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -# sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} +sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} @@ -302,8 +305,8 @@ substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/fram # mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } -# sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } +pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } # pallet-beefy-mmr = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index ee102798d3..40e172b645 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -2537,7 +2537,7 @@ construct_runtime! { #[cfg(feature = "wip")] // Trustless bridges Mmr: pallet_mmr::{Pallet, Storage} = 90, // In production needed for session keys - Beefy: pallet_beefy::{Pallet, Config, Storage} = 91, + Beefy: pallet_beefy = 91, #[cfg(feature = "wip")] // Trustless bridges MmrLeaf: pallet_beefy_mmr::{Pallet, Storage} = 92, diff --git a/runtime/src/weights/parachain_bridge_app.rs b/runtime/src/weights/parachain_bridge_app.rs index 036e8c6e96..c2eb8172b3 100644 --- a/runtime/src/weights/parachain_bridge_app.rs +++ b/runtime/src/weights/parachain_bridge_app.rs @@ -88,7 +88,7 @@ impl parachain_bridge_app::WeightInfo for WeightInfo .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::proof_size(2475.into()).saturating_mul(a.into()).into()) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(a.into()).into()) } /// Storage: Technical TechAccounts (r:1 w:1) /// Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) @@ -123,7 +123,7 @@ impl parachain_bridge_app::WeightInfo for WeightInfo .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(9)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::proof_size(2475.into()).saturating_mul(a.into()).into()) + .saturating_add(Weight::from_parts(0,2475).saturating_mul(a.into()).into()) } /// Storage: SubstrateBridgeApp BridgeTransferLimit (r:0 w:1) /// Proof Skipped: SubstrateBridgeApp BridgeTransferLimit (max_values: Some(1), max_size: None, mode: Measured) From 9ceedbe7331d164711efcc476d4abe14ed81533d Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 23 May 2024 23:33:20 -0300 Subject: [PATCH 013/110] fix bridge proxy rpc --- Cargo.lock | 35 ++++++++++++++++++++++------- Cargo.toml | 2 +- pallets/bridge-proxy/rpc/src/lib.rs | 8 +++---- 3 files changed, 32 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6dddb4cc3e..03f10b61c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1163,6 +1163,25 @@ dependencies = [ "technical", ] +[[package]] +name = "bridge-proxy-rpc" +version = "0.1.0" +dependencies = [ + "bridge-proxy-runtime-api", + "bridge-types", + "common 0.1.0", + "jsonrpsee", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "bridge-proxy-runtime-api" version = "0.1.0" @@ -12319,6 +12338,14 @@ version = "4.0.0-dev" name = "try-runtime-cli" version = "0.10.0-dev" +[[patch.unused]] +name = "beefy-light-client-rpc" +version = "0.1.0" + +[[patch.unused]] +name = "leaf-provider-rpc" +version = "0.1.0" + [[patch.unused]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" @@ -12350,11 +12377,3 @@ version = "4.0.0-dev" [[patch.unused]] name = "try-runtime-cli" version = "0.10.0-dev" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 4c41b01638..9a6b2c1ac2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -388,7 +388,7 @@ members = [ "pallets/oracle-proxy", "pallets/order-book", "pallets/bridge-proxy", - # "pallets/bridge-proxy/rpc", + "pallets/bridge-proxy/rpc", "pallets/bridge-proxy/runtime-api", "pallets/kensetsu", "pallets/band", diff --git a/pallets/bridge-proxy/rpc/src/lib.rs b/pallets/bridge-proxy/rpc/src/lib.rs index e6eda9add6..d6b49d60ff 100644 --- a/pallets/bridge-proxy/rpc/src/lib.rs +++ b/pallets/bridge-proxy/rpc/src/lib.rs @@ -98,9 +98,9 @@ where C::Api: BridgeProxyRuntimeAPI, { fn list_apps(&self, at: Option<::Hash>) -> Result> { - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); let api = self.client.runtime_api(); - api.list_apps(&at) + api.list_apps(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -109,9 +109,9 @@ where network_id: GenericNetworkId, at: Option<::Hash>, ) -> Result> { - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); let api = self.client.runtime_api(); - api.list_supported_assets(&at, network_id) + api.list_supported_assets(at, network_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } From 8864ca6f3fea82f0c68df4ce2f6ad7294b3ff00b Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 25 May 2024 00:41:23 -0300 Subject: [PATCH 014/110] fix all rpc --- Cargo.lock | 1473 ++++++++++++++++++--- Cargo.toml | 2 +- node/Cargo.toml | 12 +- node/src/main.rs | 82 +- pallets/assets/rpc/src/lib.rs | 42 +- pallets/dex-api/rpc/src/lib.rs | 22 +- pallets/dex-manager/rpc/src/lib.rs | 6 +- pallets/eth-bridge/rpc/src/lib.rs | 20 +- pallets/farming/rpc/src/lib.rs | 4 +- pallets/iroha-migration/rpc/src/lib.rs | 6 +- pallets/liquidity-proxy/rpc/src/lib.rs | 24 +- pallets/oracle-proxy/rpc/src/lib.rs | 12 +- pallets/pswap-distribution/rpc/src/lib.rs | 6 +- pallets/rewards/rpc/src/lib.rs | 6 +- pallets/trading-pair/rpc/src/lib.rs | 24 +- pallets/vested-rewards/rpc/src/lib.rs | 12 +- 16 files changed, 1404 insertions(+), 349 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 03f10b61c2..f056c3b7b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -84,9 +84,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" dependencies = [ "cfg-if", "getrandom 0.2.15", @@ -128,6 +128,55 @@ dependencies = [ "winapi", ] +[[package]] +name = "anstream" +version = "0.6.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" + +[[package]] +name = "anstyle-parse" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + [[package]] name = "anyhow" version = "1.0.86" @@ -453,6 +502,21 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "assert_cmd" +version = "2.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00ad3f3a942eee60335ab4342358c161ee296829e0d16ff42fc1d6cb07815467" +dependencies = [ + "anstyle", + "bstr", + "doc-comment", + "predicates 3.1.0", + "predicates-core", + "predicates-tree", + "wait-timeout", +] + [[package]] name = "assets" version = "1.3.1" @@ -477,6 +541,23 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "assets-rpc" +version = "0.1.0" +dependencies = [ + "assets-runtime-api", + "common 0.1.0", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "assets-runtime-api" version = "0.1.0" @@ -860,6 +941,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "beefy-light-client-rpc" +version = "0.1.0" +dependencies = [ + "beefy-light-client-runtime-api", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "beefy-light-client-runtime-api" version = "0.1.0" @@ -878,7 +974,7 @@ name = "binary-merkle-tree" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", ] @@ -887,7 +983,7 @@ name = "binary-merkle-tree" version = "4.0.0-dev" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", ] @@ -1247,6 +1343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", + "regex-automata 0.4.6", "serde", ] @@ -1261,9 +1358,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byte-slice-cast" @@ -1317,9 +1414,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.8" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" dependencies = [ "serde", ] @@ -1651,6 +1748,52 @@ dependencies = [ "libloading", ] +[[package]] +name = "clap" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +dependencies = [ + "anstream", + "anstyle", + "clap_lex 0.7.0", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "clap_lex" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" + +[[package]] +name = "clap_lex" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" + [[package]] name = "codespan-reporting" version = "0.11.1" @@ -1661,6 +1804,23 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "colorchoice" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" + +[[package]] +name = "comfy-table" +version = "7.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" +dependencies = [ + "strum 0.26.2", + "strum_macros 0.26.2", + "unicode-width", +] + [[package]] name = "common" version = "0.1.0" @@ -1776,6 +1936,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[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.4" @@ -2046,7 +2212,7 @@ dependencies = [ "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms", + "platforms 3.4.0", "rustc_version 0.4.0", "subtle", "zeroize", @@ -2273,8 +2439,10 @@ version = "0.99.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ + "convert_case", "proc-macro2", "quote", + "rustc_version 0.4.0", "syn 1.0.109", ] @@ -2312,6 +2480,23 @@ dependencies = [ "technical", ] +[[package]] +name = "dex-api-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "dex-runtime-api", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "dex-manager" version = "0.2.0" @@ -2337,6 +2522,23 @@ dependencies = [ "sp-std", ] +[[package]] +name = "dex-manager-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "dex-manager-runtime-api", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "dex-manager-runtime-api" version = "0.1.0" @@ -2484,6 +2686,12 @@ dependencies = [ "zeroize", ] +[[package]] +name = "doc-comment" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" + [[package]] name = "docify" version = "0.2.8" @@ -2660,7 +2868,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", @@ -2769,6 +2977,24 @@ dependencies = [ "tokio", ] +[[package]] +name = "eth-bridge-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "eth-bridge", + "eth-bridge-runtime-api", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "eth-bridge-runtime-api" version = "0.1.0" @@ -2808,7 +3034,7 @@ version = "17.2.0" source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" dependencies = [ "ethabi", - "heck", + "heck 0.4.1", "proc-macro2", "quote", "syn 1.0.109", @@ -2945,7 +3171,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures", + "futures 0.3.30", ] [[package]] @@ -3020,6 +3246,18 @@ dependencies = [ "vested-rewards", ] +[[package]] +name = "farming-rpc" +version = "0.1.0" +dependencies = [ + "farming-runtime-api", + "jsonrpsee", + "parity-scale-codec", + "sp-api", + "sp-blockchain", + "sp-runtime", +] + [[package]] name = "farming-runtime-api" version = "0.1.0" @@ -3072,6 +3310,15 @@ dependencies = [ "technical", ] +[[package]] +name = "fdlimit" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" +dependencies = [ + "libc", +] + [[package]] name = "ff" version = "0.13.0" @@ -3130,7 +3377,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" dependencies = [ "either", - "futures", + "futures 0.3.30", "futures-timer", "log", "num-traits", @@ -3242,6 +3489,54 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "frame-benchmarking-cli" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "Inflector", + "array-bytes", + "chrono", + "clap", + "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 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-cli", + "sc-client-api", + "sc-client-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-executor", + "sc-service", + "sc-sysinfo 6.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "serde", + "serde_json", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-database 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-trie", + "sp-wasm-interface 14.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "thiserror", + "thousands", +] + [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" @@ -3297,13 +3592,34 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-remote-externalities" +version = "0.10.0-dev" +dependencies = [ + "async-recursion", + "futures 0.3.30", + "indicatif", + "jsonrpsee", + "log", + "parity-scale-codec", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "spinners", + "substrate-rpc-client 0.10.0-dev", + "tokio", + "tokio-retry", +] + [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "async-recursion", - "futures", + "futures 0.3.30", "indicatif", "jsonrpsee", "log", @@ -3314,7 +3630,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "spinners", - "substrate-rpc-client", + "substrate-rpc-client 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "tokio", "tokio-retry", ] @@ -3459,18 +3775,115 @@ dependencies = [ ] [[package]] -name = "framenode-chain-spec" +name = "framenode" version = "3.3.0" dependencies = [ + "ahash 0.8.7", + "ansi_term", + "assert_cmd", + "assets-rpc", + "beefy-light-client", + "beefy-light-client-rpc", + "bridge-proxy-rpc", + "bridge-types", + "bumpalo", + "cargo-platform", + "clap", + "clap_lex 0.5.0", "common 0.1.0", - "faucet", - "frame-support", + "derive_more", + "dex-api-rpc", + "dex-manager-rpc", + "enum-as-inner", + "eth-bridge-rpc", + "exit-future", + "farming-rpc", + "frame-benchmarking", + "frame-benchmarking-cli", + "frame-remote-externalities 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "framenode-chain-spec", "framenode-runtime", + "futures 0.3.30", + "futures-timer", "hex-literal", "iroha-migration", - "order-book", - "parity-scale-codec", - "permissions", + "iroha-migration-rpc", + "jsonrpsee", + "leaf-provider-rpc", + "libsecp256k1", + "liquidity-proxy-rpc", + "log", + "mmr-rpc", + "oracle-proxy-rpc", + "pallet-sudo", + "pallet-transaction-payment-rpc", + "parity-scale-codec", + "parking_lot 0.12.2", + "pswap-distribution-rpc", + "rewards", + "rewards-rpc", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-client-db 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-consensus-aura", + "sc-consensus-babe", + "sc-consensus-slots", + "sc-executor", + "sc-informant", + "sc-network", + "sc-rpc", + "sc-rpc-api", + "sc-service", + "sc-telemetry", + "sc-transaction-pool", + "serde", + "serde_json", + "sp-api", + "sp-arithmetic", + "sp-block-builder", + "sp-blockchain", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-timestamp", + "sp-transaction-pool", + "sp-trie", + "substrate-bip39", + "substrate-build-script-utils", + "substrate-frame-rpc-system", + "substrate-prometheus-endpoint", + "technical", + "tokio", + "trading-pair-rpc", + "trie-root 0.16.0", + "try-runtime-cli", + "vested-rewards-rpc", + "xor-fee", +] + +[[package]] +name = "framenode-chain-spec" +version = "3.3.0" +dependencies = [ + "common 0.1.0", + "faucet", + "frame-support", + "framenode-runtime", + "hex-literal", + "iroha-migration", + "order-book", + "parity-scale-codec", + "permissions", "rewards", "sc-network", "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", @@ -3525,7 +3938,7 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-remote-externalities", + "frame-remote-externalities 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "frame-support", "frame-system", "frame-system-benchmarking", @@ -3656,6 +4069,12 @@ 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.30" @@ -3779,6 +4198,7 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ + "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -3820,6 +4240,16 @@ dependencies = [ "zeroize", ] +[[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" @@ -3844,15 +4274,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "getrandom_or_panic" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" -dependencies = [ - "rand_core 0.6.4", -] - [[package]] name = "ghash" version = "0.5.1" @@ -3941,6 +4362,26 @@ dependencies = [ "tracing", ] +[[package]] +name = "handlebars" +version = "4.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faa67bab9ff362228eb3d00bd024a4965d8231bbb7921167f0cfa66c6626b225" +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 = "hash-db" version = "0.16.0" @@ -3971,7 +4412,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.7", ] [[package]] @@ -3986,6 +4427,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermes-governance-platform" version = "1.2.0" @@ -4183,7 +4630,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -4270,7 +4717,7 @@ dependencies = [ "async-io 2.3.2", "core-foundation", "fnv", - "futures", + "futures 0.3.30", "if-addrs", "ipnet", "log", @@ -4465,6 +4912,19 @@ dependencies = [ "technical", ] +[[package]] +name = "iroha-migration-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "iroha-migration-runtime-api", + "jsonrpsee", + "sp-api", + "sp-blockchain", + "sp-rpc", + "sp-runtime", +] + [[package]] name = "iroha-migration-runtime-api" version = "0.1.0" @@ -4483,6 +4943,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + [[package]] name = "itertools" version = "0.10.5" @@ -4521,7 +4987,7 @@ name = "jsonrpc-core" version = "17.0.0" source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" dependencies = [ - "futures", + "futures 0.3.30", "log", "serde", "serde_derive", @@ -4617,7 +5083,7 @@ version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro-crate 1.1.3", "proc-macro2", "quote", @@ -4813,6 +5279,22 @@ dependencies = [ "sp-std", ] +[[package]] +name = "leaf-provider-rpc" +version = "0.1.0" +dependencies = [ + "jsonrpsee", + "leaf-provider-runtime-api", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "leaf-provider-runtime-api" version = "0.1.0" @@ -4849,7 +5331,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" dependencies = [ "bytes", - "futures", + "futures 0.3.30", "futures-timer", "getrandom 0.2.15", "instant", @@ -4907,7 +5389,7 @@ checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" dependencies = [ "either", "fnv", - "futures", + "futures 0.3.30", "futures-timer", "instant", "libp2p-identity", @@ -4933,7 +5415,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" dependencies = [ - "futures", + "futures 0.3.30", "libp2p-core", "log", "parking_lot 0.12.2", @@ -4949,7 +5431,7 @@ checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" dependencies = [ "asynchronous-codec", "either", - "futures", + "futures 0.3.30", "futures-timer", "libp2p-core", "libp2p-identity", @@ -4992,7 +5474,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures", + "futures 0.3.30", "futures-timer", "instant", "libp2p-core", @@ -5016,7 +5498,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" dependencies = [ "data-encoding", - "futures", + "futures 0.3.30", "if-watch", "libp2p-core", "libp2p-identity", @@ -5052,7 +5534,7 @@ checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures", + "futures 0.3.30", "libp2p-core", "libp2p-identity", "log", @@ -5074,7 +5556,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" dependencies = [ "either", - "futures", + "futures 0.3.30", "futures-timer", "instant", "libp2p-core", @@ -5091,7 +5573,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" dependencies = [ "bytes", - "futures", + "futures 0.3.30", "futures-timer", "if-watch", "libp2p-core", @@ -5113,7 +5595,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "instant", "libp2p-core", "libp2p-identity", @@ -5130,7 +5612,7 @@ checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" dependencies = [ "either", "fnv", - "futures", + "futures 0.3.30", "futures-timer", "instant", "libp2p-core", @@ -5149,7 +5631,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ - "heck", + "heck 0.4.1", "quote", "syn 1.0.109", ] @@ -5160,7 +5642,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" dependencies = [ - "futures", + "futures 0.3.30", "futures-timer", "if-watch", "libc", @@ -5176,7 +5658,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" dependencies = [ - "futures", + "futures 0.3.30", "futures-rustls", "libp2p-core", "libp2p-identity", @@ -5195,7 +5677,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" dependencies = [ - "futures", + "futures 0.3.30", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -5210,7 +5692,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ "either", - "futures", + "futures 0.3.30", "futures-rustls", "libp2p-core", "log", @@ -5228,7 +5710,7 @@ version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ - "futures", + "futures 0.3.30", "libp2p-core", "log", "thiserror", @@ -5446,6 +5928,23 @@ dependencies = [ "vested-rewards", ] +[[package]] +name = "liquidity-proxy-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "jsonrpsee", + "liquidity-proxy-runtime-api", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "liquidity-proxy-runtime-api" version = "0.1.0" @@ -5650,7 +6149,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -5703,6 +6202,22 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "mmr-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "anyhow", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", +] + [[package]] name = "mock-liquidity-source" version = "0.1.0" @@ -5740,7 +6255,7 @@ dependencies = [ "fragile", "lazy_static", "mockall_derive", - "predicates", + "predicates 2.1.5", "predicates-tree", ] @@ -5887,7 +6402,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" dependencies = [ "bytes", - "futures", + "futures 0.3.30", "log", "pin-project", "smallvec", @@ -5921,6 +6436,15 @@ dependencies = [ "syn 1.0.109", ] +[[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 = "netlink-packet-core" version = "0.4.2" @@ -5966,7 +6490,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", - "futures", + "futures 0.3.30", "log", "netlink-packet-core", "netlink-sys", @@ -5981,7 +6505,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", - "futures", + "futures 0.3.30", "libc", "log", "tokio", @@ -6076,6 +6600,7 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ + "num-bigint", "num-integer", "num-traits", ] @@ -6180,6 +6705,19 @@ dependencies = [ "sp-std", ] +[[package]] +name = "oracle-proxy-rpc" +version = "1.0.0" +dependencies = [ + "jsonrpsee", + "oracle-proxy-runtime-api", + "parity-scale-codec", + "sp-api", + "sp-blockchain", + "sp-runtime", + "sp-std", +] + [[package]] name = "oracle-proxy-runtime-api" version = "1.0.0" @@ -6784,6 +7322,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-transaction-payment-rpc" +version = "4.0.0-dev" +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" @@ -7046,6 +7599,51 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pest" +version = "2.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" +dependencies = [ + "memchr", + "thiserror", + "ucd-trie", +] + +[[package]] +name = "pest_derive" +version = "2.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459" +dependencies = [ + "pest", + "pest_generator", +] + +[[package]] +name = "pest_generator" +version = "2.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687" +dependencies = [ + "pest", + "pest_meta", + "proc-macro2", + "quote", + "syn 2.0.65", +] + +[[package]] +name = "pest_meta" +version = "2.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd" +dependencies = [ + "once_cell", + "pest", + "sha2 0.10.8", +] + [[package]] name = "petgraph" version = "0.6.5" @@ -7121,6 +7719,12 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +[[package]] +name = "platforms" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" + [[package]] name = "platforms" version = "3.4.0" @@ -7281,6 +7885,17 @@ dependencies = [ "regex", ] +[[package]] +name = "predicates" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" +dependencies = [ + "anstyle", + "difflib", + "predicates-core", +] + [[package]] name = "predicates-core" version = "1.0.6" @@ -7492,7 +8107,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ "bytes", - "heck", + "heck 0.4.1", "itertools", "lazy_static", "log", @@ -7603,6 +8218,23 @@ dependencies = [ "trading-pair", ] +[[package]] +name = "pswap-distribution-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "jsonrpsee", + "parity-scale-codec", + "pswap-distribution-runtime-api", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + [[package]] name = "pswap-distribution-runtime-api" version = "0.1.0" @@ -8012,15 +8644,32 @@ dependencies = [ ] [[package]] -name = "rewards-runtime-api" +name = "rewards-rpc" version = "0.1.0" dependencies = [ "common 0.1.0", + "jsonrpsee", "parity-scale-codec", - "scale-info", + "rewards-runtime-api", "serde", "sp-api", - "sp-runtime", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "rewards-runtime-api" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-runtime", "sp-std", ] @@ -8099,13 +8748,24 @@ dependencies = [ "librocksdb-sys", ] +[[package]] +name = "rpassword" +version = "7.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +dependencies = [ + "libc", + "rtoolbox", + "windows-sys 0.48.0", +] + [[package]] name = "rtnetlink" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ - "futures", + "futures 0.3.30", "log", "netlink-packet-route", "netlink-proto", @@ -8114,6 +8774,16 @@ dependencies = [ "tokio", ] +[[package]] +name = "rtoolbox" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "rustc-demangle" version = "0.1.24" @@ -8267,7 +8937,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" dependencies = [ - "futures", + "futures 0.3.30", "pin-project", "static_assertions", ] @@ -8311,10 +8981,32 @@ version = "4.1.0-dev" dependencies = [ "log", "sp-core", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0", "thiserror", ] +[[package]] +name = "sc-basic-authorship" +version = "0.10.0-dev" +dependencies = [ + "futures 0.3.30", + "futures-timer", + "log", + "parity-scale-codec", + "sc-block-builder 0.10.0-dev", + "sc-client-api", + "sc-proposer-metrics", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-core", + "sp-inherents", + "sp-runtime", + "substrate-prometheus-endpoint", +] + [[package]] name = "sc-block-builder" version = "0.10.0-dev" @@ -8329,6 +9021,21 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "sc-block-builder" +version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "parity-scale-codec", + "sc-client-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", +] + [[package]] name = "sc-chain-spec" version = "4.0.0-dev" @@ -8357,12 +9064,50 @@ dependencies = [ "syn 2.0.65", ] +[[package]] +name = "sc-cli" +version = "0.10.0-dev" +dependencies = [ + "array-bytes", + "chrono", + "clap", + "fdlimit", + "futures 0.3.30", + "libp2p-identity", + "log", + "names", + "parity-scale-codec", + "rand 0.8.5", + "regex", + "rpassword", + "sc-client-api", + "sc-client-db 0.10.0-dev", + "sc-keystore", + "sc-network", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sc-utils 4.0.0-dev", + "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" dependencies = [ "fnv", - "futures", + "futures 0.3.30", "log", "parity-scale-codec", "parking_lot 0.12.2", @@ -8373,7 +9118,7 @@ dependencies = [ "sp-blockchain", "sp-consensus 0.10.0-dev", "sp-core", - "sp-database", + "sp-database 4.0.0-dev", "sp-externalities", "sp-runtime", "sp-state-machine", @@ -8386,7 +9131,7 @@ dependencies = [ name = "sc-client-db" version = "0.10.0-dev" dependencies = [ - "hash-db", + "hash-db 0.16.0", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -8396,12 +9141,63 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", "sc-client-api", - "sc-state-db", + "sc-state-db 0.10.0-dev", "schnellru", "sp-arithmetic", "sp-blockchain", "sp-core", - "sp-database", + "sp-database 4.0.0-dev", + "sp-runtime", + "sp-state-machine", + "sp-trie", +] + +[[package]] +name = "sc-client-db" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "hash-db 0.16.0", + "kvdb", + "kvdb-memorydb", + "linked-hash-map", + "log", + "parity-db", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-client-api", + "sc-state-db 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "schnellru", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-state-machine", + "sp-trie", +] + +[[package]] +name = "sc-client-db" +version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "hash-db 0.16.0", + "kvdb", + "kvdb-memorydb", + "kvdb-rocksdb", + "linked-hash-map", + "log", + "parity-db", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-client-api", + "sc-state-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "schnellru", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-runtime", "sp-state-machine", "sp-trie", @@ -8412,7 +9208,7 @@ name = "sc-consensus" version = "0.10.0-dev" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "futures-timer", "libp2p-identity", "log", @@ -8437,7 +9233,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "futures-timer", "libp2p-identity", "log", @@ -8456,6 +9252,103 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-consensus-aura" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures 0.3.30", + "log", + "parity-scale-codec", + "sc-block-builder 0.10.0-dev", + "sc-client-api", + "sc-consensus 0.10.0-dev", + "sc-consensus-slots", + "sc-telemetry", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "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" +dependencies = [ + "async-trait", + "fork-tree", + "futures 0.3.30", + "log", + "num-bigint", + "num-rational", + "num-traits", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-client-api", + "sc-consensus 0.10.0-dev", + "sc-consensus-epochs", + "sc-consensus-slots", + "sc-telemetry", + "sc-transaction-pool-api", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-consensus-babe", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "sc-consensus-epochs" +version = "0.10.0-dev" +dependencies = [ + "fork-tree", + "parity-scale-codec", + "sc-client-api", + "sc-consensus 0.10.0-dev", + "sp-blockchain", + "sp-runtime", +] + +[[package]] +name = "sc-consensus-slots" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures 0.3.30", + "futures-timer", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-consensus 0.10.0-dev", + "sc-telemetry", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", +] + [[package]] name = "sc-executor" version = "0.10.0-dev" @@ -8473,7 +9366,7 @@ dependencies = [ "sp-runtime-interface", "sp-trie", "sp-version", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0", "tracing", ] @@ -8483,7 +9376,7 @@ version = "0.10.0-dev" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0", "thiserror", "wasm-instrument", ] @@ -8500,7 +9393,7 @@ dependencies = [ "sc-allocator", "sc-executor-common", "sp-runtime-interface", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0", "wasmtime", ] @@ -8509,7 +9402,7 @@ name = "sc-informant" version = "0.10.0-dev" dependencies = [ "ansi_term", - "futures", + "futures 0.3.30", "futures-timer", "log", "sc-client-api", @@ -8543,7 +9436,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures", + "futures 0.3.30", "futures-timer", "ip_network", "libp2p", @@ -8578,7 +9471,7 @@ version = "0.10.0-dev" dependencies = [ "async-channel 1.9.0", "cid", - "futures", + "futures 0.3.30", "libp2p-identity", "log", "prost", @@ -8597,7 +9490,7 @@ version = "0.10.0-dev" dependencies = [ "async-trait", "bitflags 1.3.2", - "futures", + "futures 0.3.30", "libp2p-identity", "parity-scale-codec", "prost-build", @@ -8614,7 +9507,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polk dependencies = [ "async-trait", "bitflags 1.3.2", - "futures", + "futures 0.3.30", "libp2p-identity", "parity-scale-codec", "prost-build", @@ -8630,7 +9523,7 @@ version = "0.10.0-dev" dependencies = [ "array-bytes", "async-channel 1.9.0", - "futures", + "futures 0.3.30", "libp2p-identity", "log", "parity-scale-codec", @@ -8652,7 +9545,7 @@ dependencies = [ "async-channel 1.9.0", "async-trait", "fork-tree", - "futures", + "futures 0.3.30", "futures-timer", "libp2p", "log", @@ -8682,7 +9575,7 @@ name = "sc-network-transactions" version = "0.10.0-dev" dependencies = [ "array-bytes", - "futures", + "futures 0.3.30", "libp2p", "log", "parity-scale-codec", @@ -8694,16 +9587,24 @@ dependencies = [ "substrate-prometheus-endpoint", ] +[[package]] +name = "sc-proposer-metrics" +version = "0.10.0-dev" +dependencies = [ + "log", + "substrate-prometheus-endpoint", +] + [[package]] name = "sc-rpc" version = "4.0.0-dev" dependencies = [ - "futures", + "futures 0.3.30", "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.2", - "sc-block-builder", + "sc-block-builder 0.10.0-dev", "sc-chain-spec", "sc-client-api", "sc-rpc-api", @@ -8761,7 +9662,7 @@ name = "sc-rpc-spec-v2" version = "0.10.0-dev" dependencies = [ "array-bytes", - "futures", + "futures 0.3.30", "futures-util", "hex", "jsonrpsee", @@ -8790,7 +9691,7 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures", + "futures 0.3.30", "futures-timer", "jsonrpsee", "log", @@ -8798,10 +9699,10 @@ dependencies = [ "parking_lot 0.12.2", "pin-project", "rand 0.8.5", - "sc-block-builder", + "sc-block-builder 0.10.0-dev", "sc-chain-spec", "sc-client-api", - "sc-client-db", + "sc-client-db 0.10.0-dev", "sc-consensus 0.10.0-dev", "sc-executor", "sc-informant", @@ -8815,7 +9716,7 @@ dependencies = [ "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", - "sc-sysinfo", + "sc-sysinfo 6.0.0-dev", "sc-telemetry", "sc-tracing", "sc-transaction-pool", @@ -8856,11 +9757,52 @@ dependencies = [ "sp-core", ] +[[package]] +name = "sc-state-db" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sp-core", +] + +[[package]] +name = "sc-state-db" +version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sp-core", +] + +[[package]] +name = "sc-sysinfo" +version = "6.0.0-dev" +dependencies = [ + "futures 0.3.30", + "libc", + "log", + "rand 0.8.5", + "rand_pcg", + "regex", + "sc-telemetry", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-std", +] + [[package]] name = "sc-sysinfo" version = "6.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "futures", + "futures 0.3.30", "libc", "log", "rand 0.8.5", @@ -8879,7 +9821,7 @@ name = "sc-telemetry" version = "4.0.0-dev" dependencies = [ "chrono", - "futures", + "futures 0.3.30", "libp2p", "log", "parking_lot 0.12.2", @@ -8935,7 +9877,7 @@ name = "sc-transaction-pool" version = "4.0.0-dev" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "futures-timer", "linked-hash-map", "log", @@ -8960,7 +9902,7 @@ name = "sc-transaction-pool-api" version = "4.0.0-dev" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "log", "parity-scale-codec", "serde", @@ -8975,7 +9917,7 @@ name = "sc-utils" version = "4.0.0-dev" dependencies = [ "async-channel 1.9.0", - "futures", + "futures 0.3.30", "futures-timer", "lazy_static", "log", @@ -8990,7 +9932,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "async-channel 1.9.0", - "futures", + "futures 0.3.30", "futures-timer", "lazy_static", "log", @@ -9040,7 +9982,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.7", "cfg-if", "hashbrown 0.13.2", ] @@ -9063,23 +10005,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "schnorrkel" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "curve25519-dalek 4.1.2", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_core 0.6.4", - "sha2 0.10.8", - "subtle", - "zeroize", -] - [[package]] name = "scopeguard" version = "1.2.0" @@ -9451,7 +10376,7 @@ dependencies = [ "base64 0.13.1", "bytes", "flate2", - "futures", + "futures 0.3.30", "http", "httparse", "log", @@ -9463,7 +10388,7 @@ dependencies = [ name = "sp-api" version = "4.0.0-dev" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", "parity-scale-codec", "scale-info", @@ -9531,14 +10456,14 @@ dependencies = [ name = "sp-blockchain" version = "4.0.0-dev" dependencies = [ - "futures", + "futures 0.3.30", "log", "parity-scale-codec", "parking_lot 0.12.2", "schnellru", "sp-api", "sp-consensus 0.10.0-dev", - "sp-database", + "sp-database 4.0.0-dev", "sp-runtime", "sp-state-machine", "thiserror", @@ -9549,7 +10474,7 @@ name = "sp-consensus" version = "0.10.0-dev" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "log", "sp-core", "sp-inherents", @@ -9564,7 +10489,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" dependencies = [ "async-trait", - "futures", + "futures 0.3.30", "log", "sp-core", "sp-inherents", @@ -9684,8 +10609,8 @@ dependencies = [ "bs58 0.5.1", "dyn-clonable", "ed25519-zebra", - "futures", - "hash-db", + "futures 0.3.30", + "hash-db 0.16.0", "hash256-std-hasher", "impl-serde", "lazy_static", @@ -9699,7 +10624,7 @@ dependencies = [ "rand 0.8.5", "regex", "scale-info", - "schnorrkel 0.9.1", + "schnorrkel", "secp256k1", "secrecy", "serde", @@ -9746,6 +10671,24 @@ dependencies = [ "parking_lot 0.12.2", ] +[[package]] +name = "sp-database" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "kvdb", + "parking_lot 0.12.2", +] + +[[package]] +name = "sp-database" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "kvdb", + "parking_lot 0.12.2", +] + [[package]] name = "sp-debug-derive" version = "8.0.0" @@ -9997,7 +10940,7 @@ dependencies = [ "sp-std", "sp-storage", "sp-tracing 10.0.0", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0", "static_assertions", ] @@ -10043,7 +10986,7 @@ dependencies = [ name = "sp-state-machine" version = "0.28.0" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", "parity-scale-codec", "parking_lot 0.12.2", @@ -10159,8 +11102,8 @@ dependencies = [ name = "sp-trie" version = "22.0.0" dependencies = [ - "ahash 0.8.11", - "hash-db", + "ahash 0.8.7", + "hash-db 0.16.0", "hashbrown 0.13.2", "lazy_static", "memory-db", @@ -10174,7 +11117,7 @@ dependencies = [ "thiserror", "tracing", "trie-db", - "trie-root", + "trie-root 0.18.0", ] [[package]] @@ -10215,6 +11158,19 @@ dependencies = [ "wasmtime", ] +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std", + "wasmtime", +] + [[package]] name = "sp-weights" version = "20.0.0" @@ -10333,6 +11289,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "strum" version = "0.24.1" @@ -10351,13 +11313,19 @@ dependencies = [ "strum_macros 0.25.3", ] +[[package]] +name = "strum" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" + [[package]] name = "strum_macros" version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -10370,7 +11338,20 @@ version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ - "heck", + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.65", +] + +[[package]] +name = "strum_macros" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +dependencies = [ + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -10379,13 +11360,13 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" +checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel 0.11.4", + "schnorrkel", "sha2 0.9.9", "zeroize", ] @@ -10437,6 +11418,33 @@ dependencies = [ "sp-std", ] +[[package]] +name = "substrate-build-script-utils" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd540ba72520174c2c73ce96bf507eeba3cc8a481f58be92525b69110e1fa645" +dependencies = [ + "platforms 1.1.0", +] + +[[package]] +name = "substrate-frame-rpc-system" +version = "4.0.0-dev" +dependencies = [ + "frame-system-rpc-runtime-api", + "futures 0.3.30", + "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" @@ -10448,6 +11456,18 @@ dependencies = [ "tokio", ] +[[package]] +name = "substrate-rpc-client" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "jsonrpsee", + "log", + "sc-rpc-api", + "serde", + "sp-runtime", +] + [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" @@ -10624,6 +11644,12 @@ dependencies = [ "syn 2.0.65", ] +[[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.9.9" @@ -10729,6 +11755,7 @@ dependencies = [ "num_cpus", "parking_lot 0.12.2", "pin-project-lite 0.2.14", + "signal-hook-registry", "socket2 0.5.7", "tokio-macros", "windows-sys 0.48.0", @@ -11024,6 +12051,23 @@ dependencies = [ "sp-std", ] +[[package]] +name = "trading-pair-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", + "trading-pair-runtime-api", +] + [[package]] name = "trading-pair-runtime-api" version = "0.1.0" @@ -11042,20 +12086,29 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db", + "hash-db 0.16.0", "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", ] +[[package]] +name = "trie-root" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "652931506d2c1244d7217a70b99f56718a7b4161b37f04e7cd868072a99f68cd" +dependencies = [ + "hash-db 0.15.2", +] + [[package]] name = "trie-root" version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -11110,6 +12163,41 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" +[[package]] +name = "try-runtime-cli" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "clap", + "frame-remote-externalities 0.10.0-dev", + "frame-try-runtime 0.10.0-dev", + "hex", + "log", + "parity-scale-codec", + "sc-cli", + "sc-executor", + "serde", + "serde_json", + "sp-api", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-core", + "sp-debug-derive 8.0.0", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-rpc", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "sp-transaction-storage-proof", + "sp-version", + "sp-weights", + "substrate-rpc-client 0.10.0-dev", + "zstd 0.12.4", +] + [[package]] name = "tt-call" version = "1.0.9" @@ -11134,6 +12222,12 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +[[package]] +name = "ucd-trie" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" + [[package]] name = "uint" version = "0.9.5" @@ -11224,6 +12318,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + [[package]] name = "valuable" version = "0.1.0" @@ -11285,6 +12385,24 @@ dependencies = [ "technical", ] +[[package]] +name = "vested-rewards-rpc" +version = "0.1.0" +dependencies = [ + "common 0.1.0", + "jsonrpsee", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-std", + "vested-rewards-runtime-api", +] + [[package]] name = "vested-rewards-runtime-api" version = "0.1.0" @@ -11304,6 +12422,15 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "wait-timeout" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +dependencies = [ + "libc", +] + [[package]] name = "waker-fn" version = "1.2.0" @@ -11462,7 +12589,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures", + "futures 0.3.30", "js-sys", "parking_lot 0.11.2", "pin-utils", @@ -12201,7 +13328,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" dependencies = [ - "futures", + "futures 0.3.30", "log", "nohash-hasher", "parking_lot 0.12.2", @@ -12305,75 +13432,3 @@ dependencies = [ "cc", "pkg-config", ] - -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" - -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" - -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" - -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" - -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" diff --git a/Cargo.toml b/Cargo.toml index 9a6b2c1ac2..5110df8354 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -393,7 +393,7 @@ members = [ "pallets/kensetsu", "pallets/band", "pallets/qa-tools", - # "node/", + "node/", # "utils/parse", # "utils/generate-bags", # "utils/remote-ext", diff --git a/node/Cargo.toml b/node/Cargo.toml index 5c4bf63a55..f208bbae7b 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", version = "3", features = [ "derive", "chain-error", ] } -clap = { version = "=4.3.17", features = ["derive"] } +clap = { version = "=4.5.4", features = ["derive"] } clap_lex = { version = "=0.5.0" } ansi_term = "0.12.1" serde = { version = "1.0.101", features = ["derive"] } @@ -89,19 +89,19 @@ sc-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "rel sc-rpc-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# sp-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-informant = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", package = "sp-consensus-beefy" } +# beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # mmr-gadget = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git" } diff --git a/node/src/main.rs b/node/src/main.rs index 3a7de56729..bef0d6dc25 100644 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -1,48 +1,48 @@ -// This file is part of the SORA network and Polkaswap app. +// // This file is part of the SORA network and Polkaswap app. -// Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. -// SPDX-License-Identifier: BSD-4-Clause +// // Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. +// // SPDX-License-Identifier: BSD-4-Clause -// Redistribution and use in source and binary forms, with or without modification, -// are permitted provided that the following conditions are met: +// // Redistribution and use in source and binary forms, with or without modification, +// // are permitted provided that the following conditions are met: -// Redistributions of source code must retain the above copyright notice, this list -// of conditions and the following disclaimer. -// Redistributions in binary form must reproduce the above copyright notice, this -// list of conditions and the following disclaimer in the documentation and/or other -// materials provided with the distribution. -// -// All advertising materials mentioning features or use of this software must display -// the following acknowledgement: This product includes software developed by Polka Biome -// Ltd., SORA, and Polkaswap. -// -// Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used -// to endorse or promote products derived from this software without specific prior written permission. +// // Redistributions of source code must retain the above copyright notice, this list +// // of conditions and the following disclaimer. +// // Redistributions in binary form must reproduce the above copyright notice, this +// // list of conditions and the following disclaimer in the documentation and/or other +// // materials provided with the distribution. +// // +// // All advertising materials mentioning features or use of this software must display +// // the following acknowledgement: This product includes software developed by Polka Biome +// // Ltd., SORA, and Polkaswap. +// // +// // Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used +// // to endorse or promote products derived from this software without specific prior written permission. -// THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, -// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY -// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// // THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, +// // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY +// // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +// // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +// // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +// // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -//! Substrate Node Template CLI library. -#![warn(missing_docs)] -// TODO #167: fix clippy warnings -#![allow(clippy::all)] +// //! Substrate Node Template CLI library. +// #![warn(missing_docs)] +// // TODO #167: fix clippy warnings +// #![allow(clippy::all)] -#[macro_use] -mod service; -mod cli; -mod command; -mod data_feed_metrics; -mod eth_bridge_metrics; -#[cfg(feature = "private-net")] -mod fork_off; -mod rpc; +// #[macro_use] +// mod service; +// mod cli; +// mod command; +// mod data_feed_metrics; +// mod eth_bridge_metrics; +// #[cfg(feature = "private-net")] +// mod fork_off; +// mod rpc; -fn main() -> sc_cli::Result<()> { - command::run() -} +// fn main() -> sc_cli::Result<()> { +// command::run() +// } diff --git a/pallets/assets/rpc/src/lib.rs b/pallets/assets/rpc/src/lib.rs index eddd07cced..d7b7401d53 100644 --- a/pallets/assets/rpc/src/lib.rs +++ b/pallets/assets/rpc/src/lib.rs @@ -164,11 +164,11 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.free_balance(&at, account_id, asset_id) + ); + api.free_balance(at, account_id, asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -179,11 +179,11 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.usable_balance(&at, account_id, asset_id) + ); + api.usable_balance(at, account_id, asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -194,11 +194,11 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.total_balance(&at, account_id, asset_id) + ); + api.total_balance(at, account_id, asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -208,21 +208,21 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.total_supply(&at, asset_id) + ); + api.total_supply(at, asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } fn list_asset_ids(&self, at: Option<::Hash>) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_asset_ids(&at) + ); + api.list_asset_ids(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -233,11 +233,11 @@ where Vec>, > { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_asset_infos(&at) + ); + api.list_asset_infos(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -249,11 +249,11 @@ where Option>, > { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.get_asset_info(&at, asset_id) + ); + api.get_asset_info(at, asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/dex-api/rpc/src/lib.rs b/pallets/dex-api/rpc/src/lib.rs index 3121e90270..e7f57c4d7a 100644 --- a/pallets/dex-api/rpc/src/lib.rs +++ b/pallets/dex-api/rpc/src/lib.rs @@ -128,20 +128,20 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); + ); let version = api - .api_version::>(&at) + .api_version::>(at) .map_err(|e| RpcError::Custom(format!("Runtime API error: {}", e)))?; let outcome = if version == Some(1) { #[allow(deprecated)] { api.quote_before_version_2( - &at, + at, dex_id, liquidity_source_type, input_asset_id, @@ -154,7 +154,7 @@ where } } else if version == Some(2) { api.quote( - &at, + at, dex_id, liquidity_source_type, input_asset_id, @@ -180,12 +180,12 @@ where at: Option<::Hash>, ) -> Result { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); + ); api.can_exchange( - &at, + at, dex_id, liquidity_source_type, input_asset_id, @@ -199,11 +199,11 @@ where at: Option<::Hash>, ) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_supported_sources(&at) + ); + api.list_supported_sources(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/dex-manager/rpc/src/lib.rs b/pallets/dex-manager/rpc/src/lib.rs index 4048a21171..60a3af07ab 100644 --- a/pallets/dex-manager/rpc/src/lib.rs +++ b/pallets/dex-manager/rpc/src/lib.rs @@ -75,11 +75,11 @@ where { fn list_dex_ids(&self, at: Option<::Hash>) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_dex_ids(&at) + ); + api.list_dex_ids(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/eth-bridge/rpc/src/lib.rs b/pallets/eth-bridge/rpc/src/lib.rs index 6f985b4c4a..eba9fabe68 100644 --- a/pallets/eth-bridge/rpc/src/lib.rs +++ b/pallets/eth-bridge/rpc/src/lib.rs @@ -195,9 +195,9 @@ where at: Option<::Hash>, ) -> RpcResult, DispatchError>> { 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_requests( - &at, + at, request_hashes, network_id, redirect_finished_load_requests.unwrap_or(true), @@ -212,8 +212,8 @@ where at: Option<::Hash>, ) -> RpcResult)>, DispatchError>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); - api.get_approved_requests(&at, request_hashes, network_id) + let at = at.unwrap_or_else(|| self.client.info().best_hash); + api.get_approved_requests(at, request_hashes, network_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -224,8 +224,8 @@ where at: Option<::Hash>, ) -> RpcResult>, DispatchError>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); - api.get_approvals(&at, request_hashes, network_id) + let at = at.unwrap_or_else(|| self.client.info().best_hash); + api.get_approvals(at, request_hashes, network_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -236,8 +236,8 @@ where at: Option<::Hash>, ) -> RpcResult, DispatchError>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); - api.get_account_requests(&at, account_id, status_filter) + let at = at.unwrap_or_else(|| self.client.info().best_hash); + api.get_account_requests(at, account_id, status_filter) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -256,8 +256,8 @@ where >, > { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); - api.get_registered_assets(&at, network_id) + let at = at.unwrap_or_else(|| self.client.info().best_hash); + api.get_registered_assets(at, network_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/farming/rpc/src/lib.rs b/pallets/farming/rpc/src/lib.rs index 75acda5f96..ca4d8404fe 100644 --- a/pallets/farming/rpc/src/lib.rs +++ b/pallets/farming/rpc/src/lib.rs @@ -72,9 +72,9 @@ where { fn reward_doubling_assets(&self, at: Option) -> 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.reward_doubling_assets(&at) + api.reward_doubling_assets(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/iroha-migration/rpc/src/lib.rs b/pallets/iroha-migration/rpc/src/lib.rs index 6391190fae..0fdbf15bc6 100644 --- a/pallets/iroha-migration/rpc/src/lib.rs +++ b/pallets/iroha-migration/rpc/src/lib.rs @@ -73,11 +73,11 @@ where { fn needs_migration(&self, iroha_address: String, at: Option) -> Result { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.needs_migration(&at, iroha_address) + ); + api.needs_migration(at, iroha_address) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/liquidity-proxy/rpc/src/lib.rs b/pallets/liquidity-proxy/rpc/src/lib.rs index c93abb3bc6..c7e8cc85bd 100644 --- a/pallets/liquidity-proxy/rpc/src/lib.rs +++ b/pallets/liquidity-proxy/rpc/src/lib.rs @@ -154,10 +154,10 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); + ); let version = api .api_version::>(&at) + >>(at) .map_err(|e| RpcError::Custom(format!("Runtime API error: {}", e)))?; let outcome = if version == Some(1) { #[allow(deprecated)] { api.quote_before_version_2( - &at, + at, dex_id, input_asset_id, output_asset_id, @@ -191,7 +191,7 @@ where #[allow(deprecated)] { api.quote_before_version_3( - &at, + at, dex_id, input_asset_id, output_asset_id, @@ -205,7 +205,7 @@ where } } else if version == Some(3) { api.quote( - &at, + at, dex_id, input_asset_id, output_asset_id, @@ -231,11 +231,11 @@ where at: Option<::Hash>, ) -> Result { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.is_path_available(&at, dex_id, input_asset_id, output_asset_id) + ); + api.is_path_available(at, dex_id, input_asset_id, output_asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -247,11 +247,11 @@ where at: Option<::Hash>, ) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_enabled_sources_for_path(&at, dex_id, input_asset_id, output_asset_id) + ); + api.list_enabled_sources_for_path(at, dex_id, input_asset_id, output_asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/oracle-proxy/rpc/src/lib.rs b/pallets/oracle-proxy/rpc/src/lib.rs index d02ba2841c..0c371f0e8a 100644 --- a/pallets/oracle-proxy/rpc/src/lib.rs +++ b/pallets/oracle-proxy/rpc/src/lib.rs @@ -94,11 +94,11 @@ where at: Option<::Hash>, ) -> RpcResult, DispatchError>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.quote(&at, symbol) + ); + api.quote(at, symbol) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -107,11 +107,11 @@ where at: Option<::Hash>, ) -> RpcResult, DispatchError>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_enabled_symbols(&at) + ); + api.list_enabled_symbols(at) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/pswap-distribution/rpc/src/lib.rs b/pallets/pswap-distribution/rpc/src/lib.rs index 1e8d5646ba..c735bc0d00 100644 --- a/pallets/pswap-distribution/rpc/src/lib.rs +++ b/pallets/pswap-distribution/rpc/src/lib.rs @@ -85,11 +85,11 @@ where at: Option<::Hash>, ) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.claimable_amount(&at, account_id) + ); + api.claimable_amount(at, account_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/rewards/rpc/src/lib.rs b/pallets/rewards/rpc/src/lib.rs index 4055e409a9..e09eebc425 100644 --- a/pallets/rewards/rpc/src/lib.rs +++ b/pallets/rewards/rpc/src/lib.rs @@ -83,11 +83,11 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.claimables(&at, eth_address) + ); + api.claimables(at, eth_address) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/trading-pair/rpc/src/lib.rs b/pallets/trading-pair/rpc/src/lib.rs index dce338e4dc..8b86102477 100644 --- a/pallets/trading-pair/rpc/src/lib.rs +++ b/pallets/trading-pair/rpc/src/lib.rs @@ -111,11 +111,11 @@ where at: Option<::Hash>, ) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_enabled_pairs(&at, dex_id) + ); + api.list_enabled_pairs(at, dex_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -127,11 +127,11 @@ where at: Option<::Hash>, ) -> Result { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.is_pair_enabled(&at, dex_id, base_asset_id, target_asset_id) + ); + api.is_pair_enabled(at, dex_id, base_asset_id, target_asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -143,11 +143,11 @@ where at: Option<::Hash>, ) -> Result> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.list_enabled_sources_for_pair(&at, dex_id, base_asset_id, target_asset_id) + ); + api.list_enabled_sources_for_pair(at, dex_id, base_asset_id, target_asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -160,11 +160,11 @@ where at: Option<::Hash>, ) -> Result { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.is_source_enabled_for_pair(&at, dex_id, base_asset_id, target_asset_id, source_type) + ); + api.is_source_enabled_for_pair(at, dex_id, base_asset_id, target_asset_id, source_type) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } } diff --git a/pallets/vested-rewards/rpc/src/lib.rs b/pallets/vested-rewards/rpc/src/lib.rs index 47377162aa..3358b1e411 100644 --- a/pallets/vested-rewards/rpc/src/lib.rs +++ b/pallets/vested-rewards/rpc/src/lib.rs @@ -104,11 +104,11 @@ where at: Option<::Hash>, ) -> Result>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); - api.crowdloan_claimable(&at, tag, account_id, asset_id) + ); + api.crowdloan_claimable(at, tag, account_id, asset_id) .map_err(|e| RpcError::Call(CallError::Failed(e.into()))) } @@ -118,12 +118,12 @@ where at: Option<::Hash>, ) -> Result { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or( + let at = at.unwrap_or( // If the block hash is not supplied assume the best block. self.client.info().best_hash, - )); + ); let lease = api - .crowdloan_lease(&at, tag) + .crowdloan_lease(at, tag) .map_err(|e| RpcError::Call(CallError::Failed(e.into())))? .ok_or(RpcError::Custom("Crowdloan not found".into()))?; Ok(lease) From 963a35c80e335537635a581f0976c84680d59ec4 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 29 May 2024 21:47:45 -0300 Subject: [PATCH 015/110] fix something on the node --- Cargo.lock | 277 ++++++++++++++++++++++-------- Cargo.toml | 11 +- node/Cargo.toml | 8 +- node/chain_spec/Cargo.toml | 2 +- node/chain_spec/src/lib.rs | 2 +- node/src/command.rs | 10 +- node/src/data_feed_metrics.rs | 4 +- node/src/eth_bridge_metrics.rs | 2 +- node/src/main.rs | 32 ++-- node/src/rpc.rs | 31 +++- node/src/service.rs | 300 +++++++++++++++++++++------------ runtime/src/lib.rs | 6 +- 12 files changed, 469 insertions(+), 216 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f056c3b7b6..70551ce634 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -972,7 +972,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "hash-db 0.16.0", "log", @@ -3523,7 +3523,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-database 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-database", "sp-externalities", "sp-inherents", "sp-io", @@ -3616,7 +3616,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "async-recursion", "futures 0.3.30", @@ -3813,6 +3813,7 @@ dependencies = [ "libsecp256k1", "liquidity-proxy-rpc", "log", + "mmr-gadget", "mmr-rpc", "oracle-proxy-rpc", "pallet-sudo", @@ -3827,18 +3828,23 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-client-db 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sc-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-consensus", "sc-consensus-aura", "sc-consensus-babe", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", + "sc-consensus-grandpa", "sc-consensus-slots", "sc-executor", "sc-informant", "sc-network", + "sc-offchain", "sc-rpc", "sc-rpc-api", "sc-service", "sc-telemetry", "sc-transaction-pool", + "sc-transaction-pool-api", "serde", "serde_json", "sp-api", @@ -3885,6 +3891,7 @@ dependencies = [ "parity-scale-codec", "permissions", "rewards", + "sc-consensus-grandpa", "sc-network", "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sc-service", @@ -6202,10 +6209,29 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "mmr-gadget" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +dependencies = [ + "futures 0.3.30", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-offchain", + "sp-api", + "sp-blockchain", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", + "sp-core", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-runtime", +] + [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "anyhow", "jsonrpsee", @@ -9118,7 +9144,7 @@ dependencies = [ "sp-blockchain", "sp-consensus 0.10.0-dev", "sp-core", - "sp-database 4.0.0-dev", + "sp-database", "sp-externalities", "sp-runtime", "sp-state-machine", @@ -9146,7 +9172,7 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-core", - "sp-database 4.0.0-dev", + "sp-database", "sp-runtime", "sp-state-machine", "sp-trie", @@ -9155,7 +9181,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -9171,7 +9197,7 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-core", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-database", "sp-runtime", "sp-state-machine", "sp-trie", @@ -9197,7 +9223,7 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-core", - "sp-database 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-database", "sp-runtime", "sp-state-machine", "sp-trie", @@ -9227,31 +9253,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "async-trait", - "futures 0.3.30", - "futures-timer", - "libp2p-identity", - "log", - "mockall", - "parking_lot 0.12.2", - "sc-client-api", - "sc-utils 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "serde", - "sp-api", - "sp-blockchain", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core", - "sp-runtime", - "sp-state-machine", - "substrate-prometheus-endpoint", - "thiserror", -] - [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" @@ -9262,7 +9263,7 @@ dependencies = [ "parity-scale-codec", "sc-block-builder 0.10.0-dev", "sc-client-api", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sc-consensus-slots", "sc-telemetry", "sp-api", @@ -9294,7 +9295,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", "sc-client-api", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sc-consensus-epochs", "sc-consensus-slots", "sc-telemetry", @@ -9315,6 +9316,58 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-consensus-beefy" +version = "4.0.0-dev" +dependencies = [ + "array-bytes", + "async-channel 1.9.0", + "async-trait", + "fnv", + "futures 0.3.30", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-gossip", + "sc-network-sync", + "sc-utils 4.0.0-dev", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-consensus-beefy", + "sp-core", + "sp-keystore", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-consensus-beefy-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +dependencies = [ + "futures 0.3.30", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "sc-consensus-beefy", + "sc-rpc", + "serde", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" @@ -9322,11 +9375,51 @@ dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sp-blockchain", "sp-runtime", ] +[[package]] +name = "sc-consensus-grandpa" +version = "0.10.0-dev" +dependencies = [ + "ahash 0.8.7", + "array-bytes", + "async-trait", + "dyn-clone", + "finality-grandpa", + "fork-tree", + "futures 0.3.30", + "futures-timer", + "log", + "parity-scale-codec", + "parking_lot 0.12.2", + "rand 0.8.5", + "sc-block-builder 0.10.0-dev", + "sc-chain-spec", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common 0.10.0-dev", + "sc-network-gossip", + "sc-telemetry", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev", + "serde_json", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus 0.10.0-dev", + "sp-consensus-grandpa 4.0.0-dev", + "sp-core", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", +] + [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" @@ -9337,7 +9430,7 @@ dependencies = [ "log", "parity-scale-codec", "sc-client-api", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sc-telemetry", "sp-arithmetic", "sp-blockchain", @@ -9494,7 +9587,7 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sp-consensus 0.10.0-dev", "sp-consensus-grandpa 4.0.0-dev", "sp-runtime", @@ -9503,7 +9596,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -9511,12 +9604,29 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-consensus", "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-runtime", ] +[[package]] +name = "sc-network-gossip" +version = "0.10.0-dev" +dependencies = [ + "ahash 0.8.7", + "futures 0.3.30", + "futures-timer", + "libp2p", + "log", + "sc-network", + "sc-network-common 0.10.0-dev", + "schnellru", + "sp-runtime", + "substrate-prometheus-endpoint", + "tracing", +] + [[package]] name = "sc-network-light" version = "0.10.0-dev" @@ -9554,7 +9664,7 @@ dependencies = [ "prost", "prost-build", "sc-client-api", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sc-network", "sc-network-common 0.10.0-dev", "sc-utils 4.0.0-dev", @@ -9587,6 +9697,40 @@ dependencies = [ "substrate-prometheus-endpoint", ] +[[package]] +name = "sc-offchain" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +dependencies = [ + "array-bytes", + "bytes", + "fnv", + "futures 0.3.30", + "futures-timer", + "hyper", + "hyper-rustls", + "libp2p", + "log", + "num_cpus", + "once_cell", + "parity-scale-codec", + "parking_lot 0.12.2", + "rand 0.8.5", + "sc-client-api", + "sc-network", + "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-transaction-pool-api", + "sc-utils 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-offchain", + "sp-runtime", + "threadpool", + "tracing", +] + [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" @@ -9703,7 +9847,7 @@ dependencies = [ "sc-chain-spec", "sc-client-api", "sc-client-db 0.10.0-dev", - "sc-consensus 0.10.0-dev", + "sc-consensus", "sc-executor", "sc-informant", "sc-keystore", @@ -9760,7 +9904,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "log", "parity-scale-codec", @@ -9929,7 +10073,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "async-channel 1.9.0", "futures 0.3.30", @@ -10463,7 +10607,7 @@ dependencies = [ "schnellru", "sp-api", "sp-consensus 0.10.0-dev", - "sp-database 4.0.0-dev", + "sp-database", "sp-runtime", "sp-state-machine", "thiserror", @@ -10486,7 +10630,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "async-trait", "futures 0.3.30", @@ -10570,7 +10714,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "finality-grandpa", "log", @@ -10671,24 +10815,6 @@ dependencies = [ "parking_lot 0.12.2", ] -[[package]] -name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "kvdb", - "parking_lot 0.12.2", -] - -[[package]] -name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "kvdb", - "parking_lot 0.12.2", -] - [[package]] name = "sp-debug-derive" version = "8.0.0" @@ -10701,7 +10827,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "proc-macro2", "quote", @@ -10833,7 +10959,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -11067,7 +11193,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "parity-scale-codec", "sp-std", @@ -11471,7 +11597,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "async-trait", "jsonrpsee", @@ -11658,6 +11784,15 @@ dependencies = [ "lazy_static", ] +[[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.4+5.3.0-patched" diff --git a/Cargo.toml b/Cargo.toml index 5110df8354..92c98e8072 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -155,9 +155,11 @@ sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-auth sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} -# sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} +sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus/common"} sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} +sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/beefy"} +sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} # sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} @@ -167,6 +169,7 @@ sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} +sc-transaction-pool-api = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool/api"} sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} @@ -177,6 +180,7 @@ sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} +sp-database = { path = "../sora-polkadot-sdk/substrate/primitives/database"} # sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} @@ -257,9 +261,11 @@ sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-auth sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} +sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus/common"} # sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} +sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} # sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} @@ -269,6 +275,7 @@ sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} +sc-transaction-pool-api = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool/api"} sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} @@ -278,7 +285,9 @@ sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} # sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} +sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/beefy"} sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} +sp-database = { path = "../sora-polkadot-sdk/substrate/primitives/database"} # sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} diff --git a/node/Cargo.toml b/node/Cargo.toml index f208bbae7b..8e7a1cef6f 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -73,8 +73,10 @@ sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-cli = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } @@ -92,6 +94,7 @@ sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "re # sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # sp-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-informant = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } @@ -101,11 +104,12 @@ sp-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "r # beefy-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-mmr-primitives = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-gadget-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-beefy-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# mmr-gadget = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +mmr-gadget = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git" } sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } enum-as-inner = "=0.5.1" diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index 3ce3981c89..b14724a625 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -11,7 +11,7 @@ codec = { package = "parity-scale-codec", version = "3", features = [ ] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } hex-literal = "0.4.1" -# sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # sc-finality-grandpa = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", package = "finality-grandpa" } sc-network = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-network-common = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index f561486d2c..a68df2b57e 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -65,7 +65,7 @@ // use hex_literal::hex; // use permissions::Scope; -// use sc_finality_grandpa::AuthorityId as GrandpaId; +// use sc_consensus_grandpa::AuthorityId as GrandpaId; // use sc_network_common::config::MultiaddrWithPeerId; // use sc_service::{ChainType, Properties}; // use sp_consensus_aura::sr25519::AuthorityId as AuraId; diff --git a/node/src/command.rs b/node/src/command.rs index 67f3501f05..623c8c3cc2 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -76,7 +76,7 @@ impl SubstrateCli for Cli { #[cfg(not(feature = "private-net"))] if id == "main" { - chain_spec = Some(framenode_chain_spec::main_net()?); + // chain_spec = Some(framenode_chain_spec::main_net()?); } #[cfg(feature = "main-net-coded")] @@ -87,15 +87,15 @@ impl SubstrateCli for Cli { let chain_spec = if let Some(chain_spec) = chain_spec { chain_spec } else { - framenode_chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(id))? + // framenode_chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(id))? }; Ok(Box::new(chain_spec)) } - fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { - &framenode_runtime::VERSION - } + // fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { + // &framenode_runtime::VERSION + // } } /// Parse and run command line arguments diff --git a/node/src/data_feed_metrics.rs b/node/src/data_feed_metrics.rs index 34b4ca8b25..a4386c1a20 100644 --- a/node/src/data_feed_metrics.rs +++ b/node/src/data_feed_metrics.rs @@ -63,9 +63,9 @@ where async fn get_symbols(&self) -> Result, String> { let api = self.client.runtime_api(); - let at = BlockId::hash(self.client.info().best_hash); + let at = self.client.info().best_hash; let enabled_symbols = api - .list_enabled_symbols(&at) + .list_enabled_symbols(at) .map_err(|rpc_error| format!("RPC error: {:?}", rpc_error))? .map_err(|dispatch_error| format!("Dispatch error: {:?}", dispatch_error))?; diff --git a/node/src/eth_bridge_metrics.rs b/node/src/eth_bridge_metrics.rs index 82dd1278dc..b7391f7fe3 100644 --- a/node/src/eth_bridge_metrics.rs +++ b/node/src/eth_bridge_metrics.rs @@ -23,7 +23,7 @@ pub struct Metrics { impl Metrics where B: sc_client_api::Backend + Send + Sync + 'static, - B::State: sc_client_api::StateBackend>, + B::State: sc_client_api::StateBackend>, { pub fn register( registry: &Registry, diff --git a/node/src/main.rs b/node/src/main.rs index bef0d6dc25..f38309b016 100644 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -28,21 +28,21 @@ // // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// //! Substrate Node Template CLI library. -// #![warn(missing_docs)] -// // TODO #167: fix clippy warnings -// #![allow(clippy::all)] +//! Substrate Node Template CLI library. +#![warn(missing_docs)] +// TODO #167: fix clippy warnings +#![allow(clippy::all)] -// #[macro_use] -// mod service; -// mod cli; -// mod command; -// mod data_feed_metrics; -// mod eth_bridge_metrics; -// #[cfg(feature = "private-net")] -// mod fork_off; -// mod rpc; +#[macro_use] +mod service; +mod cli; +mod command; +mod data_feed_metrics; +mod eth_bridge_metrics; +#[cfg(feature = "private-net")] +mod fork_off; +mod rpc; -// fn main() -> sc_cli::Result<()> { -// command::run() -// } +fn main() -> sc_cli::Result<()> { + command::run() +} diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 04777db9fd..6365bc3a65 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -34,7 +34,7 @@ use common::{ContentSource, Description, TradingPair}; use framenode_runtime::opaque::Block; use framenode_runtime::{ eth_bridge, AccountId, AssetId, AssetName, AssetSymbol, Balance, BalancePrecision, DEXId, - FilterMode, Index, LiquiditySourceType, ResolveTime, Runtime, SwapVariant, Symbol, + FilterMode, LiquiditySourceType, Nonce, ResolveTime, Runtime, SwapVariant, Symbol, }; use jsonrpsee::RpcModule; pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; @@ -47,7 +47,7 @@ use std::sync::Arc; /// A type representing all RPC extensions. pub type RpcExtension = RpcModule<()>; -use beefy_gadget::communication::notification::{ +use sc_consensus_beefy::communication::notification::{ BeefyBestBlockStream, BeefyVersionedFinalityProofStream, }; /// Dependencies for BEEFY @@ -61,7 +61,7 @@ pub struct BeefyDeps { } /// Full client dependencies -pub struct FullDeps { +pub struct FullDeps { /// The client instance to use. pub client: Arc, /// Transaction pool instance. @@ -70,6 +70,8 @@ pub struct FullDeps { pub deny_unsafe: DenyUnsafe, /// BEEFY specific dependencies. pub beefy: BeefyDeps, + /// Backend used by the node. + pub backend: Arc, } #[cfg(feature = "wip")] @@ -96,8 +98,8 @@ pub fn add_ready_for_test_rpc( } /// Instantiate full RPC extensions. -pub fn create_full( - deps: FullDeps, +pub fn create_full( + deps: FullDeps, ) -> Result> where C: ProvideRuntimeApi, @@ -108,8 +110,8 @@ where ::Hash, <::Header as sp_runtime::traits::Header>::Number, >, - C::Api: sp_beefy::BeefyApi, - C::Api: substrate_frame_rpc_system::AccountNonceApi, + // C::Api: sp_beefy::BeefyApi, + C::Api: substrate_frame_rpc_system::AccountNonceApi, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: dex_api_rpc::DEXRuntimeAPI< Block, @@ -178,9 +180,10 @@ where C::Api: leaf_provider_rpc::LeafProviderRuntimeAPI, C::Api: bridge_proxy_rpc::BridgeProxyRuntimeAPI, P: TransactionPool + Send + Sync + 'static, + B: sc_client_api::Backend + Send + Sync + 'static, + B::State: sc_client_api::StateBackend>, { use assets_rpc::{AssetsAPIServer, AssetsClient}; - use beefy_gadget_rpc::{Beefy, BeefyApiServer}; use bridge_proxy_rpc::{BridgeProxyAPIServer, BridgeProxyClient}; use dex_api_rpc::{DEXAPIServer, DEX}; use dex_manager_rpc::{DEXManager, DEXManagerAPIServer}; @@ -194,6 +197,7 @@ where use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use pswap_distribution_rpc::{PswapDistributionAPIServer, PswapDistributionClient}; use rewards_rpc::{RewardsAPIServer, RewardsClient}; + use sc_consensus_beefy_rpc::{Beefy, BeefyApiServer}; use substrate_frame_rpc_system::{System, SystemApiServer}; use trading_pair_rpc::{TradingPairAPIServer, TradingPairClient}; use vested_rewards_rpc::{VestedRewardsApiServer, VestedRewardsClient}; @@ -204,9 +208,18 @@ where pool, deny_unsafe, beefy, + backend, } = deps; - io.merge(Mmr::new(client.clone()).into_rpc())?; + io.merge( + Mmr::new( + client.clone(), + backend + .offchain_storage() + .ok_or("Backend doesn't provide the required offchain storage")?, + ) + .into_rpc(), + )?; io.merge( Beefy::::new( beefy.beefy_finality_proof_stream, diff --git a/node/src/service.rs b/node/src/service.rs index 05e6d84aa3..134073d487 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -49,7 +49,9 @@ use sc_service::error::Error as ServiceError; use sc_service::{Configuration, TaskManager}; use sp_core::offchain::OffchainStorage; use sp_core::{ByteArray, Pair}; -use sp_keystore::SyncCryptoStore; +// use sp_keystore::SyncCryptoStore; +use sc_service::WarpSyncParams; +use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_runtime::offchain::STORAGE_PREFIX; use sp_runtime::traits::IdentifyAccount; use std::collections::BTreeSet; @@ -63,9 +65,13 @@ type FullClient = type FullBackend = sc_service::TFullBackend; type FullSelectChain = sc_consensus::LongestChain; type FullGrandpaBlockImport = - sc_finality_grandpa::GrandpaBlockImport; -type FullBeefyBlockImport = - beefy_gadget::import::BeefyBlockImport; + sc_consensus_grandpa::GrandpaBlockImport; +type FullBeefyBlockImport = sc_consensus_beefy::import::BeefyBlockImport< + Block, + FullBackend, + FullClient, + FullGrandpaBlockImport, +>; // If we're using prometheus, use a registry with a prefix of `polkadot`. fn set_prometheus_registry(config: &mut Configuration) -> Result<(), ServiceError> { @@ -76,6 +82,8 @@ fn set_prometheus_registry(config: &mut Configuration) -> Result<(), ServiceErro Ok(()) } +const GRANDPA_JUSTIFICATION_PERIOD: u32 = 512; + /// The native executor instance for Polkadot. pub struct ExecutorDispatch; @@ -99,7 +107,7 @@ pub fn new_partial( FullClient, FullBackend, FullSelectChain, - sc_consensus::DefaultImportQueue, + sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool, ( impl Fn( @@ -108,22 +116,22 @@ pub fn new_partial( ) -> Result, ( sc_consensus_babe::BabeBlockImport, - sc_finality_grandpa::LinkHalf, + sc_consensus_grandpa::LinkHalf, sc_consensus_babe::BabeLink, - beefy_gadget::BeefyVoterLinks, + sc_consensus_beefy::BeefyVoterLinks, ), - sc_finality_grandpa::SharedVoterState, + sc_consensus_grandpa::SharedVoterState, SlotDuration, // slot-duration Option, ), >, ServiceError, > { - if config.keystore_remote.is_some() { - return Err(ServiceError::Other(format!( - "Remote Keystores are not supported." - ))); - } + // if config.keystore_remote.is_some() { + // return Err(ServiceError::Other(format!( + // "Remote Keystores are not supported." + // ))); + // } set_prometheus_registry(config)?; let telemetry = config @@ -159,34 +167,44 @@ pub fn new_partial( let client = Arc::new(client); let mut bridge_peer_secret_key = None; - if let Some(first_pk_raw) = - SyncCryptoStore::keys(&*keystore_container.sync_keystore(), eth_bridge::KEY_TYPE) - .unwrap() - .first() - .map(|x| x.1.clone()) - { - let pk = eth_bridge::offchain::crypto::Public::from_slice(&first_pk_raw[..]) - .expect("should have correct size"); - let sub_public = sp_core::ecdsa::Public::from(pk.clone()); - let public = secp256k1::PublicKey::parse_compressed(&sub_public.0).unwrap(); - let address = common::eth::public_key_to_eth_address(&public); - let account = sp_runtime::MultiSigner::Ecdsa(sub_public.clone()).into_account(); - log::warn!( - "Peer info: address: {:?}, account: {:?}, {}, public: {:?}", - address, - account, - account, - sub_public - ); - if let Some(keystore) = keystore_container.local_keystore() { - if let Ok(Some(kep)) = keystore.key_pair::(&pk) { - let seed = kep.to_raw_vec(); - bridge_peer_secret_key = Some(seed); - } - } + // TODO!!!!!! + // if let Some(first_pk_raw) = + // SyncCryptoStore::keys(&*keystore_container.sync_keystore(), eth_bridge::KEY_TYPE) + // .unwrap() + // .first() + // .map(|x| x.1.clone()) + // { + // let pk = eth_bridge::offchain::crypto::Public::from_slice(&first_pk_raw[..]) + // .expect("should have correct size"); + let pk = eth_bridge::offchain::crypto::Public::from_slice(&[1, 2, 3]) + .expect("should have correct size"); + let sub_public = sp_core::ecdsa::Public::from(pk.clone()); + let public = secp256k1::PublicKey::parse_compressed(&sub_public.0).unwrap(); + let address = common::eth::public_key_to_eth_address(&public); + let account = sp_runtime::MultiSigner::Ecdsa(sub_public.clone()).into_account(); + log::warn!( + "Peer info: address: {:?}, account: {:?}, {}, public: {:?}", + address, + account, + account, + sub_public + ); + let keystore = keystore_container.local_keystore(); + if let Ok(Some(kep)) = keystore.key_pair::(&pk) { + let seed = kep.to_raw_vec(); + bridge_peer_secret_key = Some(seed); } else { - log::debug!("Ethereum bridge peer key not found.") + log::error!("Ethereum bridge peer key not found.") } + // if let Some(keystore) = keystore_container.local_keystore() { + // if let Ok(Some(kep)) = keystore.key_pair::(&pk) { + // let seed = kep.to_raw_vec(); + // bridge_peer_secret_key = Some(seed); + // } + // } + // } else { + // log::debug!("Ethereum bridge peer key not found.") + // } if let Some(sk) = bridge_peer_secret_key { let mut storage = backend.offchain_storage().unwrap(); @@ -226,7 +244,7 @@ pub fn new_partial( &network_ids.encode(), ); let rpc_addr = config - .rpc_http + .rpc_addr .as_ref() .expect("HTTP RPC should be enabled for ethereum bridge. Please enable it via `--rpc-port `."); storage.set( @@ -304,8 +322,9 @@ pub fn new_partial( // FIXME: investigate on why it's needed let (grandpa_block_import, grandpa_link) = - sc_finality_grandpa::block_import_with_authority_set_hard_forks( + sc_consensus_grandpa::block_import_with_authority_set_hard_forks( client.clone(), + GRANDPA_JUSTIFICATION_PERIOD, &(client.clone() as Arc<_>), select_chain.clone(), grandpa_hard_forks, @@ -313,10 +332,11 @@ pub fn new_partial( )?; let (beefy_block_import, beefy_voter_links, beefy_rpc_links) = - beefy_gadget::beefy_block_import_and_links( + sc_consensus_beefy::beefy_block_import_and_links( grandpa_block_import.clone(), backend.clone(), client.clone(), + None, ); let babe_config = sc_consensus_babe::configuration(&*client)?; @@ -325,13 +345,17 @@ pub fn new_partial( let slot_duration = babe_link.config().slot_duration(); - let import_queue = sc_consensus_babe::import_queue( - babe_link.clone(), - babe_block_import.clone(), - Some(Box::new(grandpa_block_import)), - client.clone(), - select_chain.clone(), - move |_, ()| async move { + let import_queue_params = sc_consensus_babe::ImportQueueParams { + link: babe_link.clone(), + block_import: babe_block_import.clone(), + justification_import: Some(Box::new(grandpa_block_import)), + client: client.clone(), + select_chain: select_chain.clone(), + spawner: &task_manager.spawn_essential_handle(), + telemetry: telemetry.as_ref().map(|x| x.handle()), + offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool.clone()), + registry: config.prometheus_registry(), + create_inherent_data_providers: move |_, ()| async move { let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = @@ -342,9 +366,28 @@ pub fn new_partial( Ok((slot, timestamp)) }, - &task_manager.spawn_essential_handle(), - config.prometheus_registry(), - telemetry.as_ref().map(|x| x.handle()), + }; + + let (import_queue, _) = sc_consensus_babe::import_queue( + import_queue_params, // babe_link.clone(), + // babe_block_import.clone(), + // Some(Box::new(grandpa_block_import)), + // client.clone(), + // select_chain.clone(), + // move |_, ()| async move { + // let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + // let slot = + // sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + // *timestamp, + // slot_duration, + // ); + + // Ok((slot, timestamp)) + // }, + // &task_manager.spawn_essential_handle(), + // config.prometheus_registry(), + // telemetry.as_ref().map(|x| x.handle()), )?; let import_setup = ( @@ -353,13 +396,13 @@ pub fn new_partial( babe_link.clone(), beefy_voter_links, ); - let shared_voter_state = sc_finality_grandpa::SharedVoterState::empty(); + let shared_voter_state = sc_consensus_grandpa::SharedVoterState::empty(); let rpc_setup = shared_voter_state.clone(); let rpc_extensions_builder = { let client = client.clone(); let pool = transaction_pool.clone(); - + let backend = backend.clone(); move |deny_unsafe, subscription_executor| -> Result { @@ -372,6 +415,7 @@ pub fn new_partial( beefy_best_block_stream: beefy_rpc_links.from_voter_best_beefy_stream.clone(), subscription_executor, }, + backend: backend.clone(), }; let rpc = crate::rpc::create_full(deps)?; @@ -429,13 +473,6 @@ pub fn new_full( other: (rpc_extensions_builder, import_setup, rpc_setup, _slot_duration, mut telemetry), } = new_partial(&mut config, telemetry_worker_handle)?; - if let Some(url) = &config.keystore_remote { - return Err(ServiceError::Other(format!( - "Error hooking up remote keystore for {}: Remote Keystore not supported.", - url - ))); - } - let genesis_hash = client .block_hash(0) .ok() @@ -443,44 +480,57 @@ pub fn new_full( .expect("Genesis block exists; qed"); let grandpa_protocol_name = - sc_finality_grandpa::protocol_standard_name(&genesis_hash, &config.chain_spec); + sc_consensus_grandpa::protocol_standard_name(&genesis_hash, &config.chain_spec); - config - .network - .extra_sets - .push(sc_finality_grandpa::grandpa_peers_set_config( - grandpa_protocol_name.clone(), - )); + let mut net_config = sc_network::config::FullNetworkConfiguration::new(&config.network); + + net_config.add_notification_protocol(sc_consensus_grandpa::grandpa_peers_set_config( + grandpa_protocol_name.clone(), + )); + + // config + // .network + // .extra_sets + // .push(sc_consensus_grandpa::grandpa_peers_set_config( + // grandpa_protocol_name.clone(), + // )); let beefy_gossip_proto_name = - beefy_gadget::gossip_protocol_name(&genesis_hash, config.chain_spec.fork_id()); + sc_consensus_beefy::gossip_protocol_name(&genesis_hash, config.chain_spec.fork_id()); let (beefy_on_demand_justifications_handler, beefy_req_resp_cfg) = - beefy_gadget::communication::request_response::BeefyJustifsRequestHandler::new( + sc_consensus_beefy::communication::request_response::BeefyJustifsRequestHandler::new( &genesis_hash, config.chain_spec.fork_id(), client.clone(), + config.prometheus_registry().cloned(), ); if !disable_beefy { - config - .network - .extra_sets - .push(beefy_gadget::communication::beefy_peers_set_config( + // config + // .network + // .extra_sets + // .push(sc_consensus_beefy::communication::beefy_peers_set_config( + // beefy_gossip_proto_name.clone(), + // )); + net_config.add_notification_protocol( + sc_consensus_beefy::communication::beefy_peers_set_config( beefy_gossip_proto_name.clone(), - )); - config - .network - .request_response_protocols - .push(beefy_req_resp_cfg); + ), + ); + // config + // .network + // .request_response_protocols + // .push(beefy_req_resp_cfg); + net_config.add_request_response_protocol(beefy_req_resp_cfg); } - let warp_sync = Arc::new(sc_finality_grandpa::warp_proof::NetworkProvider::new( + let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( backend.clone(), import_setup.1.shared_authority_set().clone(), vec![], )); - 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(), @@ -488,17 +538,41 @@ pub fn new_full( spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync: Some(warp_sync), + // warp_sync: Some(warp_sync), + warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)), + net_config, })?; if config.offchain_worker.enabled { - sc_service::build_offchain_workers( - &config, - task_manager.spawn_handle(), - client.clone(), - network.clone(), - ) - .expect("failed to build offchain workers"); + // sc_service::build_offchain_workers( + // &config, + // task_manager.spawn_handle(), + // client.clone(), + // network.clone(), + // ) + // .expect("failed to build offchain workers"); + use futures::stream::Stream; + use futures::FutureExt; + use sc_network::event::SyncEventStream; + + task_manager.spawn_handle().spawn( + "offchain-workers-runner", + "offchain-work", + sc_offchain::OffchainWorkers::new(sc_offchain::OffchainWorkerOptions { + runtime_api_provider: client.clone(), + keystore: Some(keystore_container.keystore()), + offchain_db: backend.offchain_storage(), + transaction_pool: Some(OffchainTransactionPoolFactory::new( + transaction_pool.clone(), + )), + network_provider: network.clone(), + is_validator: config.role.is_authority(), + enable_http_requests: false, + custom_extensions: move |_| vec![], + }) + .run(client.clone(), task_manager.spawn_handle()) + .boxed(), + ); } let is_offchain_indexing_enabled = config.offchain_worker.indexing_enabled; @@ -513,7 +587,7 @@ pub fn new_full( let _rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams { network: network.clone(), client: client.clone(), - keystore: keystore_container.sync_keystore(), + keystore: keystore_container.keystore(), task_manager: &mut task_manager, transaction_pool: transaction_pool.clone(), rpc_builder: Box::new(rpc_extensions_builder), @@ -522,6 +596,7 @@ pub fn new_full( config, tx_handler_controller, telemetry: telemetry.as_mut(), + sync_service: sync_service, })?; if role.is_authority() { @@ -540,7 +615,7 @@ pub fn new_full( let slot_duration = babe_link.config().slot_duration(); let babe_config = sc_consensus_babe::BabeParams { - keystore: keystore_container.sync_keystore(), + keystore: keystore_container.keystore(), client: client.clone(), select_chain, env: proposer, @@ -553,8 +628,6 @@ pub fn new_full( max_block_proposal_slot_portion: None, backoff_authoring_blocks, create_inherent_data_providers: move |_parent, ()| { - // let client_clone = client_clone.clone(); - // let overseer_handle = overseer_handle.clone(); async move { let time = sp_timestamp::InherentDataProvider::from_system_time(); @@ -582,21 +655,38 @@ pub fn new_full( // if the node isn't actively participating in consensus then it doesn't // need a keystore, regardless of which protocol we use below. let keystore = if role.is_authority() { - Some(keystore_container.sync_keystore()) + Some(keystore_container.keystore()) } else { None }; if !disable_beefy { let justifications_protocol_name = beefy_on_demand_justifications_handler.protocol_name(); - let network_params = beefy_gadget::BeefyNetworkParams { + let network_params = sc_consensus_beefy::BeefyNetworkParams { network: network.clone(), + sync: network.clone(), gossip_protocol_name: beefy_gossip_proto_name, justifications_protocol_name, _phantom: core::marker::PhantomData::, }; + impl SyncEventStream for NetworkService + where + T: Clone, + H: Clone, + { + type Event = sc_network::event::Event; + + fn sync_events(&self) -> Box + Send> { + Box::new(self.network_events().filter_map(|event| match event { + sc_network::event::Event::SyncEvent(event) => Some(event), + _ => None, + })) + } + } + let payload_provider = sp_beefy::mmr::MmrRootProvider::new(client.clone()); - let beefy_params = beefy_gadget::BeefyParams { + + let beefy_params = sc_consensus_beefy::BeefyParams { client: client.clone(), backend: backend.clone(), payload_provider, @@ -609,7 +699,7 @@ pub fn new_full( on_demand_justifications_handler: beefy_on_demand_justifications_handler, }; - let gadget = beefy_gadget::start_beefy_gadget::<_, _, _, _, _, _>(beefy_params); + let gadget = sc_consensus_beefy::start_beefy_gadget::<_, _, _, _, _, _, _>(beefy_params); task_manager .spawn_essential_handle() // FIXME: use `spawn_handle` in non-test case @@ -628,11 +718,11 @@ pub fn new_full( } } - let grandpa_config = sc_finality_grandpa::Config { + let grandpa_config = sc_consensus_grandpa::Config { // FIXME #1578 make this available through chainspec protocol_name: grandpa_protocol_name, gossip_duration: Duration::from_millis(333), - justification_period: 512, + justification_generation_period: GRANDPA_JUSTIFICATION_PERIOD, name: Some(name), observer_enabled: false, keystore, @@ -649,22 +739,24 @@ pub fn new_full( // 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: link_half, network, - voting_rule: sc_finality_grandpa::VotingRulesBuilder::default().build(), + voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(), prometheus_registry, shared_voter_state, telemetry: telemetry.as_ref().map(|x| x.handle()), + sync: sync_service.clone(), + offchain_tx_pool_factory: OffchainTransactionPoolFactory::new(transaction_pool.clone()), }; // the GRANDPA voter task is considered infallible, i.e. // if it fails we take down the service with it. task_manager.spawn_essential_handle().spawn_blocking( - "sc_finality_grandpa-voter", - Some("sc_finality_grandpa-voter"), - sc_finality_grandpa::run_grandpa_voter(grandpa_config)?, + "sc_consensus_grandpa-voter", + Some("sc_consensus_grandpa-voter"), + sc_consensus_grandpa::run_grandpa_voter(grandpa_config)?, ); } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 40e172b645..081e8ac9ca 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -69,9 +69,9 @@ use constants::time::*; use frame_support::traits::EitherOf; use frame_support::weights::ConstantMultiplier; -// Make the WASM binary available. -#[cfg(all(feature = "std", feature = "build-wasm-binary"))] -include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); +// // Make the WASM binary available. +// #[cfg(all(feature = "std", feature = "build-wasm-binary"))] +// include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use core::time::Duration; use currencies::BasicCurrencyAdapter; From 64b94125cee5f53bd37991827df008c8fa6c0e68 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 30 May 2024 20:25:27 -0300 Subject: [PATCH 016/110] fix service --- Cargo.lock | 86 +++++-------------------- Cargo.toml | 6 +- node/Cargo.toml | 2 +- node/src/command.rs | 4 +- node/src/service.rs | 151 ++++++++++++++++++++------------------------ 5 files changed, 91 insertions(+), 158 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70551ce634..3e3f838028 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3659,7 +3659,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-core-hashing-proc-macro", - "sp-debug-derive 8.0.0", + "sp-debug-derive", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -3837,6 +3837,7 @@ dependencies = [ "sc-consensus-slots", "sc-executor", "sc-informant", + "sc-keystore", "sc-network", "sc-offchain", "sc-rpc", @@ -3858,8 +3859,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", - "sp-keystore", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives", "sp-runtime", "sp-timestamp", "sp-transaction-pool", @@ -4026,7 +4026,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core", "sp-inherents", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", "sp-runtime", @@ -5281,7 +5281,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core", "sp-io", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives", "sp-runtime", "sp-std", ] @@ -6224,7 +6224,7 @@ dependencies = [ "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-consensus-beefy", "sp-core", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives", "sp-runtime", ] @@ -6240,7 +6240,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives", "sp-runtime", ] @@ -7173,7 +7173,7 @@ dependencies = [ "scale-info", "sp-core", "sp-io", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives", "sp-runtime", "sp-std", ] @@ -9342,7 +9342,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core", "sp-keystore", - "sp-mmr-primitives 4.0.0-dev", + "sp-mmr-primitives", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -10688,7 +10688,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-io", - "sp-mmr-primitives 4.0.0-dev", + "sp-mmr-primitives", "sp-runtime", "sp-std", "strum 0.24.1", @@ -10773,7 +10773,7 @@ dependencies = [ "secrecy", "serde", "sp-core-hashing", - "sp-debug-derive 8.0.0", + "sp-debug-derive", "sp-externalities", "sp-runtime-interface", "sp-std", @@ -10824,26 +10824,6 @@ dependencies = [ "syn 2.0.65", ] -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.65", -] - -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.65", -] - [[package]] name = "sp-externalities" version = "0.19.0" @@ -10950,43 +10930,7 @@ dependencies = [ "serde", "sp-api", "sp-core", - "sp-debug-derive 8.0.0", - "sp-runtime", - "sp-std", - "thiserror", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime", - "sp-std", - "thiserror", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-core", - "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-debug-derive", "sp-runtime", "sp-std", "thiserror", @@ -11163,7 +11107,7 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0", + "sp-debug-derive", "sp-std", ] @@ -11307,7 +11251,7 @@ dependencies = [ "smallvec", "sp-arithmetic", "sp-core", - "sp-debug-derive 8.0.0", + "sp-debug-derive", "sp-std", ] @@ -12317,7 +12261,7 @@ dependencies = [ "sp-consensus-aura", "sp-consensus-babe", "sp-core", - "sp-debug-derive 8.0.0", + "sp-debug-derive", "sp-externalities", "sp-inherents", "sp-io", diff --git a/Cargo.toml b/Cargo.toml index 92c98e8072..f42ee0770c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -162,6 +162,7 @@ sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/b sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} +sc-keystore = { path = "../sora-polkadot-sdk/substrate/client/keystore"} # sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} @@ -201,7 +202,7 @@ sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} -# sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} +sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } # mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } @@ -268,6 +269,7 @@ sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/ba sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} +sc-keystore = { path = "../sora-polkadot-sdk/substrate/client/keystore"} # sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} @@ -308,7 +310,7 @@ sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} -# sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/mmr-primitives"} +sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } # mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } diff --git a/node/Cargo.toml b/node/Cargo.toml index 8e7a1cef6f..dba7c01a4b 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -67,7 +67,6 @@ sp-block-builder = { git = "https://github.com/paritytech/polkadot-sdk.git", bra sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sp-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-consensus = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } @@ -82,6 +81,7 @@ sc-client-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch sc-client-db = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-executor = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-service = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } sp-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } diff --git a/node/src/command.rs b/node/src/command.rs index 623c8c3cc2..e19e187140 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -87,10 +87,12 @@ impl SubstrateCli for Cli { let chain_spec = if let Some(chain_spec) = chain_spec { chain_spec } else { + todo!() // framenode_chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(id))? }; - Ok(Box::new(chain_spec)) + // Ok(Box::new(chain_spec)) + todo!() } // fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { diff --git a/node/src/service.rs b/node/src/service.rs index 134073d487..abdba40438 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -44,14 +44,14 @@ use prometheus_endpoint::Registry; use sc_client_api::{Backend, BlockBackend}; use sc_consensus_aura::SlotDuration; pub use sc_executor::NativeElseWasmExecutor; +use sc_keystore::{Keystore, LocalKeystore}; use sc_service::config::PrometheusConfig; use sc_service::error::Error as ServiceError; +use sc_service::WarpSyncParams; use sc_service::{Configuration, TaskManager}; +use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_core::offchain::OffchainStorage; use sp_core::{ByteArray, Pair}; -// use sp_keystore::SyncCryptoStore; -use sc_service::WarpSyncParams; -use sc_transaction_pool_api::OffchainTransactionPoolFactory; use sp_runtime::offchain::STORAGE_PREFIX; use sp_runtime::traits::IdentifyAccount; use std::collections::BTreeSet; @@ -167,44 +167,44 @@ pub fn new_partial( let client = Arc::new(client); let mut bridge_peer_secret_key = None; - // TODO!!!!!! - // if let Some(first_pk_raw) = - // SyncCryptoStore::keys(&*keystore_container.sync_keystore(), eth_bridge::KEY_TYPE) - // .unwrap() - // .first() - // .map(|x| x.1.clone()) - // { - // let pk = eth_bridge::offchain::crypto::Public::from_slice(&first_pk_raw[..]) - // .expect("should have correct size"); - let pk = eth_bridge::offchain::crypto::Public::from_slice(&[1, 2, 3]) - .expect("should have correct size"); - let sub_public = sp_core::ecdsa::Public::from(pk.clone()); - let public = secp256k1::PublicKey::parse_compressed(&sub_public.0).unwrap(); - let address = common::eth::public_key_to_eth_address(&public); - let account = sp_runtime::MultiSigner::Ecdsa(sub_public.clone()).into_account(); - log::warn!( - "Peer info: address: {:?}, account: {:?}, {}, public: {:?}", - address, - account, - account, - sub_public - ); - let keystore = keystore_container.local_keystore(); - if let Ok(Some(kep)) = keystore.key_pair::(&pk) { - let seed = kep.to_raw_vec(); - bridge_peer_secret_key = Some(seed); - } else { - log::error!("Ethereum bridge peer key not found.") - } + // TODO!!!!!! use LocalKeyStore/KeystorePtr + if let Some(first_pk_raw) = + LocalKeystore::keys(&*keystore_container.local_keystore(), eth_bridge::KEY_TYPE) + .unwrap() + .first() + .map(|x| x.clone()) + { + let pk = eth_bridge::offchain::crypto::Public::from_slice(&first_pk_raw[..]) + .expect("should have correct size"); + // let pk = eth_bridge::offchain::crypto::Public::from_slice(&[1, 2, 3]) + // .expect("should have correct size"); + let sub_public = sp_core::ecdsa::Public::from(pk.clone()); + let public = secp256k1::PublicKey::parse_compressed(&sub_public.0).unwrap(); + let address = common::eth::public_key_to_eth_address(&public); + let account = sp_runtime::MultiSigner::Ecdsa(sub_public.clone()).into_account(); + log::warn!( + "Peer info: address: {:?}, account: {:?}, {}, public: {:?}", + address, + account, + account, + sub_public + ); + let keystore = keystore_container.local_keystore(); + if let Ok(Some(kep)) = keystore.key_pair::(&pk) { + let seed = kep.to_raw_vec(); + bridge_peer_secret_key = Some(seed); + } else { + log::error!("Ethereum bridge peer key not found.") + } // if let Some(keystore) = keystore_container.local_keystore() { // if let Ok(Some(kep)) = keystore.key_pair::(&pk) { // let seed = kep.to_raw_vec(); // bridge_peer_secret_key = Some(seed); // } // } - // } else { - // log::debug!("Ethereum bridge peer key not found.") - // } + } else { + log::debug!("Ethereum bridge peer key not found.") + } if let Some(sk) = bridge_peer_secret_key { let mut storage = backend.offchain_storage().unwrap(); @@ -368,27 +368,26 @@ pub fn new_partial( }, }; - let (import_queue, _) = sc_consensus_babe::import_queue( - import_queue_params, // babe_link.clone(), - // babe_block_import.clone(), - // Some(Box::new(grandpa_block_import)), - // client.clone(), - // select_chain.clone(), - // move |_, ()| async move { - // let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - // let slot = - // sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - // *timestamp, - // slot_duration, - // ); - - // Ok((slot, timestamp)) - // }, - // &task_manager.spawn_essential_handle(), - // config.prometheus_registry(), - // telemetry.as_ref().map(|x| x.handle()), - )?; + let (import_queue, _) = sc_consensus_babe::import_queue(import_queue_params)?; + // babe_link.clone(), + // babe_block_import.clone(), + // Some(Box::new(grandpa_block_import)), + // client.clone(), + // select_chain.clone(), + // move |_, ()| async move { + // let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + // let slot = + // sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + // *timestamp, + // slot_duration, + // ); + + // Ok((slot, timestamp)) + // }, + // &task_manager.spawn_essential_handle(), + // config.prometheus_registry(), + // telemetry.as_ref().map(|x| x.handle()), let import_setup = ( babe_block_import.clone(), @@ -488,12 +487,12 @@ pub fn new_full( grandpa_protocol_name.clone(), )); - // config - // .network - // .extra_sets - // .push(sc_consensus_grandpa::grandpa_peers_set_config( - // grandpa_protocol_name.clone(), - // )); + // // config + // // .network + // // .extra_sets + // // .push(sc_consensus_grandpa::grandpa_peers_set_config( + // // grandpa_protocol_name.clone(), + // // )); let beefy_gossip_proto_name = sc_consensus_beefy::gossip_protocol_name(&genesis_hash, config.chain_spec.fork_id()); @@ -551,9 +550,9 @@ pub fn new_full( // network.clone(), // ) // .expect("failed to build offchain workers"); - use futures::stream::Stream; + // use futures::stream::Stream; use futures::FutureExt; - use sc_network::event::SyncEventStream; + // use sc_network::event::SyncEventStream; task_manager.spawn_handle().spawn( "offchain-workers-runner", @@ -596,14 +595,14 @@ pub fn new_full( config, tx_handler_controller, telemetry: telemetry.as_mut(), - sync_service: sync_service, + sync_service: sync_service.clone(), })?; if role.is_authority() { let mut proposer = sc_basic_authorship::ProposerFactory::new( task_manager.spawn_handle(), client.clone(), - transaction_pool, + transaction_pool.clone(), prometheus_registry.as_ref(), telemetry.as_ref().map(|x| x.handle()), ); @@ -620,8 +619,8 @@ pub fn new_full( select_chain, env: proposer, block_import, - sync_oracle: network.clone(), - justification_sync_link: network.clone(), + sync_oracle: sync_service.clone(), + justification_sync_link: sync_service.clone(), force_authoring, babe_link, block_proposal_slot_portion: sc_consensus_babe::SlotProportion::new(2f32 / 3f32), @@ -664,25 +663,11 @@ pub fn new_full( let justifications_protocol_name = beefy_on_demand_justifications_handler.protocol_name(); let network_params = sc_consensus_beefy::BeefyNetworkParams { network: network.clone(), - sync: network.clone(), + sync: sync_service.clone(), gossip_protocol_name: beefy_gossip_proto_name, justifications_protocol_name, _phantom: core::marker::PhantomData::, }; - impl SyncEventStream for NetworkService - where - T: Clone, - H: Clone, - { - type Event = sc_network::event::Event; - - fn sync_events(&self) -> Box + Send> { - Box::new(self.network_events().filter_map(|event| match event { - sc_network::event::Event::SyncEvent(event) => Some(event), - _ => None, - })) - } - } let payload_provider = sp_beefy::mmr::MmrRootProvider::new(client.clone()); From 83874d93c812a0b6d94065253496e77c694b60bb Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 30 May 2024 23:40:57 -0300 Subject: [PATCH 017/110] fix wasm build --- Cargo.lock | 14 +-- Cargo.toml | 1 + common/Cargo.toml | 5 +- common/src/primitives.rs | 111 +++++++++++++----- common/src/serialization.rs | 20 +--- pallets/apollo-platform/Cargo.toml | 1 + pallets/assets/src/lib.rs | 1 - pallets/dex-manager/src/lib.rs | 1 - pallets/eth-bridge/src/lib.rs | 12 +- pallets/mock-liquidity-source/src/lib.rs | 1 - .../Cargo.toml | 4 +- .../src/lib.rs | 10 +- pallets/permissions/Cargo.toml | 2 +- pallets/permissions/src/lib.rs | 3 +- pallets/pswap-distribution/src/lib.rs | 2 +- pallets/rewards/Cargo.toml | 2 +- pallets/rewards/src/lib.rs | 16 ++- pallets/technical/src/lib.rs | 1 + pallets/trading-pair/src/lib.rs | 1 - runtime/build.rs | 42 +++---- 20 files changed, 139 insertions(+), 111 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3e3f838028..14616b9df8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4672,7 +4672,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core 0.52.0", + "windows-core", ] [[package]] @@ -7181,7 +7181,6 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.2.3" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" dependencies = [ "frame-support", "frame-system", @@ -12982,7 +12981,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core 0.51.1", + "windows-core", "windows-targets 0.48.5", ] @@ -12995,15 +12994,6 @@ dependencies = [ "windows-targets 0.48.5", ] -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.5", -] - [[package]] name = "windows-sys" version = "0.45.0" diff --git a/Cargo.toml b/Cargo.toml index f42ee0770c..c8144feeba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -360,6 +360,7 @@ substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" bridge-types = { path = "../sora2-common/pallets/types" } bridge-data-signer = { path = "../sora2-common/pallets/data-signer" } multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } +pallet-multisig = { path = "../sora2-common/pallets/multisig" } evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } bridge-channel = { path = "../sora2-common/pallets/channel" } # substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } diff --git a/common/Cargo.toml b/common/Cargo.toml index 8e2ead74a9..32c2915042 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -14,7 +14,6 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -# derive_more = { version = "0.99.17", default-features = false } fixnum = { git = "https://github.com/sora-xor/fixnum", branch = "sora-v2.1.0", default-features = false, features = [ "i128", "parity", @@ -34,7 +33,7 @@ pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", bra rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0", features = [ "derive", -], optional = true, default-features = false } +], default-features = false } smallvec = "1.7.0" strum = { version = "0.25.0", features = ["derive"], default-features = false } sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } @@ -59,7 +58,7 @@ std = [ "bridge-types/std", 'codec/std', "scale-info/std", - 'serde', + 'serde/std', 'secp256k1/std', 'rustc-hex/std', 'blake2-rfc/std', diff --git a/common/src/primitives.rs b/common/src/primitives.rs index 90e57a2bc2..5ccd8f3d7c 100644 --- a/common/src/primitives.rs +++ b/common/src/primitives.rs @@ -36,7 +36,12 @@ use core::{fmt::Debug, str::FromStr}; use frame_support::traits::ConstU32; use frame_support::{ensure, BoundedVec}; use hex_literal::hex; +use rustc_hex::ToHex; +use scale_info::prelude::fmt::Display; +use scale_info::prelude::fmt::Formatter; +use scale_info::prelude::string::String; use scale_info::TypeInfo; +use serde::{Deserialize, Serialize}; use sp_core::{RuntimeDebug, H256}; use sp_runtime::traits::Get; use sp_std::marker::PhantomData; @@ -44,13 +49,7 @@ use sp_std::vec::Vec; use static_assertions::_core::cmp::Ordering; #[cfg(feature = "std")] -use { - rustc_hex::ToHex, - serde::{Deserialize, Serialize}, - sp_std::convert::TryInto, - sp_std::fmt::Display, - static_assertions::_core::fmt::Formatter, -}; +use sp_std::convert::TryInto; pub type Balance = u128; @@ -77,8 +76,18 @@ impl From for Balance { } /// Information about state of particular DEX. -#[derive(Encode, Decode, RuntimeDebug, Clone, PartialEq, Eq, Default, scale_info::TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive( + Encode, + Decode, + RuntimeDebug, + Clone, + PartialEq, + Eq, + Default, + scale_info::TypeInfo, + Serialize, + Deserialize, +)] pub struct DEXInfo { /// AssetId of Base Asset in DEX. pub base_asset_id: AssetId, @@ -103,8 +112,9 @@ pub struct DEXInfo { Hash, scale_info::TypeInfo, MaxEncodedLen, + Serialize, + Deserialize, )] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub struct TradingPair { /// Base token of exchange. pub base_asset_id: AssetId, @@ -137,7 +147,6 @@ mod _allowed_deprecated { use codec::{Decode, Encode, MaxEncodedLen}; use sp_core::RuntimeDebug; - #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; /// Asset identifier. @@ -156,8 +165,10 @@ mod _allowed_deprecated { RuntimeDebug, scale_info::TypeInfo, MaxEncodedLen, + Serialize, + Deserialize, )] - #[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash))] + #[cfg_attr(feature = "std", derive(Hash))] #[repr(u8)] pub enum PredefinedAssetId { XOR = 0, @@ -305,7 +316,6 @@ impl TryFrom for AssetId32 { } } -#[cfg(feature = "std")] impl FromStr for AssetId32 { type Err = &'static str; @@ -321,7 +331,6 @@ impl FromStr for AssetId32 { } } -#[cfg(feature = "std")] impl Display for AssetId32 { fn fmt(&self, f: &mut Formatter<'_>) -> sp_std::fmt::Result { write!(f, "0x{}", self.code.to_hex::()) @@ -451,7 +460,7 @@ pub const DEFAULT_BALANCE_PRECISION: BalancePrecision = crate::FIXED_PRECISION a #[cfg_attr(feature = "std", derive(Hash))] pub struct AssetSymbol(pub Vec); -#[cfg(feature = "std")] +// #[cfg(feature = "std")] impl FromStr for AssetSymbol { type Err = &'static str; @@ -461,7 +470,7 @@ impl FromStr for AssetSymbol { } } -#[cfg(feature = "std")] +// #[cfg(feature = "std")] impl Display for AssetSymbol { fn fmt(&self, f: &mut Formatter<'_>) -> sp_std::fmt::Result { let s: String = self.0.iter().map(|un| *un as char).collect(); @@ -504,7 +513,6 @@ impl IsValid for AssetSymbol { #[cfg_attr(feature = "std", derive(Hash))] pub struct AssetName(pub Vec); -#[cfg(feature = "std")] impl FromStr for AssetName { type Err = &'static str; @@ -514,7 +522,6 @@ impl FromStr for AssetName { } } -#[cfg(feature = "std")] impl Display for AssetName { fn fmt(&self, f: &mut Formatter<'_>) -> sp_std::fmt::Result { let s: String = self.0.iter().map(|un| *un as char).collect(); @@ -568,7 +575,6 @@ impl IsValid for AssetName { #[cfg_attr(feature = "std", derive(Hash))] pub struct ContentSource(pub Vec); -#[cfg(feature = "std")] impl FromStr for ContentSource { type Err = &'static str; @@ -578,7 +584,6 @@ impl FromStr for ContentSource { } } -#[cfg(feature = "std")] impl Display for ContentSource { fn fmt(&self, f: &mut Formatter<'_>) -> sp_std::fmt::Result { let s: String = self.0.iter().map(|un| *un as char).collect(); @@ -607,7 +612,6 @@ impl IsValid for ContentSource { #[cfg_attr(feature = "std", derive(Hash))] pub struct Description(pub Vec); -#[cfg(feature = "std")] impl FromStr for Description { type Err = &'static str; @@ -617,7 +621,6 @@ impl FromStr for Description { } } -#[cfg(feature = "std")] impl Display for Description { fn fmt(&self, f: &mut Formatter<'_>) -> sp_std::fmt::Result { let s: String = self.0.iter().map(|un| *un as char).collect(); @@ -661,7 +664,6 @@ impl FromStr for SymbolName { } } -#[cfg(feature = "std")] impl Display for SymbolName { fn fmt(&self, f: &mut Formatter<'_>) -> sp_std::fmt::Result { let s: String = self.0.iter().map(|un| *un as char).collect(); @@ -728,9 +730,20 @@ impl IsValid for CrowdloanTag { } #[derive( - Encode, Decode, Eq, PartialEq, PartialOrd, Ord, Debug, Copy, Clone, Hash, scale_info::TypeInfo, + Encode, + Decode, + Eq, + PartialEq, + PartialOrd, + Ord, + Debug, + Copy, + Clone, + Hash, + scale_info::TypeInfo, + Serialize, + Deserialize, )] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub enum TechAssetId { Wrapped(AssetId), Escaped(AssetId32Code), @@ -772,8 +785,9 @@ impl From for TechAssetId { scale_info::TypeInfo, MaxEncodedLen, strum::EnumIter, + Serialize, + Deserialize, )] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] #[repr(u8)] pub enum LiquiditySourceType { XYKPool, @@ -857,8 +871,19 @@ impl PureOrWrapped for TechAssetId { } /// Code of purpose for technical account. -#[derive(Encode, Decode, Eq, PartialEq, Clone, PartialOrd, Ord, Debug, scale_info::TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive( + Encode, + Decode, + Eq, + PartialEq, + Clone, + PartialOrd, + Ord, + Debug, + scale_info::TypeInfo, + Serialize, + Deserialize, +)] #[repr(u8)] #[allow(clippy::unnecessary_cast)] pub enum TechPurpose { @@ -873,9 +898,19 @@ pub enum TechPurpose { /// Enum record `WrappedRepr` is wrapped represention of `Pure` variant of enum, this is useful then /// representation is known but backward mapping is not known. #[derive( - Encode, Decode, Eq, PartialEq, Clone, PartialOrd, Ord, Debug, Default, scale_info::TypeInfo, + Encode, + Decode, + Eq, + PartialEq, + Clone, + PartialOrd, + Ord, + Debug, + Default, + scale_info::TypeInfo, + Serialize, + Deserialize, )] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub enum TechAccountId { Pure(DEXId, TechPurpose), /// First field is used as name or tag of binary format, second field is used as binary data. @@ -1157,8 +1192,20 @@ impl PriceVariant { } /// List of available oracles -#[derive(RuntimeDebug, Encode, Decode, TypeInfo, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive( + RuntimeDebug, + Encode, + Decode, + TypeInfo, + Copy, + Clone, + PartialEq, + Eq, + PartialOrd, + Ord, + Serialize, + Deserialize, +)] pub enum Oracle { BandChainFeed, } diff --git a/common/src/serialization.rs b/common/src/serialization.rs index 8175565297..679e9f1361 100644 --- a/common/src/serialization.rs +++ b/common/src/serialization.rs @@ -1,15 +1,16 @@ #![allow(clippy::redundant_closure)] -#[cfg(feature = "std")] use super::*; -#[cfg(feature = "std")] +// #[cfg(feature = "std")] use { - serde::{Deserialize, Deserializer, Serialize, Serializer}, + serde::{Deserializer, Serializer}, sp_std::str::FromStr, }; +use scale_info::prelude::string::String; +use serde::{Deserialize, Serialize}; + /// (De)serialization implementation for AssetSymbol -#[cfg(feature = "std")] impl Serialize for AssetSymbol { fn serialize(&self, serializer: S) -> Result<::Ok, ::Error> where @@ -19,7 +20,6 @@ impl Serialize for AssetSymbol { } } -#[cfg(feature = "std")] impl<'de> Deserialize<'de> for AssetSymbol { fn deserialize(deserializer: D) -> Result>::Error> where @@ -54,7 +54,6 @@ impl<'de> Deserialize<'de> for BalanceWrapper { } /// (De)serialization implementation for AssetName -#[cfg(feature = "std")] impl Serialize for AssetName { fn serialize(&self, serializer: S) -> Result<::Ok, ::Error> where @@ -64,7 +63,6 @@ impl Serialize for AssetName { } } -#[cfg(feature = "std")] impl<'de> Deserialize<'de> for AssetName { fn deserialize(deserializer: D) -> Result>::Error> where @@ -76,7 +74,6 @@ impl<'de> Deserialize<'de> for AssetName { } /// (De)serialization implementation for ContentSource -#[cfg(feature = "std")] impl Serialize for ContentSource { fn serialize(&self, serializer: S) -> Result<::Ok, ::Error> where @@ -86,7 +83,6 @@ impl Serialize for ContentSource { } } -#[cfg(feature = "std")] impl<'de> Deserialize<'de> for ContentSource { fn deserialize(deserializer: D) -> Result>::Error> where @@ -98,7 +94,6 @@ impl<'de> Deserialize<'de> for ContentSource { } /// (De)serialization implementation for Description -#[cfg(feature = "std")] impl Serialize for Description { fn serialize(&self, serializer: S) -> Result<::Ok, ::Error> where @@ -108,7 +103,6 @@ impl Serialize for Description { } } -#[cfg(feature = "std")] impl<'de> Deserialize<'de> for Description { fn deserialize(deserializer: D) -> Result>::Error> where @@ -120,7 +114,6 @@ impl<'de> Deserialize<'de> for Description { } /// (De)serialization implementation for AssetId32 -#[cfg(feature = "std")] impl Serialize for AssetId32 { fn serialize(&self, serializer: S) -> Result where @@ -130,7 +123,6 @@ impl Serialize for AssetId32 { } } -#[cfg(feature = "std")] impl<'de, AssetId> Deserialize<'de> for AssetId32 { fn deserialize(deserializer: D) -> Result, D::Error> where @@ -142,7 +134,6 @@ impl<'de, AssetId> Deserialize<'de> for AssetId32 { } /// (De)serialization implementation for AssetId32 -#[cfg(feature = "std")] impl Serialize for SymbolName { fn serialize(&self, serializer: S) -> Result<::Ok, ::Error> where @@ -152,7 +143,6 @@ impl Serialize for SymbolName { } } -#[cfg(feature = "std")] impl<'de> Deserialize<'de> for SymbolName { fn deserialize(deserializer: D) -> Result>::Error> where diff --git a/pallets/apollo-platform/Cargo.toml b/pallets/apollo-platform/Cargo.toml index a9be202279..2e02d9dbe9 100644 --- a/pallets/apollo-platform/Cargo.toml +++ b/pallets/apollo-platform/Cargo.toml @@ -73,6 +73,7 @@ std = [ "sp-runtime/std", "sp-std/std", "sp-io/std", + "permissions/std", ] runtime-benchmarks = [ diff --git a/pallets/assets/src/lib.rs b/pallets/assets/src/lib.rs index 72ab8652d1..1976462ce1 100644 --- a/pallets/assets/src/lib.rs +++ b/pallets/assets/src/lib.rs @@ -573,7 +573,6 @@ pub mod pallet { )>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { diff --git a/pallets/dex-manager/src/lib.rs b/pallets/dex-manager/src/lib.rs index b8766db98f..b35395e30b 100644 --- a/pallets/dex-manager/src/lib.rs +++ b/pallets/dex-manager/src/lib.rs @@ -149,7 +149,6 @@ pub mod pallet { pub dex_list: Vec<(T::DEXId, DEXInfo)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { diff --git a/pallets/eth-bridge/src/lib.rs b/pallets/eth-bridge/src/lib.rs index 6904e0fb1f..301ef053f8 100644 --- a/pallets/eth-bridge/src/lib.rs +++ b/pallets/eth-bridge/src/lib.rs @@ -103,7 +103,6 @@ use log::{debug, error, info, warn}; pub use pallet::*; use permissions::{Scope, BURN, MINT}; use requests::*; -#[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_core::{RuntimeDebug, H160, H256}; use sp_runtime::DispatchError; @@ -209,8 +208,9 @@ pub struct NetworkParams { } /// Network configuration. -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -#[derive(Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug, scale_info::TypeInfo)] +#[derive( + Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug, scale_info::TypeInfo, Serialize, Deserialize, +)] #[scale_info(skip_type_params(T))] pub struct NetworkConfig { pub initial_peers: BTreeSet, @@ -270,8 +270,9 @@ impl Default for BridgeStatus { } /// Bridge asset parameters. -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -#[derive(Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug, scale_info::TypeInfo)] +#[derive( + Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug, scale_info::TypeInfo, Serialize, Deserialize, +)] pub enum AssetConfig { Thischain { id: AssetId, @@ -1461,7 +1462,6 @@ pub mod pallet { pub networks: Vec>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { diff --git a/pallets/mock-liquidity-source/src/lib.rs b/pallets/mock-liquidity-source/src/lib.rs index 3b0629075d..afa026e3ae 100644 --- a/pallets/mock-liquidity-source/src/lib.rs +++ b/pallets/mock-liquidity-source/src/lib.rs @@ -55,7 +55,6 @@ mod tests; #[allow(non_snake_case)] impl, I: 'static> Pallet { - #[cfg(feature = "std")] fn initialize_reserves(reserves: &[(T::DEXId, T::AssetId, (Fixed, Fixed))]) { reserves .iter() diff --git a/pallets/multicollateral-bonding-curve-pool/Cargo.toml b/pallets/multicollateral-bonding-curve-pool/Cargo.toml index 179d8337c7..d23e38c17d 100644 --- a/pallets/multicollateral-bonding-curve-pool/Cargo.toml +++ b/pallets/multicollateral-bonding-curve-pool/Cargo.toml @@ -22,7 +22,7 @@ frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } hex-literal = "0.4.1" orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -serde = { version = "1.0.101", default-features = false, optional = true, features = [ +serde = { version = "1.0.101", default-features = false, features = [ "derive", ] } sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } @@ -65,7 +65,7 @@ std = [ 'frame-system/std', 'orml-traits/std', 'orml-traits/std', - 'serde', + 'serde/std', 'sp-arithmetic/std', 'sp-runtime/std', 'sp-std/std', diff --git a/pallets/multicollateral-bonding-curve-pool/src/lib.rs b/pallets/multicollateral-bonding-curve-pool/src/lib.rs index d0885a6690..770de60834 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/lib.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/lib.rs @@ -67,7 +67,6 @@ use sp_runtime::{DispatchError, DispatchResult}; use sp_std::collections::btree_set::BTreeSet; use sp_std::vec::Vec; pub use weights::WeightInfo; -#[cfg(feature = "std")] use { common::USDT, serde::{Deserialize, Serialize}, @@ -87,8 +86,7 @@ pub const RETRY_DISTRIBUTION_FREQUENCY: u32 = 1000; pub use pallet::*; -#[derive(Debug, Encode, Decode, Clone, PartialEq, scale_info::TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive(Debug, Encode, Decode, Clone, PartialEq, scale_info::TypeInfo, Serialize, Deserialize)] pub enum DistributionAccount { Account(AccountId), TechAccount(TechAccountId), @@ -100,8 +98,7 @@ impl Default for DistributionAccount { pub account: DistributionAccount, pub coefficient: Fixed, @@ -125,8 +122,7 @@ impl DistributionAccountData { } } -#[derive(Debug, Encode, Decode, Clone, PartialEq, scale_info::TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive(Debug, Encode, Decode, Clone, PartialEq, scale_info::TypeInfo, Serialize, Deserialize)] pub struct DistributionAccounts { pub xor_allocation: DistributionAccountData, pub val_holders: DistributionAccountData, diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index b50acd4a79..c0fbed9af5 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -18,7 +18,7 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals scale-info = { version = "2", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -serde = { version = "1.0.101", features = ["derive"] } +serde = { version = "1.0.101", features = ["derive"], default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/permissions/src/lib.rs b/pallets/permissions/src/lib.rs index 07485a23b0..4e1e00580f 100644 --- a/pallets/permissions/src/lib.rs +++ b/pallets/permissions/src/lib.rs @@ -50,7 +50,7 @@ use codec::{Decode, Encode}; use frame_support::ensure; -// #[cfg(feature = "std")] +#[cfg(feature = "std")] use frame_support::sp_runtime; use serde::{Deserialize, Serialize}; use sp_core::hash::H512; @@ -283,7 +283,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/pswap-distribution/src/lib.rs b/pallets/pswap-distribution/src/lib.rs index 1331f8d6b5..eb62bd68c6 100644 --- a/pallets/pswap-distribution/src/lib.rs +++ b/pallets/pswap-distribution/src/lib.rs @@ -47,6 +47,7 @@ use frame_support::{ensure, fail}; use frame_system::ensure_signed; use frame_system::pallet_prelude::BlockNumberFor; use sp_arithmetic::traits::{Saturating, Zero}; +use sp_std::vec::Vec; pub mod weights; @@ -636,7 +637,6 @@ pub mod pallet { pub burn_info: (Fixed, Fixed, Fixed), } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index 45564f2d69..73c65b3e32 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -25,7 +25,7 @@ secp256k1 = { version = "0.7", features = [ "hmac", "static-context", ], default-features = false, package = "libsecp256k1" } -serde = { version = "1.0.101", optional = true, features = ["derive"] } +serde = { version = "1.0.101", features = ["derive"], default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index c4f4801376..c281842da7 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -42,7 +42,6 @@ use codec::{Decode, Encode}; use frame_support::storage::StorageMap as StorageMapTrait; use frame_system::pallet_prelude::BlockNumberFor; -#[cfg(feature = "std")] use serde::{Deserialize, Serialize}; use sp_core::RuntimeDebug; use sp_runtime::traits::{UniqueSaturatedInto, Zero}; @@ -51,7 +50,6 @@ use sp_runtime::{Perbill, Percent}; use sp_std::prelude::*; use assets::AssetIdOf; -#[cfg(feature = "std")] use common::balance; use common::eth::EthAddress; use common::prelude::FixedWrapper; @@ -76,8 +74,18 @@ mod tests; type WeightInfoOf = ::WeightInfo; -#[derive(Encode, Decode, Clone, RuntimeDebug, Default, PartialEq, Eq, scale_info::TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] +#[derive( + Encode, + Decode, + Clone, + RuntimeDebug, + Default, + PartialEq, + Eq, + scale_info::TypeInfo, + Serialize, + Deserialize, +)] pub struct RewardInfo { claimable: Balance, pub total: Balance, diff --git a/pallets/technical/src/lib.rs b/pallets/technical/src/lib.rs index 449e9fb7cb..80b5226404 100644 --- a/pallets/technical/src/lib.rs +++ b/pallets/technical/src/lib.rs @@ -40,6 +40,7 @@ use frame_support::{ensure, Parameter}; use sp_runtime::traits::{MaybeSerializeDeserialize, Member}; use sp_runtime::DispatchError; use sp_runtime::RuntimeDebug; +use sp_std::vec::Vec; use common::TECH_ACCOUNT_MAGIC_PREFIX; use sp_core::H256; diff --git a/pallets/trading-pair/src/lib.rs b/pallets/trading-pair/src/lib.rs index 5be4cc8369..78f5a24a0c 100644 --- a/pallets/trading-pair/src/lib.rs +++ b/pallets/trading-pair/src/lib.rs @@ -348,7 +348,6 @@ pub mod pallet { pub trading_pairs: Vec<(T::DEXId, TradingPair)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { diff --git a/runtime/build.rs b/runtime/build.rs index 8a135806e1..c27789587b 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -35,25 +35,25 @@ use std::{env, fs}; use substrate_wasm_builder::WasmBuilder; fn main() { - // #[cfg(feature = "build-wasm-binary")] - // WasmBuilder::new() - // .with_current_project() - // .import_memory() - // .export_heap_base() - // .build(); - - // let root_path = PathBuf::new() - // .join(env::var("CARGO_MANIFEST_DIR").unwrap()) - // .parent() - // .unwrap() - // .to_owned(); - // let pre_commit_hook_path = root_path.join(".hooks/pre-commit"); - // println!( - // "cargo:rerun-if-changed={}", - // pre_commit_hook_path.to_string_lossy() - // ); - // let enabled_hooks_dir = root_path.join(".git/hooks"); - // fs::create_dir_all(&enabled_hooks_dir).expect("Failed to create '.git/hooks' dir"); - // fs::copy(&pre_commit_hook_path, enabled_hooks_dir.join("pre-commit")) - // .expect("Failed to copy '.hooks/pre_commit' to '.git/hooks/pre_commit'"); + #[cfg(feature = "build-wasm-binary")] + WasmBuilder::new() + .with_current_project() + .import_memory() + .export_heap_base() + .build(); + + let root_path = PathBuf::new() + .join(env::var("CARGO_MANIFEST_DIR").unwrap()) + .parent() + .unwrap() + .to_owned(); + let pre_commit_hook_path = root_path.join(".hooks/pre-commit"); + println!( + "cargo:rerun-if-changed={}", + pre_commit_hook_path.to_string_lossy() + ); + let enabled_hooks_dir = root_path.join(".git/hooks"); + fs::create_dir_all(&enabled_hooks_dir).expect("Failed to create '.git/hooks' dir"); + fs::copy(&pre_commit_hook_path, enabled_hooks_dir.join("pre-commit")) + .expect("Failed to copy '.hooks/pre_commit' to '.git/hooks/pre_commit'"); } From 80aae0a09d37e106b1333dca93fa247f10dd3840 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 30 May 2024 23:51:42 -0300 Subject: [PATCH 018/110] fix cli --- node/chain_spec/src/lib.rs | 5082 ++++++++++++++++++------------------ node/src/command.rs | 12 +- runtime/src/lib.rs | 4 +- 3 files changed, 2546 insertions(+), 2552 deletions(-) diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index a68df2b57e..320e767ddb 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -1,2541 +1,2541 @@ -// // This file is part of the SORA network and Polkaswap app. - -// // Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. -// // SPDX-License-Identifier: BSD-4-Clause - -// // Redistribution and use in source and binary forms, with or without modification, -// // are permitted provided that the following conditions are met: - -// // Redistributions of source code must retain the above copyright notice, this list -// // of conditions and the following disclaimer. -// // Redistributions in binary form must reproduce the above copyright notice, this -// // list of conditions and the following disclaimer in the documentation and/or other -// // materials provided with the distribution. -// // -// // All advertising materials mentioning features or use of this software must display -// // the following acknowledgement: This product includes software developed by Polka Biome -// // Ltd., SORA, and Polkaswap. -// // -// // Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used -// // to endorse or promote products derived from this software without specific prior written permission. - -// // THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, -// // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY -// // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -// // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -// // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// // Tips: -// // * not(feature = "private-net") means "main net", however, given that "main net" is the default -// // option and Cargo doesn't provide any way to disable "main net" if any "private net" is -// // specified, we have to rely on such constructions. - -// #![allow(unused_imports, unused_macros, dead_code)] -// // TODO #167: fix clippy warnings -// #![allow(clippy::all)] - -// use common::prelude::{Balance, DEXInfo, FixedWrapper}; -// use common::{ -// balance, fixed, hash, our_include, our_include_bytes, vec_push, BalancePrecision, DEXId, Fixed, -// TechPurpose, APOLLO_ASSET_ID, DAI, DEFAULT_BALANCE_PRECISION, ETH, HERMES_ASSET_ID, KEN, KUSD, -// PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, -// }; -// use frame_support::sp_runtime::Percent; -// use framenode_runtime::eth_bridge::{AssetConfig, BridgeAssetData, NetworkConfig}; -// use framenode_runtime::multicollateral_bonding_curve_pool::{ -// DistributionAccount, DistributionAccountData, DistributionAccounts, -// }; -// use framenode_runtime::opaque::SessionKeys; -// #[cfg(feature = "wip")] -// use framenode_runtime::BridgeOutboundChannelConfig; -// use framenode_runtime::{ -// assets, eth_bridge, frame_system, AccountId, AssetId, AssetName, AssetSymbol, AssetsConfig, -// BabeConfig, BalancesConfig, BeefyConfig, BeefyId, BridgeMultisigConfig, CouncilConfig, -// DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GenesisConfig, -// GetBaseAssetId, GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, -// GetValAssetId, GetXorAssetId, GrandpaConfig, ImOnlineId, IrohaMigrationConfig, -// LiquiditySourceType, MulticollateralBondingCurvePoolConfig, PermissionsConfig, -// PswapDistributionConfig, RewardsConfig, Runtime, SS58Prefix, SessionConfig, Signature, -// StakerStatus, StakingConfig, SystemConfig, TechAccountId, TechnicalCommitteeConfig, -// TechnicalConfig, TokensConfig, TradingPair, TradingPairConfig, XSTPoolConfig, WASM_BINARY, -// }; - -// use hex_literal::hex; -// use permissions::Scope; -// use sc_consensus_grandpa::AuthorityId as GrandpaId; -// use sc_network_common::config::MultiaddrWithPeerId; -// use sc_service::{ChainType, Properties}; -// use sp_consensus_aura::sr25519::AuthorityId as AuraId; -// use sp_consensus_babe::AuthorityId as BabeId; -// use sp_core::crypto::ByteArray; -// use sp_core::{Public, H160, H256, U256}; -// use sp_runtime::sp_std::iter::once; -// use sp_runtime::traits::Zero; -// use sp_runtime::{BuildStorage, Perbill}; -// use std::str::FromStr; - -// use codec::Encode; -// use framenode_runtime::assets::{AssetRecord, AssetRecordArg}; -// #[cfg(feature = "private-net")] -// use framenode_runtime::{FaucetConfig, SudoConfig}; -// use sp_core::{sr25519, Pair}; -// use sp_runtime::traits::{IdentifyAccount, Verify}; -// use std::borrow::Cow; - -// /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -// pub type ChainSpec = sc_service::GenericChainSpec; -// type Technical = technical::Pallet; -// type AccountPublic = ::Signer; - -// /// Helper function to generate a crypto pair from seed -// fn get_from_seed(seed: &str) -> ::Public { -// TPublic::Pair::from_string(&format!("//{}", seed), None) -// .expect("static values are valid; qed") -// .public() -// } - -// /// Helper function to generate an account ID from seed -// fn get_account_id_from_seed(seed: &str) -> AccountId -// where -// AccountPublic: From<::Public>, -// { -// AccountPublic::from(get_from_seed::(seed)).into_account() -// } - -// /// Generate an Babe authority key. -// pub fn authority_keys_from_seed( -// seed: &str, -// ) -> ( -// AccountId, -// AccountId, -// AuraId, -// BabeId, -// GrandpaId, -// ImOnlineId, -// BeefyId, -// ) { -// ( -// get_account_id_from_seed::(&format!("{}//stash", seed)), -// get_account_id_from_seed::(seed), -// get_from_seed::(seed), -// get_from_seed::(seed), -// get_from_seed::(seed), -// get_from_seed::(seed), -// get_from_seed::(seed), -// ) -// } - -// pub fn authority_keys_from_public_keys( -// stash_address: [u8; 32], -// controller_address: [u8; 32], -// sr25519_key: [u8; 32], -// ed25519_key: [u8; 32], -// ecdsa_key: [u8; 33], -// ) -> ( -// AccountId, -// AccountId, -// AuraId, -// BabeId, -// GrandpaId, -// ImOnlineId, -// BeefyId, -// ) { -// ( -// stash_address.into(), -// controller_address.into(), -// AuraId::from_slice(&sr25519_key).unwrap(), -// BabeId::from_slice(&sr25519_key).unwrap(), -// GrandpaId::from_slice(&ed25519_key).unwrap(), -// ImOnlineId::from_slice(&sr25519_key).unwrap(), -// BeefyId::from_slice(&ecdsa_key).unwrap(), -// ) -// } - -// fn session_keys( -// grandpa: GrandpaId, -// babe: BabeId, -// im_online: ImOnlineId, -// beefy: BeefyId, -// ) -> SessionKeys { -// SessionKeys { -// babe, -// grandpa, -// im_online, -// beefy, -// } -// } - -// struct EthBridgeParams { -// xor_master_contract_address: H160, -// xor_contract_address: H160, -// val_master_contract_address: H160, -// val_contract_address: H160, -// bridge_contract_address: H160, -// } - -// fn calculate_reserves(accounts: impl Iterator) -> Balance { -// accounts.fold(0, |sum, balance| sum + balance) -// } - -// pub fn staging_net() -> Result { -// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_staging.json")[..]) -// } - -// pub fn bridge_staging_net() -> Result { -// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_bridge_staging.json")[..]) -// } - -// pub fn test_net() -> Result { -// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_test.json")[..]) -// } - -// pub fn main_net() -> Result { -// ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_main.json")[..]) -// } - -// #[cfg(feature = "private-net")] -// pub fn predev_net_coded() -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// ChainSpec::from_genesis( -// "SORA-predev Testnet", -// "sora-substrate-predev", -// ChainType::Development, -// move || { -// testnet_genesis( -// true, -// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), -// vec![ -// authority_keys_from_public_keys( -// hex!("28d3bdf388ac911afa8e6c4394eafaa42d1cdf438ed1128086b1f7d666c5335e"), -// hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), -// hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), -// hex!("9fcd1a31681bff3ca3ac195c11ba8fb0fb6bce3eb61c7cfecf4e4273ea5970af"), -// hex!("02b702b6684a4d93a2c1044e7f8c1e5b42fd4ae24fc2ea571347b45665898de590"), -// ), -// authority_keys_from_public_keys( -// hex!("e0be466ddaabaf864b9dd54905f5e0d410c23265fe4e7925ce2a675f371b8274"), -// hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), -// hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), -// hex!("5749c1e8b7a87bd114c3b151eb899feccedbcf6c439c1d7dda0fc29c7179d51c"), -// hex!("03b91512a19d2433c0d4c51c4c31f56e553c5ebfb30c82a0c3573e96377f7e6baf"), -// ), -// authority_keys_from_public_keys( -// hex!("c0b48c43b9911da9cb1f2a1ea78ab88c34fe6d27e642f141389986b7276c442b"), -// hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), -// hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), -// hex!("244266d4ced385b782e35c2e5b45db1d5988e5f8abf9b7085d8a52b9b3f642a4"), -// hex!("024a5b7eefee22145c704a71b303d96532ec28736a0e841fd498a73ab325c48c8e"), -// ), -// ], -// vec![ -// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), -// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), -// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), -// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), -// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), -// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), -// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), -// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), -// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), -// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), -// hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), -// ], -// vec![ -// hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), -// hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), -// hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), -// ], -// EthBridgeParams { -// xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") -// .into(), -// xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), -// val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") -// .into(), -// val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), -// bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") -// .into(), -// }, -// vec![ -// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), -// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), -// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), -// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), -// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), -// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), -// ], -// vec![ -// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), -// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), -// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), -// ], -// 3, -// ) -// }, -// vec![], -// None, -// Some("sora-substrate-predev"), -// None, -// Some(properties), -// None, -// ) -// } - -// #[cfg(feature = "private-net")] -// pub fn dev_net_coded() -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// ChainSpec::from_genesis( -// "SORA-dev Testnet", -// "sora-substrate-dev", -// ChainType::Development, -// move || { -// testnet_genesis( -// true, -// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), -// vec![ -// authority_keys_from_public_keys( -// hex!("349b061381fe1e47b5dd18061f7c7f76801b41dc9c6afe0b2c4c65e0171c8b35"), -// hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), -// hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), -// hex!("0ced48eb19e0e2809a769c35a64264c3dd39f3aa0ff132aa7caaa6730ad31f57"), -// hex!("032001ac7aab973536274d6903d5108f2a18114f6b8eaf63a94b10eda40831b8e9"), -// ), -// authority_keys_from_public_keys( -// hex!("5e7df6d78fb252ecfe5e2c516a145671b9c64ee7b733a3c128af27d76e2fe74c"), -// hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), -// hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), -// hex!("c75a2ed4012a61cf05ec6eecc4b83faedcf6a781111cc61f8e9a23ad2810bb5e"), -// hex!("032773c06f08f6a0bcb6d1e2487c4ab60ea9e6e90227f686115cc75de06149aca0"), -// ), -// authority_keys_from_public_keys( -// hex!("baa98b9fde4fc1c983998798536a63ab70b3c365ce3870dd84a230cb19093004"), -// hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), -// hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), -// hex!("4be870c72a1ac412a5c239d701b5dd62a9e030899943faad55b48eb2c7c9dc2a"), -// hex!("031b4b72dc354abf2efa3ba17d27907a0ef73de252719e8b5953f568a86eca9a18"), -// ), -// // authority_keys_from_public_keys( -// // hex!("4eb0f6225cef84a0285a54916625846e50d86526bdece448894af0ac87792956"), -// // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), -// // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), -// // hex!("8061f3a75ef96a0d840d84cec5d42bcad43f882efdcf93b30a60c7bac6c894c1"), -// // hex!("03cafa6f45bfad692c66ff5b8b3f24f826802f4dd863b31821fc05832cad3e8389"), -// // ), -// // authority_keys_from_public_keys( -// // hex!("22a886a8f0a0ddd031518a2bc567585b0046d02d7aacbdb058857b42da40444b"), -// // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), -// // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), -// // hex!("86320cd87cbe2881cdf3515d3a72d833099d61b4c38266437366e3b143f8835b"), -// // hex!("0249197248076adbd30b1e162c6ec6517ed552b1f63f1f102efa6fc57c892d4f03"), -// // ), -// // authority_keys_from_public_keys( -// // hex!("20a0225a3cafe2d5e9813025e3f1a2d9a3e50f44528ecc3bed01c13466e33316"), -// // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), -// // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), -// // hex!("15c652e559703197d10997d04df0081918314b77b8475d74002adaca0f3b634d"), -// // hex!("026b0e88acde2c1e83b22c1638bd41d4c70464e6b9dc2434a731adc97f3d16c677"), -// // ), -// ], -// vec![ -// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), -// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), -// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), -// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), -// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), -// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), -// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), -// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), -// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), -// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), -// hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), -// ], -// vec![ -// hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), -// hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), -// hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), -// ], -// EthBridgeParams { -// xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") -// .into(), -// xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), -// val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") -// .into(), -// val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), -// bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") -// .into(), -// }, -// vec![ -// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), -// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), -// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), -// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), -// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), -// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), -// ], -// vec![ -// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), -// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), -// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), -// ], -// 3, -// ) -// }, -// vec![], -// None, -// Some("sora-substrate-dev"), -// None, -// Some(properties), -// None, -// ) -// } - -// #[cfg(feature = "private-net")] -// pub fn bridge_dev_net_coded() -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// ChainSpec::from_genesis( -// "SORA-dev Testnet", -// "sora-substrate-dev", -// ChainType::Live, -// move || { -// testnet_genesis( -// true, -// hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), -// vec![ -// authority_keys_from_public_keys( -// // scheme: sr25519, seed: //framenode-1//stash -// hex!("38c2970a9988caff722c140726f53ea0b0f654254dbf3f472b1ac5efd3aace35"), -// // scheme: sr25519, seed: //framenode-1 -// hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), -// // scheme: sr25519, seed: //framenode-1 -// hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), -// // scheme: ed25519, seed: //framenode-1 -// hex!("4e84eeed48dd52d45f599a549edecf2a135f8045de32c6a801086b1e1fb251c9"), -// // scheme: ecdsa, seed: //framenode-1 -// hex!("03c8833ad1ed110cdfee2ef838a0fc2b830a8aa821711aa4ab5b679e2624173cbb"), -// ), -// authority_keys_from_public_keys( -// // scheme: sr25519, seed: //framenode-2//stash -// hex!("36c75c50a04c792f7074453bc3080c4166a60a81361cc2d5e436a0a83f3cf643"), -// // scheme: sr25519, seed: //framenode-2 -// hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), -// // scheme: sr25519, seed: //framenode-2 -// hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), -// // scheme: ed25519, seed: //framenode-2 -// hex!("2d67d9d22097d2f6f74a4076bece0b97ee3809916b0a6e234a3e27b5fabaa84f"), -// // scheme: ecdsa, seed: //framenode-2 -// hex!("03629d2d9aaf8c09637b2cd1696d6d65bb632e1fe2489e45e0f3538176c3c58300"), -// ), -// ], -// vec![ -// hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), -// hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), -// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), -// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), -// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), -// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), -// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), -// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), -// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), -// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), -// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), -// hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), -// ], -// vec![ -// hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), -// hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), -// ], -// EthBridgeParams { -// xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") -// .into(), -// xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), -// val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") -// .into(), -// val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), -// bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") -// .into(), -// }, -// vec![ -// hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), -// hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), -// hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), -// hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), -// hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), -// hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), -// ], -// vec![ -// hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), -// hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), -// hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), -// ], -// 2, -// ) -// }, -// vec![], -// None, -// Some("sora-substrate-dev"), -// None, -// Some(properties), -// None, -// ) -// } - -// #[cfg(feature = "private-net")] -// pub fn bridge_staging_net_coded() -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// let protocol = "sora-substrate-bridge-staging"; -// ChainSpec::from_genesis( -// "SORA-bridge Testnet", -// "sora-substrate-bridge", -// ChainType::Live, -// move || { -// let eth_bridge_params = EthBridgeParams { -// xor_master_contract_address: Default::default(), -// xor_contract_address: Default::default(), -// val_master_contract_address: Default::default(), -// val_contract_address: Default::default(), -// bridge_contract_address: Default::default(), -// }; -// testnet_genesis( -// false, -// hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), -// vec![ -// authority_keys_from_public_keys( -// hex!("ee806e5ed183345d5986ea31d93aa1afc6cbe48f128ac864e158d51f5ccda538"), -// hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), -// hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), -// hex!("55b2663327d8143b45a666c904c1a6621ae2d77604cabfcd3431fd0b975de480"), -// hex!("034405a66d5b3aa47946ee49ad23c8ef1dfabcbbc99ea30d6abe8cebe16d3561ef"), -// ), -// authority_keys_from_public_keys( -// hex!("628a21efe6c21f41d6e04b313ac779a74870dbba27ab404d921d2f09467e5258"), -// hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), -// hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), -// hex!("311646bc40d9b5ec724ff2deebeba9ff0d1866dd0d8f2db371dd2e5fc7ecf462"), -// hex!("03ec5ede1a45c754093a878d87ff30b28f6e9594a8b0e03e0a8b3ec6db7846e6a6"), -// ), -// authority_keys_from_public_keys( -// hex!("ce36d1ac5e9d8da1f2e0a4f8a26b102394dd35c352e2b960f56168cc10478c3c"), -// hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), -// hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), -// hex!("9448e9b714635de2158d1d7e2413c6f844793db970e76b3af40622325355e510"), -// hex!("031d86e31c78bcc4350e781961216d44f36550d8c8826a3805bb9915a79386018d"), -// ), -// // authority_keys_from_public_keys( -// // hex!("4e7ffd5823ea6ee8c0b4d69e9104cf375cbe63f0d13175d31a02fbed76393448"), -// // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), -// // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), -// // hex!("9ad0bfa8282b9b1b324ee394e5335e0e98c3722653f45f61535d65b9514c6f7c"), -// // hex!("0268ec544e1cf933f2ac54de6362930ee0c7a571ad87809cd72b4ce93dcf14f8bb"), -// // ), -// // authority_keys_from_public_keys( -// // hex!("b4ea29407e2dc0dfde55e7e823db250f3165a02d794c3672bd32c64278cbc13f"), -// // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), -// // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), -// // hex!("f694905813600d496d05bd9d12487498e7ed4716ee65a60f667e5535bfe43c36"), -// // hex!("03e5181b1c9acec5aed73e8c14e3104792c722caadcfcb9a813edaf7fe0613e86d"), -// // ), -// // authority_keys_from_public_keys( -// // hex!("284b92d3cfa7bfdffb5a905c8f9e2bdc38315a9f45f13267ab285632684ab709"), -// // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), -// // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), -// // hex!("99bac188e04592d31059c612c386106393d2c2103747c8da3badeee0fc130627"), -// // hex!("03367a1882741e54b7ddf082f1a23173a92f38f66897000b7689d6552e5397e4d2"), -// // ), -// ], -// vec![], -// vec![], -// eth_bridge_params, -// vec![ -// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), -// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), -// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), -// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), -// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), -// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), -// ], -// vec![ -// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), -// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), -// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), -// ], -// 69, -// ) -// }, -// vec![], -// None, -// Some(protocol), -// None, -// Some(properties), -// None, -// ) -// } - -// /// # Parameters -// /// * `test` - indicates if the chain spec is to be used in test environment -// #[cfg(feature = "private-net")] -// pub fn staging_net_coded(test: bool) -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// let (name, id, boot_nodes) = if test { -// ( -// "SORA-test", -// "sora-substrate-test", -// vec![ -// MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWSG3eJ9LXNyhzUzkzqjhT3Jv35vak9zLTHTsoTiqU4mxW").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWCfkMa5ATWfa8Edn3Lx71tfZwTU8X532Qx8jbtBnyvXyD").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWCKC4hDHz8AxnacYg7CmeDPJL8MuJxGYHUBFZ4BjZYcCy").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWRo4T2RxgLs1ej61g788kbYR3obU4fHu4GEfeQNEPGD2Y").unwrap(), -// ] -// ) -// } else { -// ( -// "SORA-staging Testnet", -// "sora-substrate-staging", -// vec![ -// MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWQf9AXopgwHsfKCweXtuePnWKieythwNa7AFwNfyemcjX").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWGXhnvgvUwbU831p19sy2gEdPbusN1B8P8ShuKi4JfLDH").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWBwZmMTKQ37dEKAR3oxcuH9YFpzUdGRTbQcKgXLEmyhob").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWExRdWV2CAF8oEyMYiXc9NABu8mmYLdXLtTNjjt1WjqAC").unwrap(), -// MultiaddrWithPeerId::from_str("/dns/s3.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWCN5ZRsK9FekLLD7vSkyoh99bXZ9uXgLpd7zEVWmD5ySH").unwrap(), -// ] -// ) -// }; -// let protocol = if test { -// "sora-substrate-test" -// } else { -// "sora-substrate-staging" -// }; -// ChainSpec::from_genesis( -// name, -// id, -// ChainType::Live, -// move || { -// let eth_bridge_params = if test { -// EthBridgeParams { -// xor_master_contract_address: hex!("09F9c9165A00f9FF3d69cc292848E93f39C50a42") -// .into(), -// xor_contract_address: hex!("9826Ecfcd937C4518E1C42B3703c7CB908B61197").into(), -// val_master_contract_address: hex!("517e5DfF04CAD3c81171Dec46Ef9407fbf31b2C5") -// .into(), -// val_contract_address: hex!("88eE18dEfC56D78417B0d331e794EF75799cA6D1").into(), -// bridge_contract_address: hex!("10Ce25aE3B05c9Ba860D5aD3544ca62565E7A184") -// .into(), -// } -// } else { -// EthBridgeParams { -// xor_master_contract_address: hex!("cceb41100aa2a9a6f144d7c1f876070b810bf7ae") -// .into(), -// xor_contract_address: hex!("dc1c024535118f6de6d999c23fc31e33bc2cafc9").into(), -// val_master_contract_address: hex!("d7f81ed173cb3af28f983670164df30851fba678") -// .into(), -// val_contract_address: hex!("725c6b8cd3621eba4e0ccc40d532e7025b925a65").into(), -// bridge_contract_address: hex!("077c2ec37d28709ce01ae740209bfbe185bd1eaa") -// .into(), -// } -// }; -// testnet_genesis( -// false, -// hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), -// vec![ -// authority_keys_from_public_keys( -// hex!("dce47ff231d43281e03dd21e5890db128176d9ee20e65da331d8ae0b64863779"), -// hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), -// hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), -// hex!("51d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), -// hex!("0251d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), -// ), -// authority_keys_from_public_keys( -// hex!("2a57402736d2b5ada9ee900e506a84436556470de7abd382031e1d90b182bd48"), -// hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), -// hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), -// hex!("f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), -// hex!("02f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), -// ), -// authority_keys_from_public_keys( -// hex!("e493667f399170b28f3b2db4b9f28dbbabbc5da5fc21114e076768fc3c539002"), -// hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), -// hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), -// hex!("b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), -// hex!("02b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), -// ), -// authority_keys_from_public_keys( -// hex!("00e8f3ad6566b446834f5361d0ed98aca3ab0c59848372f87546897345f9456f"), -// hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), -// hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), -// hex!("04bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), -// hex!("0204bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), -// ), -// authority_keys_from_public_keys( -// hex!("621067638b1d90bfd52450c0569b5318b283bc4eccfaaf0175adada721a86e17"), -// hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), -// hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), -// hex!("c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), -// hex!("02c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), -// ), -// ], -// vec![], -// vec![ -// hex!("9cbca76054814f05364abf691f9166b1be176d9b399d94dc2d88b6c4bc2b0589").into(), -// hex!("3b2e166bca8913d9b88d7a8acdfc54c3fe92c15e347deda6a13c191c6e0cc19c").into(), -// ], -// eth_bridge_params, -// vec![ -// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), -// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), -// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), -// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), -// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), -// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), -// ], -// vec![ -// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), -// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), -// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), -// ], -// 69, -// ) -// }, -// boot_nodes, -// None, -// Some(protocol), -// None, -// Some(properties), -// None, -// ) -// } - -// fn bonding_curve_distribution_accounts( -// ) -> DistributionAccounts>> { -// use common::fixed_wrapper; -// use common::prelude::fixnum::ops::One; -// let val_holders_coefficient = fixed_wrapper!(0.5); -// let val_holders_xor_alloc_coeff = fixed_wrapper!(0.9) * val_holders_coefficient.clone(); -// let val_holders_buy_back_coefficient = -// val_holders_coefficient.clone() * (fixed_wrapper!(1) - fixed_wrapper!(0.9)); -// let projects_coefficient = fixed_wrapper!(1) - val_holders_coefficient; -// let projects_sora_citizens_coeff = projects_coefficient.clone() * fixed_wrapper!(0.01); -// let projects_stores_and_shops_coeff = projects_coefficient.clone() * fixed_wrapper!(0.04); -// let projects_parliament_and_development_coeff = -// projects_coefficient.clone() * fixed_wrapper!(0.05); -// let projects_other_coeff = projects_coefficient.clone() * fixed_wrapper!(0.9); - -// debug_assert_eq!( -// Fixed::ONE, -// FixedWrapper::get( -// val_holders_xor_alloc_coeff.clone() -// + projects_sora_citizens_coeff.clone() -// + projects_stores_and_shops_coeff.clone() -// + projects_parliament_and_development_coeff.clone() -// + projects_other_coeff.clone() -// + val_holders_buy_back_coefficient.clone() -// ) -// .unwrap() -// ); - -// let xor_allocation = DistributionAccountData::new( -// DistributionAccount::TechAccount(TechAccountId::Pure( -// DEXId::Polkaswap.into(), -// TechPurpose::Identifier(b"xor_allocation".to_vec()), -// )), -// val_holders_xor_alloc_coeff.get().unwrap(), -// ); -// let sora_citizens = DistributionAccountData::new( -// DistributionAccount::TechAccount(TechAccountId::Pure( -// DEXId::Polkaswap.into(), -// TechPurpose::Identifier(b"sora_citizens".to_vec()), -// )), -// projects_sora_citizens_coeff.get().unwrap(), -// ); -// let stores_and_shops = DistributionAccountData::new( -// DistributionAccount::TechAccount(TechAccountId::Pure( -// DEXId::Polkaswap.into(), -// TechPurpose::Identifier(b"stores_and_shops".to_vec()), -// )), -// projects_stores_and_shops_coeff.get().unwrap(), -// ); -// let projects = DistributionAccountData::new( -// DistributionAccount::TechAccount(TechAccountId::Pure( -// DEXId::Polkaswap.into(), -// TechPurpose::Identifier(b"projects".to_vec()), -// )), -// projects_other_coeff.get().unwrap(), -// ); -// let val_holders = DistributionAccountData::new( -// DistributionAccount::TechAccount(TechAccountId::Pure( -// DEXId::Polkaswap.into(), -// TechPurpose::Identifier(b"val_holders".to_vec()), -// )), -// val_holders_buy_back_coefficient.get().unwrap(), -// ); -// DistributionAccounts::<_> { -// xor_allocation, -// sora_citizens, -// stores_and_shops, -// projects, -// val_holders, -// } -// } - -// #[cfg(feature = "private-net")] -// pub fn local_testnet_config(initial_authorities: usize, validator_count: u32) -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// ChainSpec::from_genesis( -// "SORA-local Testnet", -// "sora-substrate-local", -// ChainType::Development, -// move || { -// testnet_genesis( -// false, -// get_account_id_from_seed::("Alice"), -// vec![ -// authority_keys_from_seed("Alice"), -// authority_keys_from_seed("Bob"), -// authority_keys_from_seed("Charlie"), -// authority_keys_from_seed("Dave"), -// authority_keys_from_seed("Eve"), -// authority_keys_from_seed("Ferdie"), -// /* -// authority_keys_from_seed("Treasury"), -// */ -// ] -// .into_iter() -// .take(initial_authorities) -// .collect(), -// vec![ -// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), -// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), -// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), -// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), -// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), -// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), -// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), -// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), -// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), -// get_account_id_from_seed::("Relayer"), -// get_account_id_from_seed::("Relayer//1"), -// get_account_id_from_seed::("Relayer//2"), -// get_account_id_from_seed::("Relayer//3"), -// get_account_id_from_seed::("Relayer//4"), -// ], -// vec![ -// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), -// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), -// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), -// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), -// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), -// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), -// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), -// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), -// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), -// ], -// EthBridgeParams { -// xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") -// .into(), -// xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), -// val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") -// .into(), -// val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), -// bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") -// .into(), -// }, -// vec![ -// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), -// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), -// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), -// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), -// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), -// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), -// ], -// vec![ -// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), -// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), -// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), -// ], -// validator_count, -// ) -// }, -// vec![], -// None, -// None, -// None, -// Some(properties), -// None, -// ) -// } - -// // Some variables are only changed if faucet is enabled -// #[cfg(feature = "private-net")] -// fn testnet_genesis( -// dev: bool, -// root_key: AccountId, -// initial_authorities: Vec<( -// AccountId, -// AccountId, -// AuraId, -// BabeId, -// GrandpaId, -// ImOnlineId, -// BeefyId, -// )>, -// endowed_accounts: Vec, -// initial_bridge_peers: Vec, -// eth_bridge_params: EthBridgeParams, -// council_accounts: Vec, -// technical_committee_accounts: Vec, -// validator_count: u32, -// ) -> GenesisConfig { -// use common::XSTUSD; - -// // Initial balances -// let initial_staking = balance!(1000000000); -// let initial_eth_bridge_xor_amount = balance!(350000); -// let initial_eth_bridge_val_amount = balance!(33900000); -// let initial_pswap_tbc_rewards = balance!(2500000000); - -// let parliament_investment_fund = -// hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); -// let parliament_investment_fund_balance = balance!(33000000); - -// let val_rewards_for_erc20_xor_holders = balance!(33100000); - -// // Initial accounts - -// let xor_fee_tech_account_id = TechAccountId::Generic( -// xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), -// xor_fee::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let xor_fee_account_id: AccountId = -// technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) -// .expect("Failed to decode account Id"); - -// let eth_bridge_tech_account_id = TechAccountId::Generic( -// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), -// eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let eth_bridge_account_id = -// technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) -// .unwrap(); -// let eth_bridge_authority_tech_account_id = TechAccountId::Generic( -// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), -// eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), -// ); -// let eth_bridge_authority_account_id = -// technical::Pallet::::tech_account_id_to_account_id( -// ð_bridge_authority_tech_account_id, -// ) -// .unwrap(); - -// let trustless_eth_bridge_tech_account_id = -// framenode_runtime::GetTrustlessBridgeTechAccountId::get(); -// let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); - -// let trustless_eth_bridge_fees_tech_account_id = -// framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); -// let trustless_eth_bridge_fees_account_id = -// framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); - -// let treasury_tech_account_id = framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); -// let treasury_account_id = framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); - -// let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); -// let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); - -// let pswap_distribution_tech_account_id = -// framenode_runtime::GetPswapDistributionTechAccountId::get(); -// let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); - -// let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); -// let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); - -// let mbc_pool_free_reserves_tech_account_id = -// framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); -// let mbc_pool_free_reserves_account_id = -// framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); - -// let xst_pool_permissioned_tech_account_id = -// framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); -// let xst_pool_permissioned_account_id = -// framenode_runtime::GetXSTPoolPermissionedAccountId::get(); - -// let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); -// let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); - -// let iroha_migration_tech_account_id = TechAccountId::Generic( -// iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), -// iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( -// &iroha_migration_tech_account_id, -// ) -// .unwrap(); - -// let rewards_tech_account_id = TechAccountId::Generic( -// rewards::TECH_ACCOUNT_PREFIX.to_vec(), -// rewards::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let rewards_account_id = -// technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) -// .unwrap(); - -// let assets_and_permissions_tech_account_id = -// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); -// let assets_and_permissions_account_id = -// technical::Pallet::::tech_account_id_to_account_id( -// &assets_and_permissions_tech_account_id, -// ) -// .unwrap(); - -// let dex_root_tech_account_id = -// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); -// let dex_root_account_id = -// technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) -// .unwrap(); - -// #[cfg(feature = "ready-to-test")] // kensetsu -// let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); -// #[cfg(feature = "ready-to-test")] // kensetsu -// let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); - -// let mut tech_accounts = vec![ -// (xor_fee_account_id.clone(), xor_fee_tech_account_id), -// ( -// eth_bridge_account_id.clone(), -// eth_bridge_tech_account_id.clone(), -// ), -// ( -// eth_bridge_authority_account_id.clone(), -// eth_bridge_authority_tech_account_id.clone(), -// ), -// ( -// trustless_eth_bridge_account_id.clone(), -// trustless_eth_bridge_tech_account_id.clone(), -// ), -// ( -// trustless_eth_bridge_fees_account_id.clone(), -// trustless_eth_bridge_fees_tech_account_id.clone(), -// ), -// ( -// treasury_account_id.clone(), -// treasury_tech_account_id.clone(), -// ), -// ( -// pswap_distribution_account_id.clone(), -// pswap_distribution_tech_account_id.clone(), -// ), -// ( -// liquidity_proxy_account_id.clone(), -// liquidity_proxy_tech_account_id.clone(), -// ), -// ( -// mbc_reserves_account_id.clone(), -// mbc_reserves_tech_account_id.clone(), -// ), -// ( -// mbc_pool_rewards_account_id.clone(), -// mbc_pool_rewards_tech_account_id.clone(), -// ), -// ( -// mbc_pool_free_reserves_account_id.clone(), -// mbc_pool_free_reserves_tech_account_id.clone(), -// ), -// ( -// xst_pool_permissioned_account_id.clone(), -// xst_pool_permissioned_tech_account_id.clone(), -// ), -// ( -// iroha_migration_account_id.clone(), -// iroha_migration_tech_account_id.clone(), -// ), -// (rewards_account_id.clone(), rewards_tech_account_id.clone()), -// ( -// assets_and_permissions_account_id.clone(), -// assets_and_permissions_tech_account_id.clone(), -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// kensetsu_treasury_account_id.clone(), -// kensetsu_treasury_tech_account_id.clone(), -// ), -// ]; -// let accounts = bonding_curve_distribution_accounts(); -// for account in &accounts.accounts() { -// match account { -// DistributionAccount::Account(_) => continue, -// DistributionAccount::TechAccount(account) => { -// tech_accounts.push(( -// Technical::tech_account_id_to_account_id(account).unwrap(), -// account.to_owned(), -// )); -// } -// } -// } -// let mut balances = vec![ -// (eth_bridge_account_id.clone(), initial_eth_bridge_xor_amount), -// (assets_and_permissions_account_id.clone(), 0), -// (xor_fee_account_id.clone(), 0), -// (dex_root_account_id.clone(), 0), -// (iroha_migration_account_id.clone(), 0), -// (pswap_distribution_account_id.clone(), 0), -// (mbc_reserves_account_id.clone(), 0), -// (mbc_pool_rewards_account_id.clone(), 0), -// (mbc_pool_free_reserves_account_id.clone(), 0), -// (xst_pool_permissioned_account_id.clone(), 0), -// #[cfg(feature = "ready-to-test")] // kensetsu -// (kensetsu_treasury_account_id.clone(), 0), -// ] -// .into_iter() -// .chain( -// initial_authorities -// .iter() -// .cloned() -// .map(|(k1, ..)| (k1, initial_staking)), -// ) -// .chain( -// initial_authorities -// .iter() -// .cloned() -// .map(|(_, k2, ..)| (k2, initial_staking)), -// ) -// .chain( -// endowed_accounts -// .iter() -// .cloned() -// .map(|account| (account, initial_staking)), -// ) -// .collect::>(); - -// #[cfg(not(feature = "include-real-files"))] -// let rewards_config = RewardsConfig { -// reserves_account_id: rewards_tech_account_id, -// val_owners: vec![ -// ( -// hex!("d170A274320333243b9F860e8891C6792DE1eC19").into(), -// balance!(995).into(), -// ), -// ( -// hex!("21Bc9f4a3d9Dc86f142F802668dB7D908cF0A636").into(), -// balance!(111).into(), -// ), -// ( -// hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), -// balance!(444).into(), -// ), -// ], -// pswap_farm_owners: vec![ -// ( -// hex!("4fE143cDD48791cB364823A41e018AEC5cBb9AbB").into(), -// balance!(222), -// ), -// ( -// hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), -// balance!(555), -// ), -// ], -// pswap_waifu_owners: vec![( -// hex!("886021F300dC809269CFC758A2364a2baF63af0c").into(), -// balance!(333), -// )], -// umi_nfts: vec![PSWAP.into(), VAL.into()], -// }; - -// #[cfg(feature = "include-real-files")] -// let rewards_config = RewardsConfig { -// reserves_account_id: rewards_tech_account_id, -// val_owners: our_include!("bytes/rewards_val_owners.in"), -// pswap_farm_owners: our_include!("bytes/rewards_pswap_farm_owners.in"), -// pswap_waifu_owners: our_include!("bytes/rewards_pswap_waifu_owners.in"), -// umi_nfts: vec![PSWAP.into(), VAL.into()], -// }; - -// let rewards_pswap_reserves = -// calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) -// + calculate_reserves(rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b)); -// let mut tokens_endowed_accounts = vec![ -// ( -// rewards_account_id.clone(), -// GetValAssetId::get(), -// val_rewards_for_erc20_xor_holders, -// ), -// ( -// rewards_account_id, -// GetPswapAssetId::get(), -// rewards_pswap_reserves, -// ), -// ( -// eth_bridge_account_id.clone(), -// VAL, -// initial_eth_bridge_val_amount, -// ), -// ( -// mbc_pool_rewards_account_id.clone(), -// PSWAP, -// initial_pswap_tbc_rewards, -// ), -// ( -// parliament_investment_fund, -// VAL, -// parliament_investment_fund_balance, -// ), -// ]; -// let faucet_config = { -// let initial_faucet_balance = balance!(6000000000); -// let faucet_tech_account_id = TechAccountId::Generic( -// faucet::TECH_ACCOUNT_PREFIX.to_vec(), -// faucet::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let faucet_account_id: AccountId = -// technical::Pallet::::tech_account_id_to_account_id(&faucet_tech_account_id) -// .expect("Failed to decode account id"); -// let ceres = common::AssetId32::from_bytes(hex!( -// "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" -// )); -// tech_accounts.push((faucet_account_id.clone(), faucet_tech_account_id.clone())); -// balances.push((faucet_account_id.clone(), initial_faucet_balance)); -// tokens_endowed_accounts.push((faucet_account_id.clone(), VAL, initial_faucet_balance)); -// tokens_endowed_accounts.push((faucet_account_id.clone(), PSWAP, initial_faucet_balance)); -// tokens_endowed_accounts.push((faucet_account_id.clone(), ceres, initial_faucet_balance)); -// tokens_endowed_accounts.push(( -// faucet_account_id.clone(), -// HERMES_ASSET_ID, -// initial_faucet_balance, -// )); -// tokens_endowed_accounts.push((faucet_account_id, APOLLO_ASSET_ID, initial_faucet_balance)); -// FaucetConfig { -// reserves_account_id: faucet_tech_account_id, -// } -// }; - -// let iroha_migration_config = IrohaMigrationConfig { -// iroha_accounts: if dev { -// our_include!("bytes/iroha_migration_accounts_dev.in") -// } else { -// our_include!("bytes/iroha_migration_accounts_staging.in") -// }, -// account_id: Some(iroha_migration_account_id.clone()), -// }; -// let initial_collateral_assets = vec![ -// DAI.into(), -// VAL.into(), -// PSWAP.into(), -// ETH.into(), -// XST.into(), -// TBCD.into(), -// ]; -// GenesisConfig { -// #[cfg(feature = "wip")] // EVM bridge -// evm_fungible_app: Default::default(), -// parachain_bridge_app: Default::default(), -// substrate_bridge_outbound_channel: Default::default(), - -// #[cfg(feature = "wip")] // Trustless substrate bridge -// beefy_light_client: Default::default(), - -// #[cfg(feature = "wip")] // EVM bridge -// bridge_outbound_channel: BridgeOutboundChannelConfig { -// interval: 10, -// ..Default::default() -// }, - -// system: SystemConfig { -// code: WASM_BINARY.unwrap_or_default().to_vec(), -// }, -// sudo: SudoConfig { -// key: Some(root_key.clone()), -// }, -// technical: TechnicalConfig { -// register_tech_accounts: tech_accounts, -// }, -// babe: BabeConfig { -// authorities: vec![], -// epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), -// }, -// grandpa: GrandpaConfig { -// authorities: vec![], -// }, -// session: SessionConfig { -// keys: initial_authorities -// .iter() -// .map( -// |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { -// ( -// account.clone(), -// account.clone(), -// session_keys( -// grandpa_id.clone(), -// babe_id.clone(), -// im_online_id.clone(), -// beefy_id.clone(), -// ), -// ) -// }, -// ) -// .collect::>(), -// }, -// staking: StakingConfig { -// validator_count, -// minimum_validator_count: 1, -// stakers: initial_authorities -// .iter() -// .map(|(stash_account, account, _, _, _, _, _)| { -// ( -// stash_account.clone(), -// account.clone(), -// initial_staking, -// StakerStatus::Validator, -// ) -// }) -// .collect(), -// invulnerables: Vec::new(), -// slash_reward_fraction: Perbill::from_percent(10), -// ..Default::default() -// }, -// assets: AssetsConfig { -// endowed_assets: vec![ -// ( -// GetXorAssetId::get(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"XOR".to_vec()), -// AssetName(b"SORA".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// // ( -// // UsdId::get(), -// // assets_and_permissions_account_id.clone(), -// // AssetSymbol(b"USDT".to_vec()), -// // AssetName(b"Tether USD".to_vec()), -// // DEFAULT_BALANCE_PRECISION, -// // Balance::zero(), -// // true, -// // None, -// // None, -// // ), -// ( -// GetValAssetId::get(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"VAL".to_vec()), -// AssetName(b"SORA Validator Token".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// GetPswapAssetId::get(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"PSWAP".to_vec()), -// AssetName(b"Polkaswap".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// DAI.into(), -// eth_bridge_account_id.clone(), -// AssetSymbol(b"DAI".to_vec()), -// AssetName(b"Dai Stablecoin".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// ETH.into(), -// eth_bridge_account_id.clone(), -// AssetSymbol(b"ETH".to_vec()), -// AssetName(b"Ether".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// XST.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"XST".to_vec()), -// AssetName(b"SORA Synthetics".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// TBCD.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"TBCD".to_vec()), -// AssetName(b"SORA TBC Dollar".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// KEN.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"KEN".to_vec()), -// AssetName(b"Kensetsu incentive token".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// KUSD.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"KUSD".to_vec()), -// AssetName(b"Kensetsu Stable Dollar".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// common::AssetId32::from_bytes(hex!( -// "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" -// )) -// .into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"CERES".to_vec()), -// AssetName(b"Ceres".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// common::HERMES_ASSET_ID, -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"HMX".to_vec()), -// AssetName(b"Hermes".to_vec()), -// 18, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// APOLLO_ASSET_ID, -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"APOLLO".to_vec()), -// AssetName(b"Apollo".to_vec()), -// 18, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// XSTUSD, -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"XSTUSD".to_vec()), -// AssetName(b"SORA Synthetics USD".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ], -// }, -// permissions: PermissionsConfig { -// initial_permission_owners: vec![ -// ( -// permissions::MANAGE_DEX, -// Scope::Limited(hash(&0u32)), -// vec![assets_and_permissions_account_id.clone()], -// ), -// ( -// permissions::MINT, -// Scope::Unlimited, -// vec![assets_and_permissions_account_id.clone()], -// ), -// ( -// permissions::BURN, -// Scope::Unlimited, -// vec![assets_and_permissions_account_id.clone()], -// ), -// ], -// initial_permissions: vec![ -// ( -// dex_root_account_id.clone(), -// Scope::Limited(hash(&0u32)), -// vec![permissions::MANAGE_DEX], -// ), -// ( -// dex_root_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::CREATE_FARM], -// ), -// ( -// xor_fee_account_id, -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// iroha_migration_account_id, -// Scope::Limited(hash(&VAL)), -// vec![permissions::MINT], -// ), -// ( -// assets_and_permissions_account_id, -// Scope::Unlimited, -// vec![ -// permissions::MINT, -// permissions::BURN, -// permissions::LOCK_TO_FARM, -// permissions::UNLOCK_FROM_FARM, -// permissions::CLAIM_FROM_FARM, -// ], -// ), -// ( -// pswap_distribution_account_id, -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// mbc_reserves_account_id, -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// mbc_pool_free_reserves_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// xst_pool_permissioned_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// kensetsu_treasury_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ], -// }, -// balances: BalancesConfig { balances }, -// dex_manager: DEXManagerConfig { -// dex_list: vec![ -// ( -// 0, -// DEXInfo { -// base_asset_id: GetBaseAssetId::get(), -// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), -// is_public: true, -// }, -// ), -// ( -// 1, -// DEXInfo { -// base_asset_id: XSTUSD, -// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), -// is_public: true, -// }, -// ), -// ], -// }, -// faucet: faucet_config, -// tokens: TokensConfig { -// balances: tokens_endowed_accounts, -// }, -// trading_pair: TradingPairConfig { -// trading_pairs: initial_collateral_assets -// .iter() -// .cloned() -// .map(|target_asset_id| create_trading_pair(XOR, target_asset_id)) -// .collect(), -// }, -// dexapi: DEXAPIConfig { -// source_types: [ -// LiquiditySourceType::XYKPool, -// LiquiditySourceType::MulticollateralBondingCurvePool, -// LiquiditySourceType::XSTPool, -// LiquiditySourceType::OrderBook, -// ] -// .into(), -// }, -// eth_bridge: EthBridgeConfig { -// authority_account: Some(eth_bridge_authority_account_id.clone()), -// networks: vec![NetworkConfig { -// initial_peers: initial_bridge_peers.iter().cloned().collect(), -// bridge_account_id: eth_bridge_account_id.clone(), -// assets: vec![ -// AssetConfig::Sidechain { -// id: XOR.into(), -// sidechain_id: eth_bridge_params.xor_contract_address, -// owned: true, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// AssetConfig::Sidechain { -// id: VAL.into(), -// sidechain_id: eth_bridge_params.val_contract_address, -// owned: true, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// AssetConfig::Sidechain { -// id: DAI.into(), -// sidechain_id: hex!("34273F3a534dF490437F0deFFcb0549B40fb3Db6").into(), -// owned: false, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// AssetConfig::Sidechain { -// id: ETH.into(), -// sidechain_id: hex!("0000000000000000000000000000000000000000").into(), -// owned: false, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// ], -// bridge_contract_address: eth_bridge_params.bridge_contract_address, -// reserves: vec![ -// (XOR.into(), balance!(350000)), -// (VAL.into(), balance!(33900000)), -// ], -// }], -// xor_master_contract_address: eth_bridge_params.xor_master_contract_address, -// val_master_contract_address: eth_bridge_params.val_master_contract_address, -// }, -// bridge_multisig: BridgeMultisigConfig { -// accounts: once(( -// eth_bridge_account_id.clone(), -// bridge_multisig::MultisigAccount::new(initial_bridge_peers), -// )) -// .collect(), -// }, -// multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { -// distribution_accounts: accounts, -// reserves_account_id: mbc_reserves_tech_account_id, -// reference_asset_id: DAI.into(), -// incentives_account_id: Some(mbc_pool_rewards_account_id), -// initial_collateral_assets, -// free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), -// }, -// pswap_distribution: PswapDistributionConfig { -// subscribed_accounts: Vec::new(), -// burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), -// }, -// iroha_migration: iroha_migration_config, -// rewards: rewards_config, -// council: CouncilConfig { -// members: council_accounts, -// phantom: Default::default(), -// }, -// technical_committee: TechnicalCommitteeConfig { -// members: technical_committee_accounts, -// phantom: Default::default(), -// }, -// democracy: DemocracyConfig::default(), -// elections_phragmen: Default::default(), -// technical_membership: Default::default(), -// im_online: Default::default(), -// xst_pool: XSTPoolConfig { -// reference_asset_id: DAI, -// initial_synthetic_assets: vec![( -// XSTUSD.into(), -// common::SymbolName::usd().into(), -// fixed!(0.00666), -// )], -// }, -// beefy: BeefyConfig { -// authorities: vec![], -// }, -// } -// } - -// #[cfg(all( -// any( -// feature = "main-net-coded", -// feature = "test", -// feature = "runtime-benchmarks", -// feature = "wip", -// feature = "ready-to-test" -// ), -// not(feature = "private-net") -// ))] -// pub fn main_net_coded() -> ChainSpec { -// let mut properties = Properties::new(); -// properties.insert("ss58Format".into(), SS58Prefix::get().into()); -// properties.insert("tokenSymbol".into(), "XOR".into()); -// properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); -// let name = "SORA"; -// let id = "sora-substrate-main-net"; -// // SORA main-net node address. We should have 2 nodes. -// let boot_nodes = vec![ -// MultiaddrWithPeerId::from_str("/dns/v1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWLHZRLHeVPdrXuNNdzpKuPqo6Sm6f9rjVtp5XsEvhXvyG").unwrap(), //Prod value -// MultiaddrWithPeerId::from_str("/dns/v2.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWGiemoYceJ1y5nQR1YNxysjbCH8MbW5ps1uApLfN36VQa").unwrap() //Prod value -// ]; -// ChainSpec::from_genesis( -// name, -// id, -// ChainType::Live, -// move || { -// let eth_bridge_params = EthBridgeParams { -// xor_master_contract_address: hex!("c08edf13be9b9cc584c5da8004ce7e6be63c1316") //Prod value -// .into(), -// xor_contract_address: hex!("40fd72257597aa14c7231a7b1aaa29fce868f677").into(), //Prod value -// val_master_contract_address: hex!("d1eeb2f30016fffd746233ee12c486e7ca8efef1") //Prod value -// .into(), -// val_contract_address: hex!("e88f8313e61a97cec1871ee37fbbe2a8bf3ed1e4").into(), //Prod value -// bridge_contract_address: hex!("1485e9852ac841b52ed44d573036429504f4f602").into(), -// }; - -// // SORA main-net node address. We should have 2 nodes. -// // Currently filled with staging example values -// mainnet_genesis( -// vec![ -// authority_keys_from_public_keys( -// hex!("207ed7bbf6fa0685dca5f24d6773a58ab9c710512d1087db5e47e0fe0f357239"), //Prod value -// hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value -// hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value -// hex!("71e6acfa06696ae5d962a36b88ddf4b0c7d5751a7107a2db1e6947ee2442f573"), //Prod value -// hex!("024f206cdff359d50597b3fd41fd17a1b585c7914037eedbd8e4a0d3f213a8ab33"), // Prod value -// ), -// authority_keys_from_public_keys( -// hex!("94ee828c3455a327dde32f577e27f0b8a4c42b3fb626ee27f0004f7cf02bd332"), //Prod value -// hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value -// hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value -// hex!("d603aea460c53393cfd2e2eb2820bb138738288502488fd6431fa93f7b59642d"), //Prod value -// hex!("02aadf7d2aa0d424cd60d6b384647f48e8d00610a631079fa33c1da0d712a71b1d"), // Prod value -// ), -// ], -// vec![ -// hex!("4cd5a4a244bc53f6f1458757ed0af8680e8faa860deca32976bbd9a951bf6c1c").into(), -// hex!("54d7aa0bba9a5dbb1bb77973f344625df346f6a65840b8534ee22e93fbad767a").into(), -// hex!("e811eac3cf718caa98d77bb479227e8cc512e51e79d6ba1494dd089093f5707f").into(), -// hex!("a648c659a86eeb7cf84ddcedac64f33de6966b8853dd636ba693fce100bd8858").into(), -// hex!("60a17ce8550db4e1358db54bc3791026a285ab88e9c988ad54c3dc282475fe14").into(), -// hex!("de06bf70964d8aff4816e3cfd576d8d8f774663906a6e40d316860a3d4c55b6c").into(), -// hex!("4a4371f63db17fb4f33bec3ce7c8f588e3258c3b268b450647f4870d964dca6f").into(), -// hex!("d8815601fc99d9afa27a09fc5e46ebcc2472edc466fbb5c6fbae7a8566e50318").into(), -// ], -// vec![ -// hex!("a3bcbf3044069ac13c30d662a204d8368c266e2f0e8cf603c7bfb2b7b5daae55").into(), //Prod value -// hex!("297c03e65c2930daa7c6067a2bb853819b61ed49b70de2f3219a2eb6ec0364aa").into(), //Prod value -// ], -// eth_bridge_params, -// vec![ -// hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), -// hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), -// hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), -// hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), -// hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), -// hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), -// ], -// vec![ -// hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), -// hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), -// hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), -// ], -// ) -// }, -// boot_nodes, -// None, -// Some("sora-substrate-1"), -// None, -// Some(properties), -// None, -// ) -// } - -// #[cfg(all( -// any( -// feature = "main-net-coded", -// feature = "test", -// feature = "runtime-benchmarks", -// feature = "wip", -// feature = "ready-to-test" -// ), -// not(feature = "private-net") -// ))] -// fn mainnet_genesis( -// initial_authorities: Vec<( -// AccountId, -// AccountId, -// AuraId, -// BabeId, -// GrandpaId, -// ImOnlineId, -// BeefyId, -// )>, -// additional_validators: Vec, -// initial_bridge_peers: Vec, -// eth_bridge_params: EthBridgeParams, -// council_accounts: Vec, -// technical_committee_accounts: Vec, -// ) -> GenesisConfig { -// // Minimum stake for an active validator -// let initial_staking = balance!(0.2); -// // XOR amount which already exists on Ethereum -// let initial_eth_bridge_xor_amount = balance!(350000); -// // VAL amount which already exists on SORA_1 and Ethereum. Partially can be migrated directly from SORA_1. Not yet decided finally. -// let initial_eth_bridge_val_amount = balance!(33900000); -// // Initial token bonding curve PSWAP rewards according to 10 bln PSWAP total supply. -// let initial_pswap_tbc_rewards = balance!(2500000000); -// // Initial market maker PSWAP rewards. -// let initial_pswap_market_maker_rewards = balance!(364988000); - -// let parliament_investment_fund: AccountId = -// hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); -// let parliament_investment_fund_balance = balance!(33000000); - -// // Initial accounts -// let xor_fee_tech_account_id = TechAccountId::Generic( -// xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), -// xor_fee::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let xor_fee_account_id: AccountId = -// technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) -// .expect("Failed to decode account Id"); - -// // Bridge peers multisignature account -// let eth_bridge_tech_account_id = TechAccountId::Generic( -// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), -// eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// // Wrapping of bridge peers multisignature account -// let eth_bridge_account_id = -// technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) -// .unwrap(); -// // Bridge authority account expected to be managed by voting -// let eth_bridge_authority_tech_account_id = TechAccountId::Generic( -// eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), -// eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), -// ); -// // Wrapper for Bridge authority account expected to be managed by voting -// let eth_bridge_authority_account_id = -// technical::Pallet::::tech_account_id_to_account_id( -// ð_bridge_authority_tech_account_id, -// ) -// .unwrap(); - -// let trustless_eth_bridge_tech_account_id = -// framenode_runtime::GetTrustlessBridgeTechAccountId::get(); -// let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); - -// let trustless_eth_bridge_fees_tech_account_id = -// framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); -// let trustless_eth_bridge_fees_account_id = -// framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); - -// let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); -// let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); - -// let pswap_distribution_tech_account_id = -// framenode_runtime::GetPswapDistributionTechAccountId::get(); -// let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); - -// let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); -// let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); - -// let mbc_pool_free_reserves_tech_account_id = -// framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); -// let mbc_pool_free_reserves_account_id = -// framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); - -// let xst_pool_permissioned_tech_account_id = -// framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); -// let xst_pool_permissioned_account_id = -// framenode_runtime::GetXSTPoolPermissionedAccountId::get(); - -// let market_maker_rewards_tech_account_id = -// framenode_runtime::GetMarketMakerRewardsTechAccountId::get(); -// let market_maker_rewards_account_id = framenode_runtime::GetMarketMakerRewardsAccountId::get(); - -// let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); -// let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); - -// let iroha_migration_tech_account_id = TechAccountId::Generic( -// iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), -// iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( -// &iroha_migration_tech_account_id, -// ) -// .unwrap(); - -// let rewards_tech_account_id = TechAccountId::Generic( -// rewards::TECH_ACCOUNT_PREFIX.to_vec(), -// rewards::TECH_ACCOUNT_MAIN.to_vec(), -// ); -// let rewards_account_id = -// technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) -// .unwrap(); - -// let assets_and_permissions_tech_account_id = -// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); -// let assets_and_permissions_account_id = -// technical::Pallet::::tech_account_id_to_account_id( -// &assets_and_permissions_tech_account_id, -// ) -// .unwrap(); - -// let dex_root_tech_account_id = -// TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); -// let dex_root_account_id = -// technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) -// .unwrap(); - -// #[cfg(feature = "ready-to-test")] // kensetsu -// let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); -// #[cfg(feature = "ready-to-test")] // kensetsu -// let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); - -// let mut tech_accounts = vec![ -// (xor_fee_account_id.clone(), xor_fee_tech_account_id), -// ( -// eth_bridge_account_id.clone(), -// eth_bridge_tech_account_id.clone(), -// ), -// ( -// eth_bridge_authority_account_id.clone(), -// eth_bridge_authority_tech_account_id.clone(), -// ), -// ( -// trustless_eth_bridge_account_id.clone(), -// trustless_eth_bridge_tech_account_id.clone(), -// ), -// ( -// trustless_eth_bridge_fees_account_id.clone(), -// trustless_eth_bridge_fees_tech_account_id.clone(), -// ), -// ( -// pswap_distribution_account_id.clone(), -// pswap_distribution_tech_account_id.clone(), -// ), -// ( -// liquidity_proxy_account_id.clone(), -// liquidity_proxy_tech_account_id.clone(), -// ), -// ( -// mbc_reserves_account_id.clone(), -// mbc_reserves_tech_account_id.clone(), -// ), -// ( -// mbc_pool_rewards_account_id.clone(), -// mbc_pool_rewards_tech_account_id.clone(), -// ), -// ( -// mbc_pool_free_reserves_account_id.clone(), -// mbc_pool_free_reserves_tech_account_id.clone(), -// ), -// ( -// xst_pool_permissioned_account_id.clone(), -// xst_pool_permissioned_tech_account_id.clone(), -// ), -// ( -// iroha_migration_account_id.clone(), -// iroha_migration_tech_account_id.clone(), -// ), -// (rewards_account_id.clone(), rewards_tech_account_id.clone()), -// ( -// assets_and_permissions_account_id.clone(), -// assets_and_permissions_tech_account_id.clone(), -// ), -// ( -// market_maker_rewards_account_id.clone(), -// market_maker_rewards_tech_account_id.clone(), -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// kensetsu_treasury_account_id.clone(), -// kensetsu_treasury_tech_account_id.clone(), -// ), -// ]; -// let accounts = bonding_curve_distribution_accounts(); -// for account in &accounts.accounts() { -// match account { -// DistributionAccount::Account(_) => continue, -// DistributionAccount::TechAccount(account) => { -// tech_accounts.push(( -// Technical::tech_account_id_to_account_id(account).unwrap(), -// account.to_owned(), -// )); -// } -// } -// } -// let rewards_config = RewardsConfig { -// reserves_account_id: rewards_tech_account_id, -// val_owners: Vec::new(), -// pswap_farm_owners: Vec::new(), -// pswap_waifu_owners: Vec::new(), -// umi_nfts: Vec::new(), -// }; -// let initial_collateral_assets = vec![DAI.into(), VAL.into(), PSWAP.into(), ETH.into()]; -// let mut bridge_assets = vec![ -// AssetConfig::Sidechain { -// id: XOR.into(), -// sidechain_id: eth_bridge_params.xor_contract_address, -// owned: true, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// AssetConfig::Sidechain { -// id: VAL.into(), -// sidechain_id: eth_bridge_params.val_contract_address, -// owned: true, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// AssetConfig::Sidechain { -// id: ETH.into(), -// sidechain_id: hex!("0000000000000000000000000000000000000000").into(), -// owned: false, -// precision: DEFAULT_BALANCE_PRECISION, -// }, -// ]; -// let mut endowed_assets = vec![ -// ( -// GetXorAssetId::get(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"XOR".to_vec()), -// AssetName(b"SORA".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// GetValAssetId::get(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"VAL".to_vec()), -// AssetName(b"SORA Validator Token".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// GetPswapAssetId::get(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"PSWAP".to_vec()), -// AssetName(b"Polkaswap".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// ETH.into(), -// eth_bridge_account_id.clone(), -// AssetSymbol(b"ETH".to_vec()), -// AssetName(b"Ether".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// XST.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"XST".to_vec()), -// AssetName(b"SORA Synthetics".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// TBCD.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"TBCD".to_vec()), -// AssetName(b"SORA TBC Dollar".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// KEN.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"KEN".to_vec()), -// AssetName(b"Kensetsu incentive token".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// KUSD.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"KUSD".to_vec()), -// AssetName(b"Kensetsu Stable Dollar".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// common::AssetId32::from_bytes(hex!( -// "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" -// )) -// .into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"CERES".to_vec()), -// AssetName(b"Ceres".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// APOLLO_ASSET_ID.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"APOLLO".to_vec()), -// AssetName(b"Apollo".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ( -// XSTUSD.into(), -// assets_and_permissions_account_id.clone(), -// AssetSymbol(b"XSTUSD".to_vec()), -// AssetName(b"SORA Synthetics USD".to_vec()), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ), -// ]; -// let bridge_assets_data: Vec> = Vec::new(); -// bridge_assets.extend(bridge_assets_data.iter().map(|x| { -// AssetConfig::sidechain( -// x.asset_id, -// x.sidechain_asset_id.into(), -// x.sidechain_precision, -// ) -// })); -// endowed_assets.extend(bridge_assets_data.iter().map(|x| { -// ( -// x.asset_id, -// eth_bridge_account_id.clone(), -// x.symbol.clone(), -// x.name.clone(), -// DEFAULT_BALANCE_PRECISION, -// Balance::zero(), -// true, -// None, -// None, -// ) -// })); -// GenesisConfig { -// evm_fungible_app: Default::default(), -// parachain_bridge_app: Default::default(), -// substrate_bridge_outbound_channel: Default::default(), - -// #[cfg(feature = "wip")] // Trustless substrate bridge -// beefy_light_client: Default::default(), - -// #[cfg(feature = "wip")] // EVM bridge -// bridge_outbound_channel: BridgeOutboundChannelConfig { -// interval: 10, -// }, - -// system: SystemConfig { -// code: WASM_BINARY.unwrap_or_default().to_vec(), -// }, -// technical: TechnicalConfig { -// register_tech_accounts: tech_accounts, -// }, -// babe: BabeConfig { -// authorities: vec![], -// epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), -// }, -// grandpa: GrandpaConfig { -// authorities: vec![], -// }, -// session: SessionConfig { -// keys: initial_authorities -// .iter() -// .map( -// |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { -// ( -// account.clone(), -// account.clone(), -// session_keys( -// grandpa_id.clone(), -// babe_id.clone(), -// im_online_id.clone(), -// beefy_id.clone(), -// ), -// ) -// }, -// ) -// .collect::>(), -// }, -// staking: StakingConfig { -// validator_count: 69, -// minimum_validator_count: 1, -// stakers: initial_authorities -// .iter() -// .map(|(stash_account, account, _, _, _, _, _)| { -// ( -// stash_account.clone(), -// account.clone(), -// initial_staking, -// StakerStatus::Validator, -// ) -// }) -// .collect(), -// invulnerables: initial_authorities -// .iter() -// .map(|(stash_account, _, _, _, _, _, _)| stash_account.clone()) -// .collect(), -// slash_reward_fraction: Perbill::from_percent(10), -// ..Default::default() -// }, -// assets: AssetsConfig { -// endowed_assets: endowed_assets, -// }, -// permissions: PermissionsConfig { -// initial_permission_owners: vec![ -// ( -// permissions::MANAGE_DEX, -// Scope::Limited(hash(&0u32)), -// vec![assets_and_permissions_account_id.clone()], -// ), -// ( -// permissions::MINT, -// Scope::Unlimited, -// vec![assets_and_permissions_account_id.clone()], -// ), -// ( -// permissions::BURN, -// Scope::Unlimited, -// vec![assets_and_permissions_account_id.clone()], -// ), -// ], -// initial_permissions: vec![ -// ( -// dex_root_account_id.clone(), -// Scope::Limited(hash(&0u32)), -// vec![permissions::MANAGE_DEX], -// ), -// ( -// dex_root_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::CREATE_FARM], -// ), -// ( -// xor_fee_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// iroha_migration_account_id.clone(), -// Scope::Limited(hash(&VAL)), -// vec![permissions::MINT], -// ), -// ( -// assets_and_permissions_account_id.clone(), -// Scope::Unlimited, -// vec![ -// permissions::MINT, -// permissions::BURN, -// permissions::LOCK_TO_FARM, -// permissions::UNLOCK_FROM_FARM, -// permissions::CLAIM_FROM_FARM, -// ], -// ), -// ( -// pswap_distribution_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// mbc_reserves_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// mbc_pool_free_reserves_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ( -// xst_pool_permissioned_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// #[cfg(feature = "ready-to-test")] // kensetsu -// ( -// kensetsu_treasury_account_id.clone(), -// Scope::Unlimited, -// vec![permissions::MINT, permissions::BURN], -// ), -// ], -// }, -// balances: BalancesConfig { -// balances: vec![ -// (eth_bridge_account_id.clone(), 0), -// (trustless_eth_bridge_account_id.clone(), 0), -// (trustless_eth_bridge_fees_account_id.clone(), 0), -// (assets_and_permissions_account_id.clone(), 0), -// (xor_fee_account_id.clone(), 0), -// (dex_root_account_id.clone(), 0), -// (iroha_migration_account_id.clone(), 0), -// (pswap_distribution_account_id.clone(), 0), -// (mbc_reserves_account_id.clone(), 0), -// (mbc_pool_rewards_account_id.clone(), 0), -// (mbc_pool_free_reserves_account_id.clone(), 0), -// (market_maker_rewards_account_id.clone(), 0), -// (xst_pool_permissioned_account_id.clone(), 0), -// #[cfg(feature = "ready-to-test")] // kensetsu -// (kensetsu_treasury_account_id.clone(), 0), -// ] -// .into_iter() -// .chain( -// initial_authorities -// .iter() -// .cloned() -// .map(|(k1, ..)| (k1, initial_staking)), -// ) -// .chain( -// initial_authorities -// .iter() -// .cloned() -// .map(|(_, k2, ..)| (k2, initial_staking)), -// ) -// .chain( -// additional_validators -// .iter() -// .cloned() -// .map(|account_id| (account_id, initial_staking)), -// ) -// .collect(), -// }, -// dex_manager: DEXManagerConfig { -// dex_list: vec![ -// ( -// 0, -// DEXInfo { -// base_asset_id: GetBaseAssetId::get(), -// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), -// is_public: true, -// }, -// ), -// ( -// 1, -// DEXInfo { -// base_asset_id: XSTUSD.into(), -// synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), -// is_public: true, -// }, -// ), -// ], -// }, -// tokens: TokensConfig { -// balances: vec![ -// ( -// rewards_account_id.clone(), -// GetValAssetId::get(), -// calculate_reserves(rewards_config.val_owners.iter().map(|(_, b)| b.total)), -// ), -// ( -// rewards_account_id, -// GetPswapAssetId::get(), -// calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) -// + calculate_reserves( -// rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b), -// ), -// ), -// ( -// mbc_pool_rewards_account_id.clone(), -// PSWAP, -// initial_pswap_tbc_rewards, -// ), -// ( -// parliament_investment_fund, -// VAL, -// parliament_investment_fund_balance, -// ), -// ( -// market_maker_rewards_account_id.clone(), -// PSWAP, -// initial_pswap_market_maker_rewards, -// ), -// ], -// }, -// trading_pair: TradingPairConfig { -// trading_pairs: initial_collateral_assets -// .iter() -// .cloned() -// .map(|target_asset_id| create_trading_pair(XOR.into(), target_asset_id)) -// .collect(), -// }, -// dexapi: DEXAPIConfig { -// source_types: [ -// LiquiditySourceType::XYKPool, -// LiquiditySourceType::MulticollateralBondingCurvePool, -// LiquiditySourceType::OrderBook, -// ] -// .into(), -// }, -// eth_bridge: EthBridgeConfig { -// authority_account: Some(eth_bridge_authority_account_id.clone()), -// networks: vec![NetworkConfig { -// initial_peers: initial_bridge_peers.iter().cloned().collect(), -// bridge_account_id: eth_bridge_account_id.clone(), -// assets: bridge_assets, -// bridge_contract_address: eth_bridge_params.bridge_contract_address, -// reserves: vec![ -// (XOR.into(), initial_eth_bridge_xor_amount), -// (VAL.into(), initial_eth_bridge_val_amount), -// ], -// }], -// xor_master_contract_address: eth_bridge_params.xor_master_contract_address, -// val_master_contract_address: eth_bridge_params.val_master_contract_address, -// }, -// bridge_multisig: BridgeMultisigConfig { -// accounts: once(( -// eth_bridge_account_id.clone(), -// bridge_multisig::MultisigAccount::new(initial_bridge_peers), -// )) -// .collect(), -// }, -// multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { -// distribution_accounts: accounts, -// reserves_account_id: mbc_reserves_tech_account_id, -// reference_asset_id: DAI.into(), -// incentives_account_id: Some(mbc_pool_rewards_account_id), -// initial_collateral_assets, -// free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), -// }, -// pswap_distribution: PswapDistributionConfig { -// subscribed_accounts: Vec::new(), -// burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), -// }, -// iroha_migration: IrohaMigrationConfig { -// iroha_accounts: Vec::new(), -// account_id: Some(iroha_migration_account_id), -// }, -// rewards: rewards_config, -// council: CouncilConfig { -// members: council_accounts, -// phantom: Default::default(), -// }, -// technical_committee: TechnicalCommitteeConfig { -// members: technical_committee_accounts, -// phantom: Default::default(), -// }, -// democracy: DemocracyConfig::default(), -// elections_phragmen: Default::default(), -// technical_membership: Default::default(), -// im_online: Default::default(), -// xst_pool: XSTPoolConfig { -// reference_asset_id: DAI, -// initial_synthetic_assets: vec![( -// XSTUSD, -// common::SymbolName::usd().into(), -// fixed!(0.00666), -// )], -// }, -// beefy: BeefyConfig { -// authorities: vec![], -// }, -// } -// } - -// fn create_trading_pair( -// base_asset_id: AssetId, -// target_asset_id: AssetId, -// ) -> (u32, common::TradingPair) { -// ( -// DEXId::Polkaswap.into(), -// common::TradingPair { -// base_asset_id, -// target_asset_id, -// }, -// ) -// } - -// /// Creates TestExternalities -// #[cfg(all(feature = "test", not(feature = "private-net")))] -// pub fn ext() -> sp_io::TestExternalities { -// let storage = main_net_coded().build_storage().unwrap(); -// sp_io::TestExternalities::new(storage) -// } - -// /// Creates TestExternalities for `private-net` -// #[cfg(all(feature = "test", feature = "private-net"))] -// pub fn ext() -> sp_io::TestExternalities { -// let storage = dev_net_coded().build_storage().unwrap(); -// sp_io::TestExternalities::new(storage) -// } - -// #[cfg(test)] -// mod tests { -// use hex_literal::hex; - -// use common::eth::EthAddress; -// use common::{balance, Balance}; - -// #[test] -// fn calculate_reserves() { -// let accounts: Vec<(EthAddress, Balance)> = vec![ -// ( -// hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), -// balance!(100), -// ), -// ( -// hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), -// balance!(23.4000000), -// ), -// ( -// hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), -// balance!(0.05678), -// ), -// ]; -// assert_eq!( -// super::calculate_reserves(accounts.iter().map(|(_, b)| *b)), -// balance!(123.45678) -// ); -// } -// } +// This file is part of the SORA network and Polkaswap app. + +// Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. +// SPDX-License-Identifier: BSD-4-Clause + +// Redistribution and use in source and binary forms, with or without modification, +// are permitted provided that the following conditions are met: + +// Redistributions of source code must retain the above copyright notice, this list +// of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, this +// list of conditions and the following disclaimer in the documentation and/or other +// materials provided with the distribution. +// +// All advertising materials mentioning features or use of this software must display +// the following acknowledgement: This product includes software developed by Polka Biome +// Ltd., SORA, and Polkaswap. +// +// Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used +// to endorse or promote products derived from this software without specific prior written permission. + +// THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, +// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY +// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +// Tips: +// * not(feature = "private-net") means "main net", however, given that "main net" is the default +// option and Cargo doesn't provide any way to disable "main net" if any "private net" is +// specified, we have to rely on such constructions. + +#![allow(unused_imports, unused_macros, dead_code)] +// TODO #167: fix clippy warnings +#![allow(clippy::all)] + +use common::prelude::{Balance, DEXInfo, FixedWrapper}; +use common::{ + balance, fixed, hash, our_include, our_include_bytes, vec_push, BalancePrecision, DEXId, Fixed, + TechPurpose, APOLLO_ASSET_ID, DAI, DEFAULT_BALANCE_PRECISION, ETH, HERMES_ASSET_ID, KEN, KUSD, + PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, +}; +use frame_support::sp_runtime::Percent; +use framenode_runtime::eth_bridge::{AssetConfig, BridgeAssetData, NetworkConfig}; +use framenode_runtime::multicollateral_bonding_curve_pool::{ + DistributionAccount, DistributionAccountData, DistributionAccounts, +}; +use framenode_runtime::opaque::SessionKeys; +#[cfg(feature = "wip")] +use framenode_runtime::BridgeOutboundChannelConfig; +use framenode_runtime::{ + assets, eth_bridge, frame_system, AccountId, AssetId, AssetName, AssetSymbol, AssetsConfig, + BabeConfig, BalancesConfig, BeefyConfig, BeefyId, BridgeMultisigConfig, CouncilConfig, + DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GenesisConfig, + GetBaseAssetId, GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, + GetValAssetId, GetXorAssetId, GrandpaConfig, ImOnlineId, IrohaMigrationConfig, + LiquiditySourceType, MulticollateralBondingCurvePoolConfig, PermissionsConfig, + PswapDistributionConfig, RewardsConfig, Runtime, SS58Prefix, SessionConfig, Signature, + StakerStatus, StakingConfig, SystemConfig, TechAccountId, TechnicalCommitteeConfig, + TechnicalConfig, TokensConfig, TradingPair, TradingPairConfig, XSTPoolConfig, WASM_BINARY, +}; + +use hex_literal::hex; +use permissions::Scope; +use sc_consensus_grandpa::AuthorityId as GrandpaId; +use sc_network_common::config::MultiaddrWithPeerId; +use sc_service::{ChainType, Properties}; +use sp_consensus_aura::sr25519::AuthorityId as AuraId; +use sp_consensus_babe::AuthorityId as BabeId; +use sp_core::crypto::ByteArray; +use sp_core::{Public, H160, H256, U256}; +use sp_runtime::sp_std::iter::once; +use sp_runtime::traits::Zero; +use sp_runtime::{BuildStorage, Perbill}; +use std::str::FromStr; + +use codec::Encode; +use framenode_runtime::assets::{AssetRecord, AssetRecordArg}; +#[cfg(feature = "private-net")] +use framenode_runtime::{FaucetConfig, SudoConfig}; +use sp_core::{sr25519, Pair}; +use sp_runtime::traits::{IdentifyAccount, Verify}; +use std::borrow::Cow; + +/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. +pub type ChainSpec = sc_service::GenericChainSpec; +type Technical = technical::Pallet; +type AccountPublic = ::Signer; + +/// Helper function to generate a crypto pair from seed +fn get_from_seed(seed: &str) -> ::Public { + TPublic::Pair::from_string(&format!("//{}", seed), None) + .expect("static values are valid; qed") + .public() +} + +/// Helper function to generate an account ID from seed +fn get_account_id_from_seed(seed: &str) -> AccountId +where + AccountPublic: From<::Public>, +{ + AccountPublic::from(get_from_seed::(seed)).into_account() +} + +/// Generate an Babe authority key. +pub fn authority_keys_from_seed( + seed: &str, +) -> ( + AccountId, + AccountId, + AuraId, + BabeId, + GrandpaId, + ImOnlineId, + BeefyId, +) { + ( + get_account_id_from_seed::(&format!("{}//stash", seed)), + get_account_id_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + get_from_seed::(seed), + ) +} + +pub fn authority_keys_from_public_keys( + stash_address: [u8; 32], + controller_address: [u8; 32], + sr25519_key: [u8; 32], + ed25519_key: [u8; 32], + ecdsa_key: [u8; 33], +) -> ( + AccountId, + AccountId, + AuraId, + BabeId, + GrandpaId, + ImOnlineId, + BeefyId, +) { + ( + stash_address.into(), + controller_address.into(), + AuraId::from_slice(&sr25519_key).unwrap(), + BabeId::from_slice(&sr25519_key).unwrap(), + GrandpaId::from_slice(&ed25519_key).unwrap(), + ImOnlineId::from_slice(&sr25519_key).unwrap(), + BeefyId::from_slice(&ecdsa_key).unwrap(), + ) +} + +fn session_keys( + grandpa: GrandpaId, + babe: BabeId, + im_online: ImOnlineId, + beefy: BeefyId, +) -> SessionKeys { + SessionKeys { + babe, + grandpa, + im_online, + beefy, + } +} + +struct EthBridgeParams { + xor_master_contract_address: H160, + xor_contract_address: H160, + val_master_contract_address: H160, + val_contract_address: H160, + bridge_contract_address: H160, +} + +fn calculate_reserves(accounts: impl Iterator) -> Balance { + accounts.fold(0, |sum, balance| sum + balance) +} + +pub fn staging_net() -> Result { + ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_staging.json")[..]) +} + +pub fn bridge_staging_net() -> Result { + ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_bridge_staging.json")[..]) +} + +pub fn test_net() -> Result { + ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_test.json")[..]) +} + +pub fn main_net() -> Result { + ChainSpec::from_json_bytes(&our_include_bytes!("./bytes/chain_spec_main.json")[..]) +} + +#[cfg(feature = "private-net")] +pub fn predev_net_coded() -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + ChainSpec::from_genesis( + "SORA-predev Testnet", + "sora-substrate-predev", + ChainType::Development, + move || { + testnet_genesis( + true, + hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), + vec![ + authority_keys_from_public_keys( + hex!("28d3bdf388ac911afa8e6c4394eafaa42d1cdf438ed1128086b1f7d666c5335e"), + hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), + hex!("b6baf3368395d73159e92579a12adfa7053814419c0ed5a7ef175d0c87e51401"), + hex!("9fcd1a31681bff3ca3ac195c11ba8fb0fb6bce3eb61c7cfecf4e4273ea5970af"), + hex!("02b702b6684a4d93a2c1044e7f8c1e5b42fd4ae24fc2ea571347b45665898de590"), + ), + authority_keys_from_public_keys( + hex!("e0be466ddaabaf864b9dd54905f5e0d410c23265fe4e7925ce2a675f371b8274"), + hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), + hex!("facd0165cc40240b8ff234900a4debb632435276b2309b27db83dd9ef67a3d6c"), + hex!("5749c1e8b7a87bd114c3b151eb899feccedbcf6c439c1d7dda0fc29c7179d51c"), + hex!("03b91512a19d2433c0d4c51c4c31f56e553c5ebfb30c82a0c3573e96377f7e6baf"), + ), + authority_keys_from_public_keys( + hex!("c0b48c43b9911da9cb1f2a1ea78ab88c34fe6d27e642f141389986b7276c442b"), + hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), + hex!("320c24a123419d41b9f07bb1bfa4a15198112851c10c7497c7895284d7ae945f"), + hex!("244266d4ced385b782e35c2e5b45db1d5988e5f8abf9b7085d8a52b9b3f642a4"), + hex!("024a5b7eefee22145c704a71b303d96532ec28736a0e841fd498a73ab325c48c8e"), + ), + ], + vec![ + hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), + hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), + hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), + hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), + hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), + hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), + hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), + hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), + hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), + hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), + hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), + ], + vec![ + hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), + hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), + hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), + ], + EthBridgeParams { + xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") + .into(), + xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), + val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") + .into(), + val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), + bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") + .into(), + }, + vec![ + hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), + hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), + hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), + hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), + hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), + hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), + ], + vec![ + hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), + hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), + hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), + ], + 3, + ) + }, + vec![], + None, + Some("sora-substrate-predev"), + None, + Some(properties), + None, + ) +} + +#[cfg(feature = "private-net")] +pub fn dev_net_coded() -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + ChainSpec::from_genesis( + "SORA-dev Testnet", + "sora-substrate-dev", + ChainType::Development, + move || { + testnet_genesis( + true, + hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), + vec![ + authority_keys_from_public_keys( + hex!("349b061381fe1e47b5dd18061f7c7f76801b41dc9c6afe0b2c4c65e0171c8b35"), + hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), + hex!("9c3c8836f6def559a11751c18541b9a2c81bcf9bd6ac28d978b1adfacc354456"), + hex!("0ced48eb19e0e2809a769c35a64264c3dd39f3aa0ff132aa7caaa6730ad31f57"), + hex!("032001ac7aab973536274d6903d5108f2a18114f6b8eaf63a94b10eda40831b8e9"), + ), + authority_keys_from_public_keys( + hex!("5e7df6d78fb252ecfe5e2c516a145671b9c64ee7b733a3c128af27d76e2fe74c"), + hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), + hex!("02bbb81a8132f9eb78ac1f2a9606055e58540f220fa1075bb3ba3d30add09e3f"), + hex!("c75a2ed4012a61cf05ec6eecc4b83faedcf6a781111cc61f8e9a23ad2810bb5e"), + hex!("032773c06f08f6a0bcb6d1e2487c4ab60ea9e6e90227f686115cc75de06149aca0"), + ), + authority_keys_from_public_keys( + hex!("baa98b9fde4fc1c983998798536a63ab70b3c365ce3870dd84a230cb19093004"), + hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), + hex!("0ea8eafc441aa319aeaa23a74ed588f0ccd17eb3b41d12a1d8283b5f79c7b15d"), + hex!("4be870c72a1ac412a5c239d701b5dd62a9e030899943faad55b48eb2c7c9dc2a"), + hex!("031b4b72dc354abf2efa3ba17d27907a0ef73de252719e8b5953f568a86eca9a18"), + ), + // authority_keys_from_public_keys( + // hex!("4eb0f6225cef84a0285a54916625846e50d86526bdece448894af0ac87792956"), + // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), + // hex!("18b2c456464825673c63aa7866ee479b52d1a7a4bab7999408bd3568d5a02b64"), + // hex!("8061f3a75ef96a0d840d84cec5d42bcad43f882efdcf93b30a60c7bac6c894c1"), + // hex!("03cafa6f45bfad692c66ff5b8b3f24f826802f4dd863b31821fc05832cad3e8389"), + // ), + // authority_keys_from_public_keys( + // hex!("22a886a8f0a0ddd031518a2bc567585b0046d02d7aacbdb058857b42da40444b"), + // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), + // hex!("3a41a438f76d6a68b17fbd34e8a8195e5e2f74419db3bf7d914627803409ce35"), + // hex!("86320cd87cbe2881cdf3515d3a72d833099d61b4c38266437366e3b143f8835b"), + // hex!("0249197248076adbd30b1e162c6ec6517ed552b1f63f1f102efa6fc57c892d4f03"), + // ), + // authority_keys_from_public_keys( + // hex!("20a0225a3cafe2d5e9813025e3f1a2d9a3e50f44528ecc3bed01c13466e33316"), + // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), + // hex!("c25eb643fd3a981a223046f32d1977644a17bb856a228d755868c1bb89d95b3d"), + // hex!("15c652e559703197d10997d04df0081918314b77b8475d74002adaca0f3b634d"), + // hex!("026b0e88acde2c1e83b22c1638bd41d4c70464e6b9dc2434a731adc97f3d16c677"), + // ), + ], + vec![ + hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), + hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), + hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), + hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), + hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), + hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), + hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), + hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), + hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), + hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), + hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), + ], + vec![ + hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), + hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), + hex!("aa79aa80b94b1cfba69c4a7d60eeb7b469e6411d1f686cc61de8adc8b1b76a69").into(), + ], + EthBridgeParams { + xor_master_contract_address: hex!("7F62CCd5566c64cfb785f73B3c19653D93e5414c") + .into(), + xor_contract_address: hex!("2F4e425760546600B73D7bD66C80d45c77D1135b").into(), + val_master_contract_address: hex!("e2C58207Cc6dF5565044eccffdf7aeb2DAe89647") + .into(), + val_contract_address: hex!("46d22744E171969f9D32C75E4c192aF79e3bb70E").into(), + bridge_contract_address: hex!("401c6A23a44f72151D90878DF0aa86E77fBde0e2") + .into(), + }, + vec![ + hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), + hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), + hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), + hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), + hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), + hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), + ], + vec![ + hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), + hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), + hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), + ], + 3, + ) + }, + vec![], + None, + Some("sora-substrate-dev"), + None, + Some(properties), + None, + ) +} + +#[cfg(feature = "private-net")] +pub fn bridge_dev_net_coded() -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + ChainSpec::from_genesis( + "SORA-dev Testnet", + "sora-substrate-dev", + ChainType::Live, + move || { + testnet_genesis( + true, + hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), + vec![ + authority_keys_from_public_keys( + // scheme: sr25519, seed: //framenode-1//stash + hex!("38c2970a9988caff722c140726f53ea0b0f654254dbf3f472b1ac5efd3aace35"), + // scheme: sr25519, seed: //framenode-1 + hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), + // scheme: sr25519, seed: //framenode-1 + hex!("78ed15d8b96d53576e5e9f50b7263566c3aa8b7c9a22648e06f525411a538c08"), + // scheme: ed25519, seed: //framenode-1 + hex!("4e84eeed48dd52d45f599a549edecf2a135f8045de32c6a801086b1e1fb251c9"), + // scheme: ecdsa, seed: //framenode-1 + hex!("03c8833ad1ed110cdfee2ef838a0fc2b830a8aa821711aa4ab5b679e2624173cbb"), + ), + authority_keys_from_public_keys( + // scheme: sr25519, seed: //framenode-2//stash + hex!("36c75c50a04c792f7074453bc3080c4166a60a81361cc2d5e436a0a83f3cf643"), + // scheme: sr25519, seed: //framenode-2 + hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), + // scheme: sr25519, seed: //framenode-2 + hex!("849695acc5fc166e8e3327de0d6c75e75d32509d1ad8495e12423e3efc73500b"), + // scheme: ed25519, seed: //framenode-2 + hex!("2d67d9d22097d2f6f74a4076bece0b97ee3809916b0a6e234a3e27b5fabaa84f"), + // scheme: ecdsa, seed: //framenode-2 + hex!("03629d2d9aaf8c09637b2cd1696d6d65bb632e1fe2489e45e0f3538176c3c58300"), + ), + ], + vec![ + hex!("f6d0e31012ebeef4b9cc4cddd0593a8579d226dc17ce725139225e81683f0143").into(), + hex!("328be9c672c4fff8ae9065ebdf116a47e1121933616a1d1749ff9bb3356fd542").into(), + hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), + hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), + hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), + hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), + hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), + hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), + hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), + hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), + hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), + hex!("92c4ff71ae7492a1e6fef5d80546ea16307c560ac1063ffaa5e0e084df1e2b7e").into(), + ], + vec![ + hex!("da96bc5065020df6d5ccc9659ae3007ddc04a6fd7f52cabe76e87b6219026b65").into(), + hex!("f57efdde92d350999cb41d1f2b21255d9ba7ae70cf03538ddee42a38f48a5436").into(), + ], + EthBridgeParams { + xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") + .into(), + xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), + val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") + .into(), + val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), + bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") + .into(), + }, + vec![ + hex!("a63e5398515c405aba87c13b56d344f1a7d32d2226062fac396d58154d45380a").into(), + hex!("62f53d93e5ab9b26ccb7b9625abfe76a3d5fb3b732c039f3322bfe3f35503401").into(), + hex!("c84c2c4395322b7935bf9eba08a392e5c485b0a984b5c38c8174a89c6b24750c").into(), + hex!("8af75f561b714320205491d7571cf6d3df650143e2862b36c7b823d1de0bd244").into(), + hex!("a492d53531934d57acc5c2a852a724272b0a0d6571cc5b0e2433bebbb334e13c").into(), + hex!("5c6e091530ae1891eb33a9abc24727239b84bf8e458306b7cd4740662343b84c").into(), + ], + vec![ + hex!("7653840f435e7412fbaf0eb6331206b325de62e036435458a16155c43393f504").into(), + hex!("e813415062749d4bbea338d8a69b9cc5be02af0fdf8c96ba2d50733aaf32cb50").into(), + hex!("e08d567d824152adcf53b8dca949756be895b6b8bebb5f9fa55959e9473e0c7f").into(), + ], + 2, + ) + }, + vec![], + None, + Some("sora-substrate-dev"), + None, + Some(properties), + None, + ) +} + +#[cfg(feature = "private-net")] +pub fn bridge_staging_net_coded() -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + let protocol = "sora-substrate-bridge-staging"; + ChainSpec::from_genesis( + "SORA-bridge Testnet", + "sora-substrate-bridge", + ChainType::Live, + move || { + let eth_bridge_params = EthBridgeParams { + xor_master_contract_address: Default::default(), + xor_contract_address: Default::default(), + val_master_contract_address: Default::default(), + val_contract_address: Default::default(), + bridge_contract_address: Default::default(), + }; + testnet_genesis( + false, + hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), + vec![ + authority_keys_from_public_keys( + hex!("ee806e5ed183345d5986ea31d93aa1afc6cbe48f128ac864e158d51f5ccda538"), + hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), + hex!("3cac6a8a5a4045e9bcd30f19b7d1ab1649ca3092c3cc0b36f64011d3dc610552"), + hex!("55b2663327d8143b45a666c904c1a6621ae2d77604cabfcd3431fd0b975de480"), + hex!("034405a66d5b3aa47946ee49ad23c8ef1dfabcbbc99ea30d6abe8cebe16d3561ef"), + ), + authority_keys_from_public_keys( + hex!("628a21efe6c21f41d6e04b313ac779a74870dbba27ab404d921d2f09467e5258"), + hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), + hex!("b4720fbf3ef701532b238f3335864d4fe185f2a82769ab2764b50165a112b057"), + hex!("311646bc40d9b5ec724ff2deebeba9ff0d1866dd0d8f2db371dd2e5fc7ecf462"), + hex!("03ec5ede1a45c754093a878d87ff30b28f6e9594a8b0e03e0a8b3ec6db7846e6a6"), + ), + authority_keys_from_public_keys( + hex!("ce36d1ac5e9d8da1f2e0a4f8a26b102394dd35c352e2b960f56168cc10478c3c"), + hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), + hex!("8e296982f9f4e67c07e0cfe990d67416773aec6c95ca708c95e852938a0d2877"), + hex!("9448e9b714635de2158d1d7e2413c6f844793db970e76b3af40622325355e510"), + hex!("031d86e31c78bcc4350e781961216d44f36550d8c8826a3805bb9915a79386018d"), + ), + // authority_keys_from_public_keys( + // hex!("4e7ffd5823ea6ee8c0b4d69e9104cf375cbe63f0d13175d31a02fbed76393448"), + // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), + // hex!("0aa79e7b16d34c4cc2dc18f1d1018a4413f3d55e4543786121022700e983d972"), + // hex!("9ad0bfa8282b9b1b324ee394e5335e0e98c3722653f45f61535d65b9514c6f7c"), + // hex!("0268ec544e1cf933f2ac54de6362930ee0c7a571ad87809cd72b4ce93dcf14f8bb"), + // ), + // authority_keys_from_public_keys( + // hex!("b4ea29407e2dc0dfde55e7e823db250f3165a02d794c3672bd32c64278cbc13f"), + // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), + // hex!("4a76a3e2c1fb07860c48099c1bbcb94984ff414988e96d26f1594a74a2e10f3e"), + // hex!("f694905813600d496d05bd9d12487498e7ed4716ee65a60f667e5535bfe43c36"), + // hex!("03e5181b1c9acec5aed73e8c14e3104792c722caadcfcb9a813edaf7fe0613e86d"), + // ), + // authority_keys_from_public_keys( + // hex!("284b92d3cfa7bfdffb5a905c8f9e2bdc38315a9f45f13267ab285632684ab709"), + // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), + // hex!("12be644497c1bb9f58d4f8bdb85b43e5b5e9762b7e2d3b9a87ed99be523b5c23"), + // hex!("99bac188e04592d31059c612c386106393d2c2103747c8da3badeee0fc130627"), + // hex!("03367a1882741e54b7ddf082f1a23173a92f38f66897000b7689d6552e5397e4d2"), + // ), + ], + vec![], + vec![], + eth_bridge_params, + vec![ + hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), + hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), + hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), + hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), + hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), + hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), + ], + vec![ + hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), + hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), + hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), + ], + 69, + ) + }, + vec![], + None, + Some(protocol), + None, + Some(properties), + None, + ) +} + +/// # Parameters +/// * `test` - indicates if the chain spec is to be used in test environment +#[cfg(feature = "private-net")] +pub fn staging_net_coded(test: bool) -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + let (name, id, boot_nodes) = if test { + ( + "SORA-test", + "sora-substrate-test", + vec![ + MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWSG3eJ9LXNyhzUzkzqjhT3Jv35vak9zLTHTsoTiqU4mxW").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s1.tst.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWCfkMa5ATWfa8Edn3Lx71tfZwTU8X532Qx8jbtBnyvXyD").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWCKC4hDHz8AxnacYg7CmeDPJL8MuJxGYHUBFZ4BjZYcCy").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s2.tst.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWRo4T2RxgLs1ej61g788kbYR3obU4fHu4GEfeQNEPGD2Y").unwrap(), + ] + ) + } else { + ( + "SORA-staging Testnet", + "sora-substrate-staging", + vec![ + MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWQf9AXopgwHsfKCweXtuePnWKieythwNa7AFwNfyemcjX").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s1.stg1.sora2.soramitsu.co.jp/tcp/30334/p2p/12D3KooWGXhnvgvUwbU831p19sy2gEdPbusN1B8P8ShuKi4JfLDH").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31333/p2p/12D3KooWBwZmMTKQ37dEKAR3oxcuH9YFpzUdGRTbQcKgXLEmyhob").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s2.stg1.sora2.soramitsu.co.jp/tcp/31334/p2p/12D3KooWExRdWV2CAF8oEyMYiXc9NABu8mmYLdXLtTNjjt1WjqAC").unwrap(), + MultiaddrWithPeerId::from_str("/dns/s3.stg1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWCN5ZRsK9FekLLD7vSkyoh99bXZ9uXgLpd7zEVWmD5ySH").unwrap(), + ] + ) + }; + let protocol = if test { + "sora-substrate-test" + } else { + "sora-substrate-staging" + }; + ChainSpec::from_genesis( + name, + id, + ChainType::Live, + move || { + let eth_bridge_params = if test { + EthBridgeParams { + xor_master_contract_address: hex!("09F9c9165A00f9FF3d69cc292848E93f39C50a42") + .into(), + xor_contract_address: hex!("9826Ecfcd937C4518E1C42B3703c7CB908B61197").into(), + val_master_contract_address: hex!("517e5DfF04CAD3c81171Dec46Ef9407fbf31b2C5") + .into(), + val_contract_address: hex!("88eE18dEfC56D78417B0d331e794EF75799cA6D1").into(), + bridge_contract_address: hex!("10Ce25aE3B05c9Ba860D5aD3544ca62565E7A184") + .into(), + } + } else { + EthBridgeParams { + xor_master_contract_address: hex!("cceb41100aa2a9a6f144d7c1f876070b810bf7ae") + .into(), + xor_contract_address: hex!("dc1c024535118f6de6d999c23fc31e33bc2cafc9").into(), + val_master_contract_address: hex!("d7f81ed173cb3af28f983670164df30851fba678") + .into(), + val_contract_address: hex!("725c6b8cd3621eba4e0ccc40d532e7025b925a65").into(), + bridge_contract_address: hex!("077c2ec37d28709ce01ae740209bfbe185bd1eaa") + .into(), + } + }; + testnet_genesis( + false, + hex!("2c5f3fd607721d5dd9fdf26d69cdcb9294df96a8ff956b1323d69282502aaa2e").into(), + vec![ + authority_keys_from_public_keys( + hex!("dce47ff231d43281e03dd21e5890db128176d9ee20e65da331d8ae0b64863779"), + hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), + hex!("5683cf2ddb87bfed4f4f10ceefd44a61c0eda4fe7c63bd046cb5b3673c41c66b"), + hex!("51d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), + hex!("0251d7f9c7f9da7a72a78f50470e56e39b7923339988506060d94f6c2e9c516be8"), + ), + authority_keys_from_public_keys( + hex!("2a57402736d2b5ada9ee900e506a84436556470de7abd382031e1d90b182bd48"), + hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), + hex!("9a014ecc9f8d87b0315a21d2e3be84409c2fbbd9b5236910660aaa6d5e1ac05e"), + hex!("f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), + hex!("02f0c30bbb51dd66d2111e534cd47ac553a3a342d60c4d4f44b5566c9ad26e3346"), + ), + authority_keys_from_public_keys( + hex!("e493667f399170b28f3b2db4b9f28dbbabbc5da5fc21114e076768fc3c539002"), + hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), + hex!("8c9a6f997970057925bbc022bee892c7da318f29bbdc9d4645b6c159534d3a67"), + hex!("b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), + hex!("02b2e80730dd52182b324b6dfe1f0731f0f449ee2b7e257fb575f56c72a9f5af6d"), + ), + authority_keys_from_public_keys( + hex!("00e8f3ad6566b446834f5361d0ed98aca3ab0c59848372f87546897345f9456f"), + hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), + hex!("1e7ef2261dee2d6fc8ac829e943d547bddacf4371a22555e63d4dbaf1c2e827a"), + hex!("04bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), + hex!("0204bd6c3c7a8f116a7a4d5578f5c1cc6e61e72d75bd7eac3333e5a300e5c17d9b"), + ), + authority_keys_from_public_keys( + hex!("621067638b1d90bfd52450c0569b5318b283bc4eccfaaf0175adada721a86e17"), + hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), + hex!("f2ea7d239d82dbc64013f88ffc7837c28fcaeaf2787bc07d0b9bd89d9d672f21"), + hex!("c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), + hex!("02c047e7799daa62017ad18264f704225a140417fe6b726e7cbb97a4c397b78b91"), + ), + ], + vec![], + vec![ + hex!("9cbca76054814f05364abf691f9166b1be176d9b399d94dc2d88b6c4bc2b0589").into(), + hex!("3b2e166bca8913d9b88d7a8acdfc54c3fe92c15e347deda6a13c191c6e0cc19c").into(), + ], + eth_bridge_params, + vec![ + hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), + hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), + hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), + hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), + hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), + hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), + ], + vec![ + hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), + hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), + hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), + ], + 69, + ) + }, + boot_nodes, + None, + Some(protocol), + None, + Some(properties), + None, + ) +} + +fn bonding_curve_distribution_accounts( +) -> DistributionAccounts>> { + use common::fixed_wrapper; + use common::prelude::fixnum::ops::One; + let val_holders_coefficient = fixed_wrapper!(0.5); + let val_holders_xor_alloc_coeff = fixed_wrapper!(0.9) * val_holders_coefficient.clone(); + let val_holders_buy_back_coefficient = + val_holders_coefficient.clone() * (fixed_wrapper!(1) - fixed_wrapper!(0.9)); + let projects_coefficient = fixed_wrapper!(1) - val_holders_coefficient; + let projects_sora_citizens_coeff = projects_coefficient.clone() * fixed_wrapper!(0.01); + let projects_stores_and_shops_coeff = projects_coefficient.clone() * fixed_wrapper!(0.04); + let projects_parliament_and_development_coeff = + projects_coefficient.clone() * fixed_wrapper!(0.05); + let projects_other_coeff = projects_coefficient.clone() * fixed_wrapper!(0.9); + + debug_assert_eq!( + Fixed::ONE, + FixedWrapper::get( + val_holders_xor_alloc_coeff.clone() + + projects_sora_citizens_coeff.clone() + + projects_stores_and_shops_coeff.clone() + + projects_parliament_and_development_coeff.clone() + + projects_other_coeff.clone() + + val_holders_buy_back_coefficient.clone() + ) + .unwrap() + ); + + let xor_allocation = DistributionAccountData::new( + DistributionAccount::TechAccount(TechAccountId::Pure( + DEXId::Polkaswap.into(), + TechPurpose::Identifier(b"xor_allocation".to_vec()), + )), + val_holders_xor_alloc_coeff.get().unwrap(), + ); + let sora_citizens = DistributionAccountData::new( + DistributionAccount::TechAccount(TechAccountId::Pure( + DEXId::Polkaswap.into(), + TechPurpose::Identifier(b"sora_citizens".to_vec()), + )), + projects_sora_citizens_coeff.get().unwrap(), + ); + let stores_and_shops = DistributionAccountData::new( + DistributionAccount::TechAccount(TechAccountId::Pure( + DEXId::Polkaswap.into(), + TechPurpose::Identifier(b"stores_and_shops".to_vec()), + )), + projects_stores_and_shops_coeff.get().unwrap(), + ); + let projects = DistributionAccountData::new( + DistributionAccount::TechAccount(TechAccountId::Pure( + DEXId::Polkaswap.into(), + TechPurpose::Identifier(b"projects".to_vec()), + )), + projects_other_coeff.get().unwrap(), + ); + let val_holders = DistributionAccountData::new( + DistributionAccount::TechAccount(TechAccountId::Pure( + DEXId::Polkaswap.into(), + TechPurpose::Identifier(b"val_holders".to_vec()), + )), + val_holders_buy_back_coefficient.get().unwrap(), + ); + DistributionAccounts::<_> { + xor_allocation, + sora_citizens, + stores_and_shops, + projects, + val_holders, + } +} + +#[cfg(feature = "private-net")] +pub fn local_testnet_config(initial_authorities: usize, validator_count: u32) -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + ChainSpec::from_genesis( + "SORA-local Testnet", + "sora-substrate-local", + ChainType::Development, + move || { + testnet_genesis( + false, + get_account_id_from_seed::("Alice"), + vec![ + authority_keys_from_seed("Alice"), + authority_keys_from_seed("Bob"), + authority_keys_from_seed("Charlie"), + authority_keys_from_seed("Dave"), + authority_keys_from_seed("Eve"), + authority_keys_from_seed("Ferdie"), + /* + authority_keys_from_seed("Treasury"), + */ + ] + .into_iter() + .take(initial_authorities) + .collect(), + vec![ + hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), + hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), + hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), + hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), + hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), + hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), + hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), + hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), + hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), + get_account_id_from_seed::("Relayer"), + get_account_id_from_seed::("Relayer//1"), + get_account_id_from_seed::("Relayer//2"), + get_account_id_from_seed::("Relayer//3"), + get_account_id_from_seed::("Relayer//4"), + ], + vec![ + hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), + hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), + hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), + hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), + hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), + hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), + hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), + hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), + hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), + ], + EthBridgeParams { + xor_master_contract_address: hex!("12c6a709925783f49fcca0b398d13b0d597e6e1c") + .into(), + xor_contract_address: hex!("02ffdae478412dbde6bbd5cda8ff05c0960e0c45").into(), + val_master_contract_address: hex!("47e229aa491763038f6a505b4f85d8eb463f0962") + .into(), + val_contract_address: hex!("68339de68c9af6577c54867728dbb2db9d7368bf").into(), + bridge_contract_address: hex!("24390c8f6cbd5d152c30226f809f4e3f153b88d4") + .into(), + }, + vec![ + hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), + hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), + hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), + hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), + hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), + hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), + ], + vec![ + hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), + hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), + hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), + ], + validator_count, + ) + }, + vec![], + None, + None, + None, + Some(properties), + None, + ) +} + +// Some variables are only changed if faucet is enabled +#[cfg(feature = "private-net")] +fn testnet_genesis( + dev: bool, + root_key: AccountId, + initial_authorities: Vec<( + AccountId, + AccountId, + AuraId, + BabeId, + GrandpaId, + ImOnlineId, + BeefyId, + )>, + endowed_accounts: Vec, + initial_bridge_peers: Vec, + eth_bridge_params: EthBridgeParams, + council_accounts: Vec, + technical_committee_accounts: Vec, + validator_count: u32, +) -> GenesisConfig { + use common::XSTUSD; + + // Initial balances + let initial_staking = balance!(1000000000); + let initial_eth_bridge_xor_amount = balance!(350000); + let initial_eth_bridge_val_amount = balance!(33900000); + let initial_pswap_tbc_rewards = balance!(2500000000); + + let parliament_investment_fund = + hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); + let parliament_investment_fund_balance = balance!(33000000); + + let val_rewards_for_erc20_xor_holders = balance!(33100000); + + // Initial accounts + + let xor_fee_tech_account_id = TechAccountId::Generic( + xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), + xor_fee::TECH_ACCOUNT_MAIN.to_vec(), + ); + let xor_fee_account_id: AccountId = + technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) + .expect("Failed to decode account Id"); + + let eth_bridge_tech_account_id = TechAccountId::Generic( + eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), + eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), + ); + let eth_bridge_account_id = + technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) + .unwrap(); + let eth_bridge_authority_tech_account_id = TechAccountId::Generic( + eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), + eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), + ); + let eth_bridge_authority_account_id = + technical::Pallet::::tech_account_id_to_account_id( + ð_bridge_authority_tech_account_id, + ) + .unwrap(); + + let trustless_eth_bridge_tech_account_id = + framenode_runtime::GetTrustlessBridgeTechAccountId::get(); + let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); + + let trustless_eth_bridge_fees_tech_account_id = + framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); + let trustless_eth_bridge_fees_account_id = + framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); + + let treasury_tech_account_id = framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); + let treasury_account_id = framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); + + let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); + let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); + + let pswap_distribution_tech_account_id = + framenode_runtime::GetPswapDistributionTechAccountId::get(); + let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); + + let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); + let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); + + let mbc_pool_free_reserves_tech_account_id = + framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); + let mbc_pool_free_reserves_account_id = + framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); + + let xst_pool_permissioned_tech_account_id = + framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); + let xst_pool_permissioned_account_id = + framenode_runtime::GetXSTPoolPermissionedAccountId::get(); + + let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); + let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); + + let iroha_migration_tech_account_id = TechAccountId::Generic( + iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), + iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), + ); + let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( + &iroha_migration_tech_account_id, + ) + .unwrap(); + + let rewards_tech_account_id = TechAccountId::Generic( + rewards::TECH_ACCOUNT_PREFIX.to_vec(), + rewards::TECH_ACCOUNT_MAIN.to_vec(), + ); + let rewards_account_id = + technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) + .unwrap(); + + let assets_and_permissions_tech_account_id = + TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); + let assets_and_permissions_account_id = + technical::Pallet::::tech_account_id_to_account_id( + &assets_and_permissions_tech_account_id, + ) + .unwrap(); + + let dex_root_tech_account_id = + TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); + let dex_root_account_id = + technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) + .unwrap(); + + #[cfg(feature = "ready-to-test")] // kensetsu + let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); + #[cfg(feature = "ready-to-test")] // kensetsu + let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); + + let mut tech_accounts = vec![ + (xor_fee_account_id.clone(), xor_fee_tech_account_id), + ( + eth_bridge_account_id.clone(), + eth_bridge_tech_account_id.clone(), + ), + ( + eth_bridge_authority_account_id.clone(), + eth_bridge_authority_tech_account_id.clone(), + ), + ( + trustless_eth_bridge_account_id.clone(), + trustless_eth_bridge_tech_account_id.clone(), + ), + ( + trustless_eth_bridge_fees_account_id.clone(), + trustless_eth_bridge_fees_tech_account_id.clone(), + ), + ( + treasury_account_id.clone(), + treasury_tech_account_id.clone(), + ), + ( + pswap_distribution_account_id.clone(), + pswap_distribution_tech_account_id.clone(), + ), + ( + liquidity_proxy_account_id.clone(), + liquidity_proxy_tech_account_id.clone(), + ), + ( + mbc_reserves_account_id.clone(), + mbc_reserves_tech_account_id.clone(), + ), + ( + mbc_pool_rewards_account_id.clone(), + mbc_pool_rewards_tech_account_id.clone(), + ), + ( + mbc_pool_free_reserves_account_id.clone(), + mbc_pool_free_reserves_tech_account_id.clone(), + ), + ( + xst_pool_permissioned_account_id.clone(), + xst_pool_permissioned_tech_account_id.clone(), + ), + ( + iroha_migration_account_id.clone(), + iroha_migration_tech_account_id.clone(), + ), + (rewards_account_id.clone(), rewards_tech_account_id.clone()), + ( + assets_and_permissions_account_id.clone(), + assets_and_permissions_tech_account_id.clone(), + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + kensetsu_treasury_account_id.clone(), + kensetsu_treasury_tech_account_id.clone(), + ), + ]; + let accounts = bonding_curve_distribution_accounts(); + for account in &accounts.accounts() { + match account { + DistributionAccount::Account(_) => continue, + DistributionAccount::TechAccount(account) => { + tech_accounts.push(( + Technical::tech_account_id_to_account_id(account).unwrap(), + account.to_owned(), + )); + } + } + } + let mut balances = vec![ + (eth_bridge_account_id.clone(), initial_eth_bridge_xor_amount), + (assets_and_permissions_account_id.clone(), 0), + (xor_fee_account_id.clone(), 0), + (dex_root_account_id.clone(), 0), + (iroha_migration_account_id.clone(), 0), + (pswap_distribution_account_id.clone(), 0), + (mbc_reserves_account_id.clone(), 0), + (mbc_pool_rewards_account_id.clone(), 0), + (mbc_pool_free_reserves_account_id.clone(), 0), + (xst_pool_permissioned_account_id.clone(), 0), + #[cfg(feature = "ready-to-test")] // kensetsu + (kensetsu_treasury_account_id.clone(), 0), + ] + .into_iter() + .chain( + initial_authorities + .iter() + .cloned() + .map(|(k1, ..)| (k1, initial_staking)), + ) + .chain( + initial_authorities + .iter() + .cloned() + .map(|(_, k2, ..)| (k2, initial_staking)), + ) + .chain( + endowed_accounts + .iter() + .cloned() + .map(|account| (account, initial_staking)), + ) + .collect::>(); + + #[cfg(not(feature = "include-real-files"))] + let rewards_config = RewardsConfig { + reserves_account_id: rewards_tech_account_id, + val_owners: vec![ + ( + hex!("d170A274320333243b9F860e8891C6792DE1eC19").into(), + balance!(995).into(), + ), + ( + hex!("21Bc9f4a3d9Dc86f142F802668dB7D908cF0A636").into(), + balance!(111).into(), + ), + ( + hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), + balance!(444).into(), + ), + ], + pswap_farm_owners: vec![ + ( + hex!("4fE143cDD48791cB364823A41e018AEC5cBb9AbB").into(), + balance!(222), + ), + ( + hex!("D67fea281B2C5dC3271509c1b628E0867a9815D7").into(), + balance!(555), + ), + ], + pswap_waifu_owners: vec![( + hex!("886021F300dC809269CFC758A2364a2baF63af0c").into(), + balance!(333), + )], + umi_nfts: vec![PSWAP.into(), VAL.into()], + }; + + #[cfg(feature = "include-real-files")] + let rewards_config = RewardsConfig { + reserves_account_id: rewards_tech_account_id, + val_owners: our_include!("bytes/rewards_val_owners.in"), + pswap_farm_owners: our_include!("bytes/rewards_pswap_farm_owners.in"), + pswap_waifu_owners: our_include!("bytes/rewards_pswap_waifu_owners.in"), + umi_nfts: vec![PSWAP.into(), VAL.into()], + }; + + let rewards_pswap_reserves = + calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) + + calculate_reserves(rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b)); + let mut tokens_endowed_accounts = vec![ + ( + rewards_account_id.clone(), + GetValAssetId::get(), + val_rewards_for_erc20_xor_holders, + ), + ( + rewards_account_id, + GetPswapAssetId::get(), + rewards_pswap_reserves, + ), + ( + eth_bridge_account_id.clone(), + VAL, + initial_eth_bridge_val_amount, + ), + ( + mbc_pool_rewards_account_id.clone(), + PSWAP, + initial_pswap_tbc_rewards, + ), + ( + parliament_investment_fund, + VAL, + parliament_investment_fund_balance, + ), + ]; + let faucet_config = { + let initial_faucet_balance = balance!(6000000000); + let faucet_tech_account_id = TechAccountId::Generic( + faucet::TECH_ACCOUNT_PREFIX.to_vec(), + faucet::TECH_ACCOUNT_MAIN.to_vec(), + ); + let faucet_account_id: AccountId = + technical::Pallet::::tech_account_id_to_account_id(&faucet_tech_account_id) + .expect("Failed to decode account id"); + let ceres = common::AssetId32::from_bytes(hex!( + "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" + )); + tech_accounts.push((faucet_account_id.clone(), faucet_tech_account_id.clone())); + balances.push((faucet_account_id.clone(), initial_faucet_balance)); + tokens_endowed_accounts.push((faucet_account_id.clone(), VAL, initial_faucet_balance)); + tokens_endowed_accounts.push((faucet_account_id.clone(), PSWAP, initial_faucet_balance)); + tokens_endowed_accounts.push((faucet_account_id.clone(), ceres, initial_faucet_balance)); + tokens_endowed_accounts.push(( + faucet_account_id.clone(), + HERMES_ASSET_ID, + initial_faucet_balance, + )); + tokens_endowed_accounts.push((faucet_account_id, APOLLO_ASSET_ID, initial_faucet_balance)); + FaucetConfig { + reserves_account_id: faucet_tech_account_id, + } + }; + + let iroha_migration_config = IrohaMigrationConfig { + iroha_accounts: if dev { + our_include!("bytes/iroha_migration_accounts_dev.in") + } else { + our_include!("bytes/iroha_migration_accounts_staging.in") + }, + account_id: Some(iroha_migration_account_id.clone()), + }; + let initial_collateral_assets = vec![ + DAI.into(), + VAL.into(), + PSWAP.into(), + ETH.into(), + XST.into(), + TBCD.into(), + ]; + GenesisConfig { + #[cfg(feature = "wip")] // EVM bridge + evm_fungible_app: Default::default(), + parachain_bridge_app: Default::default(), + substrate_bridge_outbound_channel: Default::default(), + + #[cfg(feature = "wip")] // Trustless substrate bridge + beefy_light_client: Default::default(), + + #[cfg(feature = "wip")] // EVM bridge + bridge_outbound_channel: BridgeOutboundChannelConfig { + interval: 10, + ..Default::default() + }, + + system: SystemConfig { + code: WASM_BINARY.unwrap_or_default().to_vec(), + }, + sudo: SudoConfig { + key: Some(root_key.clone()), + }, + technical: TechnicalConfig { + register_tech_accounts: tech_accounts, + }, + babe: BabeConfig { + authorities: vec![], + epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), + }, + grandpa: GrandpaConfig { + authorities: vec![], + }, + session: SessionConfig { + keys: initial_authorities + .iter() + .map( + |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { + ( + account.clone(), + account.clone(), + session_keys( + grandpa_id.clone(), + babe_id.clone(), + im_online_id.clone(), + beefy_id.clone(), + ), + ) + }, + ) + .collect::>(), + }, + staking: StakingConfig { + validator_count, + minimum_validator_count: 1, + stakers: initial_authorities + .iter() + .map(|(stash_account, account, _, _, _, _, _)| { + ( + stash_account.clone(), + account.clone(), + initial_staking, + StakerStatus::Validator, + ) + }) + .collect(), + invulnerables: Vec::new(), + slash_reward_fraction: Perbill::from_percent(10), + ..Default::default() + }, + assets: AssetsConfig { + endowed_assets: vec![ + ( + GetXorAssetId::get(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"XOR".to_vec()), + AssetName(b"SORA".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + // ( + // UsdId::get(), + // assets_and_permissions_account_id.clone(), + // AssetSymbol(b"USDT".to_vec()), + // AssetName(b"Tether USD".to_vec()), + // DEFAULT_BALANCE_PRECISION, + // Balance::zero(), + // true, + // None, + // None, + // ), + ( + GetValAssetId::get(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"VAL".to_vec()), + AssetName(b"SORA Validator Token".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + GetPswapAssetId::get(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"PSWAP".to_vec()), + AssetName(b"Polkaswap".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + DAI.into(), + eth_bridge_account_id.clone(), + AssetSymbol(b"DAI".to_vec()), + AssetName(b"Dai Stablecoin".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + ETH.into(), + eth_bridge_account_id.clone(), + AssetSymbol(b"ETH".to_vec()), + AssetName(b"Ether".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + XST.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"XST".to_vec()), + AssetName(b"SORA Synthetics".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + TBCD.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"TBCD".to_vec()), + AssetName(b"SORA TBC Dollar".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + KEN.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"KEN".to_vec()), + AssetName(b"Kensetsu incentive token".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + KUSD.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"KUSD".to_vec()), + AssetName(b"Kensetsu Stable Dollar".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + common::AssetId32::from_bytes(hex!( + "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" + )) + .into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"CERES".to_vec()), + AssetName(b"Ceres".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + common::HERMES_ASSET_ID, + assets_and_permissions_account_id.clone(), + AssetSymbol(b"HMX".to_vec()), + AssetName(b"Hermes".to_vec()), + 18, + Balance::zero(), + true, + None, + None, + ), + ( + APOLLO_ASSET_ID, + assets_and_permissions_account_id.clone(), + AssetSymbol(b"APOLLO".to_vec()), + AssetName(b"Apollo".to_vec()), + 18, + Balance::zero(), + true, + None, + None, + ), + ( + XSTUSD, + assets_and_permissions_account_id.clone(), + AssetSymbol(b"XSTUSD".to_vec()), + AssetName(b"SORA Synthetics USD".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ], + }, + permissions: PermissionsConfig { + initial_permission_owners: vec![ + ( + permissions::MANAGE_DEX, + Scope::Limited(hash(&0u32)), + vec![assets_and_permissions_account_id.clone()], + ), + ( + permissions::MINT, + Scope::Unlimited, + vec![assets_and_permissions_account_id.clone()], + ), + ( + permissions::BURN, + Scope::Unlimited, + vec![assets_and_permissions_account_id.clone()], + ), + ], + initial_permissions: vec![ + ( + dex_root_account_id.clone(), + Scope::Limited(hash(&0u32)), + vec![permissions::MANAGE_DEX], + ), + ( + dex_root_account_id.clone(), + Scope::Unlimited, + vec![permissions::CREATE_FARM], + ), + ( + xor_fee_account_id, + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + iroha_migration_account_id, + Scope::Limited(hash(&VAL)), + vec![permissions::MINT], + ), + ( + assets_and_permissions_account_id, + Scope::Unlimited, + vec![ + permissions::MINT, + permissions::BURN, + permissions::LOCK_TO_FARM, + permissions::UNLOCK_FROM_FARM, + permissions::CLAIM_FROM_FARM, + ], + ), + ( + pswap_distribution_account_id, + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + mbc_reserves_account_id, + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + mbc_pool_free_reserves_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + xst_pool_permissioned_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + kensetsu_treasury_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ], + }, + balances: BalancesConfig { balances }, + dex_manager: DEXManagerConfig { + dex_list: vec![ + ( + 0, + DEXInfo { + base_asset_id: GetBaseAssetId::get(), + synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), + is_public: true, + }, + ), + ( + 1, + DEXInfo { + base_asset_id: XSTUSD, + synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), + is_public: true, + }, + ), + ], + }, + faucet: faucet_config, + tokens: TokensConfig { + balances: tokens_endowed_accounts, + }, + trading_pair: TradingPairConfig { + trading_pairs: initial_collateral_assets + .iter() + .cloned() + .map(|target_asset_id| create_trading_pair(XOR, target_asset_id)) + .collect(), + }, + dexapi: DEXAPIConfig { + source_types: [ + LiquiditySourceType::XYKPool, + LiquiditySourceType::MulticollateralBondingCurvePool, + LiquiditySourceType::XSTPool, + LiquiditySourceType::OrderBook, + ] + .into(), + }, + eth_bridge: EthBridgeConfig { + authority_account: Some(eth_bridge_authority_account_id.clone()), + networks: vec![NetworkConfig { + initial_peers: initial_bridge_peers.iter().cloned().collect(), + bridge_account_id: eth_bridge_account_id.clone(), + assets: vec![ + AssetConfig::Sidechain { + id: XOR.into(), + sidechain_id: eth_bridge_params.xor_contract_address, + owned: true, + precision: DEFAULT_BALANCE_PRECISION, + }, + AssetConfig::Sidechain { + id: VAL.into(), + sidechain_id: eth_bridge_params.val_contract_address, + owned: true, + precision: DEFAULT_BALANCE_PRECISION, + }, + AssetConfig::Sidechain { + id: DAI.into(), + sidechain_id: hex!("34273F3a534dF490437F0deFFcb0549B40fb3Db6").into(), + owned: false, + precision: DEFAULT_BALANCE_PRECISION, + }, + AssetConfig::Sidechain { + id: ETH.into(), + sidechain_id: hex!("0000000000000000000000000000000000000000").into(), + owned: false, + precision: DEFAULT_BALANCE_PRECISION, + }, + ], + bridge_contract_address: eth_bridge_params.bridge_contract_address, + reserves: vec![ + (XOR.into(), balance!(350000)), + (VAL.into(), balance!(33900000)), + ], + }], + xor_master_contract_address: eth_bridge_params.xor_master_contract_address, + val_master_contract_address: eth_bridge_params.val_master_contract_address, + }, + bridge_multisig: BridgeMultisigConfig { + accounts: once(( + eth_bridge_account_id.clone(), + bridge_multisig::MultisigAccount::new(initial_bridge_peers), + )) + .collect(), + }, + multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { + distribution_accounts: accounts, + reserves_account_id: mbc_reserves_tech_account_id, + reference_asset_id: DAI.into(), + incentives_account_id: Some(mbc_pool_rewards_account_id), + initial_collateral_assets, + free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), + }, + pswap_distribution: PswapDistributionConfig { + subscribed_accounts: Vec::new(), + burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), + }, + iroha_migration: iroha_migration_config, + rewards: rewards_config, + council: CouncilConfig { + members: council_accounts, + phantom: Default::default(), + }, + technical_committee: TechnicalCommitteeConfig { + members: technical_committee_accounts, + phantom: Default::default(), + }, + democracy: DemocracyConfig::default(), + elections_phragmen: Default::default(), + technical_membership: Default::default(), + im_online: Default::default(), + xst_pool: XSTPoolConfig { + reference_asset_id: DAI, + initial_synthetic_assets: vec![( + XSTUSD.into(), + common::SymbolName::usd().into(), + fixed!(0.00666), + )], + }, + beefy: BeefyConfig { + authorities: vec![], + }, + } +} + +#[cfg(all( + any( + feature = "main-net-coded", + feature = "test", + feature = "runtime-benchmarks", + feature = "wip", + feature = "ready-to-test" + ), + not(feature = "private-net") +))] +pub fn main_net_coded() -> ChainSpec { + let mut properties = Properties::new(); + properties.insert("ss58Format".into(), SS58Prefix::get().into()); + properties.insert("tokenSymbol".into(), "XOR".into()); + properties.insert("tokenDecimals".into(), DEFAULT_BALANCE_PRECISION.into()); + let name = "SORA"; + let id = "sora-substrate-main-net"; + // SORA main-net node address. We should have 2 nodes. + let boot_nodes = vec![ + MultiaddrWithPeerId::from_str("/dns/v1.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWLHZRLHeVPdrXuNNdzpKuPqo6Sm6f9rjVtp5XsEvhXvyG").unwrap(), //Prod value + MultiaddrWithPeerId::from_str("/dns/v2.sora2.soramitsu.co.jp/tcp/30333/p2p/12D3KooWGiemoYceJ1y5nQR1YNxysjbCH8MbW5ps1uApLfN36VQa").unwrap() //Prod value + ]; + ChainSpec::from_genesis( + name, + id, + ChainType::Live, + move || { + let eth_bridge_params = EthBridgeParams { + xor_master_contract_address: hex!("c08edf13be9b9cc584c5da8004ce7e6be63c1316") //Prod value + .into(), + xor_contract_address: hex!("40fd72257597aa14c7231a7b1aaa29fce868f677").into(), //Prod value + val_master_contract_address: hex!("d1eeb2f30016fffd746233ee12c486e7ca8efef1") //Prod value + .into(), + val_contract_address: hex!("e88f8313e61a97cec1871ee37fbbe2a8bf3ed1e4").into(), //Prod value + bridge_contract_address: hex!("1485e9852ac841b52ed44d573036429504f4f602").into(), + }; + + // SORA main-net node address. We should have 2 nodes. + // Currently filled with staging example values + mainnet_genesis( + vec![ + authority_keys_from_public_keys( + hex!("207ed7bbf6fa0685dca5f24d6773a58ab9c710512d1087db5e47e0fe0f357239"), //Prod value + hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value + hex!("14d500b666dbacc20535f8d2d4f039a8ace624c58e880d573980553774d7ff1a"), //Prod value + hex!("71e6acfa06696ae5d962a36b88ddf4b0c7d5751a7107a2db1e6947ee2442f573"), //Prod value + hex!("024f206cdff359d50597b3fd41fd17a1b585c7914037eedbd8e4a0d3f213a8ab33"), // Prod value + ), + authority_keys_from_public_keys( + hex!("94ee828c3455a327dde32f577e27f0b8a4c42b3fb626ee27f0004f7cf02bd332"), //Prod value + hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value + hex!("38364b218e599f78f2b52f34748908addce908881b2c76296c50b2494261c004"), //Prod value + hex!("d603aea460c53393cfd2e2eb2820bb138738288502488fd6431fa93f7b59642d"), //Prod value + hex!("02aadf7d2aa0d424cd60d6b384647f48e8d00610a631079fa33c1da0d712a71b1d"), // Prod value + ), + ], + vec![ + hex!("4cd5a4a244bc53f6f1458757ed0af8680e8faa860deca32976bbd9a951bf6c1c").into(), + hex!("54d7aa0bba9a5dbb1bb77973f344625df346f6a65840b8534ee22e93fbad767a").into(), + hex!("e811eac3cf718caa98d77bb479227e8cc512e51e79d6ba1494dd089093f5707f").into(), + hex!("a648c659a86eeb7cf84ddcedac64f33de6966b8853dd636ba693fce100bd8858").into(), + hex!("60a17ce8550db4e1358db54bc3791026a285ab88e9c988ad54c3dc282475fe14").into(), + hex!("de06bf70964d8aff4816e3cfd576d8d8f774663906a6e40d316860a3d4c55b6c").into(), + hex!("4a4371f63db17fb4f33bec3ce7c8f588e3258c3b268b450647f4870d964dca6f").into(), + hex!("d8815601fc99d9afa27a09fc5e46ebcc2472edc466fbb5c6fbae7a8566e50318").into(), + ], + vec![ + hex!("a3bcbf3044069ac13c30d662a204d8368c266e2f0e8cf603c7bfb2b7b5daae55").into(), //Prod value + hex!("297c03e65c2930daa7c6067a2bb853819b61ed49b70de2f3219a2eb6ec0364aa").into(), //Prod value + ], + eth_bridge_params, + vec![ + hex!("7edf2a2d157cc835131581bc068b7172a00af1a10008049f05a2308737912633").into(), + hex!("aa7c410fe2d9a0b96ba392c4cef95d3bf8761047297747e9118ee6d1df9f6558").into(), + hex!("30e87994d26e4123d585d5d8c46116bbc196a6f5a4ed87a3ee24a2dbada9a66d").into(), + hex!("30fbd05409cf5f6a8ae6afaa05e9861405d8fa710d0b4c8d088f155cb0b87749").into(), + hex!("20c706cba79f03fc2ed233da544a3e75a81dcae43b0a4edf72719307fd21cb1b").into(), + hex!("8297172611ad3b085258d518f849a5533271d760f729669c9f8863971d70c372").into(), + ], + vec![ + hex!("4a2fe11a37dfb548c64def2cbd8d5332bbd56571627b91b81c82970ceb7eec2b").into(), + hex!("903a885138c4a187f13383fdb08b8e6b308c7021fdab12dc20e3aef9870e1146").into(), + hex!("d0d773018d19aab81052c4d038783ecfee77fb4b5fdc266b5a25568c0102640b").into(), + ], + ) + }, + boot_nodes, + None, + Some("sora-substrate-1"), + None, + Some(properties), + None, + ) +} + +#[cfg(all( + any( + feature = "main-net-coded", + feature = "test", + feature = "runtime-benchmarks", + feature = "wip", + feature = "ready-to-test" + ), + not(feature = "private-net") +))] +fn mainnet_genesis( + initial_authorities: Vec<( + AccountId, + AccountId, + AuraId, + BabeId, + GrandpaId, + ImOnlineId, + BeefyId, + )>, + additional_validators: Vec, + initial_bridge_peers: Vec, + eth_bridge_params: EthBridgeParams, + council_accounts: Vec, + technical_committee_accounts: Vec, +) -> GenesisConfig { + // Minimum stake for an active validator + let initial_staking = balance!(0.2); + // XOR amount which already exists on Ethereum + let initial_eth_bridge_xor_amount = balance!(350000); + // VAL amount which already exists on SORA_1 and Ethereum. Partially can be migrated directly from SORA_1. Not yet decided finally. + let initial_eth_bridge_val_amount = balance!(33900000); + // Initial token bonding curve PSWAP rewards according to 10 bln PSWAP total supply. + let initial_pswap_tbc_rewards = balance!(2500000000); + // Initial market maker PSWAP rewards. + let initial_pswap_market_maker_rewards = balance!(364988000); + + let parliament_investment_fund: AccountId = + hex!("048cfcacbdebe828dffa1267d830d45135cd40238286f838f5a95432a1bbf851").into(); + let parliament_investment_fund_balance = balance!(33000000); + + // Initial accounts + let xor_fee_tech_account_id = TechAccountId::Generic( + xor_fee::TECH_ACCOUNT_PREFIX.to_vec(), + xor_fee::TECH_ACCOUNT_MAIN.to_vec(), + ); + let xor_fee_account_id: AccountId = + technical::Pallet::::tech_account_id_to_account_id(&xor_fee_tech_account_id) + .expect("Failed to decode account Id"); + + // Bridge peers multisignature account + let eth_bridge_tech_account_id = TechAccountId::Generic( + eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), + eth_bridge::TECH_ACCOUNT_MAIN.to_vec(), + ); + // Wrapping of bridge peers multisignature account + let eth_bridge_account_id = + technical::Pallet::::tech_account_id_to_account_id(ð_bridge_tech_account_id) + .unwrap(); + // Bridge authority account expected to be managed by voting + let eth_bridge_authority_tech_account_id = TechAccountId::Generic( + eth_bridge::TECH_ACCOUNT_PREFIX.to_vec(), + eth_bridge::TECH_ACCOUNT_AUTHORITY.to_vec(), + ); + // Wrapper for Bridge authority account expected to be managed by voting + let eth_bridge_authority_account_id = + technical::Pallet::::tech_account_id_to_account_id( + ð_bridge_authority_tech_account_id, + ) + .unwrap(); + + let trustless_eth_bridge_tech_account_id = + framenode_runtime::GetTrustlessBridgeTechAccountId::get(); + let trustless_eth_bridge_account_id = framenode_runtime::GetTrustlessBridgeAccountId::get(); + + let trustless_eth_bridge_fees_tech_account_id = + framenode_runtime::GetTrustlessBridgeFeesTechAccountId::get(); + let trustless_eth_bridge_fees_account_id = + framenode_runtime::GetTrustlessBridgeFeesAccountId::get(); + + let mbc_reserves_tech_account_id = framenode_runtime::GetMbcReservesTechAccountId::get(); + let mbc_reserves_account_id = framenode_runtime::GetMbcReservesAccountId::get(); + + let pswap_distribution_tech_account_id = + framenode_runtime::GetPswapDistributionTechAccountId::get(); + let pswap_distribution_account_id = framenode_runtime::GetPswapDistributionAccountId::get(); + + let mbc_pool_rewards_tech_account_id = framenode_runtime::GetMbcPoolRewardsTechAccountId::get(); + let mbc_pool_rewards_account_id = framenode_runtime::GetMbcPoolRewardsAccountId::get(); + + let mbc_pool_free_reserves_tech_account_id = + framenode_runtime::GetMbcPoolFreeReservesTechAccountId::get(); + let mbc_pool_free_reserves_account_id = + framenode_runtime::GetMbcPoolFreeReservesAccountId::get(); + + let xst_pool_permissioned_tech_account_id = + framenode_runtime::GetXSTPoolPermissionedTechAccountId::get(); + let xst_pool_permissioned_account_id = + framenode_runtime::GetXSTPoolPermissionedAccountId::get(); + + let market_maker_rewards_tech_account_id = + framenode_runtime::GetMarketMakerRewardsTechAccountId::get(); + let market_maker_rewards_account_id = framenode_runtime::GetMarketMakerRewardsAccountId::get(); + + let liquidity_proxy_tech_account_id = framenode_runtime::GetLiquidityProxyTechAccountId::get(); + let liquidity_proxy_account_id = framenode_runtime::GetLiquidityProxyAccountId::get(); + + let iroha_migration_tech_account_id = TechAccountId::Generic( + iroha_migration::TECH_ACCOUNT_PREFIX.to_vec(), + iroha_migration::TECH_ACCOUNT_MAIN.to_vec(), + ); + let iroha_migration_account_id = technical::Pallet::::tech_account_id_to_account_id( + &iroha_migration_tech_account_id, + ) + .unwrap(); + + let rewards_tech_account_id = TechAccountId::Generic( + rewards::TECH_ACCOUNT_PREFIX.to_vec(), + rewards::TECH_ACCOUNT_MAIN.to_vec(), + ); + let rewards_account_id = + technical::Pallet::::tech_account_id_to_account_id(&rewards_tech_account_id) + .unwrap(); + + let assets_and_permissions_tech_account_id = + TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"ASSETS_PERMISSIONS".to_vec()); + let assets_and_permissions_account_id = + technical::Pallet::::tech_account_id_to_account_id( + &assets_and_permissions_tech_account_id, + ) + .unwrap(); + + let dex_root_tech_account_id = + TechAccountId::Generic(b"SYSTEM_ACCOUNT".to_vec(), b"DEX_ROOT".to_vec()); + let dex_root_account_id = + technical::Pallet::::tech_account_id_to_account_id(&dex_root_tech_account_id) + .unwrap(); + + #[cfg(feature = "ready-to-test")] // kensetsu + let kensetsu_treasury_tech_account_id = framenode_runtime::KensetsuTreasuryTechAccountId::get(); + #[cfg(feature = "ready-to-test")] // kensetsu + let kensetsu_treasury_account_id = framenode_runtime::KensetsuTreasuryAccountId::get(); + + let mut tech_accounts = vec![ + (xor_fee_account_id.clone(), xor_fee_tech_account_id), + ( + eth_bridge_account_id.clone(), + eth_bridge_tech_account_id.clone(), + ), + ( + eth_bridge_authority_account_id.clone(), + eth_bridge_authority_tech_account_id.clone(), + ), + ( + trustless_eth_bridge_account_id.clone(), + trustless_eth_bridge_tech_account_id.clone(), + ), + ( + trustless_eth_bridge_fees_account_id.clone(), + trustless_eth_bridge_fees_tech_account_id.clone(), + ), + ( + pswap_distribution_account_id.clone(), + pswap_distribution_tech_account_id.clone(), + ), + ( + liquidity_proxy_account_id.clone(), + liquidity_proxy_tech_account_id.clone(), + ), + ( + mbc_reserves_account_id.clone(), + mbc_reserves_tech_account_id.clone(), + ), + ( + mbc_pool_rewards_account_id.clone(), + mbc_pool_rewards_tech_account_id.clone(), + ), + ( + mbc_pool_free_reserves_account_id.clone(), + mbc_pool_free_reserves_tech_account_id.clone(), + ), + ( + xst_pool_permissioned_account_id.clone(), + xst_pool_permissioned_tech_account_id.clone(), + ), + ( + iroha_migration_account_id.clone(), + iroha_migration_tech_account_id.clone(), + ), + (rewards_account_id.clone(), rewards_tech_account_id.clone()), + ( + assets_and_permissions_account_id.clone(), + assets_and_permissions_tech_account_id.clone(), + ), + ( + market_maker_rewards_account_id.clone(), + market_maker_rewards_tech_account_id.clone(), + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + kensetsu_treasury_account_id.clone(), + kensetsu_treasury_tech_account_id.clone(), + ), + ]; + let accounts = bonding_curve_distribution_accounts(); + for account in &accounts.accounts() { + match account { + DistributionAccount::Account(_) => continue, + DistributionAccount::TechAccount(account) => { + tech_accounts.push(( + Technical::tech_account_id_to_account_id(account).unwrap(), + account.to_owned(), + )); + } + } + } + let rewards_config = RewardsConfig { + reserves_account_id: rewards_tech_account_id, + val_owners: Vec::new(), + pswap_farm_owners: Vec::new(), + pswap_waifu_owners: Vec::new(), + umi_nfts: Vec::new(), + }; + let initial_collateral_assets = vec![DAI.into(), VAL.into(), PSWAP.into(), ETH.into()]; + let mut bridge_assets = vec![ + AssetConfig::Sidechain { + id: XOR.into(), + sidechain_id: eth_bridge_params.xor_contract_address, + owned: true, + precision: DEFAULT_BALANCE_PRECISION, + }, + AssetConfig::Sidechain { + id: VAL.into(), + sidechain_id: eth_bridge_params.val_contract_address, + owned: true, + precision: DEFAULT_BALANCE_PRECISION, + }, + AssetConfig::Sidechain { + id: ETH.into(), + sidechain_id: hex!("0000000000000000000000000000000000000000").into(), + owned: false, + precision: DEFAULT_BALANCE_PRECISION, + }, + ]; + let mut endowed_assets = vec![ + ( + GetXorAssetId::get(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"XOR".to_vec()), + AssetName(b"SORA".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + GetValAssetId::get(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"VAL".to_vec()), + AssetName(b"SORA Validator Token".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + GetPswapAssetId::get(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"PSWAP".to_vec()), + AssetName(b"Polkaswap".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + ETH.into(), + eth_bridge_account_id.clone(), + AssetSymbol(b"ETH".to_vec()), + AssetName(b"Ether".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + XST.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"XST".to_vec()), + AssetName(b"SORA Synthetics".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + TBCD.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"TBCD".to_vec()), + AssetName(b"SORA TBC Dollar".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + KEN.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"KEN".to_vec()), + AssetName(b"Kensetsu incentive token".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + KUSD.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"KUSD".to_vec()), + AssetName(b"Kensetsu Stable Dollar".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + common::AssetId32::from_bytes(hex!( + "008bcfd2387d3fc453333557eecb0efe59fcba128769b2feefdd306e98e66440" + )) + .into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"CERES".to_vec()), + AssetName(b"Ceres".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + APOLLO_ASSET_ID.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"APOLLO".to_vec()), + AssetName(b"Apollo".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ( + XSTUSD.into(), + assets_and_permissions_account_id.clone(), + AssetSymbol(b"XSTUSD".to_vec()), + AssetName(b"SORA Synthetics USD".to_vec()), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ), + ]; + let bridge_assets_data: Vec> = Vec::new(); + bridge_assets.extend(bridge_assets_data.iter().map(|x| { + AssetConfig::sidechain( + x.asset_id, + x.sidechain_asset_id.into(), + x.sidechain_precision, + ) + })); + endowed_assets.extend(bridge_assets_data.iter().map(|x| { + ( + x.asset_id, + eth_bridge_account_id.clone(), + x.symbol.clone(), + x.name.clone(), + DEFAULT_BALANCE_PRECISION, + Balance::zero(), + true, + None, + None, + ) + })); + GenesisConfig { + evm_fungible_app: Default::default(), + parachain_bridge_app: Default::default(), + substrate_bridge_outbound_channel: Default::default(), + + #[cfg(feature = "wip")] // Trustless substrate bridge + beefy_light_client: Default::default(), + + #[cfg(feature = "wip")] // EVM bridge + bridge_outbound_channel: BridgeOutboundChannelConfig { + interval: 10, + }, + + system: SystemConfig { + code: WASM_BINARY.unwrap_or_default().to_vec(), + }, + technical: TechnicalConfig { + register_tech_accounts: tech_accounts, + }, + babe: BabeConfig { + authorities: vec![], + epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), + }, + grandpa: GrandpaConfig { + authorities: vec![], + }, + session: SessionConfig { + keys: initial_authorities + .iter() + .map( + |(account, _, _, babe_id, grandpa_id, im_online_id, beefy_id)| { + ( + account.clone(), + account.clone(), + session_keys( + grandpa_id.clone(), + babe_id.clone(), + im_online_id.clone(), + beefy_id.clone(), + ), + ) + }, + ) + .collect::>(), + }, + staking: StakingConfig { + validator_count: 69, + minimum_validator_count: 1, + stakers: initial_authorities + .iter() + .map(|(stash_account, account, _, _, _, _, _)| { + ( + stash_account.clone(), + account.clone(), + initial_staking, + StakerStatus::Validator, + ) + }) + .collect(), + invulnerables: initial_authorities + .iter() + .map(|(stash_account, _, _, _, _, _, _)| stash_account.clone()) + .collect(), + slash_reward_fraction: Perbill::from_percent(10), + ..Default::default() + }, + assets: AssetsConfig { + endowed_assets: endowed_assets, + }, + permissions: PermissionsConfig { + initial_permission_owners: vec![ + ( + permissions::MANAGE_DEX, + Scope::Limited(hash(&0u32)), + vec![assets_and_permissions_account_id.clone()], + ), + ( + permissions::MINT, + Scope::Unlimited, + vec![assets_and_permissions_account_id.clone()], + ), + ( + permissions::BURN, + Scope::Unlimited, + vec![assets_and_permissions_account_id.clone()], + ), + ], + initial_permissions: vec![ + ( + dex_root_account_id.clone(), + Scope::Limited(hash(&0u32)), + vec![permissions::MANAGE_DEX], + ), + ( + dex_root_account_id.clone(), + Scope::Unlimited, + vec![permissions::CREATE_FARM], + ), + ( + xor_fee_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + iroha_migration_account_id.clone(), + Scope::Limited(hash(&VAL)), + vec![permissions::MINT], + ), + ( + assets_and_permissions_account_id.clone(), + Scope::Unlimited, + vec![ + permissions::MINT, + permissions::BURN, + permissions::LOCK_TO_FARM, + permissions::UNLOCK_FROM_FARM, + permissions::CLAIM_FROM_FARM, + ], + ), + ( + pswap_distribution_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + mbc_reserves_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + mbc_pool_free_reserves_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ( + xst_pool_permissioned_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + #[cfg(feature = "ready-to-test")] // kensetsu + ( + kensetsu_treasury_account_id.clone(), + Scope::Unlimited, + vec![permissions::MINT, permissions::BURN], + ), + ], + }, + balances: BalancesConfig { + balances: vec![ + (eth_bridge_account_id.clone(), 0), + (trustless_eth_bridge_account_id.clone(), 0), + (trustless_eth_bridge_fees_account_id.clone(), 0), + (assets_and_permissions_account_id.clone(), 0), + (xor_fee_account_id.clone(), 0), + (dex_root_account_id.clone(), 0), + (iroha_migration_account_id.clone(), 0), + (pswap_distribution_account_id.clone(), 0), + (mbc_reserves_account_id.clone(), 0), + (mbc_pool_rewards_account_id.clone(), 0), + (mbc_pool_free_reserves_account_id.clone(), 0), + (market_maker_rewards_account_id.clone(), 0), + (xst_pool_permissioned_account_id.clone(), 0), + #[cfg(feature = "ready-to-test")] // kensetsu + (kensetsu_treasury_account_id.clone(), 0), + ] + .into_iter() + .chain( + initial_authorities + .iter() + .cloned() + .map(|(k1, ..)| (k1, initial_staking)), + ) + .chain( + initial_authorities + .iter() + .cloned() + .map(|(_, k2, ..)| (k2, initial_staking)), + ) + .chain( + additional_validators + .iter() + .cloned() + .map(|account_id| (account_id, initial_staking)), + ) + .collect(), + }, + dex_manager: DEXManagerConfig { + dex_list: vec![ + ( + 0, + DEXInfo { + base_asset_id: GetBaseAssetId::get(), + synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), + is_public: true, + }, + ), + ( + 1, + DEXInfo { + base_asset_id: XSTUSD.into(), + synthetic_base_asset_id: GetSyntheticBaseAssetId::get(), + is_public: true, + }, + ), + ], + }, + tokens: TokensConfig { + balances: vec![ + ( + rewards_account_id.clone(), + GetValAssetId::get(), + calculate_reserves(rewards_config.val_owners.iter().map(|(_, b)| b.total)), + ), + ( + rewards_account_id, + GetPswapAssetId::get(), + calculate_reserves(rewards_config.pswap_farm_owners.iter().map(|(_, b)| *b)) + + calculate_reserves( + rewards_config.pswap_waifu_owners.iter().map(|(_, b)| *b), + ), + ), + ( + mbc_pool_rewards_account_id.clone(), + PSWAP, + initial_pswap_tbc_rewards, + ), + ( + parliament_investment_fund, + VAL, + parliament_investment_fund_balance, + ), + ( + market_maker_rewards_account_id.clone(), + PSWAP, + initial_pswap_market_maker_rewards, + ), + ], + }, + trading_pair: TradingPairConfig { + trading_pairs: initial_collateral_assets + .iter() + .cloned() + .map(|target_asset_id| create_trading_pair(XOR.into(), target_asset_id)) + .collect(), + }, + dexapi: DEXAPIConfig { + source_types: [ + LiquiditySourceType::XYKPool, + LiquiditySourceType::MulticollateralBondingCurvePool, + LiquiditySourceType::OrderBook, + ] + .into(), + }, + eth_bridge: EthBridgeConfig { + authority_account: Some(eth_bridge_authority_account_id.clone()), + networks: vec![NetworkConfig { + initial_peers: initial_bridge_peers.iter().cloned().collect(), + bridge_account_id: eth_bridge_account_id.clone(), + assets: bridge_assets, + bridge_contract_address: eth_bridge_params.bridge_contract_address, + reserves: vec![ + (XOR.into(), initial_eth_bridge_xor_amount), + (VAL.into(), initial_eth_bridge_val_amount), + ], + }], + xor_master_contract_address: eth_bridge_params.xor_master_contract_address, + val_master_contract_address: eth_bridge_params.val_master_contract_address, + }, + bridge_multisig: BridgeMultisigConfig { + accounts: once(( + eth_bridge_account_id.clone(), + bridge_multisig::MultisigAccount::new(initial_bridge_peers), + )) + .collect(), + }, + multicollateral_bonding_curve_pool: MulticollateralBondingCurvePoolConfig { + distribution_accounts: accounts, + reserves_account_id: mbc_reserves_tech_account_id, + reference_asset_id: DAI.into(), + incentives_account_id: Some(mbc_pool_rewards_account_id), + initial_collateral_assets, + free_reserves_account_id: Some(mbc_pool_free_reserves_account_id), + }, + pswap_distribution: PswapDistributionConfig { + subscribed_accounts: Vec::new(), + burn_info: (fixed!(0.1), fixed!(0.000357), fixed!(0.65)), + }, + iroha_migration: IrohaMigrationConfig { + iroha_accounts: Vec::new(), + account_id: Some(iroha_migration_account_id), + }, + rewards: rewards_config, + council: CouncilConfig { + members: council_accounts, + phantom: Default::default(), + }, + technical_committee: TechnicalCommitteeConfig { + members: technical_committee_accounts, + phantom: Default::default(), + }, + democracy: DemocracyConfig::default(), + elections_phragmen: Default::default(), + technical_membership: Default::default(), + im_online: Default::default(), + xst_pool: XSTPoolConfig { + reference_asset_id: DAI, + initial_synthetic_assets: vec![( + XSTUSD, + common::SymbolName::usd().into(), + fixed!(0.00666), + )], + }, + beefy: BeefyConfig { + authorities: vec![], + }, + } +} + +fn create_trading_pair( + base_asset_id: AssetId, + target_asset_id: AssetId, +) -> (u32, common::TradingPair) { + ( + DEXId::Polkaswap.into(), + common::TradingPair { + base_asset_id, + target_asset_id, + }, + ) +} + +/// Creates TestExternalities +#[cfg(all(feature = "test", not(feature = "private-net")))] +pub fn ext() -> sp_io::TestExternalities { + let storage = main_net_coded().build_storage().unwrap(); + sp_io::TestExternalities::new(storage) +} + +/// Creates TestExternalities for `private-net` +#[cfg(all(feature = "test", feature = "private-net"))] +pub fn ext() -> sp_io::TestExternalities { + let storage = dev_net_coded().build_storage().unwrap(); + sp_io::TestExternalities::new(storage) +} + +#[cfg(test)] +mod tests { + use hex_literal::hex; + + use common::eth::EthAddress; + use common::{balance, Balance}; + + #[test] + fn calculate_reserves() { + let accounts: Vec<(EthAddress, Balance)> = vec![ + ( + hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), + balance!(100), + ), + ( + hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), + balance!(23.4000000), + ), + ( + hex!("3520adc7b99e55c77efd0e0d379d07d08a7488cc").into(), + balance!(0.05678), + ), + ]; + assert_eq!( + super::calculate_reserves(accounts.iter().map(|(_, b)| *b)), + balance!(123.45678) + ); + } +} diff --git a/node/src/command.rs b/node/src/command.rs index e19e187140..00fb27c97f 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -76,7 +76,7 @@ impl SubstrateCli for Cli { #[cfg(not(feature = "private-net"))] if id == "main" { - // chain_spec = Some(framenode_chain_spec::main_net()?); + chain_spec = Some(framenode_chain_spec::main_net()?); } #[cfg(feature = "main-net-coded")] @@ -87,17 +87,11 @@ impl SubstrateCli for Cli { let chain_spec = if let Some(chain_spec) = chain_spec { chain_spec } else { - todo!() - // framenode_chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(id))? + framenode_chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(id))? }; - // Ok(Box::new(chain_spec)) - todo!() + Ok(Box::new(chain_spec)) } - - // fn native_runtime_version(_: &Box) -> &'static RuntimeVersion { - // &framenode_runtime::VERSION - // } } /// Parse and run command line arguments diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 081e8ac9ca..01a8e97f3b 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -70,8 +70,8 @@ use frame_support::traits::EitherOf; use frame_support::weights::ConstantMultiplier; // // Make the WASM binary available. -// #[cfg(all(feature = "std", feature = "build-wasm-binary"))] -// include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); +#[cfg(all(feature = "std", feature = "build-wasm-binary"))] +include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use core::time::Duration; use currencies::BasicCurrencyAdapter; From 7db70fc3037802908395cc95424ce65094690a4b Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 31 May 2024 20:40:21 -0300 Subject: [PATCH 019/110] fix utils --- Cargo.lock | 56 + Cargo.toml | 7 +- _Cargo.lock | 12691 ------------------------------- runtime/src/lib.rs | 2 +- utils/generate-bags/Cargo.toml | 2 +- utils/remote-ext/Cargo.toml | 2 +- 6 files changed, 62 insertions(+), 12698 deletions(-) delete mode 100644 _Cargo.lock diff --git a/Cargo.lock b/Cargo.lock index 14616b9df8..1b84e0a91d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4227,6 +4227,21 @@ dependencies = [ "byteorder", ] +[[package]] +name = "generate-bags" +version = "0.1.0" +dependencies = [ + "chrono", + "clap", + "frame-election-provider-support", + "frame-support", + "frame-system", + "framenode-runtime", + "num-format", + "pallet-staking", + "sp-io", +] + [[package]] name = "generic-array" version = "0.12.4" @@ -7556,6 +7571,17 @@ dependencies = [ "windows-targets 0.52.5", ] +[[package]] +name = "parse" +version = "0.1.0" +dependencies = [ + "framenode-runtime", + "hex", + "parity-scale-codec", + "rustc-hex", + "scale-info", +] + [[package]] name = "partial_sort" version = "0.2.0" @@ -8630,6 +8656,36 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +[[package]] +name = "remote-ext" +version = "0.1.0" +dependencies = [ + "anyhow", + "clap", + "common 0.1.0", + "dex-manager", + "env_logger", + "frame-election-provider-support", + "frame-remote-externalities 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", + "framenode-runtime", + "hex", + "jsonrpsee", + "liquidity-proxy", + "log", + "parity-scale-codec", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-runtime", + "sp-version", + "thiserror", + "tokio", + "xst", +] + [[package]] name = "resolv-conf" version = "0.7.0" diff --git a/Cargo.toml b/Cargo.toml index c8144feeba..4f7b928c71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -363,7 +363,6 @@ multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } pallet-multisig = { path = "../sora2-common/pallets/multisig" } evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } bridge-channel = { path = "../sora2-common/pallets/channel" } -# substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } [workspace] members = [ @@ -406,9 +405,9 @@ members = [ "pallets/band", "pallets/qa-tools", "node/", - # "utils/parse", - # "utils/generate-bags", - # "utils/remote-ext", + "utils/parse", + "utils/generate-bags", + "utils/remote-ext", ] resolver = "2" diff --git a/_Cargo.lock b/_Cargo.lock deleted file mode 100644 index d2e147aed5..0000000000 --- a/_Cargo.lock +++ /dev/null @@ -1,12691 +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.3", -] - -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli 0.28.1", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aead" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" -dependencies = [ - "crypto-common", - "generic-array 0.14.7", -] - -[[package]] -name = "aes" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - -[[package]] -name = "aes-gcm" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" -dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", - "subtle", -] - -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "version_check", -] - -[[package]] -name = "ahash" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" -dependencies = [ - "cfg-if", - "getrandom 0.2.15", - "once_cell", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[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.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" - -[[package]] -name = "apollo-platform" -version = "1.3.1" -dependencies = [ - "apollo-platform", - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "liquidity-proxy", - "log", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "approx" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" -dependencies = [ - "num-traits", -] - -[[package]] -name = "aquamarine" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" -dependencies = [ - "include_dir", - "itertools", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-bls12-381" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-ec" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" -dependencies = [ - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", - "itertools", - "num-traits", - "zeroize", -] - -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ff" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" -dependencies = [ - "ark-ff-asm", - "ark-ff-macros", - "ark-serialize", - "ark-std", - "derivative", - "digest 0.10.7", - "itertools", - "num-bigint", - "num-traits", - "paste", - "rustc_version 0.4.0", - "zeroize", -] - -[[package]] -name = "ark-ff-asm" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-ff-macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" -dependencies = [ - "num-bigint", - "num-traits", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-poly" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "derivative", - "hashbrown 0.13.2", -] - -[[package]] -name = "ark-scale" -version = "0.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b08346a3e38e2be792ef53ee168623c9244d968ff00cd70fb9932f6fe36393" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", -] - -[[package]] -name = "ark-scale" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "ark-transcript", - "digest 0.10.7", - "rand_core 0.6.4", - "zeroize", -] - -[[package]] -name = "ark-serialize" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" -dependencies = [ - "ark-serialize-derive", - "ark-std", - "digest 0.10.7", - "num-bigint", -] - -[[package]] -name = "ark-serialize-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ark-std" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3 0.10.8", -] - -[[package]] -name = "array-bytes" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - -[[package]] -name = "array-bytes" -version = "6.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" - -[[package]] -name = "arrayref" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" - -[[package]] -name = "arrayvec" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" -dependencies = [ - "nodrop", -] - -[[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.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" - -[[package]] -name = "asn1-rs" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0" -dependencies = [ - "asn1-rs-derive", - "asn1-rs-impl", - "displaydoc", - "nom", - "num-traits", - "rusticata-macros", - "thiserror", - "time", -] - -[[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 1.0.109", - "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 1.0.109", -] - -[[package]] -name = "assets" -version = "1.3.1" -dependencies = [ - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "tiny-keccak", -] - -[[package]] -name = "assets-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "async-attributes" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" -dependencies = [ - "quote", - "syn 1.0.109", -] - -[[package]] -name = "async-channel" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -dependencies = [ - "concurrent-queue", - "event-listener 2.5.3", - "futures-core", -] - -[[package]] -name = "async-channel" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" -dependencies = [ - "concurrent-queue", - "event-listener-strategy 0.5.2", - "futures-core", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "async-executor" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" -dependencies = [ - "async-task", - "concurrent-queue", - "fastrand 2.1.0", - "futures-lite 2.3.0", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" -dependencies = [ - "async-channel 2.3.1", - "async-executor", - "async-io 2.3.2", - "async-lock 3.3.0", - "blocking", - "futures-lite 2.3.0", - "once_cell", -] - -[[package]] -name = "async-io" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2 0.4.10", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" -dependencies = [ - "async-lock 3.3.0", - "cfg-if", - "concurrent-queue", - "futures-io", - "futures-lite 2.3.0", - "parking", - "polling 3.7.0", - "rustix 0.38.34", - "slab", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", -] - -[[package]] -name = "async-lock" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" -dependencies = [ - "event-listener 4.0.3", - "event-listener-strategy 0.4.0", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "async-process" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" -dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", - "async-signal", - "blocking", - "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.34", - "windows-sys 0.48.0", -] - -[[package]] -name = "async-recursion" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "async-signal" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" -dependencies = [ - "async-io 2.3.2", - "async-lock 3.3.0", - "atomic-waker", - "cfg-if", - "futures-core", - "futures-io", - "rustix 0.38.34", - "signal-hook-registry", - "slab", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-attributes", - "async-channel 1.9.0", - "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", - "async-process", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite 1.13.0", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite 0.2.14", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" - -[[package]] -name = "async-trait" -version = "0.1.80" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "asynchronous-codec" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4057f2c32adbb2fc158e22fb38433c8e9bbf76b75a4732c7c0cbaf695fb65568" -dependencies = [ - "bytes", - "futures-sink", - "futures-util", - "memchr", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - -[[package]] -name = "autocfg" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" - -[[package]] -name = "backtrace" -version = "0.3.71" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" -dependencies = [ - "addr2line 0.21.0", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object 0.32.2", - "rustc-demangle", -] - -[[package]] -name = "band" -version = "1.0.1" -dependencies = [ - "common 0.1.0", - "fallible-iterator 0.3.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "oracle-proxy", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "xst", -] - -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-scale 0.0.12", - "ark-serialize", - "ark-std", - "dleq_vrf", - "fflonk", - "merlin 3.0.0", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring 0.1.0", - "sha2 0.10.8", - "zeroize", -] - -[[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 = "base16ct" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" - -[[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 = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - -[[package]] -name = "base64ct" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" - -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - -[[package]] -name = "beefy-light-client" -version = "0.1.0" -dependencies = [ - "anyhow", - "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "bridge-common", - "bridge-types", - "ckb-merkle-mountain-range", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "beefy-light-client-runtime-api" -version = "0.1.0" -dependencies = [ - "bridge-types", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "hash-db 0.16.0", - "log", -] - -[[package]] -name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "hash-db 0.16.0", - "log", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty", - "radium", - "serde", - "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.7", -] - -[[package]] -name = "blake2-rfc" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" -dependencies = [ - "arrayvec 0.4.12", - "constant_time_eq 0.1.5", -] - -[[package]] -name = "blake2b_simd" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", -] - -[[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 = [ - "block-padding 0.2.1", - "generic-array 0.14.7", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array 0.14.7", -] - -[[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 = "blocking" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" -dependencies = [ - "async-channel 2.3.1", - "async-lock 3.3.0", - "async-task", - "futures-io", - "futures-lite 2.3.0", - "piper", -] - -[[package]] -name = "bounded-collections" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" -dependencies = [ - "log", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "bridge-channel" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git#cfedc198af9f89463f91c55d9fdd174082391dc0" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "hex-literal", - "once_cell", - "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "parity-scale-codec", - "rlp", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "bridge-common" -version = "0.1.0" -dependencies = [ - "bitvec", - "bridge-types", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", -] - -[[package]] -name = "bridge-data-signer" -version = "0.1.1" -dependencies = [ - "bridge-common", - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "bridge-proxy" -version = "0.1.0" -dependencies = [ - "assets", - "bridge-channel", - "bridge-types", - "common 0.1.0", - "dispatch", - "evm-fungible-app", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-keyring", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", - "technical", -] - -[[package]] -name = "bridge-proxy-runtime-api" -version = "0.1.0" -dependencies = [ - "bridge-types", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "bridge-types" -version = "0.1.0" -dependencies = [ - "derivative", - "ethabi", - "ethash", - "ethbloom", - "ethereum-types", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "getrandom 0.2.15", - "hex-literal", - "libsecp256k1", - "log", - "orml-traits", - "parity-bytes", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", -] - -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bs58" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "bstr" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" -dependencies = [ - "memchr", - "serde", -] - -[[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.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[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 = "bytemuck" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15" - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "bytes" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" - -[[package]] -name = "camino" -version = "1.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-platform" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.15.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" -dependencies = [ - "camino", - "cargo-platform", - "semver 1.0.23", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "cc" -version = "1.0.97" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4" -dependencies = [ - "jobserver", - "libc", - "once_cell", -] - -[[package]] -name = "ceres-governance-platform" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-governance-platform", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "ceres-launchpad" -version = "1.0.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "ceres-token-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "ceres-liquidity-locker" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "ceres-liquidity-locker-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "getrandom 0.2.15", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "ceres-staking" -version = "1.0.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "ceres-token-locker" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[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-expr" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" -dependencies = [ - "smallvec", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chacha20" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - -[[package]] -name = "chacha20poly1305" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" -dependencies = [ - "aead", - "chacha20", - "cipher", - "poly1305", - "zeroize", -] - -[[package]] -name = "chrono" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "js-sys", - "num-traits", - "wasm-bindgen", - "windows-targets 0.52.5", -] - -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", - "zeroize", -] - -[[package]] -name = "ckb-merkle-mountain-range" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" -dependencies = [ - "cfg-if", -] - -[[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 = "common" -version = "0.1.0" -dependencies = [ - "blake2-rfc", - "bridge-types", - "env_logger", - "fixnum", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "libsecp256k1", - "num-traits", - "orml-currencies", - "orml-traits", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "paste", - "rustc-hex", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "static_assertions", - "strum 0.25.0", - "thiserror", -] - -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "fflonk", - "merlin 3.0.0", -] - -[[package]] -name = "common-path" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" - -[[package]] -name = "concurrent-queue" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "console" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "unicode-width", - "windows-sys 0.52.0", -] - -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "const-random" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" -dependencies = [ - "const-random-macro", -] - -[[package]] -name = "const-random-macro" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" -dependencies = [ - "getrandom 0.2.15", - "once_cell", - "tiny-keccak", -] - -[[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.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" - -[[package]] -name = "core-foundation" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" - -[[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", -] - -[[package]] -name = "cpufeatures" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" -dependencies = [ - "libc", -] - -[[package]] -name = "cranelift-bforest" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" -dependencies = [ - "cranelift-entity 0.95.1", -] - -[[package]] -name = "cranelift-codegen" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" -dependencies = [ - "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-entity 0.95.1", - "cranelift-isle", - "gimli 0.27.3", - "hashbrown 0.13.2", - "log", - "regalloc2", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-codegen-meta" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" -dependencies = [ - "cranelift-codegen-shared", -] - -[[package]] -name = "cranelift-codegen-shared" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" - -[[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-entity" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" -dependencies = [ - "serde", -] - -[[package]] -name = "cranelift-frontend" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" -dependencies = [ - "cranelift-codegen", - "log", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-isle" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" - -[[package]] -name = "cranelift-native" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" -dependencies = [ - "cranelift-codegen", - "libc", - "target-lexicon", -] - -[[package]] -name = "cranelift-wasm" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" -dependencies = [ - "cranelift-codegen", - "cranelift-entity 0.95.1", - "cranelift-frontend", - "itertools", - "log", - "smallvec", - "wasmparser 0.102.0", - "wasmtime-types 8.0.1", -] - -[[package]] -name = "crc32fast" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" -dependencies = [ - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" - -[[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.7", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-bigint" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" -dependencies = [ - "generic-array 0.14.7", - "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.7", - "rand_core 0.6.4", - "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.7", - "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.7", - "subtle", -] - -[[package]] -name = "ctr" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" -dependencies = [ - "cipher", -] - -[[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.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" -dependencies = [ - "cfg-if", - "cpufeatures", - "curve25519-dalek-derive", - "digest 0.10.7", - "fiat-crypto", - "platforms", - "rustc_version 0.4.0", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek-derive" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "cxx" -version = "1.0.122" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb497fad022245b29c2a0351df572e2d67c1046bcef2260ebc022aec81efea82" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.122" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9327c7f9fbd6329a200a5d4aa6f674c60ab256525ff0084b52a889d4e4c60cee" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn 2.0.61", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.122" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c799a4a846f1c0acb9f36bb9c6272d9b3d9457f3633c7753c6057270df13c" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.122" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928bc249a7e3cd554fd2e8e08a426e9670c50bbfc9a621653cfa9accc9641783" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "data-encoding" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" - -[[package]] -name = "data-encoding-macro" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" -dependencies = [ - "data-encoding", - "data-encoding-macro-internal", -] - -[[package]] -name = "data-encoding-macro-internal" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" -dependencies = [ - "data-encoding", - "syn 1.0.109", -] - -[[package]] -name = "demeter-farming-platform" -version = "1.0.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "demeter-farming-platform-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "der" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "der" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" -dependencies = [ - "const-oid", - "zeroize", -] - -[[package]] -name = "der-parser" -version = "8.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e" -dependencies = [ - "asn1-rs", - "displaydoc", - "nom", - "num-bigint", - "num-traits", - "rusticata-macros", -] - -[[package]] -name = "deranged" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive-syn-parse" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive-syn-parse" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "derive_more" -version = "0.99.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "dex-api" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.25.0", - "technical", -] - -[[package]] -name = "dex-manager" -version = "0.2.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "dex-manager-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "dex-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[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.7", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer 0.10.4", - "const-oid", - "crypto-common", - "subtle", -] - -[[package]] -name = "directories-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" -dependencies = [ - "cfg-if", - "dirs-sys-next", -] - -[[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 = "dispatch" -version = "0.1.1" -dependencies = [ - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "displaydoc" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-scale 0.0.10", - "ark-secret-scalar", - "ark-serialize", - "ark-std", - "ark-transcript", - "arrayvec 0.7.4", - "rand_core 0.6.4", - "zeroize", -] - -[[package]] -name = "docify" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" -dependencies = [ - "docify_macros", -] - -[[package]] -name = "docify_macros" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" -dependencies = [ - "common-path", - "derive-syn-parse 0.2.0", - "once_cell", - "proc-macro2", - "quote", - "regex", - "syn 2.0.61", - "termcolor", - "toml 0.8.12", - "walkdir", -] - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" - -[[package]] -name = "dtoa" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" - -[[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 1.0.109", -] - -[[package]] -name = "dyn-clone" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" - -[[package]] -name = "ecdsa" -version = "0.14.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" -dependencies = [ - "der 0.6.1", - "elliptic-curve 0.12.3", - "rfc6979 0.3.1", - "signature 1.6.4", -] - -[[package]] -name = "ecdsa" -version = "0.16.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" -dependencies = [ - "der 0.7.9", - "digest 0.10.7", - "elliptic-curve 0.13.8", - "rfc6979 0.4.0", - "signature 2.2.0", - "spki 0.7.3", -] - -[[package]] -name = "ed25519" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" -dependencies = [ - "signature 1.6.4", -] - -[[package]] -name = "ed25519" -version = "2.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" -dependencies = [ - "pkcs8 0.10.2", - "signature 2.2.0", -] - -[[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 1.5.3", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "ed25519-dalek" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" -dependencies = [ - "curve25519-dalek 4.1.2", - "ed25519 2.2.3", - "rand_core 0.6.4", - "serde", - "sha2 0.10.8", - "subtle", - "zeroize", -] - -[[package]] -name = "ed25519-dalek-iroha" -version = "1.0.1" -source = "git+https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git?branch=develop#11f9bb453fe208f83840dd6ddb4d05afdb0c1fde" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519 1.5.3", - "sha3 0.9.1", - "zeroize", -] - -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" - -[[package]] -name = "elliptic-curve" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" -dependencies = [ - "base16ct 0.1.1", - "crypto-bigint 0.4.9", - "der 0.6.1", - "digest 0.10.7", - "ff 0.12.1", - "generic-array 0.14.7", - "group 0.12.1", - "rand_core 0.6.4", - "sec1 0.3.0", - "subtle", - "zeroize", -] - -[[package]] -name = "elliptic-curve" -version = "0.13.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" -dependencies = [ - "base16ct 0.2.0", - "crypto-bigint 0.5.5", - "digest 0.10.7", - "ff 0.13.0", - "generic-array 0.14.7", - "group 0.13.0", - "pkcs8 0.10.2", - "rand_core 0.6.4", - "sec1 0.7.3", - "subtle", - "zeroize", -] - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[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 1.0.109", -] - -[[package]] -name = "enumflags2" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" -dependencies = [ - "enumflags2_derive", -] - -[[package]] -name = "enumflags2_derive" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "environmental" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[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" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[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 = "eth-bridge" -version = "0.2.0" -dependencies = [ - "assets", - "async-std", - "bridge-types", - "common 0.1.0", - "env_logger", - "ethabi", - "ethabi-contract", - "ethabi-derive", - "ethereum-types", - "frame-benchmarking 4.0.0-dev", - "frame-executive", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "jsonrpc-core", - "libsecp256k1", - "log", - "once_cell", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-multisig 3.2.3", - "pallet-scheduler", - "pallet-sudo", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "parity-util-mem", - "parking_lot 0.12.2", - "permissions", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "tiny-keccak", - "tokio", -] - -[[package]] -name = "eth-bridge-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "ethabi" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" -dependencies = [ - "ethereum-types", - "hex", - "once_cell", - "regex", - "serde", - "serde_json", - "sha3 0.10.8", - "thiserror", - "uint", -] - -[[package]] -name = "ethabi-contract" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" - -[[package]] -name = "ethabi-derive" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" -dependencies = [ - "ethabi", - "heck", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "ethash" -version = "0.6.0" -source = "git+https://github.com/sora-xor/ethash.git?branch=sora-v1.6.0#e08609468f3ff60fecf6a0643d121db43793e137" -dependencies = [ - "byteorder", - "ethereum-types", - "rlp", - "sha3 0.10.8", -] - -[[package]] -name = "ethbloom" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60" -dependencies = [ - "crunchy", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "tiny-keccak", -] - -[[package]] -name = "ethereum-types" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee" -dependencies = [ - "ethbloom", - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "primitive-types", - "scale-info", - "uint", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener-strategy" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.3", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener-strategy" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" -dependencies = [ - "event-listener 5.3.0", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "evm-fungible-app" -version = "0.1.1" -dependencies = [ - "bridge-types", - "dispatch", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "expander" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" -dependencies = [ - "blake2", - "fs-err", - "prettier-please", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[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 = "fallible-iterator" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" - -[[package]] -name = "farming" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "env_logger", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-scheduler", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "rustc-hex", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "farming-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fastrand" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" - -[[package]] -name = "faucet" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "rewards", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[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 = "ff" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "merlin 3.0.0", -] - -[[package]] -name = "fiat-crypto" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38793c55593b33412e3ae40c2c9781ffaa6f438f6f8c10f24e71846fbd7ae01e" - -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - -[[package]] -name = "filetime" -version = "0.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", -] - -[[package]] -name = "finality-grandpa" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" -dependencies = [ - "either", - "futures", - "futures-timer", - "log", - "num-traits", - "parity-scale-codec", - "parking_lot 0.12.2", - "scale-info", -] - -[[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 = "fixnum" -version = "0.6.0" -source = "git+https://github.com/sora-xor/fixnum?branch=sora-v2.1.0#db1163310fa150ea4d5f5ce5204cf44447ae9a70" -dependencies = [ - "derive_more", - "parity-scale-codec", - "scale-info", - "serde", - "static_assertions", - "typenum", -] - -[[package]] -name = "flate2" -version = "1.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - -[[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 = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[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" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-support-procedural 4.0.0-dev", - "frame-system 4.0.0-dev", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "static_assertions", -] - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-application-crypto 7.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "static_assertions", -] - -[[package]] -name = "frame-election-provider-solution-type" -version = "4.0.0-dev" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-election-provider-support" -version = "4.0.0-dev" -dependencies = [ - "frame-election-provider-solution-type", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-npos-elections", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "frame-executive" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "frame-try-runtime 0.10.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", -] - -[[package]] -name = "frame-metadata" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-metadata" -version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "async-recursion", - "futures", - "indicatif", - "jsonrpsee", - "log", - "parity-scale-codec", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "spinners", - "substrate-rpc-client", - "tokio", - "tokio-retry", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -dependencies = [ - "aquamarine", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata 16.0.0", - "frame-support-procedural 4.0.0-dev", - "impl-trait-for-tuples", - "k256 0.13.3", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-core-hashing-proc-macro 9.0.0", - "sp-debug-derive 8.0.0", - "sp-genesis-builder", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-weights 20.0.0", - "static_assertions", - "tt-call", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bitflags 1.3.2", - "frame-metadata 15.1.0", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "impl-trait-for-tuples", - "k256 0.11.6", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-core-hashing-proc-macro 5.0.0", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-weights 4.0.0", - "tt-call", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "cfg-expr 0.15.8", - "derive-syn-parse 0.1.5", - "expander", - "frame-support-procedural-tools 4.0.0-dev", - "itertools", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "cfg-expr 0.10.3", - "derive-syn-parse 0.1.5", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -dependencies = [ - "cfg-if", - "frame-support 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version 22.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version 5.0.0", - "sp-weights 4.0.0", -] - -[[package]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -dependencies = [ - "parity-scale-codec", - "sp-api 4.0.0-dev", -] - -[[package]] -name = "frame-try-runtime" -version = "0.10.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "frame-support 4.0.0-dev", - "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "framenode-chain-spec" -version = "3.3.0" - -[[package]] -name = "framenode-runtime" -version = "3.3.0" -dependencies = [ - "apollo-platform", - "assets", - "assets-runtime-api", - "band", - "beefy-light-client", - "beefy-light-client-runtime-api", - "bridge-channel", - "bridge-data-signer", - "bridge-proxy", - "bridge-proxy-runtime-api", - "bridge-types", - "ceres-governance-platform", - "ceres-launchpad", - "ceres-liquidity-locker", - "ceres-liquidity-locker-benchmarking", - "ceres-staking", - "ceres-token-locker", - "common 0.1.0", - "demeter-farming-platform", - "demeter-farming-platform-benchmarking", - "dex-api", - "dex-manager", - "dex-manager-runtime-api", - "dex-runtime-api", - "dispatch", - "env_logger", - "eth-bridge", - "eth-bridge-runtime-api", - "evm-fungible-app", - "farming", - "farming-runtime-api", - "faucet", - "frame-benchmarking 4.0.0-dev", - "frame-election-provider-support", - "frame-executive", - "frame-remote-externalities", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "framenode-chain-spec", - "hermes-governance-platform", - "hex-literal", - "iroha-migration", - "iroha-migration-runtime-api", - "kensetsu", - "kensetsu-benchmarking", - "leaf-provider", - "leaf-provider-runtime-api", - "liquidity-proxy", - "liquidity-proxy-benchmarking", - "liquidity-proxy-runtime-api", - "log", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "multisig-verifier", - "oracle-proxy", - "oracle-proxy-runtime-api", - "order-book", - "order-book-benchmarking", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-aura", - "pallet-authorship", - "pallet-babe", - "pallet-bags-list", - "pallet-balances", - "pallet-beefy", - "pallet-beefy-mmr", - "pallet-collective", - "pallet-democracy", - "pallet-election-provider-multi-phase", - "pallet-elections-phragmen", - "pallet-grandpa", - "pallet-identity", - "pallet-im-online", - "pallet-insecure-randomness-collective-flip", - "pallet-membership", - "pallet-mmr", - "pallet-multisig 3.2.3", - "pallet-multisig 4.0.0-dev", - "pallet-offences", - "pallet-preimage", - "pallet-scheduler", - "pallet-session", - "pallet-staking", - "pallet-sudo", - "pallet-timestamp 4.0.0-dev", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-utility", - "parachain-bridge-app", - "parity-scale-codec", - "parity-scale-codec-derive", - "permissions", - "pool-xyk", - "pool-xyk-benchmarking", - "price-tools", - "pswap-distribution", - "pswap-distribution-benchmarking", - "pswap-distribution-runtime-api", - "qa-tools", - "referrals", - "rewards", - "rewards-runtime-api", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-block-builder", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-npos-elections", - "sp-offchain", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-transaction-pool", - "sp-version 22.0.0", - "static_assertions", - "substrate-bridge-app", - "substrate-bridge-channel", - "substrate-wasm-builder", - "technical", - "tokio", - "trading-pair", - "trading-pair-runtime-api", - "vested-rewards", - "vested-rewards-runtime-api", - "xor-fee", - "xst", - "xst-benchmarking", -] - -[[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-executor" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", - "num_cpus", -] - -[[package]] -name = "futures-io" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite 0.2.14", - "waker-fn", -] - -[[package]] -name = "futures-lite" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" -dependencies = [ - "fastrand 2.1.0", - "futures-core", - "futures-io", - "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "futures-macro" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[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.9", - "webpki", -] - -[[package]] -name = "futures-sink" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" - -[[package]] -name = "futures-task" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" - -[[package]] -name = "futures-timer" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" - -[[package]] -name = "futures-util" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite 0.2.14", - "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.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", - "zeroize", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "getrandom_or_panic" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "ghash" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" -dependencies = [ - "opaque-debug 0.3.1", - "polyval", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" -dependencies = [ - "fallible-iterator 0.2.0", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.27.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" -dependencies = [ - "fallible-iterator 0.2.0", - "indexmap 1.9.3", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" - -[[package]] -name = "globset" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", -] - -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff 0.12.1", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "group" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" -dependencies = [ - "ff 0.13.0", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap 2.2.6", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - -[[package]] -name = "hash-db" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" - -[[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 0.7.8", -] - -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" -dependencies = [ - "ahash 0.8.11", -] - -[[package]] -name = "hashbrown" -version = "0.14.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermes-governance-platform" -version = "1.2.0" -dependencies = [ - "assets", - "ceres-governance-platform", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hermes-governance-platform", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] - -[[package]] -name = "hex-literal" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" - -[[package]] -name = "hkdf" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" -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.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.7", -] - -[[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.7", - "hmac 0.8.1", -] - -[[package]] -name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - -[[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.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" -dependencies = [ - "bytes", - "http", - "pin-project-lite 0.2.14", -] - -[[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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" - -[[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.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite 0.2.14", - "socket2 0.4.10", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" -dependencies = [ - "futures-util", - "http", - "hyper", - "log", - "rustls 0.21.12", - "rustls-native-certs", - "tokio", - "tokio-rustls", - "webpki-roots 0.25.4", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows-core 0.52.0", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[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.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "if-addrs" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "if-watch" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" -dependencies = [ - "async-io 2.3.2", - "core-foundation", - "fnv", - "futures", - "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-rlp" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" -dependencies = [ - "rlp", -] - -[[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 1.0.109", -] - -[[package]] -name = "include_dir" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" -dependencies = [ - "include_dir_macros", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" -dependencies = [ - "proc-macro2", - "quote", -] - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", - "serde", -] - -[[package]] -name = "indexmap" -version = "2.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" -dependencies = [ - "equivalent", - "hashbrown 0.14.5", -] - -[[package]] -name = "indicatif" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" -dependencies = [ - "console", - "instant", - "number_prefix", - "portable-atomic", - "unicode-width", -] - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "instant" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" -dependencies = [ - "cfg-if", -] - -[[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 = "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.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.48.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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" -dependencies = [ - "socket2 0.5.7", - "widestring", - "windows-sys 0.48.0", - "winreg", -] - -[[package]] -name = "ipnet" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" - -[[package]] -name = "iroha-migration" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "ed25519-dalek-iroha", - "eth-bridge", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-multisig 4.0.0-dev", - "parity-scale-codec", - "parity-util-mem", - "permissions", - "referrals", - "scale-info", - "serde", - "sha3 0.9.1", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "iroha-migration-runtime-api" -version = "0.1.0" -dependencies = [ - "sp-api 4.0.0-dev", -] - -[[package]] -name = "is-terminal" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" -dependencies = [ - "hermit-abi", - "libc", - "windows-sys 0.52.0", -] - -[[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.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "jobserver" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "jsonrpc-core" -version = "17.0.0" -source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" -dependencies = [ - "futures", - "log", - "serde", - "serde_derive", - "serde_json", -] - -[[package]] -name = "jsonrpsee" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" -dependencies = [ - "jsonrpsee-core", - "jsonrpsee-http-client", - "jsonrpsee-proc-macros", - "jsonrpsee-server", - "jsonrpsee-types", - "jsonrpsee-ws-client", - "tracing", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" -dependencies = [ - "futures-util", - "http", - "jsonrpsee-core", - "jsonrpsee-types", - "pin-project", - "rustls-native-certs", - "soketto", - "thiserror", - "tokio", - "tokio-rustls", - "tokio-util", - "tracing", - "webpki-roots 0.25.4", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" -dependencies = [ - "anyhow", - "arrayvec 0.7.4", - "async-lock 2.8.0", - "async-trait", - "beef", - "futures-channel", - "futures-timer", - "futures-util", - "globset", - "hyper", - "jsonrpsee-types", - "parking_lot 0.12.2", - "rand 0.8.5", - "rustc-hash", - "serde", - "serde_json", - "soketto", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-http-client" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" -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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" -dependencies = [ - "heck", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "jsonrpsee-server" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" -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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - -[[package]] -name = "jsonrpsee-ws-client" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" -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", - "ecdsa 0.14.8", - "elliptic-curve 0.12.3", - "sha2 0.10.8", -] - -[[package]] -name = "k256" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" -dependencies = [ - "cfg-if", - "ecdsa 0.16.9", - "elliptic-curve 0.13.8", - "once_cell", - "sha2 0.10.8", -] - -[[package]] -name = "keccak" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "kensetsu" -version = "0.0.1" -dependencies = [ - "assets", - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "kensetsu-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "kensetsu", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "pool-xyk", - "price-tools", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - -[[package]] -name = "kvdb" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" -dependencies = [ - "smallvec", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "leaf-provider" -version = "0.1.1" -dependencies = [ - "bridge-types", - "ethabi", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "leaf-provider-runtime-api" -version = "0.1.0" -dependencies = [ - "bridge-types", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "libc" -version = "0.2.154" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" - -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - -[[package]] -name = "libp2p" -version = "0.51.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" -dependencies = [ - "bytes", - "futures", - "futures-timer", - "getrandom 0.2.15", - "instant", - "libp2p-allow-block-list", - "libp2p-connection-limits", - "libp2p-core", - "libp2p-dns", - "libp2p-identify", - "libp2p-identity", - "libp2p-kad", - "libp2p-mdns", - "libp2p-metrics", - "libp2p-noise", - "libp2p-ping", - "libp2p-quic", - "libp2p-request-response", - "libp2p-swarm", - "libp2p-tcp", - "libp2p-wasm-ext", - "libp2p-websocket", - "libp2p-yamux", - "multiaddr", - "pin-project", -] - -[[package]] -name = "libp2p-allow-block-list" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" -dependencies = [ - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", - "void", -] - -[[package]] -name = "libp2p-connection-limits" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" -dependencies = [ - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", - "void", -] - -[[package]] -name = "libp2p-core" -version = "0.39.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" -dependencies = [ - "either", - "fnv", - "futures", - "futures-timer", - "instant", - "libp2p-identity", - "log", - "multiaddr", - "multihash", - "multistream-select", - "once_cell", - "parking_lot 0.12.2", - "pin-project", - "quick-protobuf", - "rand 0.8.5", - "rw-stream-sink", - "smallvec", - "thiserror", - "unsigned-varint", - "void", -] - -[[package]] -name = "libp2p-dns" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" -dependencies = [ - "futures", - "libp2p-core", - "log", - "parking_lot 0.12.2", - "smallvec", - "trust-dns-resolver", -] - -[[package]] -name = "libp2p-identify" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" -dependencies = [ - "asynchronous-codec", - "either", - "futures", - "futures-timer", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", - "log", - "lru", - "quick-protobuf", - "quick-protobuf-codec", - "smallvec", - "thiserror", - "void", -] - -[[package]] -name = "libp2p-identity" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276bb57e7af15d8f100d3c11cbdd32c6752b7eef4ba7a18ecf464972c07abcce" -dependencies = [ - "bs58 0.4.0", - "ed25519-dalek 2.1.1", - "log", - "multiaddr", - "multihash", - "quick-protobuf", - "rand 0.8.5", - "sha2 0.10.8", - "thiserror", - "zeroize", -] - -[[package]] -name = "libp2p-kad" -version = "0.43.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" -dependencies = [ - "arrayvec 0.7.4", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", - "log", - "quick-protobuf", - "rand 0.8.5", - "sha2 0.10.8", - "smallvec", - "thiserror", - "uint", - "unsigned-varint", - "void", -] - -[[package]] -name = "libp2p-mdns" -version = "0.43.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" -dependencies = [ - "data-encoding", - "futures", - "if-watch", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", - "log", - "rand 0.8.5", - "smallvec", - "socket2 0.4.10", - "tokio", - "trust-dns-proto", - "void", -] - -[[package]] -name = "libp2p-metrics" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" -dependencies = [ - "libp2p-core", - "libp2p-identify", - "libp2p-kad", - "libp2p-ping", - "libp2p-swarm", - "prometheus-client", -] - -[[package]] -name = "libp2p-noise" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" -dependencies = [ - "bytes", - "curve25519-dalek 3.2.0", - "futures", - "libp2p-core", - "libp2p-identity", - "log", - "once_cell", - "quick-protobuf", - "rand 0.8.5", - "sha2 0.10.8", - "snow", - "static_assertions", - "thiserror", - "x25519-dalek 1.1.1", - "zeroize", -] - -[[package]] -name = "libp2p-ping" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" -dependencies = [ - "either", - "futures", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-swarm", - "log", - "rand 0.8.5", - "void", -] - -[[package]] -name = "libp2p-quic" -version = "0.7.0-alpha.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" -dependencies = [ - "bytes", - "futures", - "futures-timer", - "if-watch", - "libp2p-core", - "libp2p-identity", - "libp2p-tls", - "log", - "parking_lot 0.12.2", - "quinn-proto", - "rand 0.8.5", - "rustls 0.20.9", - "thiserror", - "tokio", -] - -[[package]] -name = "libp2p-request-response" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" -dependencies = [ - "async-trait", - "futures", - "instant", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm", - "rand 0.8.5", - "smallvec", -] - -[[package]] -name = "libp2p-swarm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" -dependencies = [ - "either", - "fnv", - "futures", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-identity", - "libp2p-swarm-derive", - "log", - "rand 0.8.5", - "smallvec", - "tokio", - "void", -] - -[[package]] -name = "libp2p-swarm-derive" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" -dependencies = [ - "heck", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "libp2p-tcp" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" -dependencies = [ - "futures", - "futures-timer", - "if-watch", - "libc", - "libp2p-core", - "log", - "socket2 0.4.10", - "tokio", -] - -[[package]] -name = "libp2p-tls" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" -dependencies = [ - "futures", - "futures-rustls", - "libp2p-core", - "libp2p-identity", - "rcgen", - "ring 0.16.20", - "rustls 0.20.9", - "thiserror", - "webpki", - "x509-parser", - "yasna", -] - -[[package]] -name = "libp2p-wasm-ext" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" -dependencies = [ - "futures", - "js-sys", - "libp2p-core", - "parity-send-wrapper", - "wasm-bindgen", - "wasm-bindgen-futures", -] - -[[package]] -name = "libp2p-websocket" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" -dependencies = [ - "either", - "futures", - "futures-rustls", - "libp2p-core", - "log", - "parking_lot 0.12.2", - "quicksink", - "rw-stream-sink", - "soketto", - "url", - "webpki-roots 0.22.6", -] - -[[package]] -name = "libp2p-yamux" -version = "0.43.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" -dependencies = [ - "futures", - "libp2p-core", - "log", - "thiserror", - "yamux", -] - -[[package]] -name = "libredox" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" -dependencies = [ - "bitflags 2.5.0", - "libc", -] - -[[package]] -name = "libsecp256k1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" -dependencies = [ - "arrayref", - "base64 0.13.1", - "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.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "link-cplusplus" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" -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.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" -dependencies = [ - "nalgebra", -] - -[[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 = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" - -[[package]] -name = "liquidity-proxy" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "fallible-iterator 0.2.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "itertools", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "qa-tools", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "liquidity-proxy-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "liquidity-proxy", - "mock-liquidity-source", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "liquidity-proxy-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" -dependencies = [ - "value-bag", -] - -[[package]] -name = "lru" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" -dependencies = [ - "hashbrown 0.13.2", -] - -[[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 = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - -[[package]] -name = "macro_magic" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aee866bfee30d2d7e83835a4574aad5b45adba4cc807f2a3bbba974e5d4383c9" -dependencies = [ - "macro_magic_core", - "macro_magic_macros", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "macro_magic_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e766a20fd9c72bab3e1e64ed63f36bd08410e75803813df210d1ce297d7ad00" -dependencies = [ - "const-random", - "derive-syn-parse 0.1.5", - "macro_magic_core_macros", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "macro_magic_core_macros" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "macro_magic_macros" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" -dependencies = [ - "macro_magic_core", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "maplit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" - -[[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 0.1.10", -] - -[[package]] -name = "matches" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" - -[[package]] -name = "matrixmultiply" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" -dependencies = [ - "autocfg", - "rawpointer", -] - -[[package]] -name = "memchr" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" - -[[package]] -name = "memfd" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" -dependencies = [ - "rustix 0.38.34", -] - -[[package]] -name = "memmap2" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" -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.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -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 0.15.2", - "hashbrown 0.12.3", -] - -[[package]] -name = "memory-db" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" -dependencies = [ - "hash-db 0.16.0", -] - -[[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 = "merlin" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.6.4", - "zeroize", -] - -[[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.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", -] - -[[package]] -name = "mock-liquidity-source" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "mockall" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c84490118f2ee2d74570d114f3d0493cbf02790df303d2707606c3e14e07c96" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "lazy_static", - "mockall_derive", - "predicates", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ce75669015c4f47b289fd4d4f56e894e4c96003ffdf3ac51313126f94c6cbb" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "multiaddr" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b36f567c7099511fa8612bbbb52dda2419ce0bdbacf31714e3a5ffdb766d3bd" -dependencies = [ - "arrayref", - "byteorder", - "data-encoding", - "log", - "multibase", - "multihash", - "percent-encoding", - "serde", - "static_assertions", - "unsigned-varint", - "url", -] - -[[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 = "multicollateral-bonding-curve-pool" -version = "0.3.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "vested-rewards", -] - -[[package]] -name = "multihash" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" -dependencies = [ - "core2", - "multihash-derive", - "unsigned-varint", -] - -[[package]] -name = "multihash-derive" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", -] - -[[package]] -name = "multimap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" - -[[package]] -name = "multisig-verifier" -version = "0.1.0" -dependencies = [ - "bridge-common", - "bridge-types", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "multistream-select" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" -dependencies = [ - "bytes", - "futures", - "log", - "pin-project", - "smallvec", - "unsigned-varint", -] - -[[package]] -name = "nalgebra" -version = "0.32.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" -dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros", - "num-complex", - "num-rational", - "num-traits", - "simba", - "typenum", -] - -[[package]] -name = "nalgebra-macros" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[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 1.3.2", - "byteorder", - "libc", - "netlink-packet-core", - "netlink-packet-utils", -] - -[[package]] -name = "netlink-packet-utils" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34" -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", - "log", - "netlink-packet-core", - "netlink-sys", - "thiserror", - "tokio", -] - -[[package]] -name = "netlink-sys" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" -dependencies = [ - "bytes", - "futures", - "libc", - "log", - "tokio", -] - -[[package]] -name = "nix" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" -dependencies = [ - "bitflags 1.3.2", - "cfg-if", - "libc", -] - -[[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - -[[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.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "num-bigint" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[package]] -name = "num-format" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" -dependencies = [ - "arrayvec 0.7.4", - "itoa", -] - -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" -dependencies = [ - "num-bigint", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "crc32fast", - "hashbrown 0.12.3", - "indexmap 1.9.3", - "memchr", -] - -[[package]] -name = "object" -version = "0.30.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" -dependencies = [ - "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", - "memchr", -] - -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -dependencies = [ - "memchr", -] - -[[package]] -name = "oid-registry" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" -dependencies = [ - "asn1-rs", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "oracle-proxy" -version = "1.0.0" -dependencies = [ - "band", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "oracle-proxy-runtime-api" -version = "1.0.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "order-book" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-tokens", - "pallet-balances", - "pallet-collective", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "order-book-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "framenode-chain-spec", - "framenode-runtime", - "hex-literal", - "order-book", - "orml-tokens", - "pallet-balances", - "pallet-collective", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", -] - -[[package]] -name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" -dependencies = [ - "frame-support 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-aura" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 23.0.0", - "sp-consensus-aura", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-authorship" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-babe" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-authorship", - "pallet-session", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 23.0.0", - "sp-consensus-babe", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-bags-list" -version = "4.0.0-dev" -dependencies = [ - "aquamarine", - "docify", - "frame-election-provider-support", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-balances" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-beefy-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "array-bytes 6.2.2", - "binary-merkle-tree 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-beefy", - "pallet-mmr", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-collective" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-democracy" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-election-provider-multi-phase" -version = "4.0.0-dev" -dependencies = [ - "frame-election-provider-support", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-npos-elections", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-elections-phragmen" -version = "5.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-npos-elections", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-grandpa" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 23.0.0", - "sp-consensus-grandpa", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-identity" -version = "4.0.0-dev" -dependencies = [ - "enumflags2", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-im-online" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-authorship", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-insecure-randomness-collective-flip" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "safe-mix", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-membership" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-mmr" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-multisig" -version = "3.2.3" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#46d0e193eb645dad7359060a970e07812c9eab88" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-multisig" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-offences" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-preimage" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-scheduler" -version = "4.0.0-dev" -dependencies = [ - "docify", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "pallet-session" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "impl-trait-for-tuples", - "log", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-session", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", -] - -[[package]] -name = "pallet-staking" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-election-provider-support", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-traits", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto 23.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-sudo" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", -] - -[[package]] -name = "pallet-transaction-payment" -version = "4.0.0-dev" -dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -dependencies = [ - "pallet-transaction-payment", - "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "pallet-utility" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "parachain-bridge-app" -version = "0.1.1" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm", -] - -[[package]] -name = "parity-bytes" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" - -[[package]] -name = "parity-scale-codec" -version = "3.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" -dependencies = [ - "arrayvec 0.7.4", - "bitvec", - "byte-slice-cast", - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "impl-trait-for-tuples", - "parity-util-mem-derive", - "primitive-types", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn 1.0.109", - "synstructure", -] - -[[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.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.10", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall 0.2.16", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.5.1", - "smallvec", - "windows-targets 0.52.5", -] - -[[package]] -name = "partial_sort" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[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.7", -] - -[[package]] -name = "pem" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" -dependencies = [ - "base64 0.13.1", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "permissions" -version = "1.1.0" -dependencies = [ - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "petgraph" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" -dependencies = [ - "fixedbitset", - "indexmap 2.2.6", -] - -[[package]] -name = "pin-project" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[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.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "piper" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" -dependencies = [ - "atomic-waker", - "fastrand 2.1.0", - "futures-io", -] - -[[package]] -name = "pkcs8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" -dependencies = [ - "der 0.6.1", - "spki 0.6.0", -] - -[[package]] -name = "pkcs8" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" -dependencies = [ - "der 0.7.9", - "spki 0.7.3", -] - -[[package]] -name = "pkg-config" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" - -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite 0.2.14", - "windows-sys 0.48.0", -] - -[[package]] -name = "polling" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" -dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi", - "pin-project-lite 0.2.14", - "rustix 0.38.34", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "poly1305" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" -dependencies = [ - "cpufeatures", - "opaque-debug 0.3.1", - "universal-hash", -] - -[[package]] -name = "polyval" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" -dependencies = [ - "cfg-if", - "cpufeatures", - "opaque-debug 0.3.1", - "universal-hash", -] - -[[package]] -name = "pool-xyk" -version = "1.2.0" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "num-traits", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "xst", -] - -[[package]] -name = "pool-xyk-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "portable-atomic" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "predicates" -version = "2.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd" -dependencies = [ - "difflib", - "float-cmp", - "itertools", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" - -[[package]] -name = "predicates-tree" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "prettier-please" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" -dependencies = [ - "proc-macro2", - "syn 2.0.61", -] - -[[package]] -name = "prettyplease" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" -dependencies = [ - "proc-macro2", - "syn 1.0.109", -] - -[[package]] -name = "price-tools" -version = "1.0.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "primitive-types" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" -dependencies = [ - "thiserror", - "toml 0.5.11", -] - -[[package]] -name = "proc-macro-crate" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" -dependencies = [ - "toml_edit 0.21.1", -] - -[[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 1.0.109", - "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-warning" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "proc-macro2" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "prometheus" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" -dependencies = [ - "cfg-if", - "fnv", - "lazy_static", - "memchr", - "parking_lot 0.12.2", - "thiserror", -] - -[[package]] -name = "prometheus-client" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" -dependencies = [ - "dtoa", - "itoa", - "parking_lot 0.12.2", - "prometheus-client-derive-encode", -] - -[[package]] -name = "prometheus-client-derive-encode" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "prost" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" -dependencies = [ - "bytes", - "prost-derive", -] - -[[package]] -name = "prost-build" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" -dependencies = [ - "bytes", - "heck", - "itertools", - "lazy_static", - "log", - "multimap", - "petgraph", - "prettyplease", - "prost", - "prost-types", - "regex", - "syn 1.0.109", - "tempfile", - "which", -] - -[[package]] -name = "prost-derive" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" -dependencies = [ - "anyhow", - "itertools", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "prost-types" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" -dependencies = [ - "prost", -] - -[[package]] -name = "psm" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" -dependencies = [ - "cc", -] - -[[package]] -name = "pswap-distribution" -version = "1.1.1" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "mock-liquidity-source", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "pswap-distribution-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "pswap-distribution-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "qa-tools" -version = "0.1.0" -dependencies = [ - "assets", - "band", - "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "multicollateral-bonding-curve-pool", - "oracle-proxy", - "order-book", - "pallet-balances", - "parity-scale-codec", - "pool-xyk", - "price-tools", - "rand 0.8.5", - "rand_chacha 0.3.1", - "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "xst", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quick-protobuf" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6da84cc204722a989e01ba2f6e1e276e190f22263d0cb6ce8526fcdb0d2e1f" -dependencies = [ - "byteorder", -] - -[[package]] -name = "quick-protobuf-codec" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" -dependencies = [ - "asynchronous-codec", - "bytes", - "quick-protobuf", - "thiserror", - "unsigned-varint", -] - -[[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.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" -dependencies = [ - "bytes", - "rand 0.8.5", - "ring 0.16.20", - "rustc-hash", - "rustls 0.20.9", - "slab", - "thiserror", - "tinyvec", - "tracing", - "webpki", -] - -[[package]] -name = "quote" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -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.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.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.15", -] - -[[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 = "rawpointer" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" - -[[package]] -name = "rayon" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] -name = "rcgen" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" -dependencies = [ - "pem", - "ring 0.16.20", - "time", - "yasna", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" -dependencies = [ - "bitflags 2.5.0", -] - -[[package]] -name = "redox_users" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" -dependencies = [ - "getrandom 0.2.15", - "libredox", - "thiserror", -] - -[[package]] -name = "ref-cast" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "referrals" -version = "1.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "regalloc2" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" -dependencies = [ - "fxhash", - "log", - "slice-group-by", - "smallvec", -] - -[[package]] -name = "regex" -version = "1.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.3", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" - -[[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 = "rewards" -version = "1.3.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "libsecp256k1", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "rewards-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" -dependencies = [ - "crypto-bigint 0.4.9", - "hmac 0.12.1", - "zeroize", -] - -[[package]] -name = "rfc6979" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" -dependencies = [ - "hmac 0.12.1", - "subtle", -] - -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof?rev=0e948f3#0e948f3c28cbacecdd3020403c4841c0eb339213" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "common 0.1.0 (git+https://github.com/w3f/ring-proof?rev=0e948f3)", - "fflonk", - "merlin 3.0.0", -] - -[[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 0.7.1", - "web-sys", - "winapi", -] - -[[package]] -name = "ring" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" -dependencies = [ - "cc", - "cfg-if", - "getrandom 0.2.15", - "libc", - "spin 0.9.8", - "untrusted 0.9.0", - "windows-sys 0.52.0", -] - -[[package]] -name = "rlp" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec" -dependencies = [ - "bytes", - "rustc-hex", -] - -[[package]] -name = "rtnetlink" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" -dependencies = [ - "futures", - "log", - "netlink-packet-route", - "netlink-proto", - "nix", - "thiserror", - "tokio", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[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.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" -dependencies = [ - "semver 0.9.0", -] - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver 1.0.23", -] - -[[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.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5363f616a5244fd47fc1dd0a0b24c28a5c0154f5010c16332a7ad6f78f2e8b62" -dependencies = [ - "bitflags 1.3.2", - "errno 0.2.8", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", -] - -[[package]] -name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.9", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", -] - -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.9", - "io-lifetimes 1.0.11", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" -dependencies = [ - "bitflags 2.5.0", - "errno 0.3.9", - "libc", - "linux-raw-sys 0.4.13", - "windows-sys 0.52.0", -] - -[[package]] -name = "rustls" -version = "0.20.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" -dependencies = [ - "log", - "ring 0.16.20", - "sct", - "webpki", -] - -[[package]] -name = "rustls" -version = "0.21.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" -dependencies = [ - "log", - "ring 0.17.8", - "rustls-webpki", - "sct", -] - -[[package]] -name = "rustls-native-certs" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" -dependencies = [ - "openssl-probe", - "rustls-pemfile", - "schannel", - "security-framework", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" -dependencies = [ - "base64 0.21.7", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" -dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", -] - -[[package]] -name = "rustversion" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" - -[[package]] -name = "rw-stream-sink" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" -dependencies = [ - "futures", - "pin-project", - "static_assertions", -] - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "safe-mix" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c" -dependencies = [ - "rustc_version 0.2.3", -] - -[[package]] -name = "safe_arch" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" -dependencies = [ - "bytemuck", -] - -[[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" -dependencies = [ - "log", - "sp-core 21.0.0", - "sp-wasm-interface 14.0.0", - "thiserror", -] - -[[package]] -name = "sc-chain-spec" -version = "4.0.0-dev" -dependencies = [ - "memmap2", - "sc-chain-spec-derive", - "sc-client-api", - "sc-executor", - "sc-network", - "sc-telemetry", - "serde", - "serde_json", - "sp-blockchain", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", -] - -[[package]] -name = "sc-chain-spec-derive" -version = "4.0.0-dev" -dependencies = [ - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sc-client-api" -version = "4.0.0-dev" -dependencies = [ - "fnv", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-executor", - "sc-transaction-pool-api", - "sc-utils", - "sp-api 4.0.0-dev", - "sp-blockchain", - "sp-consensus", - "sp-core 21.0.0", - "sp-database", - "sp-externalities 0.19.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-statement-store", - "sp-storage 13.0.0", - "substrate-prometheus-endpoint", -] - -[[package]] -name = "sc-consensus" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "libp2p-identity", - "log", - "mockall", - "parking_lot 0.12.2", - "sc-client-api", - "sc-utils", - "serde", - "sp-api 4.0.0-dev", - "sp-blockchain", - "sp-consensus", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-executor" -version = "0.10.0-dev" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-executor-common", - "sc-executor-wasmtime", - "schnellru", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-io 23.0.0", - "sp-panic-handler 8.0.0", - "sp-runtime-interface 17.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "sp-wasm-interface 14.0.0", - "tracing", -] - -[[package]] -name = "sc-executor-common" -version = "0.10.0-dev" -dependencies = [ - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0", - "thiserror", - "wasm-instrument", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.10.0-dev" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "log", - "rustix 0.36.17", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", - "wasmtime 8.0.1", -] - -[[package]] -name = "sc-network" -version = "0.10.0-dev" -dependencies = [ - "array-bytes 6.2.2", - "async-channel 1.9.0", - "async-trait", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures", - "futures-timer", - "ip_network", - "libp2p", - "linked_hash_set", - "log", - "mockall", - "parity-scale-codec", - "parking_lot 0.12.2", - "partial_sort", - "pin-project", - "rand 0.8.5", - "sc-client-api", - "sc-network-common", - "sc-utils", - "serde", - "serde_json", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-blockchain", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "substrate-prometheus-endpoint", - "thiserror", - "unsigned-varint", - "wasm-timer", - "zeroize", -] - -[[package]] -name = "sc-network-common" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "futures", - "libp2p-identity", - "parity-scale-codec", - "prost-build", - "sc-consensus", - "sp-consensus", - "sp-consensus-grandpa", - "sp-runtime 24.0.0", -] - -[[package]] -name = "sc-rpc-api" -version = "0.10.0-dev" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "sc-chain-spec", - "sc-transaction-pool-api", - "scale-info", - "serde", - "serde_json", - "sp-core 21.0.0", - "sp-rpc", - "sp-runtime 24.0.0", - "sp-version 22.0.0", - "thiserror", -] - -[[package]] -name = "sc-telemetry" -version = "4.0.0-dev" -dependencies = [ - "chrono", - "futures", - "libp2p", - "log", - "parking_lot 0.12.2", - "pin-project", - "rand 0.8.5", - "sc-utils", - "serde", - "serde_json", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "sc-transaction-pool-api" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "futures", - "log", - "parity-scale-codec", - "serde", - "sp-blockchain", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "thiserror", -] - -[[package]] -name = "sc-utils" -version = "4.0.0-dev" -dependencies = [ - "async-channel 1.9.0", - "futures", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.2", - "prometheus", - "sp-arithmetic 16.0.0", -] - -[[package]] -name = "scale-info" -version = "2.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" -dependencies = [ - "bitvec", - "cfg-if", - "derive_more", - "parity-scale-codec", - "scale-info-derive", - "serde", -] - -[[package]] -name = "scale-info-derive" -version = "2.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "schannel" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "schnellru" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b0cf7da6fc4477944d5529807234f66802fcb618fc62b9c05bedca7f9be6c43" -dependencies = [ - "ahash 0.8.11", - "cfg-if", - "hashbrown 0.13.2", -] - -[[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 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle", - "zeroize", -] - -[[package]] -name = "schnorrkel" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" -dependencies = [ - "arrayref", - "arrayvec 0.7.4", - "curve25519-dalek 4.1.2", - "getrandom_or_panic", - "merlin 3.0.0", - "rand_core 0.6.4", - "sha2 0.10.8", - "subtle", - "zeroize", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "scratch" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" - -[[package]] -name = "sct" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" -dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", -] - -[[package]] -name = "sec1" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" -dependencies = [ - "base16ct 0.1.1", - "der 0.6.1", - "generic-array 0.14.7", - "pkcs8 0.9.0", - "subtle", - "zeroize", -] - -[[package]] -name = "sec1" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" -dependencies = [ - "base16ct 0.2.0", - "der 0.7.9", - "generic-array 0.14.7", - "pkcs8 0.10.2", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" -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-framework" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" -dependencies = [ - "bitflags 2.5.0", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" -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 = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" -dependencies = [ - "serde", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - -[[package]] -name = "serde" -version = "1.0.201" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_bytes" -version = "0.11.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_derive" -version = "1.0.201" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "serde_json" -version = "1.0.117" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_spanned" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" -dependencies = [ - "serde", -] - -[[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", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - -[[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", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.1", -] - -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] - -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.1", -] - -[[package]] -name = "sha3" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" -dependencies = [ - "digest 0.10.7", - "keccak", -] - -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "signature" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" -dependencies = [ - "digest 0.10.7", - "rand_core 0.6.4", -] - -[[package]] -name = "simba" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" -dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", - "wide", -] - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "slice-group-by" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "snow" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" -dependencies = [ - "aes-gcm", - "blake2", - "chacha20poly1305", - "curve25519-dalek 4.1.2", - "rand_core 0.6.4", - "ring 0.17.8", - "rustc_version 0.4.0", - "sha2 0.10.8", - "subtle", -] - -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "socket2" -version = "0.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "soketto" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" -dependencies = [ - "base64 0.13.1", - "bytes", - "flate2", - "futures", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-metadata-ir", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "sp-version 5.0.0", - "thiserror", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -dependencies = [ - "Inflector", - "blake2", - "expander", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-application-crypto" -version = "23.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 5.0.0", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "16.0.0" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0", - "static_assertions", -] - -[[package]] -name = "sp-block-builder" -version = "4.0.0-dev" -dependencies = [ - "sp-api 4.0.0-dev", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-blockchain" -version = "4.0.0-dev" -dependencies = [ - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "schnellru", - "sp-api 4.0.0-dev", - "sp-consensus", - "sp-database", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "futures", - "log", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "thiserror", -] - -[[package]] -name = "sp-consensus-aura" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-consensus-slots", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "sp-consensus-babe" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-consensus-slots", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.24.1", -] - -[[package]] -name = "sp-consensus-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.24.1", -] - -[[package]] -name = "sp-consensus-grandpa" -version = "4.0.0-dev" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-consensus-slots" -version = "0.10.0-dev" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags 1.3.2", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.2", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0", - "sp-debug-derive 5.0.0", - "sp-externalities 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - -[[package]] -name = "sp-core" -version = "21.0.0" -dependencies = [ - "array-bytes 6.2.2", - "arrayvec 0.7.4", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58 0.5.1", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.2", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 9.0.0", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "sp-std 5.0.0", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing 5.0.0", - "syn 1.0.109", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -dependencies = [ - "quote", - "sp-core-hashing 9.0.0", - "syn 2.0.61", -] - -[[package]] -name = "sp-database" -version = "4.0.0-dev" -dependencies = [ - "kvdb", - "parking_lot 0.12.2", -] - -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0", - "sp-storage 7.0.0", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.1.0" -dependencies = [ - "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bytes", - "ed25519 1.5.3", - "ed25519-dalek 1.0.1", - "futures", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-keystore 0.13.0", - "sp-runtime-interface 7.0.0", - "sp-state-machine 0.13.0", - "sp-std 5.0.0", - "sp-tracing 6.0.0", - "sp-trie 7.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "23.0.0" -dependencies = [ - "bytes", - "ed25519-dalek 2.1.1", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime-interface 17.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-tracing 10.0.0", - "sp-trie 22.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-keyring" -version = "24.0.0" -dependencies = [ - "lazy_static", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "strum 0.24.1", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "async-trait", - "futures", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.2", - "schnorrkel 0.9.1", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.27.0" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.2", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "thiserror", -] - -[[package]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -dependencies = [ - "thiserror", - "zstd 0.12.4", -] - -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -dependencies = [ - "frame-metadata 16.0.0", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-npos-elections" -version = "4.0.0-dev" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-offchain" -version = "4.0.0-dev" -dependencies = [ - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-rpc" -version = "6.0.0" -dependencies = [ - "rustc-hash", - "serde", - "sp-core 21.0.0", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 7.0.0", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-io 7.0.0", - "sp-std 5.0.0", - "sp-weights 4.0.0", -] - -[[package]] -name = "sp-runtime" -version = "24.0.0" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.13.0", - "sp-runtime-interface-proc-macro 6.0.0", - "sp-std 5.0.0", - "sp-storage 7.0.0", - "sp-tracing 6.0.0", - "sp-wasm-interface 7.0.0", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "17.0.0" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "Inflector", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -dependencies = [ - "Inflector", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-session" -version = "4.0.0-dev" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 7.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "hash-db 0.15.2", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "smallvec", - "sp-core 7.0.0", - "sp-externalities 0.13.0", - "sp-panic-handler 5.0.0", - "sp-std 5.0.0", - "sp-trie 7.0.0", - "thiserror", - "tracing", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", -] - -[[package]] -name = "sp-statement-store" -version = "4.0.0-dev" -dependencies = [ - "aes-gcm", - "curve25519-dalek 4.1.2", - "ed25519-dalek 2.1.1", - "hkdf", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sha2 0.10.8", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "thiserror", - "x25519-dalek 2.0.1", -] - -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" - -[[package]] -name = "sp-std" -version = "8.0.0" - -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-storage" -version = "13.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38)", - "sp-runtime 7.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "10.0.0" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-transaction-pool" -version = "4.0.0-dev" -dependencies = [ - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.15.2", - "hashbrown 0.12.3", - "lazy_static", - "memory-db 0.31.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.2", - "scale-info", - "schnellru", - "sp-core 7.0.0", - "sp-std 5.0.0", - "thiserror", - "tracing", - "trie-db 0.24.0", - "trie-root 0.17.0", -] - -[[package]] -name = "sp-trie" -version = "22.0.0" -dependencies = [ - "ahash 0.8.11", - "hash-db 0.16.0", - "hashbrown 0.13.2", - "lazy_static", - "memory-db 0.32.0", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.2", - "scale-info", - "schnellru", - "sp-core 21.0.0", - "sp-std 8.0.0", - "thiserror", - "tracing", - "trie-db 0.27.1", - "trie-root 0.18.0", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 5.0.0", - "sp-runtime 7.0.0", - "sp-std 5.0.0", - "sp-version-proc-macro 4.0.0-dev", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "22.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 9.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version-proc-macro 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "sp-version-proc-macro" -version = "8.0.0" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0", - "wasmi", - "wasmtime 1.0.2", -] - -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0", - "wasmtime 8.0.1", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 6.0.0", - "sp-core 7.0.0", - "sp-debug-derive 5.0.0", - "sp-std 5.0.0", -] - -[[package]] -name = "sp-weights" -version = "20.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[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.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - -[[package]] -name = "spinners" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0ef947f358b9c238923f764c72a4a9d42f2d637c46e059dbd319d6e7cfb4f82" -dependencies = [ - "lazy_static", - "maplit", - "strum 0.24.1", -] - -[[package]] -name = "spki" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" -dependencies = [ - "base64ct", - "der 0.6.1", -] - -[[package]] -name = "spki" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" -dependencies = [ - "base64ct", - "der 0.7.9", -] - -[[package]] -name = "ss58-registry" -version = "1.47.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" -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 = "staging-xcm" -version = "1.0.0" -dependencies = [ - "bounded-collections", - "derivative", - "environmental", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-weights 20.0.0", - "xcm-procedural", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" -dependencies = [ - "strum_macros 0.24.3", -] - -[[package]] -name = "strum" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" -dependencies = [ - "strum_macros 0.25.3", -] - -[[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 1.0.109", -] - -[[package]] -name = "strum_macros" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.61", -] - -[[package]] -name = "substrate-bip39" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" -dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.11.4", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "substrate-bridge-app" -version = "0.1.1" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-traits", - "parity-scale-codec", - "rlp", - "rustc-hex", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "substrate-bridge-channel" -version = "0.1.1" -dependencies = [ - "bridge-types", - "ethabi", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "once_cell", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "rlp", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -dependencies = [ - "hyper", - "log", - "prometheus", - "thiserror", - "tokio", -] - -[[package]] -name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "async-trait", - "jsonrpsee", - "log", - "sc-rpc-api", - "serde", - "sp-runtime 24.0.0", -] - -[[package]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" -dependencies = [ - "ansi_term", - "build-helper", - "cargo_metadata", - "filetime", - "parity-wasm", - "sp-maybe-compressed-blob", - "strum 0.24.1", - "tempfile", - "toml 0.7.8", - "walkdir", - "wasm-opt", -] - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.61" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" -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 1.0.109", - "unicode-xid", -] - -[[package]] -name = "system-configuration" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" -dependencies = [ - "bitflags 1.3.2", - "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.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" - -[[package]] -name = "technical" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "twox-hash", -] - -[[package]] -name = "tempfile" -version = "3.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" -dependencies = [ - "cfg-if", - "fastrand 2.1.0", - "rustix 0.38.34", - "windows-sys 0.52.0", -] - -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "termtree" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" - -[[package]] -name = "thiserror" -version = "1.0.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "time" -version = "0.3.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" -dependencies = [ - "deranged", - "itoa", - "num-conv", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" -dependencies = [ - "num-conv", - "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.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.37.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" -dependencies = [ - "backtrace", - "bytes", - "libc", - "mio", - "num_cpus", - "parking_lot 0.12.2", - "pin-project-lite 0.2.14", - "socket2 0.5.7", - "tokio-macros", - "windows-sys 0.48.0", -] - -[[package]] -name = "tokio-macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "tokio-retry" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" -dependencies = [ - "pin-project", - "rand 0.8.5", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" -dependencies = [ - "rustls 0.21.12", - "tokio", -] - -[[package]] -name = "tokio-stream" -version = "0.1.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" -dependencies = [ - "futures-core", - "pin-project-lite 0.2.14", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" -dependencies = [ - "bytes", - "futures-core", - "futures-io", - "futures-sink", - "pin-project-lite 0.2.14", - "tokio", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - -[[package]] -name = "toml" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.19.15", -] - -[[package]] -name = "toml" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.22.12", -] - -[[package]] -name = "toml_datetime" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.2.6", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.22.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" -dependencies = [ - "indexmap 2.2.6", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.6.8", -] - -[[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-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.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "log", - "pin-project-lite 0.2.14", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" -dependencies = [ - "log", - "once_cell", - "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", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", -] - -[[package]] -name = "trading-pair" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "trading-pair-runtime-api" -version = "0.1.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "trie-db" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" -dependencies = [ - "hash-db 0.15.2", - "hashbrown 0.12.3", - "log", - "rustc-hex", - "smallvec", -] - -[[package]] -name = "trie-db" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" -dependencies = [ - "hash-db 0.16.0", - "hashbrown 0.13.2", - "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 0.15.2", -] - -[[package]] -name = "trie-root" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" -dependencies = [ - "hash-db 0.16.0", -] - -[[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", - "data-encoding", - "enum-as-inner", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.2.3", - "ipnet", - "lazy_static", - "rand 0.8.5", - "smallvec", - "socket2 0.4.10", - "thiserror", - "tinyvec", - "tokio", - "tracing", - "url", -] - -[[package]] -name = "trust-dns-resolver" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" -dependencies = [ - "cfg-if", - "futures-util", - "ipconfig", - "lazy_static", - "lru-cache", - "parking_lot 0.12.2", - "resolv-conf", - "smallvec", - "thiserror", - "tokio", - "tracing", - "trust-dns-proto", -] - -[[package]] -name = "try-lock" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" - -[[package]] -name = "tt-call" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" - -[[package]] -name = "twox-hash" -version = "1.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" -dependencies = [ - "cfg-if", - "digest 0.10.7", - "rand 0.8.5", - "static_assertions", -] - -[[package]] -name = "typenum" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" - -[[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 = "unicode-bidi" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unicode-normalization" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-width" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" - -[[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.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" -dependencies = [ - "crypto-common", - "subtle", -] - -[[package]] -name = "unsigned-varint" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" -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 = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - -[[package]] -name = "url" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" -dependencies = [ - "form_urlencoded", - "idna 0.5.0", - "percent-encoding", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "value-bag" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101" - -[[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 = "vested-rewards" -version = "1.2.1" -dependencies = [ - "assets", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex", - "hex-literal", - "itertools", - "log", - "multicollateral-bonding-curve-pool", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "pswap-distribution", - "scale-info", - "serde", - "serde_bytes", - "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", -] - -[[package]] -name = "vested-rewards-runtime-api" -version = "0.1.0" -dependencies = [ - "common 0.1.0", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "void" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" - -[[package]] -name = "waker-fn" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - -[[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.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.61", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.92" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" - -[[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.114.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effbef3bd1dde18acb401f73e740a6f3d4a1bc651e9773bddc512fe4d8d68f67" -dependencies = [ - "anyhow", - "libc", - "strum 0.24.1", - "strum_macros 0.24.3", - "tempfile", - "thiserror", - "wasm-opt-cxx-sys", - "wasm-opt-sys", -] - -[[package]] -name = "wasm-opt-cxx-sys" -version = "0.114.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c09e24eb283919ace2ed5733bda4842a59ce4c8de110ef5c6d98859513d17047" -dependencies = [ - "anyhow", - "cxx", - "cxx-build", - "wasm-opt-sys", -] - -[[package]] -name = "wasm-opt-sys" -version = "0.114.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f2f817bed2e8d65eb779fa37317e74de15585751f903c9118342d1970703a4" -dependencies = [ - "anyhow", - "cc", - "cxx", - "cxx-build", -] - -[[package]] -name = "wasm-timer" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" -dependencies = [ - "futures", - "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", - "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 1.9.3", -] - -[[package]] -name = "wasmparser" -version = "0.102.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" -dependencies = [ - "indexmap 1.9.3", - "url", -] - -[[package]] -name = "wasmtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "object 0.29.0", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.89.1", - "wasmtime-environ 1.0.2", - "wasmtime-jit 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "object 0.30.4", - "once_cell", - "paste", - "psm", - "rayon", - "serde", - "target-lexicon", - "wasmparser 0.102.0", - "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ 8.0.1", - "wasmtime-jit 8.0.1", - "wasmtime-runtime 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-cache" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" -dependencies = [ - "anyhow", - "base64 0.21.7", - "bincode", - "directories-next", - "file-per-thread-logger", - "log", - "rustix 0.36.17", - "serde", - "sha2 0.10.8", - "toml 0.5.11", - "windows-sys 0.45.0", - "zstd 0.11.2+zstd.1.5.2", -] - -[[package]] -name = "wasmtime-cranelift" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" -dependencies = [ - "anyhow", - "cranelift-codegen", - "cranelift-entity 0.95.1", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", - "gimli 0.27.3", - "log", - "object 0.30.4", - "target-lexicon", - "thiserror", - "wasmparser 0.102.0", - "wasmtime-cranelift-shared", - "wasmtime-environ 8.0.1", -] - -[[package]] -name = "wasmtime-cranelift-shared" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" -dependencies = [ - "anyhow", - "cranelift-codegen", - "cranelift-native", - "gimli 0.27.3", - "object 0.30.4", - "target-lexicon", - "wasmtime-environ 8.0.1", -] - -[[package]] -name = "wasmtime-environ" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" -dependencies = [ - "anyhow", - "cranelift-entity 0.88.2", - "gimli 0.26.2", - "indexmap 1.9.3", - "log", - "object 0.29.0", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.89.1", - "wasmtime-types 1.0.2", -] - -[[package]] -name = "wasmtime-environ" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" -dependencies = [ - "anyhow", - "cranelift-entity 0.95.1", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.102.0", - "wasmtime-types 8.0.1", -] - -[[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", - "cpp_demangle", - "gimli 0.26.2", - "log", - "object 0.29.0", - "rustc-demangle", - "rustix 0.35.16", - "serde", - "target-lexicon", - "thiserror", - "wasmtime-environ 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-jit" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" -dependencies = [ - "addr2line 0.19.0", - "anyhow", - "bincode", - "cfg-if", - "cpp_demangle", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", - "serde", - "target-lexicon", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" -dependencies = [ - "once_cell", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" -dependencies = [ - "object 0.30.4", - "once_cell", - "rustix 0.36.17", -] - -[[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", -] - -[[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", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.16", - "thiserror", - "wasmtime-asm-macros 1.0.2", - "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-runtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" -dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset 0.8.0", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros 8.0.1", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug 8.0.1", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-types" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" -dependencies = [ - "cranelift-entity 0.88.2", - "serde", - "thiserror", - "wasmparser 0.89.1", -] - -[[package]] -name = "wasmtime-types" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" -dependencies = [ - "cranelift-entity 0.95.1", - "serde", - "thiserror", - "wasmparser 0.102.0", -] - -[[package]] -name = "web-sys" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" -dependencies = [ - "ring 0.17.8", - "untrusted 0.9.0", -] - -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "webpki", -] - -[[package]] -name = "webpki-roots" -version = "0.25.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" - -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix 0.38.34", -] - -[[package]] -name = "wide" -version = "0.7.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0e39d2c603fdc0504b12b458cf1f34e0b937ed2f4f2dc20796e3e86f34e11f" -dependencies = [ - "bytemuck", - "safe_arch", -] - -[[package]] -name = "widestring" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" - -[[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.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" -dependencies = [ - "windows-sys 0.52.0", -] - -[[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.51.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" -dependencies = [ - "windows-core 0.51.1", - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-core" -version = "0.51.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.5", -] - -[[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 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.5", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" -dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" - -[[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.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" - -[[package]] -name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] - -[[package]] -name = "winnow" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" -dependencies = [ - "memchr", -] - -[[package]] -name = "winreg" -version = "0.50.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - -[[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.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" -dependencies = [ - "curve25519-dalek 4.1.2", - "rand_core 0.6.4", - "serde", - "zeroize", -] - -[[package]] -name = "x509-parser" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" -dependencies = [ - "asn1-rs", - "base64 0.13.1", - "data-encoding", - "der-parser", - "lazy_static", - "nom", - "oid-registry", - "rusticata-macros", - "thiserror", - "time", -] - -[[package]] -name = "xcm-procedural" -version = "1.0.0" -dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "xor-fee" -version = "0.1.0" -dependencies = [ - "assets", - "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-session", - "pallet-timestamp 4.0.0-dev", - "pallet-transaction-payment", - "parity-scale-codec", - "permissions", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", -] - -[[package]] -name = "xst" -version = "1.0.1" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "log", - "mock-liquidity-source", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", -] - -[[package]] -name = "xst-benchmarking" -version = "0.1.0" -dependencies = [ - "assets", - "band", - "ceres-liquidity-locker", - "common 0.1.0", - "demeter-farming-platform", - "dex-api", - "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "hex-literal", - "mock-liquidity-source", - "oracle-proxy", - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp 4.0.0-dev", - "parity-scale-codec", - "permissions", - "pool-xyk", - "price-tools", - "pswap-distribution", - "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "technical", - "trading-pair", - "xst", -] - -[[package]] -name = "yamux" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" -dependencies = [ - "futures", - "log", - "nohash-hasher", - "parking_lot 0.12.2", - "rand 0.8.5", - "static_assertions", -] - -[[package]] -name = "yasna" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" -dependencies = [ - "time", -] - -[[package]] -name = "zerocopy" -version = "0.7.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[package]] -name = "zeroize" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - -[[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 5.0.2+zstd.1.5.2", -] - -[[package]] -name = "zstd" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" -dependencies = [ - "zstd-safe 6.0.6", -] - -[[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-safe" -version = "6.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" -dependencies = [ - "cc", - "pkg-config", -] - -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-informant" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-service" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" - -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-basic-authorship" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-aura" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-babe" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-consensus-slots" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-informant" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-rpc" -version = "4.0.0-dev" - -[[patch.unused]] -name = "sc-service" -version = "0.10.0-dev" - -[[patch.unused]] -name = "sc-transaction-pool" -version = "4.0.0-dev" - -[[patch.unused]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" - -[[patch.unused]] -name = "try-runtime-cli" -version = "0.10.0-dev" - -[[patch.unused]] -name = "beefy-light-client-rpc" -version = "0.1.0" - -[[patch.unused]] -name = "leaf-provider-rpc" -version = "0.1.0" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 01a8e97f3b..3443c869a4 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -2520,7 +2520,7 @@ construct_runtime! { // Trustless substrate bridge #[cfg(feature = "wip")] // Trustless substrate bridge - BeefyLightClient: beefy_light_client::{Pallet, Call, Storage, Event, Config} = 104, + BeefyLightClient: beefy_light_client = 104, // Federated substrate bridge SubstrateBridgeInboundChannel: substrate_bridge_channel::inbound::{Pallet, Call, Storage, Event, ValidateUnsigned} = 106, diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index e7492a2fc4..c9c9033a88 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -clap = { version = "=4.3.17", features = ["derive"] } +clap = { version = "=4.5.4", features = ["derive"] } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } diff --git a/utils/remote-ext/Cargo.toml b/utils/remote-ext/Cargo.toml index 9b2bad4f8e..e1b14d186e 100644 --- a/utils/remote-ext/Cargo.toml +++ b/utils/remote-ext/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/sora-xor/sora2-network" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } -clap = { version = "=4.3.17", features = ["derive"] } +clap = { version = "=4.5.4", features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["ws-client", "macros"] } log = "0.4.17" serde = "1.0.137" From d2eb667cbdf8fd86aa4c8c8bc86a3a555e7d5daa Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 3 Jun 2024 14:12:52 -0300 Subject: [PATCH 020/110] fix build --- Cargo.lock | 66 +-------- Cargo.toml | 6 +- node/Cargo.toml | 2 + node/chain_spec/Cargo.toml | 26 ++-- node/chain_spec/src/lib.rs | 8 +- node/src/fork_off.rs | 136 +++++++++--------- pallets/apollo-platform/src/lib.rs | 1 - pallets/assets/src/lib.rs | 1 - pallets/bridge-proxy/src/lib.rs | 1 - pallets/ceres-governance-platform/src/lib.rs | 1 - pallets/ceres-launchpad/src/lib.rs | 1 - pallets/ceres-liquidity-locker/src/lib.rs | 1 - pallets/ceres-staking/src/lib.rs | 1 - pallets/ceres-token-locker/src/lib.rs | 1 - pallets/demeter-farming-platform/src/lib.rs | 1 - pallets/dex-api/src/lib.rs | 1 - pallets/dex-manager/src/lib.rs | 1 - pallets/eth-bridge/src/lib.rs | 1 - pallets/farming/src/lib.rs | 1 - pallets/faucet/src/lib.rs | 1 - pallets/hermes-governance-platform/src/lib.rs | 1 - pallets/iroha-migration/src/lib.rs | 1 - pallets/kensetsu/src/lib.rs | 1 - pallets/liquidity-proxy/src/lib.rs | 1 - pallets/mock-liquidity-source/src/lib.rs | 1 - .../src/lib.rs | 1 - pallets/order-book/src/lib.rs | 1 - pallets/pool-xyk/src/lib.rs | 1 - pallets/price-tools/src/lib.rs | 1 - pallets/pswap-distribution/src/lib.rs | 1 - pallets/referrals/src/lib.rs | 1 - pallets/rewards/src/lib.rs | 1 - pallets/technical/src/lib.rs | 1 - pallets/trading-pair/src/lib.rs | 1 - pallets/vested-rewards/src/lib.rs | 1 - pallets/xor-fee/src/lib.rs | 1 - pallets/xst/src/lib.rs | 1 - run_script.sh | 4 +- runtime/src/lib.rs | 20 ++- 39 files changed, 111 insertions(+), 188 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1b84e0a91d..65cfcabeef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1817,7 +1817,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ "strum 0.26.2", - "strum_macros 0.26.2", + "strum_macros 0.26.3", "unicode-width", ] @@ -3816,6 +3816,7 @@ dependencies = [ "mmr-gadget", "mmr-rpc", "oracle-proxy-rpc", + "pallet-multisig 3.2.3", "pallet-sudo", "pallet-transaction-payment-rpc", "parity-scale-codec", @@ -3888,6 +3889,7 @@ dependencies = [ "hex-literal", "iroha-migration", "order-book", + "pallet-multisig 3.2.3", "parity-scale-codec", "permissions", "rewards", @@ -4227,21 +4229,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "generate-bags" -version = "0.1.0" -dependencies = [ - "chrono", - "clap", - "frame-election-provider-support", - "frame-support", - "frame-system", - "framenode-runtime", - "num-format", - "pallet-staking", - "sp-io", -] - [[package]] name = "generic-array" version = "0.12.4" @@ -7571,17 +7558,6 @@ dependencies = [ "windows-targets 0.52.5", ] -[[package]] -name = "parse" -version = "0.1.0" -dependencies = [ - "framenode-runtime", - "hex", - "parity-scale-codec", - "rustc-hex", - "scale-info", -] - [[package]] name = "partial_sort" version = "0.2.0" @@ -8656,36 +8632,6 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" -[[package]] -name = "remote-ext" -version = "0.1.0" -dependencies = [ - "anyhow", - "clap", - "common 0.1.0", - "dex-manager", - "env_logger", - "frame-election-provider-support", - "frame-remote-externalities 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-support", - "frame-system", - "framenode-runtime", - "hex", - "jsonrpsee", - "liquidity-proxy", - "log", - "parity-scale-codec", - "serde", - "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-version", - "thiserror", - "tokio", - "xst", -] - [[package]] name = "resolv-conf" version = "0.7.0" @@ -11472,11 +11418,11 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +checksum = "f7993a8e3a9e88a00351486baae9522c91b123a088f76469e5bd5cc17198ea87" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion", diff --git a/Cargo.toml b/Cargo.toml index 4f7b928c71..2c31936ee2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -405,9 +405,9 @@ members = [ "pallets/band", "pallets/qa-tools", "node/", - "utils/parse", - "utils/generate-bags", - "utils/remote-ext", + # "utils/parse", + # "utils/generate-bags", + # "utils/remote-ext", ] resolver = "2" diff --git a/node/Cargo.toml b/node/Cargo.toml index dba7c01a4b..04872554e9 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -53,6 +53,8 @@ beefy-light-client-rpc = { git = "https://github.com/sora-xor/sora2-common.git", oracle-proxy-rpc = { path = "../pallets/oracle-proxy/rpc" } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git" } +bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } + # Parachain dependencies framenode-runtime = { path = "../runtime" } diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index b14724a625..17ba148005 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -25,6 +25,8 @@ sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" +bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } + # bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } common = { path = "../../common" } @@ -41,15 +43,15 @@ xor-fee = { path = "../../pallets/xor-fee" } common = { path = "../../common", features = ["test"] } [features] -# include-real-files = [] -# main-net-coded = [] -# test = ["common/test"] -test = [] - - -# private-net = ["faucet", "framenode-runtime/private-net"] -private-net = [] -# wip = ["framenode-runtime/wip"] -wip = [] -ready-to-test = [] -# ready-to-test = ["framenode-runtime/ready-to-test"] +include-real-files = [] +main-net-coded = [] +test = ["common/test"] +# test = [] + + +private-net = ["faucet", "framenode-runtime/private-net"] +# private-net = [] +wip = ["framenode-runtime/wip"] +# wip = [] +# ready-to-test = [] +ready-to-test = ["framenode-runtime/ready-to-test"] diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 320e767ddb..069741dd58 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -66,7 +66,8 @@ use framenode_runtime::{ use hex_literal::hex; use permissions::Scope; use sc_consensus_grandpa::AuthorityId as GrandpaId; -use sc_network_common::config::MultiaddrWithPeerId; +// use sc_network_common::config::MultiaddrWithPeerId; +use sc_network::config::MultiaddrWithPeerId; use sc_service::{ChainType, Properties}; use sp_consensus_aura::sr25519::AuthorityId as AuraId; use sp_consensus_babe::AuthorityId as BabeId; @@ -1257,6 +1258,7 @@ fn testnet_genesis( system: SystemConfig { code: WASM_BINARY.unwrap_or_default().to_vec(), + ..Default::default() }, sudo: SudoConfig { key: Some(root_key.clone()), @@ -1267,9 +1269,11 @@ fn testnet_genesis( babe: BabeConfig { authorities: vec![], epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), + ..Default::default() }, grandpa: GrandpaConfig { authorities: vec![], + ..Default::default() }, session: SessionConfig { keys: initial_authorities @@ -1589,6 +1593,7 @@ fn testnet_genesis( LiquiditySourceType::OrderBook, ] .into(), + ..Default::default() }, eth_bridge: EthBridgeConfig { authority_account: Some(eth_bridge_authority_account_id.clone()), @@ -1673,6 +1678,7 @@ fn testnet_genesis( }, beefy: BeefyConfig { authorities: vec![], + genesis_block: None, }, } } diff --git a/node/src/fork_off.rs b/node/src/fork_off.rs index 44f2acfe17..37360ab687 100644 --- a/node/src/fork_off.rs +++ b/node/src/fork_off.rs @@ -83,74 +83,74 @@ fn get_pallet_prefix(pallet: &str) -> Vec { impl ForkOffCmd { pub async fn run(&self, mut cfg: Configuration) -> Result<(), sc_cli::Error> { - let transport: Transport = self.url.clone().into(); - let maybe_state_snapshot: Option = self.snapshot.clone().map(|s| s.into()); - let ext: RemoteExternalities = - Builder::::default() - .mode(if let Some(state_snapshot) = maybe_state_snapshot { - Mode::OfflineOrElseOnline( - OfflineConfig { - state_snapshot: state_snapshot.clone(), - }, - OnlineConfig { - transport, - state_snapshot: Some(state_snapshot), - ..Default::default() - }, - ) - } else { - Mode::Online(OnlineConfig { - transport, - ..Default::default() - }) - }) - .build() - .await - .unwrap(); - let skipped_prefixes = SKIPPED_PALLETS - .iter() - .cloned() - .map(get_pallet_prefix) - .collect::>(); - let included_prefixes = INCLUDED_PREFIXES - .iter() - .map(|(p, s)| get_storage_prefix(p, s)) - .collect::>(); - let mut storage = cfg.chain_spec.as_storage_builder().build_storage()?; - storage.top = storage - .top - .into_iter() - .filter(|(k, _)| { - if k.len() < 32 || skipped_prefixes.contains(&k[..16]) { - true - } else { - false - } - }) - .collect(); - let kv = ext.as_backend().essence().pairs(); - for (k, v) in kv { - if k.len() >= 32 - && (!skipped_prefixes.contains(&k[..16]) || included_prefixes.contains(&k[..32])) - { - storage.top.insert(k, v); - } else { - log::debug!("Skipped {}", to_hex(&k, false)); - } - } - // Delete System.LastRuntimeUpgrade to ensure that the on_runtime_upgrade event is triggered - storage - .top - .remove(&get_storage_prefix("System", "LastRuntimeUpgrade")); - // To prevent the validator set from changing mid-test, set Staking.ForceEra to ForceNone ('0x02') - storage - .top - .insert(get_storage_prefix("Staking", "ForceEra"), vec![2]); - cfg.chain_spec.set_storage(storage); - let json = sc_service::chain_ops::build_spec(&*cfg.chain_spec, self.raw)?; - if std::io::stdout().write_all(json.as_bytes()).is_err() { - let _ = std::io::stderr().write_all(b"Error writing to stdout\n"); - } + // let transport: Transport = self.url.clone().into(); + // let maybe_state_snapshot: Option = self.snapshot.clone().map(|s| s.into()); + // let ext: RemoteExternalities = + // Builder::::default() + // .mode(if let Some(state_snapshot) = maybe_state_snapshot { + // Mode::OfflineOrElseOnline( + // OfflineConfig { + // state_snapshot: state_snapshot.clone(), + // }, + // OnlineConfig { + // transport, + // state_snapshot: Some(state_snapshot), + // ..Default::default() + // }, + // ) + // } else { + // Mode::Online(OnlineConfig { + // transport, + // ..Default::default() + // }) + // }) + // .build() + // .await + // .unwrap(); + // let skipped_prefixes = SKIPPED_PALLETS + // .iter() + // .cloned() + // .map(get_pallet_prefix) + // .collect::>(); + // let included_prefixes = INCLUDED_PREFIXES + // .iter() + // .map(|(p, s)| get_storage_prefix(p, s)) + // .collect::>(); + // let mut storage = cfg.chain_spec.as_storage_builder().build_storage()?; + // storage.top = storage + // .top + // .into_iter() + // .filter(|(k, _)| { + // if k.len() < 32 || skipped_prefixes.contains(&k[..16]) { + // true + // } else { + // false + // } + // }) + // .collect(); + // let kv = ext.as_backend().essence().pairs(); + // for (k, v) in kv { + // if k.len() >= 32 + // && (!skipped_prefixes.contains(&k[..16]) || included_prefixes.contains(&k[..32])) + // { + // storage.top.insert(k, v); + // } else { + // log::debug!("Skipped {}", to_hex(&k, false)); + // } + // } + // // Delete System.LastRuntimeUpgrade to ensure that the on_runtime_upgrade event is triggered + // storage + // .top + // .remove(&get_storage_prefix("System", "LastRuntimeUpgrade")); + // // To prevent the validator set from changing mid-test, set Staking.ForceEra to ForceNone ('0x02') + // storage + // .top + // .insert(get_storage_prefix("Staking", "ForceEra"), vec![2]); + // cfg.chain_spec.set_storage(storage); + // let json = sc_service::chain_ops::build_spec(&*cfg.chain_spec, self.raw)?; + // if std::io::stdout().write_all(json.as_bytes()).is_err() { + // let _ = std::io::stderr().write_all(b"Error writing to stdout\n"); + // } Ok(()) } } diff --git a/pallets/apollo-platform/src/lib.rs b/pallets/apollo-platform/src/lib.rs index c6e1c40b77..45bdee283b 100644 --- a/pallets/apollo-platform/src/lib.rs +++ b/pallets/apollo-platform/src/lib.rs @@ -105,7 +105,6 @@ pub mod pallet { pub type AssetIdOf = ::AssetId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/assets/src/lib.rs b/pallets/assets/src/lib.rs index 1976462ce1..01a670b199 100644 --- a/pallets/assets/src/lib.rs +++ b/pallets/assets/src/lib.rs @@ -265,7 +265,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/bridge-proxy/src/lib.rs b/pallets/bridge-proxy/src/lib.rs index 2cb2e0fb3a..e17d3579ee 100644 --- a/pallets/bridge-proxy/src/lib.rs +++ b/pallets/bridge-proxy/src/lib.rs @@ -184,7 +184,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/ceres-governance-platform/src/lib.rs b/pallets/ceres-governance-platform/src/lib.rs index 7c5614ed4b..e257087172 100644 --- a/pallets/ceres-governance-platform/src/lib.rs +++ b/pallets/ceres-governance-platform/src/lib.rs @@ -116,7 +116,6 @@ pub mod pallet { pub type AssetIdOf = ::AssetId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/ceres-launchpad/src/lib.rs b/pallets/ceres-launchpad/src/lib.rs index 37b1183899..a09ba4a2f0 100644 --- a/pallets/ceres-launchpad/src/lib.rs +++ b/pallets/ceres-launchpad/src/lib.rs @@ -134,7 +134,6 @@ pub mod pallet { type CeresAssetIdOf = ::CeresAssetId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/ceres-liquidity-locker/src/lib.rs b/pallets/ceres-liquidity-locker/src/lib.rs index 390f8bc9ed..d1dbd8dbeb 100644 --- a/pallets/ceres-liquidity-locker/src/lib.rs +++ b/pallets/ceres-liquidity-locker/src/lib.rs @@ -79,7 +79,6 @@ pub mod pallet { pub type AssetIdOf = ::AssetId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/ceres-staking/src/lib.rs b/pallets/ceres-staking/src/lib.rs index 40a0957175..dd602c1dd8 100644 --- a/pallets/ceres-staking/src/lib.rs +++ b/pallets/ceres-staking/src/lib.rs @@ -67,7 +67,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/ceres-token-locker/src/lib.rs b/pallets/ceres-token-locker/src/lib.rs index 19b6be02cf..b5452d2fb7 100644 --- a/pallets/ceres-token-locker/src/lib.rs +++ b/pallets/ceres-token-locker/src/lib.rs @@ -76,7 +76,6 @@ pub mod pallet { pub type AssetIdOf = ::AssetId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/demeter-farming-platform/src/lib.rs b/pallets/demeter-farming-platform/src/lib.rs index a20e014186..9a42fe758d 100644 --- a/pallets/demeter-farming-platform/src/lib.rs +++ b/pallets/demeter-farming-platform/src/lib.rs @@ -103,7 +103,6 @@ pub mod pallet { pub type AssetIdOf = ::AssetId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/dex-api/src/lib.rs b/pallets/dex-api/src/lib.rs index d8a2acf6c3..eff25b529f 100644 --- a/pallets/dex-api/src/lib.rs +++ b/pallets/dex-api/src/lib.rs @@ -437,7 +437,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/dex-manager/src/lib.rs b/pallets/dex-manager/src/lib.rs index b35395e30b..5fc9cddb31 100644 --- a/pallets/dex-manager/src/lib.rs +++ b/pallets/dex-manager/src/lib.rs @@ -120,7 +120,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/eth-bridge/src/lib.rs b/pallets/eth-bridge/src/lib.rs index 301ef053f8..7980f8b6bd 100644 --- a/pallets/eth-bridge/src/lib.rs +++ b/pallets/eth-bridge/src/lib.rs @@ -390,7 +390,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/farming/src/lib.rs b/pallets/farming/src/lib.rs index fac03c3db5..4988869873 100644 --- a/pallets/farming/src/lib.rs +++ b/pallets/farming/src/lib.rs @@ -352,7 +352,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/faucet/src/lib.rs b/pallets/faucet/src/lib.rs index 322444e001..6e23f9e2ef 100644 --- a/pallets/faucet/src/lib.rs +++ b/pallets/faucet/src/lib.rs @@ -90,7 +90,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/hermes-governance-platform/src/lib.rs b/pallets/hermes-governance-platform/src/lib.rs index 042dcb9d1a..a349b4417a 100644 --- a/pallets/hermes-governance-platform/src/lib.rs +++ b/pallets/hermes-governance-platform/src/lib.rs @@ -128,7 +128,6 @@ pub mod pallet { pub type AccountIdOf = ::AccountId; #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/iroha-migration/src/lib.rs b/pallets/iroha-migration/src/lib.rs index dbda1a6490..c5af19d240 100644 --- a/pallets/iroha-migration/src/lib.rs +++ b/pallets/iroha-migration/src/lib.rs @@ -342,7 +342,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/kensetsu/src/lib.rs b/pallets/kensetsu/src/lib.rs index cb9e6617e2..c29bbfbe1b 100644 --- a/pallets/kensetsu/src/lib.rs +++ b/pallets/kensetsu/src/lib.rs @@ -170,7 +170,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(PhantomData); diff --git a/pallets/liquidity-proxy/src/lib.rs b/pallets/liquidity-proxy/src/lib.rs index 028d29b504..fa0da5166a 100644 --- a/pallets/liquidity-proxy/src/lib.rs +++ b/pallets/liquidity-proxy/src/lib.rs @@ -2416,7 +2416,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/mock-liquidity-source/src/lib.rs b/pallets/mock-liquidity-source/src/lib.rs index afa026e3ae..0db24b2889 100644 --- a/pallets/mock-liquidity-source/src/lib.rs +++ b/pallets/mock-liquidity-source/src/lib.rs @@ -616,7 +616,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData<(T, I)>); diff --git a/pallets/multicollateral-bonding-curve-pool/src/lib.rs b/pallets/multicollateral-bonding-curve-pool/src/lib.rs index 770de60834..34eda27f93 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/lib.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/lib.rs @@ -212,7 +212,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(3); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index f18c831d2d..ecad268bc6 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -110,7 +110,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(0); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(PhantomData); diff --git a/pallets/pool-xyk/src/lib.rs b/pallets/pool-xyk/src/lib.rs index 785505fb9b..e168b5c8e7 100644 --- a/pallets/pool-xyk/src/lib.rs +++ b/pallets/pool-xyk/src/lib.rs @@ -833,7 +833,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/price-tools/src/lib.rs b/pallets/price-tools/src/lib.rs index a0d7b86e11..44b3b15f5b 100644 --- a/pallets/price-tools/src/lib.rs +++ b/pallets/price-tools/src/lib.rs @@ -153,7 +153,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/pswap-distribution/src/lib.rs b/pallets/pswap-distribution/src/lib.rs index eb62bd68c6..9456c6789c 100644 --- a/pallets/pswap-distribution/src/lib.rs +++ b/pallets/pswap-distribution/src/lib.rs @@ -481,7 +481,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/referrals/src/lib.rs b/pallets/referrals/src/lib.rs index bf03c54ff6..62fc41011a 100644 --- a/pallets/referrals/src/lib.rs +++ b/pallets/referrals/src/lib.rs @@ -105,7 +105,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index c281842da7..19dc0cd0f9 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -334,7 +334,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/technical/src/lib.rs b/pallets/technical/src/lib.rs index 80b5226404..554cfd4dd8 100644 --- a/pallets/technical/src/lib.rs +++ b/pallets/technical/src/lib.rs @@ -310,7 +310,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/trading-pair/src/lib.rs b/pallets/trading-pair/src/lib.rs index 78f5a24a0c..6d81331af7 100644 --- a/pallets/trading-pair/src/lib.rs +++ b/pallets/trading-pair/src/lib.rs @@ -278,7 +278,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/vested-rewards/src/lib.rs b/pallets/vested-rewards/src/lib.rs index b4fc7c2047..f3a37ccfbd 100644 --- a/pallets/vested-rewards/src/lib.rs +++ b/pallets/vested-rewards/src/lib.rs @@ -514,7 +514,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/xor-fee/src/lib.rs b/pallets/xor-fee/src/lib.rs index d7070636ae..a0ffc6002c 100644 --- a/pallets/xor-fee/src/lib.rs +++ b/pallets/xor-fee/src/lib.rs @@ -694,7 +694,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/pallets/xst/src/lib.rs b/pallets/xst/src/lib.rs index af202903f7..24bb4b6581 100644 --- a/pallets/xst/src/lib.rs +++ b/pallets/xst/src/lib.rs @@ -159,7 +159,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] #[pallet::without_storage_info] pub struct Pallet(PhantomData); diff --git a/run_script.sh b/run_script.sh index 29d3749f45..64eb4b1c0c 100755 --- a/run_script.sh +++ b/run_script.sh @@ -96,9 +96,9 @@ do mkdir -p "db$num/chains/sora-substrate-$chain/bridge" cp misc/eth.json "db$num/chains/sora-substrate-$chain/bridge" if [ "$num" == "0" ]; then - sh -c "$unbuffer $binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --ws-port $wsport --rpc-port $rpcport --chain $chain $execution 2>&1" | logger_for_first_node $tmpdir/port_${newport}_name_$name.txt & + sh -c "$unbuffer $binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --rpc-port $rpcport --chain $chain $execution 2>&1" | logger_for_first_node $tmpdir/port_${newport}_name_$name.txt & else - sh -c "$binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --ws-port $wsport --rpc-port $rpcport --chain $chain $execution 2>&1" > $tmpdir/port_${newport}_name_$name.txt & + sh -c "$binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --rpc-port $rpcport --chain $chain $execution 2>&1" > $tmpdir/port_${newport}_name_$name.txt & fi echo SCRIPT: "Port:" $newport "P2P port:" $port "Name:" $name "WS:" $wsport "RPC:" $rpcport $tmpdir/port_${newport}_name_$name.txt port="$newport" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 3443c869a4..13271ea2f0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -3139,25 +3139,23 @@ impl_runtime_apis! { >, key_owner_proof: sp_beefy::OpaqueKeyOwnershipProof, ) -> Option<()> { - // let key_owner_proof = key_owner_proof.decode()?; + let key_owner_proof = key_owner_proof.decode()?; - // Beefy::submit_unsigned_equivocation_report( - // equivocation_proof, - // key_owner_proof, - // ) - None + Beefy::submit_unsigned_equivocation_report( + equivocation_proof, + key_owner_proof, + ) } fn generate_key_ownership_proof( _set_id: sp_beefy::ValidatorSetId, authority_id: BeefyId, ) -> Option { - // use parity_scale_codec::Encode; + use codec::Encode; - // Historical::prove((sp_beefy::KEY_TYPE, authority_id)) - // .map(|p| p.encode()) - // .map(sp_beefy::OpaqueKeyOwnershipProof::new) - None + Historical::prove((sp_beefy::KEY_TYPE, authority_id)) + .map(|p| p.encode()) + .map(sp_beefy::OpaqueKeyOwnershipProof::new) } } From ade399bfbe0500e9e439d624441649d2a1913962 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 5 Jun 2024 18:18:21 -0300 Subject: [PATCH 021/110] fix pre laucnh --- Cargo.lock | 9 +++++---- Cargo.toml | 2 ++ node/Cargo.toml | 1 + node/chain_spec/src/lib.rs | 2 +- node/src/service.rs | 41 ++++++++++++++++++++++++++++---------- runtime/src/lib.rs | 1 + 6 files changed, 40 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65cfcabeef..5e86507cc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3864,6 +3864,7 @@ dependencies = [ "sp-runtime", "sp-timestamp", "sp-transaction-pool", + "sp-transaction-storage-proof", "sp-trie", "substrate-bip39", "substrate-build-script-utils", @@ -11824,9 +11825,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -11843,9 +11844,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 2c31936ee2..2c29a2cf2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -204,6 +204,7 @@ sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-mac sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } +sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } # mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } @@ -312,6 +313,7 @@ sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-mac sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } +sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } # mmr-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } diff --git a/node/Cargo.toml b/node/Cargo.toml index 04872554e9..b46c6a702d 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -98,6 +98,7 @@ sp-trie = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "re sc-informant = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-offchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } sc-chain-spec = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 069741dd58..65df29146f 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -876,7 +876,7 @@ pub fn local_testnet_config(initial_authorities: usize, validator_count: u32) -> }, vec![], None, - None, + Some("local"), None, Some(properties), None, diff --git a/node/src/service.rs b/node/src/service.rs index abdba40438..5167a9e8a4 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -167,7 +167,6 @@ pub fn new_partial( let client = Arc::new(client); let mut bridge_peer_secret_key = None; - // TODO!!!!!! use LocalKeyStore/KeystorePtr if let Some(first_pk_raw) = LocalKeystore::keys(&*keystore_container.local_keystore(), eth_bridge::KEY_TYPE) .unwrap() @@ -336,7 +335,7 @@ pub fn new_partial( grandpa_block_import.clone(), backend.clone(), client.clone(), - None, + config.prometheus_registry().cloned(), ); let babe_config = sc_consensus_babe::configuration(&*client)?; @@ -369,6 +368,7 @@ pub fn new_partial( }; let (import_queue, _) = sc_consensus_babe::import_queue(import_queue_params)?; + // babe_link.clone(), // babe_block_import.clone(), // Some(Box::new(grandpa_block_import)), @@ -537,7 +537,6 @@ pub fn new_full( spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - // warp_sync: Some(warp_sync), warp_sync_params: Some(WarpSyncParams::WithProvider(warp_sync)), net_config, })?; @@ -613,6 +612,7 @@ pub fn new_full( Some(sc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging::default()); let slot_duration = babe_link.config().slot_duration(); + let client_clone = client.clone(); let babe_config = sc_consensus_babe::BabeParams { keystore: keystore_container.keystore(), client: client.clone(), @@ -626,18 +626,37 @@ pub fn new_full( block_proposal_slot_portion: sc_consensus_babe::SlotProportion::new(2f32 / 3f32), max_block_proposal_slot_portion: None, backoff_authoring_blocks, - create_inherent_data_providers: move |_parent, ()| { + create_inherent_data_providers: move |parent, ()| { + let client_clone = client_clone.clone(); async move { - let time = sp_timestamp::InherentDataProvider::from_system_time(); + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *time, - slot_duration //slot_duration.slot_duration(), - ); - - Ok((slot, time)) + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); + + let storage_proof = + sp_transaction_storage_proof::registration::new_data_provider( + &*client_clone, + &parent, + )?; + + Ok((slot, timestamp, storage_proof)) } + + // async move { + // let time = sp_timestamp::InherentDataProvider::from_system_time(); + + // let slot = + // sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + // *time, + // slot_duration //slot_duration.slot_duration(), + // ); + + // Ok((slot, time)) + // } }, telemetry: telemetry.as_ref().map(|x| x.handle()), }; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 13271ea2f0..69c25e1f2c 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -256,6 +256,7 @@ pub mod oracle_types { pub use oracle_types::*; /// This runtime version. +#[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("sora-substrate"), impl_name: create_runtime_str!("sora-substrate"), From 16bdb1d3bef3b6d8b94a432001de8f66702f2d0f Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 13 Jun 2024 22:21:31 +0300 Subject: [PATCH 022/110] refactor(scripts): remove antique constructions from run_script --- run_script.sh | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/run_script.sh b/run_script.sh index 64eb4b1c0c..34ddbd1cd6 100755 --- a/run_script.sh +++ b/run_script.sh @@ -4,8 +4,6 @@ binary="./target/debug/framenode" chain="local" -execution="--execution native" - keep_db=0 if which gawk > /dev/null 2>&1; then @@ -28,7 +26,7 @@ fi # so installing gnu version should make it work. # # brew install gnu-getopt -getopt_code=`$awk -f ./misc/getopt.awk <&1" | logger_for_first_node $tmpdir/port_${newport}_name_$name.txt & + sh -c "$unbuffer $binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --rpc-port $rpcport --chain $chain 2>&1" | logger_for_first_node $tmpdir/port_${newport}_name_$name.txt & else - sh -c "$binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --rpc-port $rpcport --chain $chain $execution 2>&1" > $tmpdir/port_${newport}_name_$name.txt & + sh -c "$binary --pruning=archive --enable-offchain-indexing true $offchain_flags -d db$num --$name --port $newport --rpc-port $rpcport --chain $chain 2>&1" > $tmpdir/port_${newport}_name_$name.txt & fi echo SCRIPT: "Port:" $newport "P2P port:" $port "Name:" $name "WS:" $wsport "RPC:" $rpcport $tmpdir/port_${newport}_name_$name.txt port="$newport" - wsport=`expr $wsport + 1` + wsport=$(expr $wsport + 1) num=$(($num + 1)) done From 6544fb6dcdd411f334131d4a99723832b4824f2a Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 18 Jun 2024 22:19:35 +0300 Subject: [PATCH 023/110] refactor(rpc): add BABE to RPC So runtime will run after polkadot-sdk upgrade --- Cargo.lock | 93 ++++++++++++++++++++------------------------- Cargo.toml | 4 +- node/Cargo.toml | 3 ++ node/src/rpc.rs | 60 ++++++++++++++++++++++++++--- node/src/service.rs | 51 ++++++++++++------------- 5 files changed, 127 insertions(+), 84 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5e86507cc9..95ba06ddaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -355,24 +355,9 @@ dependencies = [ "parity-scale-codec", ] -[[package]] -name = "ark-scale" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-ec", "ark-ff", @@ -420,7 +405,6 @@ dependencies = [ [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-ff", "ark-serialize", @@ -860,13 +844,12 @@ dependencies = [ [[package]] name = "bandersnatch_vrfs" version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", - "ark-scale 0.0.12", + "ark-scale", "ark-serialize", "ark-std", "dleq_vrf", @@ -2672,11 +2655,10 @@ dependencies = [ [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-ec", "ark-ff", - "ark-scale 0.0.10", + "ark-scale", "ark-secret-scalar", "ark-serialize", "ark-std", @@ -3832,8 +3814,10 @@ dependencies = [ "sc-consensus", "sc-consensus-aura", "sc-consensus-babe", + "sc-consensus-babe-rpc", "sc-consensus-beefy", "sc-consensus-beefy-rpc", + "sc-consensus-epochs", "sc-consensus-grandpa", "sc-consensus-slots", "sc-executor", @@ -3853,13 +3837,14 @@ dependencies = [ "sp-arithmetic", "sp-block-builder", "sp-blockchain", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus", "sp-consensus-aura", "sp-consensus-babe", "sp-consensus-beefy", "sp-core", "sp-inherents", "sp-io", + "sp-keystore", "sp-mmr-primitives", "sp-runtime", "sp-timestamp", @@ -6224,7 +6209,7 @@ dependencies = [ "sc-offchain", "sp-api", "sp-blockchain", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus", "sp-consensus-beefy", "sp-core", "sp-mmr-primitives", @@ -9028,7 +9013,7 @@ dependencies = [ "sc-transaction-pool-api", "sp-api", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-core", "sp-inherents", "sp-runtime", @@ -9144,7 +9129,7 @@ dependencies = [ "sc-utils 4.0.0-dev", "sp-api", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-core", "sp-database", "sp-externalities", @@ -9247,7 +9232,7 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-core", "sp-runtime", "sp-state-machine", @@ -9272,7 +9257,7 @@ dependencies = [ "sp-application-crypto", "sp-block-builder", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", "sp-core", @@ -9307,7 +9292,7 @@ dependencies = [ "sp-application-crypto", "sp-block-builder", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", "sp-core", @@ -9318,6 +9303,27 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-consensus-babe-rpc" +version = "0.10.0-dev" +dependencies = [ + "futures 0.3.30", + "jsonrpsee", + "sc-consensus-babe", + "sc-consensus-epochs", + "sc-rpc-api", + "serde", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-keystore", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" @@ -9340,7 +9346,7 @@ dependencies = [ "sp-application-crypto", "sp-arithmetic", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-beefy", "sp-core", "sp-keystore", @@ -9413,7 +9419,7 @@ dependencies = [ "sp-application-crypto", "sp-arithmetic", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev", "sp-core", "sp-keystore", @@ -9436,7 +9442,7 @@ dependencies = [ "sc-telemetry", "sp-arithmetic", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-slots", "sp-core", "sp-inherents", @@ -9590,7 +9596,7 @@ dependencies = [ "parity-scale-codec", "prost-build", "sc-consensus", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev", "sp-runtime", ] @@ -9607,7 +9613,7 @@ dependencies = [ "parity-scale-codec", "prost-build", "sc-consensus", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "sp-runtime", ] @@ -9674,7 +9680,7 @@ dependencies = [ "smallvec", "sp-arithmetic", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev", "sp-core", "sp-runtime", @@ -9694,7 +9700,7 @@ dependencies = [ "sc-network", "sc-network-common 0.10.0-dev", "sc-utils 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", ] @@ -9872,7 +9878,7 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-core", "sp-externalities", "sp-keystore", @@ -10608,7 +10614,7 @@ dependencies = [ "parking_lot 0.12.2", "schnellru", "sp-api", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-database", "sp-runtime", "sp-state-machine", @@ -10629,21 +10635,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" -dependencies = [ - "async-trait", - "futures 0.3.30", - "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "thiserror", -] - [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" diff --git a/Cargo.toml b/Cargo.toml index 2c29a2cf2a..f54e7a230b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -177,7 +177,7 @@ sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/appl sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} -# sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} +sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/common"} sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} @@ -211,6 +211,8 @@ substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/fram substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } +sc-consensus-babe-rpc = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe/rpc" } +sc-consensus-epochs = { path = "../sora-polkadot-sdk/substrate/client/consensus/epochs" } # sp-consensus-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # pallet-beefy = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } diff --git a/node/Cargo.toml b/node/Cargo.toml index b46c6a702d..b348ad8bd4 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -115,6 +115,9 @@ sc-transaction-pool = { git = "https://github.com/paritytech/polkadot-sdk.git", sc-transaction-pool-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } enum-as-inner = "=0.5.1" +sc-consensus-babe-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-epochs = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } # TODO remove after toolchain is updated # newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 6365bc3a65..d46ad6389a 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -37,11 +37,16 @@ use framenode_runtime::{ FilterMode, LiquiditySourceType, Nonce, ResolveTime, Runtime, SwapVariant, Symbol, }; use jsonrpsee::RpcModule; +use sc_client_api::AuxStore; +use sc_consensus_babe::{BabeApi, BabeWorkerHandle}; pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; use sc_service::TransactionPool; use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; +use sp_consensus::SelectChain; +use sp_core::H256 as Hash; +use sp_keystore::KeystorePtr; use std::sync::Arc; /// A type representing all RPC extensions. @@ -57,17 +62,31 @@ pub struct BeefyDeps { /// Receives notifications about best block events from BEEFY. pub beefy_best_block_stream: BeefyBestBlockStream, /// Executor to drive the subscription manager in the BEEFY RPC handler. - pub subscription_executor: sc_rpc::SubscriptionTaskExecutor, + pub subscription_executor: SubscriptionTaskExecutor, +} + +/// Extra dependencies for BABE. +pub struct BabeDeps { + /// A handle to the BABE worker for issuing requests. + pub babe_worker_handle: BabeWorkerHandle, + /// The keystore that manages the keys of the node. + pub keystore: KeystorePtr, } /// Full client dependencies -pub struct FullDeps { +pub struct FullDeps { /// The client instance to use. pub client: Arc, /// Transaction pool instance. pub pool: Arc

, + /// The SelectChain Strategy + pub select_chain: SC, + /// A copy of the chain spec. + pub chain_spec: Box, /// Whether to deny unsafe calls pub deny_unsafe: DenyUnsafe, + /// BABE specific dependencies. + pub babe: BabeDeps, /// BEEFY specific dependencies. pub beefy: BeefyDeps, /// Backend used by the node. @@ -98,11 +117,18 @@ pub fn add_ready_for_test_rpc( } /// Instantiate full RPC extensions. -pub fn create_full( - deps: FullDeps, +pub fn create_full( + deps: FullDeps, ) -> Result> where - C: ProvideRuntimeApi, + C: ProvideRuntimeApi + + sc_client_api::BlockBackend + + HeaderBackend + + AuxStore + + HeaderMetadata + + Sync + + Send + + 'static, C: HeaderBackend + HeaderMetadata, C: Send + Sync + 'static, C::Api: mmr_rpc::MmrRuntimeApi< @@ -121,6 +147,7 @@ where LiquiditySourceType, SwapVariant, >, + C::Api: BabeApi, C::Api: oracle_proxy_rpc::OracleProxyRuntimeApi, C::Api: dex_manager_rpc::DEXManagerRuntimeAPI, C::Api: trading_pair_rpc::TradingPairRuntimeAPI< @@ -180,6 +207,7 @@ where C::Api: leaf_provider_rpc::LeafProviderRuntimeAPI, C::Api: bridge_proxy_rpc::BridgeProxyRuntimeAPI, P: TransactionPool + Send + Sync + 'static, + SC: SelectChain + 'static, B: sc_client_api::Backend + Send + Sync + 'static, B::State: sc_client_api::StateBackend>, { @@ -197,6 +225,7 @@ where use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use pswap_distribution_rpc::{PswapDistributionAPIServer, PswapDistributionClient}; use rewards_rpc::{RewardsAPIServer, RewardsClient}; + use sc_consensus_babe_rpc::{Babe, BabeApiServer}; use sc_consensus_beefy_rpc::{Beefy, BeefyApiServer}; use substrate_frame_rpc_system::{System, SystemApiServer}; use trading_pair_rpc::{TradingPairAPIServer, TradingPairClient}; @@ -206,11 +235,20 @@ where let FullDeps { client, pool, + select_chain, + chain_spec, deny_unsafe, + babe, beefy, backend, } = deps; + let BabeDeps { + keystore, + babe_worker_handle, + } = babe; + let properties = chain_spec.properties(); + io.merge( Mmr::new( client.clone(), @@ -231,6 +269,18 @@ where io.merge(System::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; io.merge(TransactionPayment::new(client.clone()).into_rpc())?; + + io.merge( + Babe::new( + client.clone(), + babe_worker_handle.clone(), + keystore, + select_chain, + deny_unsafe, + ) + .into_rpc(), + )?; + io.merge(DEX::new(client.clone()).into_rpc())?; io.merge(DEXManager::new(client.clone()).into_rpc())?; io.merge(TradingPairClient::new(client.clone()).into_rpc())?; diff --git a/node/src/service.rs b/node/src/service.rs index 5167a9e8a4..57b0cd3336 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -47,6 +47,7 @@ pub use sc_executor::NativeElseWasmExecutor; use sc_keystore::{Keystore, LocalKeystore}; use sc_service::config::PrometheusConfig; use sc_service::error::Error as ServiceError; +use sc_rpc::SubscriptionTaskExecutor; use sc_service::WarpSyncParams; use sc_service::{Configuration, TaskManager}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; @@ -151,15 +152,10 @@ pub fn new_partial( }) .transpose()?; - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); + let executor = sc_service::new_native_or_wasm_executor::(config); let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::>( + sc_service::new_full_parts::( &config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, @@ -361,13 +357,13 @@ pub fn new_partial( sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( *timestamp, slot_duration, - ); + ); Ok((slot, timestamp)) }, }; - let (import_queue, _) = sc_consensus_babe::import_queue(import_queue_params)?; + let (import_queue, babe_worker_handle) = sc_consensus_babe::import_queue(import_queue_params)?; // babe_link.clone(), // babe_block_import.clone(), @@ -399,16 +395,29 @@ pub fn new_partial( let rpc_setup = shared_voter_state.clone(); let rpc_extensions_builder = { + let (_, grandpa_link, _, _) = &import_setup; let client = client.clone(); let pool = transaction_pool.clone(); let backend = backend.clone(); + let keystore = keystore_container.keystore(); + let chain_spec = config.chain_spec.cloned_box(); + let select_chain = select_chain.clone(); + move |deny_unsafe, - subscription_executor| + subscription_executor: SubscriptionTaskExecutor| -> Result { + + let deps = crate::rpc::FullDeps { client: client.clone(), pool: pool.clone(), + select_chain: select_chain.clone(), deny_unsafe, + chain_spec: chain_spec.cloned_box(), + babe: crate::rpc::BabeDeps { + keystore: keystore.clone(), + babe_worker_handle: babe_worker_handle.clone(), + }, beefy: crate::rpc::BeefyDeps { beefy_finality_proof_stream: beefy_rpc_links.from_voter_justif_stream.clone(), beefy_best_block_stream: beefy_rpc_links.from_voter_best_beefy_stream.clone(), @@ -621,11 +630,6 @@ pub fn new_full( block_import, sync_oracle: sync_service.clone(), justification_sync_link: sync_service.clone(), - force_authoring, - babe_link, - block_proposal_slot_portion: sc_consensus_babe::SlotProportion::new(2f32 / 3f32), - max_block_proposal_slot_portion: None, - backoff_authoring_blocks, create_inherent_data_providers: move |parent, ()| { let client_clone = client_clone.clone(); async move { @@ -645,19 +649,12 @@ pub fn new_full( Ok((slot, timestamp, storage_proof)) } - - // async move { - // let time = sp_timestamp::InherentDataProvider::from_system_time(); - - // let slot = - // sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - // *time, - // slot_duration //slot_duration.slot_duration(), - // ); - - // Ok((slot, time)) - // } }, + force_authoring, + backoff_authoring_blocks, + babe_link, + block_proposal_slot_portion: sc_consensus_babe::SlotProportion::new(2f32 / 3f32), + max_block_proposal_slot_portion: None, telemetry: telemetry.as_ref().map(|x| x.handle()), }; From dc8884079b83b2e7b6108e4974224858e3a6ac0f Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 19 Jun 2024 13:55:52 +0300 Subject: [PATCH 024/110] refactor(node): fix warnings --- common/src/weights.rs | 2 +- node/chain_spec/src/lib.rs | 16 ++++++++-------- node/src/service.rs | 10 ++++------ runtime/src/lib.rs | 6 +----- 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/common/src/weights.rs b/common/src/weights.rs index a0b01b9895..ac4a7ab4c0 100644 --- a/common/src/weights.rs +++ b/common/src/weights.rs @@ -137,7 +137,7 @@ pub fn check_accrue_n(meter: &mut WeightMeter, w: Weight, max_n: u64, consume_we // `n` was obtained as integer division `left/w`, so multiplying `n*w` will not exceed `left`; // it means it will fit into u64 let to_consume = w.saturating_mul(n); - meter.defensive_saturating_accrue(to_consume); + meter.consume(to_consume); } n } diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 65df29146f..44f45cae23 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -54,11 +54,11 @@ use framenode_runtime::BridgeOutboundChannelConfig; use framenode_runtime::{ assets, eth_bridge, frame_system, AccountId, AssetId, AssetName, AssetSymbol, AssetsConfig, BabeConfig, BalancesConfig, BeefyConfig, BeefyId, BridgeMultisigConfig, CouncilConfig, - DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GenesisConfig, - GetBaseAssetId, GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, - GetValAssetId, GetXorAssetId, GrandpaConfig, ImOnlineId, IrohaMigrationConfig, - LiquiditySourceType, MulticollateralBondingCurvePoolConfig, PermissionsConfig, - PswapDistributionConfig, RewardsConfig, Runtime, SS58Prefix, SessionConfig, Signature, + DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GetBaseAssetId, + GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, GetValAssetId, GetXorAssetId, + GrandpaConfig, ImOnlineId, IrohaMigrationConfig, LiquiditySourceType, + MulticollateralBondingCurvePoolConfig, PermissionsConfig, PswapDistributionConfig, + RewardsConfig, Runtime, RuntimeGenesisConfig, SS58Prefix, SessionConfig, Signature, StakerStatus, StakingConfig, SystemConfig, TechAccountId, TechnicalCommitteeConfig, TechnicalConfig, TokensConfig, TradingPair, TradingPairConfig, XSTPoolConfig, WASM_BINARY, }; @@ -87,7 +87,7 @@ use sp_runtime::traits::{IdentifyAccount, Verify}; use std::borrow::Cow; /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. -pub type ChainSpec = sc_service::GenericChainSpec; +pub type ChainSpec = sc_service::GenericChainSpec; type Technical = technical::Pallet; type AccountPublic = ::Signer; @@ -903,7 +903,7 @@ fn testnet_genesis( council_accounts: Vec, technical_committee_accounts: Vec, validator_count: u32, -) -> GenesisConfig { +) -> RuntimeGenesisConfig { use common::XSTUSD; // Initial balances @@ -1241,7 +1241,7 @@ fn testnet_genesis( XST.into(), TBCD.into(), ]; - GenesisConfig { + RuntimeGenesisConfig { #[cfg(feature = "wip")] // EVM bridge evm_fungible_app: Default::default(), parachain_bridge_app: Default::default(), diff --git a/node/src/service.rs b/node/src/service.rs index 57b0cd3336..e989906a35 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -45,9 +45,9 @@ use sc_client_api::{Backend, BlockBackend}; use sc_consensus_aura::SlotDuration; pub use sc_executor::NativeElseWasmExecutor; use sc_keystore::{Keystore, LocalKeystore}; +use sc_rpc::SubscriptionTaskExecutor; use sc_service::config::PrometheusConfig; use sc_service::error::Error as ServiceError; -use sc_rpc::SubscriptionTaskExecutor; use sc_service::WarpSyncParams; use sc_service::{Configuration, TaskManager}; use sc_transaction_pool_api::OffchainTransactionPoolFactory; @@ -406,8 +406,6 @@ pub fn new_partial( move |deny_unsafe, subscription_executor: SubscriptionTaskExecutor| -> Result { - - let deps = crate::rpc::FullDeps { client: client.clone(), pool: pool.clone(), @@ -415,9 +413,9 @@ pub fn new_partial( deny_unsafe, chain_spec: chain_spec.cloned_box(), babe: crate::rpc::BabeDeps { - keystore: keystore.clone(), - babe_worker_handle: babe_worker_handle.clone(), - }, + keystore: keystore.clone(), + babe_worker_handle: babe_worker_handle.clone(), + }, beefy: crate::rpc::BeefyDeps { beefy_finality_proof_stream: beefy_rpc_links.from_voter_justif_stream.clone(), beefy_best_block_stream: beefy_rpc_links.from_voter_best_beefy_stream.clone(), diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 69c25e1f2c..a63dd1bf37 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -2428,11 +2428,7 @@ impl multisig_verifier::Config for Runtime { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = opaque::Block, - UncheckedExtrinsic = UncheckedExtrinsic - { + pub enum Runtime { System: frame_system = 0, Babe: pallet_babe = 14, From afe5e94fcc6cc418361c94801950ac291568a860 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 19 Jun 2024 20:37:37 +0300 Subject: [PATCH 025/110] fix(scripts): reduce run_script RUST_LOG verbosity --- run_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_script.sh b/run_script.sh index 34ddbd1cd6..6cb712f2c1 100755 --- a/run_script.sh +++ b/run_script.sh @@ -51,7 +51,7 @@ EOF eval "$getopt_code" #export RUST_LOG="beefy=info,ethereum_light_client=debug,bridge_channel=debug,dispatch=debug,eth_app=debug" -export RUST_LOG="info,runtime=debug,babe=trace,tokio_runtime_worker=trace" +export RUST_LOG="info,runtime=debug" localid=$(mktemp) tmpdir=$(dirname "$localid") From ca78ee23408b44c5b1f2d01c0ff6014140a092aa Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 19 Jun 2024 20:38:00 +0300 Subject: [PATCH 026/110] fix(node): allow http requests for offchain-worker --- node/src/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/service.rs b/node/src/service.rs index e989906a35..4c10a6bb40 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -572,7 +572,7 @@ pub fn new_full( )), network_provider: network.clone(), is_validator: config.role.is_authority(), - enable_http_requests: false, + enable_http_requests: true, custom_extensions: move |_| vec![], }) .run(client.clone(), task_manager.spawn_handle()) From 79f41a0c0698ecfcecb4038fcbe13c118c501168 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 16:50:42 +0300 Subject: [PATCH 027/110] refactor(pallets): update mock runtime for most of the modules --- pallets/apollo-platform/src/mock.rs | 23 +++--- pallets/assets/src/mock.rs | 21 +++-- pallets/band/src/mock.rs | 16 ++-- pallets/bridge-proxy/src/mock.rs | 77 +++++++++---------- pallets/ceres-governance-platform/src/mock.rs | 22 +++--- .../ceres-governance-platform/src/tests.rs | 4 +- pallets/ceres-launchpad/src/mock.rs | 21 +++-- .../benchmarking/src/mock.rs | 25 +++--- pallets/ceres-liquidity-locker/src/mock.rs | 23 +++--- pallets/ceres-staking/src/mock.rs | 21 +++-- pallets/ceres-token-locker/src/mock.rs | 21 +++-- .../benchmarking/src/mock.rs | 21 +++-- pallets/demeter-farming-platform/src/mock.rs | 21 +++-- pallets/dex-manager/src/mock.rs | 23 +++--- pallets/farming/src/mock.rs | 23 +++--- pallets/faucet/src/mock.rs | 22 +++--- .../hermes-governance-platform/src/mock.rs | 22 +++--- pallets/iroha-migration/src/mock.rs | 26 +++---- pallets/kensetsu/src/mock.rs | 12 +-- pallets/liquidity-proxy/Cargo.toml | 6 +- pallets/liquidity-proxy/src/mock.rs | 23 +++--- pallets/mock-liquidity-source/src/mock.rs | 23 +++--- .../src/mock.rs | 23 +++--- pallets/oracle-proxy/src/mock.rs | 10 +-- pallets/permissions/src/mock.rs | 23 +++--- pallets/pool-xyk/src/mock.rs | 23 +++--- pallets/price-tools/src/mock.rs | 23 +++--- pallets/pswap-distribution/src/mock.rs | 21 +++-- pallets/referrals/src/mock.rs | 23 +++--- pallets/rewards/src/mock.rs | 21 +++-- pallets/technical/src/mock.rs | 21 +++-- pallets/trading-pair/src/mock.rs | 23 +++--- pallets/vested-rewards/src/mock.rs | 23 +++--- pallets/xor-fee/src/mock.rs | 23 +++--- pallets/xst/src/mock.rs | 25 +++--- 35 files changed, 371 insertions(+), 407 deletions(-) diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 6ae2f876a5..4f331e055e 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -24,7 +24,7 @@ use { sp_runtime::{ testing::{Header, TestXt}, traits::{BlakeTwo256, IdentityLookup, Zero}, - AccountId32, Perbill, Percent, + AccountId32, BuildStorage, Perbill, Percent, }, }; @@ -57,19 +57,15 @@ pub fn exchange_account() -> AccountId32 { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, Currencies: currencies::{Pallet, Call, Storage}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, LiquidityProxy: liquidity_proxy::{Pallet, Call, Event}, - DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, + DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, VestedRewards: vested_rewards::{Pallet, Call, Storage, Event}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, MBCPool: multicollateral_bonding_curve_pool::{Pallet, Call, Config, Storage, Event}, @@ -115,13 +111,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -153,6 +148,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } parameter_types! { @@ -596,7 +595,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { common::test_utils::init_logger(); - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![ diff --git a/pallets/assets/src/mock.rs b/pallets/assets/src/mock.rs index d7b3340b8b..7a164bb74c 100644 --- a/pallets/assets/src/mock.rs +++ b/pallets/assets/src/mock.rs @@ -40,18 +40,14 @@ use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::DispatchError; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Currencies: currencies::{Pallet, Call, Storage}, @@ -83,13 +79,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -178,6 +173,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct MockLiquidityProxy; @@ -245,7 +244,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self diff --git a/pallets/band/src/mock.rs b/pallets/band/src/mock.rs index 5527083b9e..21d1ca734c 100644 --- a/pallets/band/src/mock.rs +++ b/pallets/band/src/mock.rs @@ -35,6 +35,7 @@ use sp_core::H256; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; @@ -43,11 +44,7 @@ type Moment = u64; // Configure a mock runtime to test the pallet. frame_support::construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Runtime { System: frame_system, Band: band, OracleProxy: oracle_proxy, @@ -68,13 +65,12 @@ impl system::Config for Runtime { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type Version = (); @@ -116,8 +112,8 @@ impl oracle_proxy::Config for Runtime { // Build genesis storage according to the mock runtime. pub fn new_test_ext() -> sp_io::TestExternalities { - system::GenesisConfig::default() - .build_storage::() + system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 976069c743..d249e5bf6e 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -52,21 +52,17 @@ use sp_runtime::testing::Header; use sp_runtime::traits::{ BlakeTwo256, Convert, IdentifyAccount, IdentityLookup, Keccak256, Verify, }; +use sp_runtime::BuildStorage; use sp_runtime::{AccountId32, DispatchResult, MultiSignature}; use system::EnsureRoot; use crate as proxy; -pub type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; pub type Block = frame_system::mocking::MockBlock; pub type AssetId = AssetId32; frame_support::construct_runtime!( - pub enum Test where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Test { System: frame_system::{Pallet, Call, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage}, Assets: assets::{Pallet, Call, Storage, Event}, @@ -99,13 +95,12 @@ impl system::Config for Test { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Block = Block; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -143,6 +138,10 @@ impl pallet_balances::Config for Test { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Test { @@ -367,8 +366,8 @@ impl pallet_timestamp::Config for Test { } pub fn new_tester() -> sp_io::TestExternalities { - let mut storage = system::GenesisConfig::default() - .build_storage::() + let mut storage = system::GenesisConfig::::default() + .build_storage() .unwrap(); technical::GenesisConfig:: { @@ -386,35 +385,33 @@ pub fn new_tester() -> sp_io::TestExternalities { .assimilate_storage(&mut storage) .unwrap(); - GenesisBuild::::assimilate_storage( - &evm_fungible_app::GenesisConfig { - apps: vec![(BASE_EVM_NETWORK_ID, H160::repeat_byte(1))], - assets: vec![ - ( - BASE_EVM_NETWORK_ID, - XOR, - H160::repeat_byte(3), - AssetKind::Thischain, - 18, - ), - ( - BASE_EVM_NETWORK_ID, - DAI, - H160::repeat_byte(4), - AssetKind::Sidechain, - 18, - ), - ( - BASE_EVM_NETWORK_ID, - ETH, - H160::repeat_byte(0), - AssetKind::Sidechain, - 18, - ), - ], - }, - &mut storage, - ) + let _ = &evm_fungible_app::GenesisConfig:: { + apps: vec![(BASE_EVM_NETWORK_ID, H160::repeat_byte(1))], + assets: vec![ + ( + BASE_EVM_NETWORK_ID, + XOR, + H160::repeat_byte(3), + AssetKind::Thischain, + 18, + ), + ( + BASE_EVM_NETWORK_ID, + DAI, + H160::repeat_byte(4), + AssetKind::Sidechain, + 18, + ), + ( + BASE_EVM_NETWORK_ID, + ETH, + H160::repeat_byte(0), + AssetKind::Sidechain, + 18, + ), + ], + } + .assimilate_storage(&mut storage) .unwrap(); let bob: AccountId = Keyring::Bob.into(); diff --git a/pallets/ceres-governance-platform/src/mock.rs b/pallets/ceres-governance-platform/src/mock.rs index 9b8f5d6caf..b1f07d65aa 100644 --- a/pallets/ceres-governance-platform/src/mock.rs +++ b/pallets/ceres-governance-platform/src/mock.rs @@ -13,21 +13,16 @@ use frame_system::pallet_prelude::BlockNumberFor; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -73,13 +68,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -260,6 +254,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } #[allow(clippy::type_complexity)] @@ -302,7 +300,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self diff --git a/pallets/ceres-governance-platform/src/tests.rs b/pallets/ceres-governance-platform/src/tests.rs index 935a3addb1..cb8951729c 100644 --- a/pallets/ceres-governance-platform/src/tests.rs +++ b/pallets/ceres-governance-platform/src/tests.rs @@ -909,11 +909,11 @@ fn ceres_governance_migration_works() { crate::StorageVersion::V3 ); - let nonce_a: ::Index = 305u32.into(); + let nonce_a: ::Nonce = 305u32.into(); let encoded = (&first_poll_creator, nonce_a).using_encoded(blake2_256); let poll_id_a = H256::from(encoded); - let nonce_b: ::Index = 15u32.into(); + let nonce_b: ::Nonce = 15u32.into(); let encoded = (&user_auth, nonce_b).using_encoded(blake2_256); let poll_id_b = H256::from(encoded); diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index bc3031d43e..dffbc56142 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -21,7 +21,7 @@ use permissions::{Scope, MANAGE_DEX}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type BlockNumber = u64; pub type AccountId = u128; @@ -33,12 +33,8 @@ type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -92,13 +88,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -309,6 +304,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } #[allow(clippy::type_complexity)] @@ -413,7 +412,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); dex_manager::GenesisConfig:: { dex_list: self.initial_dex_list, diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index 39a55d9be2..aebd8b693a 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -16,7 +16,7 @@ use permissions::{Scope, BURN, MANAGE_DEX, MINT}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{AccountId32, Percent}; +use sp_runtime::{AccountId32, BuildStorage, Percent}; pub type DEXId = u32; pub type AssetId = common::AssetId32; @@ -49,12 +49,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Currencies: currencies::{Pallet, Call, Storage}, Assets: assets::{Pallet, Call, Config, Storage, Event}, @@ -63,7 +59,7 @@ construct_runtime! { DexManager: dex_manager::{Pallet, Call, Config, Storage}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, - DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, + DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, Technical: technical::{Pallet, Call, Config, Storage, Event}, PoolXYK: pool_xyk::{Pallet, Call, Storage, Event}, PswapDistribution: pswap_distribution::{Pallet, Call, Config, Storage, Event}, @@ -78,13 +74,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -163,6 +158,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl dex_manager::Config for Runtime {} @@ -301,8 +300,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/ceres-liquidity-locker/src/mock.rs b/pallets/ceres-liquidity-locker/src/mock.rs index 024b0e1699..2b571fbbf5 100644 --- a/pallets/ceres-liquidity-locker/src/mock.rs +++ b/pallets/ceres-liquidity-locker/src/mock.rs @@ -14,7 +14,7 @@ use permissions::{Scope, MANAGE_DEX}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub use common::mock::*; pub use common::TechAssetId as Tas; @@ -63,12 +63,8 @@ parameter_type_with_key! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Config, Storage}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, @@ -91,13 +87,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -140,6 +135,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl orml_tokens::Config for Runtime { @@ -314,8 +313,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); dex_manager::GenesisConfig:: { diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index 4d93cdca74..ae47749308 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -17,19 +17,15 @@ use frame_system::pallet_prelude::BlockNumberFor; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const BLOCKS_PER_DAY: BlockNumberFor = 14_440; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Currencies: currencies::{Pallet, Call, Storage}, @@ -64,13 +60,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -183,6 +178,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct ExtBuilder { @@ -232,7 +231,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self diff --git a/pallets/ceres-token-locker/src/mock.rs b/pallets/ceres-token-locker/src/mock.rs index a50e0e136d..79ce10fbcd 100644 --- a/pallets/ceres-token-locker/src/mock.rs +++ b/pallets/ceres-token-locker/src/mock.rs @@ -14,7 +14,7 @@ use frame_system::pallet_prelude::BlockNumberFor; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; @@ -23,12 +23,8 @@ type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -74,13 +70,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -253,6 +248,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct ExtBuilder { @@ -294,7 +293,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self diff --git a/pallets/demeter-farming-platform/benchmarking/src/mock.rs b/pallets/demeter-farming-platform/benchmarking/src/mock.rs index 539440f4ca..aadcd6ba57 100644 --- a/pallets/demeter-farming-platform/benchmarking/src/mock.rs +++ b/pallets/demeter-farming-platform/benchmarking/src/mock.rs @@ -20,7 +20,7 @@ use permissions::{Scope, MANAGE_DEX}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type BlockNumber = u64; pub type AccountId = u128; @@ -32,12 +32,8 @@ type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -85,13 +81,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -295,6 +290,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct ExtBuilder { @@ -331,7 +330,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); dex_manager::GenesisConfig:: { dex_list: self.initial_dex_list, diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index 500b393915..93c5c27e72 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -18,7 +18,7 @@ use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::AccountId32; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type BlockNumber = u64; pub type AccountId = AccountId32; @@ -30,12 +30,8 @@ type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -85,13 +81,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -292,6 +287,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct ExtBuilder { @@ -340,7 +339,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); dex_manager::GenesisConfig:: { dex_list: self.initial_dex_list, diff --git a/pallets/dex-manager/src/mock.rs b/pallets/dex-manager/src/mock.rs index b6080ea99a..db6feb37fa 100644 --- a/pallets/dex-manager/src/mock.rs +++ b/pallets/dex-manager/src/mock.rs @@ -41,7 +41,7 @@ use permissions::Scope; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; pub type AccountId = u128; pub type BlockNumber = u64; @@ -71,12 +71,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Config, Storage}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, @@ -92,13 +88,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -181,6 +176,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct ExtBuilder { @@ -206,8 +205,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); crate::GenesisConfig:: { diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index 3aa8bc710c..1b916f78ba 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -47,7 +47,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; use sp_std::cmp::Ordering; use sp_std::marker::PhantomData; @@ -127,12 +127,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Config, Storage}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, @@ -159,13 +155,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -208,6 +203,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -466,8 +465,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs index a9d760454f..7fc6afbb3e 100644 --- a/pallets/faucet/src/mock.rs +++ b/pallets/faucet/src/mock.rs @@ -45,7 +45,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; type DEXId = common::DEXId; type AccountId = AccountId32; @@ -53,7 +53,6 @@ type BlockNumber = u64; type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type AssetId = AssetId32; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId32 { @@ -87,13 +86,9 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Runtime { Faucet: faucet::{Pallet, Call, Config, Storage, Event}, - System: frame_system::{Pallet, Call, Config, Storage, Event}, + System: frame_system::{Pallet, Call, Config, Storage, Event}, Technical: technical::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, @@ -115,13 +110,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -213,6 +207,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -233,7 +231,7 @@ pub struct ExtBuilder {} impl ExtBuilder { pub fn build() -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); let tech_account_id = tech_account_id(); let account_id: AccountId = account_id(); diff --git a/pallets/hermes-governance-platform/src/mock.rs b/pallets/hermes-governance-platform/src/mock.rs index bb93a99f59..39b09e8323 100644 --- a/pallets/hermes-governance-platform/src/mock.rs +++ b/pallets/hermes-governance-platform/src/mock.rs @@ -16,21 +16,16 @@ use frame_system::pallet_prelude::BlockNumberFor; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Assets: assets::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -88,13 +83,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -286,6 +280,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } pub struct ExtBuilder { @@ -328,7 +326,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: self diff --git a/pallets/iroha-migration/src/mock.rs b/pallets/iroha-migration/src/mock.rs index bdae17d63a..1f2b950673 100644 --- a/pallets/iroha-migration/src/mock.rs +++ b/pallets/iroha-migration/src/mock.rs @@ -39,11 +39,12 @@ use common::{ use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; use frame_support::weights::Weight; -use frame_support::{construct_runtime, parameter_types}; +use frame_support::{construct_runtime, derive_impl, parameter_types}; use permissions::{Scope, MINT}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; +use sp_runtime::BuildStorage; use sp_runtime::{self, Perbill}; type DEXId = common::DEXId; @@ -51,7 +52,6 @@ type AccountId = u64; type BlockNumber = u64; type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const XOR: PredefinedAssetId = PredefinedAssetId::XOR; @@ -76,12 +76,8 @@ parameter_types! { } construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub struct Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, Multisig: pallet_multisig::{Pallet, Call, Storage, Event}, Tokens: tokens::{Pallet, Call, Storage, Config, Event}, @@ -94,19 +90,19 @@ construct_runtime!( } ); +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] impl frame_system::Config for Runtime { type BaseCallFilter = Everything; type BlockWeights = (); type BlockLength = (); + type Block = Block; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -184,6 +180,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -224,8 +224,8 @@ pub fn test_ext(add_iroha_accounts: bool) -> sp_io::TestExternalities { let tech_account_id = TechAccountId::Generic(TECH_ACCOUNT_PREFIX.to_vec(), TECH_ACCOUNT_MAIN.to_vec()); - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/kensetsu/src/mock.rs b/pallets/kensetsu/src/mock.rs index 58a0a9af47..f154bf743b 100644 --- a/pallets/kensetsu/src/mock.rs +++ b/pallets/kensetsu/src/mock.rs @@ -54,7 +54,7 @@ use sp_runtime::{ testing::{Header, TestXt}, traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}, }; -use sp_runtime::{DispatchError, MultiSignature}; +use sp_runtime::{BuildStorage, DispatchError, MultiSignature}; type AccountId = <::Signer as IdentifyAccount>::AccountId; type AssetId = AssetId32; @@ -182,11 +182,7 @@ impl LiquidityProxyTrait for MockLiquidityProxy { } frame_support::construct_runtime!( - pub enum TestRuntime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum TestRuntime { System: frame_system::{Pallet, Call, Storage, Event}, Assets: assets::{Pallet, Call, Storage, Config, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Event}, @@ -264,8 +260,8 @@ pub fn new_test_ext() -> sp_io::TestExternalities { ) .unwrap(); - let mut storage = frame_system::GenesisConfig::default() - .build_storage::() + let mut storage = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); TechnicalConfig { register_tech_accounts: vec![ diff --git a/pallets/liquidity-proxy/Cargo.toml b/pallets/liquidity-proxy/Cargo.toml index 05a4d89e7f..356a287ef0 100644 --- a/pallets/liquidity-proxy/Cargo.toml +++ b/pallets/liquidity-proxy/Cargo.toml @@ -40,10 +40,10 @@ sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "re sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } dex-api = { path = "../dex-api" } dex-manager = { path = "../dex-manager" } -# framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } -# framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "private-net", "test"] } +framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } +framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "private-net", "test"] } mock-liquidity-source = { path = "../mock-liquidity-source" } -# order-book = { path = "../order-book", features = ["test"] } +order-book = { path = "../order-book", features = ["test"] } qa-tools = { path = "../qa-tools" } technical = { path = "../technical" } permissions = { path = "../permissions" } diff --git a/pallets/liquidity-proxy/src/mock.rs b/pallets/liquidity-proxy/src/mock.rs index 4d81b31c92..8f58af0290 100644 --- a/pallets/liquidity-proxy/src/mock.rs +++ b/pallets/liquidity-proxy/src/mock.rs @@ -46,13 +46,14 @@ use frame_system; use traits::MultiCurrency; use common::prelude::{Balance, FixedWrapper, OutcomeFee, QuoteAmount, SwapAmount, SwapOutcome}; +use core::marker::PhantomData; use frame_system::{pallet_prelude::BlockNumberFor, EnsureRoot}; use hex_literal::hex; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::{ConstU32, H256}; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{AccountId32, DispatchError, Perbill, Percent}; +use sp_runtime::{AccountId32, BuildStorage, DispatchError, Perbill, Percent}; use sp_std::str::FromStr; use std::collections::{BTreeSet, HashMap}; @@ -138,7 +139,7 @@ construct_runtime! { NodeBlock = Block, UncheckedExtrinsic = UncheckedExtrinsic, { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + System: frame_system::{Pallet, Call, Config, Storage, Event}, LiquidityProxy: liquidity_proxy::{Pallet, Call, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -152,7 +153,7 @@ construct_runtime! { MockLiquiditySource4: mock_liquidity_source::::{Pallet, Call, Config, Storage}, Technical: technical::{Pallet, Call, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, - DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, + DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, TradingPair: trading_pair::{Pallet, Call, Storage, Event}, VestedRewards: vested_rewards::{Pallet, Call, Storage, Event}, PoolXyk: pool_xyk::{Pallet, Call, Storage, Event}, @@ -169,13 +170,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -275,6 +275,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl dex_manager::Config for Runtime {} @@ -976,8 +980,8 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { @@ -1027,9 +1031,10 @@ impl ExtBuilder { .assimilate_storage(&mut t) .unwrap(); - >::assimilate_storage( + dex_api::GenesisConfig::::assimilate_storage( &dex_api::GenesisConfig { source_types: self.source_types, + phantom: PhantomData, }, &mut t, ) diff --git a/pallets/mock-liquidity-source/src/mock.rs b/pallets/mock-liquidity-source/src/mock.rs index 8a03734853..4e58b2703b 100644 --- a/pallets/mock-liquidity-source/src/mock.rs +++ b/pallets/mock-liquidity-source/src/mock.rs @@ -42,7 +42,7 @@ use hex_literal::hex; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; pub type AccountId = AccountId32; pub type BlockNumber = u64; @@ -74,12 +74,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, MockLiquiditySource: mock_liquidity_source::::{Pallet, Call, Config, Storage}, MockLiquiditySource2: mock_liquidity_source::::{Pallet, Call, Config, Storage}, Technical: technical::{Pallet, Call, Config, Storage, Event}, @@ -98,13 +94,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -206,6 +201,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl permissions::Config for Runtime { @@ -228,8 +227,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); dex_manager::GenesisConfig:: { dex_list: vec![ diff --git a/pallets/multicollateral-bonding-curve-pool/src/mock.rs b/pallets/multicollateral-bonding-curve-pool/src/mock.rs index 4e4475a64c..5ffd18d868 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/mock.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/mock.rs @@ -53,7 +53,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{DispatchError, DispatchResult, Perbill, Percent}; +use sp_runtime::{BuildStorage, DispatchError, DispatchResult, Perbill, Percent}; use std::collections::HashMap; pub type AccountId = AccountId32; @@ -127,12 +127,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Storage}, TradingPair: trading_pair::{Pallet, Call, Storage, Event}, MockLiquiditySource: mock_liquidity_source::::{Pallet, Call, Config, Storage}, @@ -159,13 +155,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -339,6 +334,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl pswap_distribution::Config for Runtime { @@ -933,8 +932,8 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/oracle-proxy/src/mock.rs b/pallets/oracle-proxy/src/mock.rs index 5d806dd3c7..ead0a59420 100644 --- a/pallets/oracle-proxy/src/mock.rs +++ b/pallets/oracle-proxy/src/mock.rs @@ -36,6 +36,7 @@ use sp_core::H256; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; @@ -63,13 +64,12 @@ impl system::Config for Runtime { type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = u64; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type Version = (); @@ -117,8 +117,8 @@ impl band::Config for Runtime { // Build genesis storage according to the mock runtime. pub fn new_test_ext() -> sp_io::TestExternalities { - system::GenesisConfig::default() - .build_storage::() + system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/pallets/permissions/src/mock.rs b/pallets/permissions/src/mock.rs index 588c1057da..2c2edf20e3 100644 --- a/pallets/permissions/src/mock.rs +++ b/pallets/permissions/src/mock.rs @@ -36,18 +36,14 @@ use frame_system; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, } @@ -77,6 +73,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl frame_system::Config for Runtime { @@ -85,13 +85,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -134,8 +133,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index fc9fddbd7e..80a84e0be3 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -44,7 +44,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub use common::mock::ComicAssetId::*; pub use common::mock::*; @@ -86,12 +86,8 @@ parameter_type_with_key! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Config, Storage}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, @@ -115,15 +111,14 @@ impl frame_system::Config for Runtime { type BaseCallFilter = Everything; type BlockWeights = (); type BlockLength = (); + type Block = Block; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -166,6 +161,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl orml_tokens::Config for Runtime { @@ -457,8 +456,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); dex_manager::GenesisConfig:: { diff --git a/pallets/price-tools/src/mock.rs b/pallets/price-tools/src/mock.rs index 22af323f85..160ce785aa 100644 --- a/pallets/price-tools/src/mock.rs +++ b/pallets/price-tools/src/mock.rs @@ -47,7 +47,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{DispatchError, Perbill, Percent}; +use sp_runtime::{BuildStorage, DispatchError, Perbill, Percent}; pub type AccountId = AccountId32; pub type BlockNumber = u64; @@ -100,12 +100,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Storage}, MockLiquiditySource: mock_liquidity_source::::{Pallet, Call, Config, Storage}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -129,13 +125,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -243,6 +238,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl pswap_distribution::Config for Runtime { @@ -472,8 +471,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/pswap-distribution/src/mock.rs b/pallets/pswap-distribution/src/mock.rs index 9704569e67..800be25489 100644 --- a/pallets/pswap-distribution/src/mock.rs +++ b/pallets/pswap-distribution/src/mock.rs @@ -46,7 +46,7 @@ use permissions::Scope; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{AccountId32, Perbill, Percent}; +use sp_runtime::{AccountId32, BuildStorage, Perbill, Percent}; pub type AccountId = AccountId32; pub type BlockNumber = u64; @@ -129,12 +129,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, PswapDistribution: pswap_distribution::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -156,13 +152,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -265,6 +260,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl technical::Config for Runtime { @@ -441,7 +440,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); let mut vec = self .endowed_accounts diff --git a/pallets/referrals/src/mock.rs b/pallets/referrals/src/mock.rs index 6e5a3ca75a..9cf4375ab1 100644 --- a/pallets/referrals/src/mock.rs +++ b/pallets/referrals/src/mock.rs @@ -42,7 +42,7 @@ use frame_support::{construct_runtime, parameter_types}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{self, Perbill}; +use sp_runtime::{self, BuildStorage, Perbill}; type DEXId = common::DEXId; type AccountId = u64; @@ -70,12 +70,8 @@ parameter_types! { } construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, Tokens: tokens::{Pallet, Call, Storage, Config, Event}, Currencies: currencies::{Pallet, Call, Storage}, @@ -91,13 +87,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -166,6 +161,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -188,8 +187,8 @@ impl referrals::Config for Runtime { } pub fn test_ext() -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index 1676ba276a..43814372e9 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -37,7 +37,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; -use sp_runtime::{MultiSignature, Perbill, Percent}; +use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; use common::mock::ExistentialDeposits; use common::prelude::{Balance, OnValBurned}; @@ -89,17 +89,13 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Runtime { Assets: assets::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Config, Storage, Event}, Currencies: currencies::{Pallet, Call, Storage}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, Rewards: rewards::{Pallet, Call, Config, Storage, Event}, - System: frame_system::{Pallet, Call, Config, Storage, Event}, + System: frame_system::{Pallet, Call, Config, Storage, Event}, Technical: technical::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, } @@ -122,13 +118,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = DbWeight; @@ -209,6 +204,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -241,7 +240,7 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); let tech_account_id = tech_account_id(); let account_id: AccountId = account_id(); diff --git a/pallets/technical/src/mock.rs b/pallets/technical/src/mock.rs index 67be570434..238cd88627 100644 --- a/pallets/technical/src/mock.rs +++ b/pallets/technical/src/mock.rs @@ -44,7 +44,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; use sp_std::marker::PhantomData; use PolySwapActionExample::*; @@ -76,12 +76,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -97,13 +93,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -137,6 +132,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -484,7 +483,7 @@ impl common::SwapRulesValidation impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(get_alice(), 0), (get_bob(), 0)], diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 8f00e10938..2e208f2efb 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -44,18 +44,14 @@ use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::Perbill; +use sp_runtime::{BuildStorage, Perbill}; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Currencies: currencies::{Pallet, Call, Storage}, @@ -88,13 +84,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -191,6 +186,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl permissions::Config for Runtime { @@ -345,8 +344,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 048e189d61..d13549066e 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -48,18 +48,14 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{DispatchError, Perbill, Percent}; +use sp_runtime::{BuildStorage, DispatchError, Perbill, Percent}; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Currencies: currencies::{Pallet, Call, Storage}, @@ -156,13 +152,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -333,6 +328,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl permissions::Config for Runtime { @@ -447,8 +446,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/xor-fee/src/mock.rs b/pallets/xor-fee/src/mock.rs index 7626a0abe3..c149c9c7ac 100644 --- a/pallets/xor-fee/src/mock.rs +++ b/pallets/xor-fee/src/mock.rs @@ -52,7 +52,7 @@ use permissions::{Scope, BURN, MINT}; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{AccountId32, DispatchError, Percent}; +use sp_runtime::{AccountId32, BuildStorage, DispatchError, Percent}; use sp_staking::SessionIndex; use traits::MultiCurrency; @@ -92,12 +92,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, Currencies: currencies::{Pallet, Call, Storage}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -111,16 +107,15 @@ construct_runtime! { impl frame_system::Config for Runtime { type BaseCallFilter = Everything; type BlockWeights = (); + type Block = Block; type BlockLength = BlockLength; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -145,6 +140,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } parameter_types! { @@ -455,8 +454,8 @@ pub struct ExtBuilder; impl ExtBuilder { pub fn build() -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 4610486a55..7fab7404a7 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -47,7 +47,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type AccountId = AccountId32; pub type BlockNumber = u64; @@ -114,12 +114,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Storage}, TradingPair: trading_pair::{Pallet, Call, Storage, Event}, MockLiquiditySource: mock_liquidity_source::::{Pallet, Call, Config, Storage}, @@ -133,7 +129,7 @@ construct_runtime! { PoolXYK: pool_xyk::{Pallet, Call, Storage, Event}, XSTPool: xstpool::{Pallet, Call, Storage, Event}, PswapDistribution: pswap_distribution::{Pallet, Call, Storage, Event}, - DEXApi: dex_api::{Pallet, Call, Storage, Config, Event}, + DEXApi: dex_api::{Pallet, Call, Storage, Config, Event}, Band: band::{Pallet, Call, Storage, Event}, OracleProxy: oracle_proxy::{Pallet, Call, Storage, Event}, CeresLiquidityLocker: ceres_liquidity_locker::{Pallet, Call, Storage, Event}, @@ -148,13 +144,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -308,6 +303,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl pswap_distribution::Config for Runtime { @@ -530,8 +529,8 @@ impl ExtBuilder { } pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { From eabd1edfb48b55ac8fa824744db81cacd431e5c4 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:00:14 +0300 Subject: [PATCH 028/110] fix(runtime): remove unneded & not working directive --- runtime/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a63dd1bf37..47a55f4489 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1498,8 +1498,6 @@ impl eth_bridge::Config for Runtime { type WeightToFee = XorFee; type MessageStatusNotifier = BridgeProxy; type BridgeAssetLockChecker = BridgeProxy; - #[cfg(test)] - type Mock = (); } #[cfg(feature = "private-net")] From 962d45253c2e7f5748ad756dfa306cdcfb104110 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:05:15 +0300 Subject: [PATCH 029/110] fix(qa-tools): swap frame_support DispatchError for sp_runtime one --- pallets/qa-tools/Cargo.toml | 8 ++++---- pallets/qa-tools/src/tests/mcbc.rs | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pallets/qa-tools/Cargo.toml b/pallets/qa-tools/Cargo.toml index 3751aa3d2f..82f666e81f 100644 --- a/pallets/qa-tools/Cargo.toml +++ b/pallets/qa-tools/Cargo.toml @@ -35,10 +35,10 @@ technical = { path = "../technical", default-features = false } xst = { path = "../xst", default-features = false } [dev-dependencies] -# framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } -# framenode-runtime = { path = "../../runtime", default-features = false, features = [ -# "std", -# ] } +framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } +framenode-runtime = { path = "../../runtime", default-features = false, features = [ + "std", +] } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/qa-tools/src/tests/mcbc.rs b/pallets/qa-tools/src/tests/mcbc.rs index 1f3ff20f16..c65b41002f 100644 --- a/pallets/qa-tools/src/tests/mcbc.rs +++ b/pallets/qa-tools/src/tests/mcbc.rs @@ -35,7 +35,7 @@ use common::{ assert_approx_eq, balance, AccountIdOf, AssetInfoProvider, Balance, DEXId, LiquiditySource, PriceVariant, CERES_ASSET_ID, ETH, TBCD, VAL, XOR, }; -use frame_support::dispatch::{DispatchError, RawOrigin}; +use frame_support::dispatch::RawOrigin; use frame_support::{assert_err, assert_ok}; use framenode_chain_spec::ext; use framenode_runtime::qa_tools; @@ -44,6 +44,7 @@ use qa_tools::pallet_tools::liquidity_proxy::liquidity_sources::initialize_mcbc; use qa_tools::pallet_tools::mcbc as mcbc_tools; use qa_tools::pallet_tools::price_tools::AssetPrices; use sp_arithmetic::traits::One; +use sp_runtime::DispatchError; #[test] fn should_init_mcbc_base_supply() { From dbd622e691760b204c6c1442fe0fe1d66622f330 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:10:04 +0300 Subject: [PATCH 030/110] refactor(common): use sp_io::storage::root instead of frame_support one for assert_noop_msg --- common/src/test_utils.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/common/src/test_utils.rs b/common/src/test_utils.rs index 7d21e5e19e..8fe75213e4 100644 --- a/common/src/test_utils.rs +++ b/common/src/test_utils.rs @@ -38,7 +38,9 @@ use thiserror::Error; #[macro_export] macro_rules! assert_noop_msg { ( $x:expr, $msg:expr ) => { - let h = frame_support::storage_root(frame_support::StateVersion::V1); + use sp_io::storage::root as storage_root; + + let h = storage_root(sp_runtime::StateVersion::V1); if let Err(e) = $crate::with_transaction(|| $x) { if let sp_runtime::DispatchError::Module(sp_runtime::ModuleError { message, .. }) = e.error @@ -50,10 +52,7 @@ macro_rules! assert_noop_msg { } else { panic!("expected Err(_), got Ok(_)"); } - assert_eq!( - h, - frame_support::storage_root(frame_support::StateVersion::V1) - ); + assert_eq!(h, storage_root(sp_runtime::StateVersion::V1)); }; } From a84a989dd7808a8319d62e8e534a342c932dd0f4 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:10:46 +0300 Subject: [PATCH 031/110] refactor(common): use WeightMeter::with_limit instead of deprecated from_limit --- common/src/weights.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/weights.rs b/common/src/weights.rs index ac4a7ab4c0..18dffec280 100644 --- a/common/src/weights.rs +++ b/common/src/weights.rs @@ -149,7 +149,7 @@ mod tests { #[test] fn test_check_accrue_n_works() { // Within limits - let mut weight_counter = frame_support::weights::WeightMeter::from_limit(100.into()); + let mut weight_counter = frame_support::weights::WeightMeter::with_limit(100.into()); assert_eq!( check_accrue_n(&mut weight_counter, 10.into(), 10, false), 10, @@ -165,7 +165,7 @@ mod tests { assert_eq!(weight_counter.remaining(), 0.into()); // Just above limit - let mut weight_counter = frame_support::weights::WeightMeter::from_limit(100.into()); + let mut weight_counter = frame_support::weights::WeightMeter::with_limit(100.into()); assert_eq!( check_accrue_n(&mut weight_counter, 11.into(), 10, false), 9, @@ -181,7 +181,7 @@ mod tests { assert_eq!(weight_counter.remaining(), 1.into()); // 100-99 // Can't accrue at all - let mut weight_counter = frame_support::weights::WeightMeter::from_limit(100.into()); + let mut weight_counter = frame_support::weights::WeightMeter::with_limit(100.into()); assert_eq!( check_accrue_n(&mut weight_counter, 101.into(), 1, false), 0, From 0486cd78e78c02b0b5e23b8d8f275dc6feb6c25c Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:14:58 +0300 Subject: [PATCH 032/110] refactor(dex-api): (IMPORTANT) use different method of storage assimilation This change may be breaking for mock runtime of this pallet --- pallets/dex-api/src/mock.rs | 47 +++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index 556bb74909..3d23469527 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -28,6 +28,8 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +use core::marker::PhantomData; + use crate::{self as dex_api, Config}; use common::alt::DiscreteQuotation; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; @@ -48,7 +50,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type AccountId = AccountId32; pub type BlockNumber = u64; @@ -95,13 +97,9 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, - DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, + DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, @@ -127,13 +125,12 @@ impl frame_system::Config for Runtime { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -355,6 +352,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl mock_liquidity_source::Config for Runtime { @@ -538,8 +539,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); tokens::GenesisConfig:: { @@ -589,11 +590,23 @@ impl ExtBuilder { .assimilate_storage(&mut t) .unwrap(); - >::assimilate_storage( - &crate::GenesisConfig { + // >::assimilate_storage( + // &crate::GenesisConfig { + // source_types: self.source_types, + // phantom: PhantomData + // }, + // &mut t, + // ) + // .unwrap(); + + // TODO: This change may be incorrect and will be noted + t.assimilate_storage( + &mut crate::GenesisConfig:: { source_types: self.source_types, - }, - &mut t, + phantom: Default::default(), + } + .build_storage() + .unwrap(), ) .unwrap(); From c2b34c4d3b35ffbd9bd3398476198a166a93a317 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:33:41 +0300 Subject: [PATCH 033/110] refactor(eth-bridge): use sp_io::storage::root instead of frame_support one --- pallets/eth-bridge/src/tests/cancel.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pallets/eth-bridge/src/tests/cancel.rs b/pallets/eth-bridge/src/tests/cancel.rs index 37195bb9be..4184c4ba50 100644 --- a/pallets/eth-bridge/src/tests/cancel.rs +++ b/pallets/eth-bridge/src/tests/cancel.rs @@ -496,14 +496,13 @@ fn should_cancel_outgoing_prepared_requests() { // Save the current storage root hash, apply transaction preparation, // cancel it and compare with the final root hash. frame_system::Pallet::::reset_events(); - let state_hash_before = - frame_support::storage_root(frame_support::StateVersion::V1); + let state_hash_before = sp_io::storage::root(sp_runtime::StateVersion::V1); println!("{:?}", request); request.validate().unwrap(); request.prepare().unwrap(); request.cancel().unwrap(); frame_system::Pallet::::reset_events(); - let state_hash_after = frame_support::storage_root(frame_support::StateVersion::V1); + let state_hash_after = sp_io::storage::root(sp_runtime::StateVersion::V1); assert_eq!(state_hash_before, state_hash_after); TransactionOutcome::Rollback(DispatchResult::Ok(())) }) @@ -655,12 +654,11 @@ fn should_cancel_incoming_prepared_requests() { // Save the current storage root hash, apply transaction preparation, // cancel it and compare with the final root hash. frame_system::Pallet::::reset_events(); - let state_hash_before = - frame_support::storage_root(frame_support::StateVersion::V1); + let state_hash_before = sp_io::storage::root(sp_runtime::StateVersion::V1); request.prepare().unwrap(); request.cancel().unwrap(); frame_system::Pallet::::reset_events(); - let state_hash_after = frame_support::storage_root(frame_support::StateVersion::V1); + let state_hash_after = sp_io::storage::root(sp_runtime::StateVersion::V1); assert_eq!(state_hash_before, state_hash_after); TransactionOutcome::Rollback(DispatchResult::Ok(())) }) From 7fca90b62271131a421c8f312ade2936f8964439 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 17:53:01 +0300 Subject: [PATCH 034/110] refactor(eth-bridge): (IMPORTANT) update mock runtime - Swap some types - Use `MemoryKeystore` instead of `KeyStore` from `sp_keystore::testing` - Which has `.insert()` but not old `insert_unknown()` method - Add `Signature` to `signature` tuple - This includes updating rest of the code by signing transaction and also passing and omitting value whenever needed --- pallets/eth-bridge/src/tests/mock.rs | 63 +++++++++++++++++----------- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/pallets/eth-bridge/src/tests/mock.rs b/pallets/eth-bridge/src/tests/mock.rs index 5e80f0ec5f..0c3f1add4d 100644 --- a/pallets/eth-bridge/src/tests/mock.rs +++ b/pallets/eth-bridge/src/tests/mock.rs @@ -49,8 +49,7 @@ use common::{ }; use core::cell::RefCell; use currencies::BasicCurrencyAdapter; -use frame_support::dispatch::{DispatchInfo, GetDispatchInfo, Pays, UnfilteredDispatchable}; -use frame_support::sp_io::TestExternalities; +use frame_support::dispatch::{DispatchInfo, GetDispatchInfo, Pays}; use frame_support::sp_runtime::app_crypto::sp_core; use frame_support::sp_runtime::app_crypto::sp_core::crypto::AccountId32; use frame_support::sp_runtime::app_crypto::sp_core::offchain::{OffchainDbExt, TransactionPoolExt}; @@ -71,6 +70,7 @@ use frame_support::sp_runtime::transaction_validity::{ use frame_support::sp_runtime::{ self, ApplyExtrinsicResultWithInfo, MultiSignature, MultiSigner, Perbill, }; +use frame_support::traits::UnfilteredDispatchable; use frame_support::traits::{Everything, GenesisBuild, Get, PrivilegeCmp}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; @@ -81,8 +81,11 @@ use parking_lot::RwLock; use rustc_hex::ToHex; use sp_core::offchain::{OffchainStorage, OffchainWorkerExt}; use sp_core::{H160, H256}; -use sp_keystore::testing::KeyStore; -use sp_keystore::{KeystoreExt, SyncCryptoStore}; +use sp_io::TestExternalities; +use sp_keystore::testing::MemoryKeystore; +use sp_keystore::{Keystore, KeystoreExt}; +use sp_runtime::generic::SignedPayload; +use sp_runtime::BuildStorage; use sp_std::cmp::Ordering; use sp_std::collections::btree_map::BTreeMap; use sp_std::collections::btree_set::BTreeSet; @@ -118,7 +121,7 @@ parameter_types! { #[derive(PartialEq, Eq, Clone, Encode, Decode, Debug, scale_info::TypeInfo)] pub struct MyTestXt { /// Signature of the extrinsic. - pub signature: Option<(AccountId, Extra)>, + pub signature: Option<(AccountId, Signature, Extra)>, /// RuntimeCall of the extrinsic. pub call: RuntimeCall, } @@ -142,9 +145,11 @@ impl Checkable } } -impl traits::Extrinsic for MyTestXt { +impl + traits::Extrinsic for MyTestXt +{ type Call = RuntimeCall; - type SignaturePayload = (AccountId, Extra); + type SignaturePayload = (AccountId, Signature, Extra); fn is_signed(&self) -> Option { Some(self.signature.is_some()) @@ -213,7 +218,7 @@ where info: &DispatchInfoOf, len: usize, ) -> ApplyExtrinsicResultWithInfo> { - let maybe_who = if let Some((who, extra)) = self.signature { + let maybe_who = if let Some((who, _, extra)) = self.signature { Extra::pre_dispatch(extra, &who, &self.call, info, len)?; Some(who) } else { @@ -279,15 +284,14 @@ impl frame_system::Config for Runtime { type BaseCallFilter = Everything; type BlockWeights = (); type BlockLength = (); + type Block = Block; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type DbWeight = (); @@ -324,14 +328,22 @@ where { fn create_transaction>( call: RuntimeCall, - _public: ::Signer, + public: ::Signer, account: ::AccountId, - _index: ::Index, + _index: ::Nonce, ) -> Option<( RuntimeCall, ::SignaturePayload, )> { - Some((call, (account, MyExtra {}))) + let extra = MyExtra {}; + let raw_payload = SignedPayload::new(call.clone(), extra) + .map_err(|e| { + log::warn!("Unable to create signed payload: {:?}", e); + }) + .ok()?; + let signature = raw_payload.using_encoded(|payload| C::sign(payload, public))?; + + Some((call, (account, signature, MyExtra {}))) } } @@ -360,6 +372,10 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl tokens::Config for Runtime { @@ -433,6 +449,7 @@ impl bridge_multisig::Config for Runtime { impl pallet_sudo::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; + type WeightInfo = (); } /// Used the compare the privilege of an origin inside the scheduler. @@ -485,12 +502,8 @@ impl sp_runtime::traits::ExtrinsicMetadata for TestExtrinsic { } construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, Multisig: bridge_multisig::{Pallet, Call, Storage, Config, Event}, Tokens: tokens::{Pallet, Call, Storage, Config, Event}, @@ -654,7 +667,7 @@ impl State { std::mem::swap(&mut guard.transactions, &mut txs); for tx in txs { let e = TestExtrinsic::decode(&mut &*tx).unwrap(); - let (who, _) = e.signature.unwrap(); + let (who, _, _) = e.signature.unwrap(); let call = e.call; // In reality you would do `e.apply`, but this is a test. we assume we don't care // about validation etc. @@ -870,9 +883,9 @@ impl ExtBuilder { &Vec::from(ocw_keys.2).encode(), ); drop(offchain_guard); - let key_store = KeyStore::new(); + let key_store = MemoryKeystore::new(); key_store - .insert_unknown( + .insert( crate::KEY_TYPE, &format!("0x{}", ocw_keys.2.to_hex::()), ocw_keys.0.as_ref(), @@ -907,8 +920,8 @@ impl ExtBuilder { }) .collect(); - let mut storage = frame_system::GenesisConfig::default() - .build_storage::() + let mut storage = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); let mut balances: Vec<_> = endowed_accounts From f3ead8633d4b66d87dff4e2c040f0c2105f440ce Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 18:19:18 +0300 Subject: [PATCH 035/110] refactor(order-book): use sp_tracing debug & trace instead of log one in test-utils, add BlockNumberFor --- pallets/order-book/Cargo.toml | 5 +++-- pallets/order-book/src/test_utils/fill_tools.rs | 3 ++- pallets/order-book/src/test_utils/print_tools.rs | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index e03fcd9c43..08650e53f1 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -17,6 +17,7 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals scale-info = { version = "2", default-features = false, features = ["derive"] } sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-tracing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } @@ -33,8 +34,8 @@ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library [dev-dependencies] sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -# framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } -# framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } +framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } +framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } diff --git a/pallets/order-book/src/test_utils/fill_tools.rs b/pallets/order-book/src/test_utils/fill_tools.rs index 8045ef0f9e..ecb1d331d1 100644 --- a/pallets/order-book/src/test_utils/fill_tools.rs +++ b/pallets/order-book/src/test_utils/fill_tools.rs @@ -40,10 +40,11 @@ use assets::AssetIdOf; use common::prelude::{Balance, BalanceUnit, Scalar}; use common::PriceVariant; use frame_support::traits::{Get, Time}; -use log::{debug, trace}; +use frame_system::pallet_prelude::BlockNumberFor; use sp_runtime::traits::{CheckedMul, SaturatedConversion}; use sp_std::iter::Peekable; use sp_std::{collections::btree_map::BTreeMap, iter::repeat, vec::Vec}; +use sp_tracing::{debug, trace}; /// iterator over the smallest possible bid prices (ascending) pub fn bid_prices_iterator( diff --git a/pallets/order-book/src/test_utils/print_tools.rs b/pallets/order-book/src/test_utils/print_tools.rs index 4e87b74ffb..9009a8aa90 100644 --- a/pallets/order-book/src/test_utils/print_tools.rs +++ b/pallets/order-book/src/test_utils/print_tools.rs @@ -33,6 +33,7 @@ use super::order_book_imported; use assets::AssetIdOf; use common::prelude::FixedWrapper; use common::PriceVariant; +use frame_system::pallet_prelude::BlockNumberFor; use order_book_imported::{ Asks, Bids, Config, ExpirationsAgenda, LimitOrder, LimitOrders, OrderBookId, OrderPrice, OrderVolume, PriceOrders, From db820a3f7aafdb4a1057cda63f8160639932b58d Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 18:39:47 +0300 Subject: [PATCH 036/110] refactor(common): update mock_pallet_balances & system_config macros --- common/src/mock.rs | 9 ++++++--- node/src/service.rs | 28 ---------------------------- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/common/src/mock.rs b/common/src/mock.rs index 7f48159a99..5140df0406 100644 --- a/common/src/mock.rs +++ b/common/src/mock.rs @@ -243,6 +243,10 @@ macro_rules! mock_pallet_balances_config { type MaxLocks = MaxLocks; type MaxReserves = MaxReserves; type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } }; } @@ -281,13 +285,12 @@ macro_rules! mock_frame_system_config { type BlockLength = (); type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; - type Index = u64; - type BlockNumber = u64; + type Nonce = u64; + type Block = Block; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; type RuntimeEvent = RuntimeEvent; type BlockHashCount = ConstU64<250>; type DbWeight = (); diff --git a/node/src/service.rs b/node/src/service.rs index 4c10a6bb40..631d881b61 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -171,8 +171,6 @@ pub fn new_partial( { let pk = eth_bridge::offchain::crypto::Public::from_slice(&first_pk_raw[..]) .expect("should have correct size"); - // let pk = eth_bridge::offchain::crypto::Public::from_slice(&[1, 2, 3]) - // .expect("should have correct size"); let sub_public = sp_core::ecdsa::Public::from(pk.clone()); let public = secp256k1::PublicKey::parse_compressed(&sub_public.0).unwrap(); let address = common::eth::public_key_to_eth_address(&public); @@ -191,12 +189,6 @@ pub fn new_partial( } else { log::error!("Ethereum bridge peer key not found.") } - // if let Some(keystore) = keystore_container.local_keystore() { - // if let Ok(Some(kep)) = keystore.key_pair::(&pk) { - // let seed = kep.to_raw_vec(); - // bridge_peer_secret_key = Some(seed); - // } - // } } else { log::debug!("Ethereum bridge peer key not found.") } @@ -365,26 +357,6 @@ pub fn new_partial( let (import_queue, babe_worker_handle) = sc_consensus_babe::import_queue(import_queue_params)?; - // babe_link.clone(), - // babe_block_import.clone(), - // Some(Box::new(grandpa_block_import)), - // client.clone(), - // select_chain.clone(), - // move |_, ()| async move { - // let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - // let slot = - // sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - // *timestamp, - // slot_duration, - // ); - - // Ok((slot, timestamp)) - // }, - // &task_manager.spawn_essential_handle(), - // config.prometheus_registry(), - // telemetry.as_ref().map(|x| x.handle()), - let import_setup = ( babe_block_import.clone(), grandpa_link, From 0cf39912c4ac2000dd6cfa42277ed06870034c58 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 24 Jun 2024 18:40:51 +0300 Subject: [PATCH 037/110] build: update lock file --- Cargo.lock | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 95ba06ddaf..fce88a3b2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -358,6 +358,7 @@ dependencies = [ [[package]] name = "ark-secret-scalar" version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-ec", "ark-ff", @@ -405,6 +406,7 @@ dependencies = [ [[package]] name = "ark-transcript" version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-ff", "ark-serialize", @@ -844,12 +846,12 @@ dependencies = [ [[package]] name = "bandersnatch_vrfs" version = "0.0.1" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", - "ark-scale", "ark-serialize", "ark-std", "dleq_vrf", @@ -2655,6 +2657,7 @@ dependencies = [ [[package]] name = "dleq_vrf" version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-ec", "ark-ff", @@ -5860,10 +5863,13 @@ dependencies = [ "fallible-iterator 0.2.0", "frame-support", "frame-system", + "framenode-chain-spec", + "framenode-runtime", "hex-literal", "itertools", "mock-liquidity-source", "multicollateral-bonding-curve-pool", + "order-book", "orml-currencies", "orml-tokens", "orml-traits", @@ -6754,6 +6760,8 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "framenode-chain-spec", + "framenode-runtime", "hex-literal", "orml-tokens", "pallet-balances", @@ -6766,6 +6774,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "technical", "trading-pair", ] @@ -8271,6 +8280,8 @@ dependencies = [ "common 0.1.0", "frame-support", "frame-system", + "framenode-chain-spec", + "framenode-runtime", "multicollateral-bonding-curve-pool", "oracle-proxy", "order-book", From 4e863a58c51dc2fe1ad02e5250639f3021c40f70 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 1 Jul 2024 04:52:48 +0300 Subject: [PATCH 038/110] refactor(tests): upgrade part of tests --- pallets/apollo-platform/src/mock.rs | 10 ++--- pallets/assets/src/mock.rs | 8 ++-- pallets/assets/src/tests.rs | 18 ++++---- pallets/bridge-proxy/src/mock.rs | 2 +- pallets/ceres-governance-platform/src/mock.rs | 2 +- pallets/ceres-launchpad/src/mock.rs | 2 +- .../benchmarking/src/mock.rs | 2 +- pallets/ceres-liquidity-locker/src/mock.rs | 2 +- pallets/ceres-staking/src/mock.rs | 2 +- pallets/ceres-token-locker/src/mock.rs | 2 +- .../benchmarking/src/mock.rs | 2 +- pallets/demeter-farming-platform/src/mock.rs | 2 +- pallets/eth-bridge/src/tests/mock.rs | 2 +- pallets/farming/src/mock.rs | 2 +- pallets/faucet/src/mock.rs | 2 +- .../hermes-governance-platform/src/mock.rs | 2 +- pallets/iroha-migration/src/mock.rs | 2 +- .../liquidity-proxy/benchmarking/src/mock.rs | 2 +- pallets/liquidity-proxy/src/mock.rs | 2 +- pallets/mock-liquidity-source/src/mock.rs | 2 +- .../src/mock.rs | 2 +- pallets/permissions/src/mock.rs | 2 +- pallets/pool-xyk/benchmarking/src/mock.rs | 2 +- pallets/pool-xyk/src/mock.rs | 2 +- pallets/price-tools/src/mock.rs | 2 +- .../benchmarking/src/mock.rs | 2 +- pallets/pswap-distribution/src/mock.rs | 2 +- pallets/referrals/src/mock.rs | 2 +- pallets/rewards/src/mock.rs | 4 +- pallets/technical/src/mock.rs | 4 +- pallets/trading-pair/src/mock.rs | 4 +- pallets/vested-rewards/src/mock.rs | 10 ++--- pallets/vested-rewards/src/tests.rs | 16 ++------ pallets/xor-fee/src/mock.rs | 2 +- pallets/xor-fee/src/tests.rs | 41 ++++++++++++------- pallets/xst/benchmarking/src/mock.rs | 2 +- pallets/xst/src/mock.rs | 20 +++------ pallets/xst/src/tests.rs | 22 +++++----- 38 files changed, 103 insertions(+), 108 deletions(-) diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 4f331e055e..bf322c5be2 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -11,7 +11,7 @@ use { }, currencies::BasicCurrencyAdapter, frame_support::{ - construct_runtime, + construct_runtime, derive_impl, pallet_prelude::Weight, parameter_types, traits::{ConstU64, Everything, GenesisBuild, Hooks}, @@ -132,12 +132,13 @@ impl frame_system::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } +#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)] impl pallet_balances::Config for Runtime { type Balance = Balance; type DustRemoval = (); @@ -148,10 +149,7 @@ impl pallet_balances::Config for Runtime { type MaxLocks = (); type MaxReserves = (); type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); + type RuntimeHoldReason = RuntimeHoldReason; } parameter_types! { diff --git a/pallets/assets/src/mock.rs b/pallets/assets/src/mock.rs index 7a164bb74c..672d92c776 100644 --- a/pallets/assets/src/mock.rs +++ b/pallets/assets/src/mock.rs @@ -157,7 +157,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; @@ -234,9 +234,9 @@ impl Default for ExtBuilder { fn default() -> Self { Self { endowed_accounts: vec![ - (ALICE, XOR, 0), - (BOB, XOR, 0), - (MOCK_LIQUIDITY_PROXY_TECH_ACCOUNT, XOR, 0), + (ALICE, XOR, 1), + (BOB, XOR, 1), + (MOCK_LIQUIDITY_PROXY_TECH_ACCOUNT, XOR, 1), ], } } diff --git a/pallets/assets/src/tests.rs b/pallets/assets/src/tests.rs index a653be2b58..ad316bd254 100644 --- a/pallets/assets/src/tests.rs +++ b/pallets/assets/src/tests.rs @@ -363,7 +363,7 @@ fn should_mint_initial_supply_for_owner() { )); assert_eq!( Assets::free_balance(&XOR, &ALICE).expect("Failed to query free balance."), - Balance::from(123u32), + Balance::from(123u32 + 1), ); assert_ok!(Assets::register_asset_id( ALICE, @@ -520,7 +520,7 @@ fn should_burn_from() { )); assert_eq!( Assets::free_balance(&XOR, &ALICE).expect("Failed to query free balance."), - Balance::from(10u32), + Balance::from(10u32 + 1), ); assert_ok!(Assets::burn_from( &XOR, @@ -530,7 +530,7 @@ fn should_burn_from() { )); assert_eq!( Assets::free_balance(&XOR, &ALICE).expect("Failed to query free balance."), - Balance::from(0u32), + Balance::from(1u32), ); }) } @@ -575,12 +575,12 @@ fn should_allow_burn_from_self_without_a_permissions() { assert_ok!(Assets::mint_to(&XOR, &ALICE, &BOB, Balance::from(10u32))); assert_eq!( Assets::free_balance(&XOR, &BOB).expect("Failed to query free balance."), - Balance::from(10u32) + Balance::from(10u32 + 1) ); assert_ok!(Assets::burn_from(&XOR, &BOB, &BOB, Balance::from(10u32))); assert_eq!( Assets::free_balance(&XOR, &BOB).expect("Failed to query free balance."), - Balance::from(0u32) + Balance::from(1u32) ); }) } @@ -603,13 +603,13 @@ fn should_update_balance_correctly() { assert_ok!(Assets::update_balance(RuntimeOrigin::root(), BOB, XOR, 100)); assert_eq!( Assets::free_balance(&XOR, &BOB).expect("Failed to query free balance."), - Balance::from(100u32) + Balance::from(100u32 + 1) ); assert_ok!(Assets::update_balance(RuntimeOrigin::root(), BOB, XOR, -10)); assert_eq!( Assets::free_balance(&XOR, &BOB).expect("Failed to query free balance."), - Balance::from(90u32) + Balance::from(90u32 + 1) ); assert_err!( @@ -618,7 +618,7 @@ fn should_update_balance_correctly() { ); assert_eq!( Assets::free_balance(&XOR, &BOB).expect("Failed to query free balance."), - Balance::from(90u32) + Balance::from(90u32 + 1) ); assert_noop!( @@ -627,7 +627,7 @@ fn should_update_balance_correctly() { ); assert_eq!( Assets::free_balance(&XOR, &BOB).expect("Failed to query free balance."), - Balance::from(90u32) + Balance::from(90u32 + 1) ); }) } diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index d249e5bf6e..1547f4e065 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -125,7 +125,7 @@ impl permissions::Config for Test { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; } impl pallet_balances::Config for Test { diff --git a/pallets/ceres-governance-platform/src/mock.rs b/pallets/ceres-governance-platform/src/mock.rs index b1f07d65aa..01f52978d9 100644 --- a/pallets/ceres-governance-platform/src/mock.rs +++ b/pallets/ceres-governance-platform/src/mock.rs @@ -234,7 +234,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index dffbc56142..93fafcc3dc 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -288,7 +288,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index aebd8b693a..77b1203d5f 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -38,7 +38,7 @@ parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; diff --git a/pallets/ceres-liquidity-locker/src/mock.rs b/pallets/ceres-liquidity-locker/src/mock.rs index 2b571fbbf5..a98ae9abc4 100644 --- a/pallets/ceres-liquidity-locker/src/mock.rs +++ b/pallets/ceres-liquidity-locker/src/mock.rs @@ -46,7 +46,7 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub GetBaseAssetId: AssetId = common::AssetId32::from_bytes(hex!("0200000000000000000000000000000000000000000000000000000000000000").into()); pub GetIncentiveAssetId: AssetId = common::AssetId32::from_bytes(hex!("0200050000000000000000000000000000000000000000000000000000000000").into()); - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = 3u128; pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index ae47749308..8f527b2fd6 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -162,7 +162,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/ceres-token-locker/src/mock.rs b/pallets/ceres-token-locker/src/mock.rs index 79ce10fbcd..884da5a3bf 100644 --- a/pallets/ceres-token-locker/src/mock.rs +++ b/pallets/ceres-token-locker/src/mock.rs @@ -232,7 +232,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/demeter-farming-platform/benchmarking/src/mock.rs b/pallets/demeter-farming-platform/benchmarking/src/mock.rs index aadcd6ba57..029d8389e9 100644 --- a/pallets/demeter-farming-platform/benchmarking/src/mock.rs +++ b/pallets/demeter-farming-platform/benchmarking/src/mock.rs @@ -274,7 +274,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index 93c5c27e72..c9c5873c58 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -271,7 +271,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/eth-bridge/src/tests/mock.rs b/pallets/eth-bridge/src/tests/mock.rs index 0c3f1add4d..c396106259 100644 --- a/pallets/eth-bridge/src/tests/mock.rs +++ b/pallets/eth-bridge/src/tests/mock.rs @@ -262,7 +262,7 @@ parameter_types! { pub const MaximumBlockWeight: Weight = Weight::from_parts(1024, 0); pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const RemovePendingOutgoingRequestsAfter: BlockNumber = 100; pub const TrackPendingIncomingRequestsAfter: (BlockNumber, u64) = (0, 0); pub const SchedulerMaxWeight: Weight = Weight::from_parts(1024, 0); diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index 1b916f78ba..7d09c6b58f 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -110,7 +110,7 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId = common::AssetId32 { code: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], phantom: PhantomData }; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs index 7fc6afbb3e..8d06869f5a 100644 --- a/pallets/faucet/src/mock.rs +++ b/pallets/faucet/src/mock.rs @@ -82,7 +82,7 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId = XOR; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; } construct_runtime! { diff --git a/pallets/hermes-governance-platform/src/mock.rs b/pallets/hermes-governance-platform/src/mock.rs index 39b09e8323..df0a276fcd 100644 --- a/pallets/hermes-governance-platform/src/mock.rs +++ b/pallets/hermes-governance-platform/src/mock.rs @@ -264,7 +264,7 @@ impl currencies::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/iroha-migration/src/mock.rs b/pallets/iroha-migration/src/mock.rs index 1f2b950673..4821698b99 100644 --- a/pallets/iroha-migration/src/mock.rs +++ b/pallets/iroha-migration/src/mock.rs @@ -68,7 +68,7 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId32 = AssetId32::from_asset_id(XOR); - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const DepositBase: u64 = 1; pub const DepositFactor: u64 = 1; pub const MaxSignatories: u16 = 4; diff --git a/pallets/liquidity-proxy/benchmarking/src/mock.rs b/pallets/liquidity-proxy/benchmarking/src/mock.rs index 6cdfd5a5d9..20a765f83d 100644 --- a/pallets/liquidity-proxy/benchmarking/src/mock.rs +++ b/pallets/liquidity-proxy/benchmarking/src/mock.rs @@ -89,7 +89,7 @@ parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetFee: Fixed = fixed_from_basis_points(0u16); pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; diff --git a/pallets/liquidity-proxy/src/mock.rs b/pallets/liquidity-proxy/src/mock.rs index 8f58af0290..a787414245 100644 --- a/pallets/liquidity-proxy/src/mock.rs +++ b/pallets/liquidity-proxy/src/mock.rs @@ -114,7 +114,7 @@ parameter_types! { pub const GetNumSamples: usize = 1000; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetFee0: Fixed = fixed_from_basis_points(0u16); pub GetFee10: Fixed = fixed_from_basis_points(10u16); pub GetFee20: Fixed = fixed_from_basis_points(20u16); diff --git a/pallets/mock-liquidity-source/src/mock.rs b/pallets/mock-liquidity-source/src/mock.rs index 4e58b2703b..af0f7b2d87 100644 --- a/pallets/mock-liquidity-source/src/mock.rs +++ b/pallets/mock-liquidity-source/src/mock.rs @@ -67,7 +67,7 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub GetFee: Fixed = fixed_from_basis_points(30u16); pub const GetBaseAssetId: AssetId = XOR; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/multicollateral-bonding-curve-pool/src/mock.rs b/pallets/multicollateral-bonding-curve-pool/src/mock.rs index 5ffd18d868..26aee401d4 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/mock.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/mock.rs @@ -109,7 +109,7 @@ parameter_types! { pub const GetDefaultProtocolFee: u16 = 0; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/permissions/src/mock.rs b/pallets/permissions/src/mock.rs index 2c2edf20e3..8593e14170 100644 --- a/pallets/permissions/src/mock.rs +++ b/pallets/permissions/src/mock.rs @@ -60,7 +60,7 @@ parameter_types! { pub const MaximumBlockWeight: Weight = Weight::from_parts(1024, 0); pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; } impl pallet_balances::Config for Runtime { diff --git a/pallets/pool-xyk/benchmarking/src/mock.rs b/pallets/pool-xyk/benchmarking/src/mock.rs index 6710750939..608b062b2a 100644 --- a/pallets/pool-xyk/benchmarking/src/mock.rs +++ b/pallets/pool-xyk/benchmarking/src/mock.rs @@ -67,7 +67,7 @@ parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index 80a84e0be3..b0670fbd56 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -70,7 +70,7 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub GetBaseAssetId: AssetId = common::AssetId32::from_bytes(hex!("0200000000000000000000000000000000000000000000000000000000000000").into()); pub GetIncentiveAssetId: AssetId = common::AssetId32::from_bytes(hex!("0200050000000000000000000000000000000000000000000000000000000000").into()); - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; diff --git a/pallets/price-tools/src/mock.rs b/pallets/price-tools/src/mock.rs index 160ce785aa..8acc2704d5 100644 --- a/pallets/price-tools/src/mock.rs +++ b/pallets/price-tools/src/mock.rs @@ -85,7 +85,7 @@ parameter_types! { pub const GetDefaultProtocolFee: u16 = 0; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/pswap-distribution/benchmarking/src/mock.rs b/pallets/pswap-distribution/benchmarking/src/mock.rs index 29918c40a5..c6adf52120 100644 --- a/pallets/pswap-distribution/benchmarking/src/mock.rs +++ b/pallets/pswap-distribution/benchmarking/src/mock.rs @@ -109,7 +109,7 @@ parameter_types! { }; pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 3; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/pswap-distribution/src/mock.rs b/pallets/pswap-distribution/src/mock.rs index 800be25489..2f57a45271 100644 --- a/pallets/pswap-distribution/src/mock.rs +++ b/pallets/pswap-distribution/src/mock.rs @@ -119,7 +119,7 @@ parameter_types! { }; pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 3; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/referrals/src/mock.rs b/pallets/referrals/src/mock.rs index 9cf4375ab1..23ceb6fa8b 100644 --- a/pallets/referrals/src/mock.rs +++ b/pallets/referrals/src/mock.rs @@ -62,7 +62,7 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId32 = AssetId32::from_asset_id(PredefinedAssetId::XOR); - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const DepositBase: u64 = 1; pub const DepositFactor: u64 = 1; pub const MaxSignatories: u16 = 4; diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index 43814372e9..d7c9c87627 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -81,7 +81,7 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId = XOR; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const DbWeight: RuntimeDbWeight = RuntimeDbWeight { read: 100, write: 1000, @@ -246,7 +246,7 @@ impl ExtBuilder { let account_id: AccountId = account_id(); BalancesConfig { - balances: vec![(account_id.clone(), balance!(150)), (alice(), balance!(0))], + balances: vec![(account_id.clone(), balance!(150)), (alice(), balance!(1))], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/technical/src/mock.rs b/pallets/technical/src/mock.rs index 238cd88627..a1f23f952c 100644 --- a/pallets/technical/src/mock.rs +++ b/pallets/technical/src/mock.rs @@ -72,7 +72,7 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId = common::AssetId32 { code: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], phantom: PhantomData }; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; } construct_runtime! { @@ -486,7 +486,7 @@ impl ExtBuilder { let mut t = SystemConfig::default().build_storage().unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(get_alice(), 0), (get_bob(), 0)], + balances: vec![(get_alice(), 1), (get_bob(), 1)], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 2e208f2efb..6b1e053c42 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -170,7 +170,7 @@ impl assets::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; @@ -349,7 +349,7 @@ impl ExtBuilder { .unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(ALICE, 0)], + balances: vec![(ALICE, 1)], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index d13549066e..94c91da44c 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -312,7 +312,7 @@ impl multicollateral_bonding_curve_pool::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; @@ -452,10 +452,10 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: vec![ - (alice(), 0), - (bob(), 0), - (eve(), 0), - (initial_assets_owner(), 0), + (alice(), 1), + (bob(), 1), + (eve(), 1), + (initial_assets_owner(), 1), ], } .assimilate_storage(&mut t) diff --git a/pallets/vested-rewards/src/tests.rs b/pallets/vested-rewards/src/tests.rs index e108a95dcc..aa894c448d 100644 --- a/pallets/vested-rewards/src/tests.rs +++ b/pallets/vested-rewards/src/tests.rs @@ -131,6 +131,7 @@ fn register_crowdloan_fails() { #[test] fn can_claim_crowdloan_reward() { ExtBuilder::default().build().execute_with(|| { + let ed = ExistentialDeposit::get(); const BLOCKS_PER_DAY: u64 = 14400; let tag = CrowdloanTag(b"crowdloan".to_vec().try_into().unwrap()); assert_eq!(CrowdloanUserInfos::::get(alice(), &tag), None); @@ -166,29 +167,20 @@ fn can_claim_crowdloan_reward() { )) } ); - assert_balances(vec![ - (alice(), XOR, balance!(0)), - (alice(), PSWAP, balance!(0)), - ]); + assert_balances(vec![(alice(), XOR, ed), (alice(), PSWAP, balance!(0))]); // Too early claim assert_err!( VestedRewards::claim_crowdloan_rewards(RuntimeOrigin::signed(alice()), tag.clone()), Error::::CrowdloanRewardsDistributionNotStarted ); - assert_balances(vec![ - (alice(), XOR, balance!(0)), - (alice(), PSWAP, balance!(0)), - ]); + assert_balances(vec![(alice(), XOR, ed), (alice(), PSWAP, balance!(0))]); frame_system::Pallet::::set_block_number(BLOCKS_PER_DAY * 2); // Empty crowdloan tech account assert_err!( VestedRewards::claim_crowdloan_rewards(RuntimeOrigin::signed(alice()), tag.clone()), pallet_balances::Error::::InsufficientBalance ); - assert_balances(vec![ - (alice(), XOR, balance!(0)), - (alice(), PSWAP, balance!(0)), - ]); + assert_balances(vec![(alice(), XOR, ed), (alice(), PSWAP, balance!(0))]); assert_eq!( CrowdloanUserInfos::::get(alice(), &tag).unwrap(), CrowdloanUserInfo { diff --git a/pallets/xor-fee/src/mock.rs b/pallets/xor-fee/src/mock.rs index c149c9c7ac..fb0eb343c0 100644 --- a/pallets/xor-fee/src/mock.rs +++ b/pallets/xor-fee/src/mock.rs @@ -83,7 +83,7 @@ parameter_types! { pub const XorBurnedWeight: u32 = 40; pub const XorIntoValBurnedWeight: u32 = 50; pub const BuyBackTBCDPercent: Percent = Percent::from_percent(10); - pub const ExistentialDeposit: u32 = 0; + pub const ExistentialDeposit: u32 = 1; pub const XorId: AssetId = XOR; pub const ValId: AssetId = VAL; pub const DEXIdValue: DEXId = common::DEXId::Polkaswap; diff --git a/pallets/xor-fee/src/tests.rs b/pallets/xor-fee/src/tests.rs index 3b10915101..031a3160fe 100644 --- a/pallets/xor-fee/src/tests.rs +++ b/pallets/xor-fee/src/tests.rs @@ -31,16 +31,19 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] +use core::ops::Sub; + use crate::extension::ChargeTransactionPayment; use crate::{mock::*, LiquidityInfo, XorToVal}; use common::balance; use common::mock::{alice, bob}; use frame_support::error::BadOrigin; -use frame_support::traits::Currency; +use frame_support::traits::tokens::Balance; +use frame_support::traits::{Currency, Imbalance}; use frame_support::weights::{Weight, WeightToFee}; use frame_support::{assert_noop, assert_ok}; -use sp_runtime::traits::SignedExtension; +use sp_runtime::traits::{Saturating, SignedExtension}; use sp_runtime::transaction_validity::{InvalidTransaction, TransactionValidityError}; use sp_runtime::{FixedPointNumber, FixedU128}; @@ -127,6 +130,7 @@ fn non_root_update_fails() { #[test] fn it_works_postpone() { ExtBuilder::build().execute_with(|| { + let ed = ExistentialDeposit::get(); let who = GetPostponeAccountId::get(); set_weight_to_fee_multiplier(1); assert_eq!(Balances::usable_balance_for_fees(&who), 0); @@ -151,7 +155,7 @@ fn it_works_postpone() { Some(balance!(0.0007)), ) ); - let _ = Balances::deposit_creating(&who, balance!(1000)); + let _ = Balances::deposit_creating(&who, balance!(1000).saturating_add(ed.into())); assert_eq!(Balances::usable_balance_for_fees(&who), balance!(1000)); ChargeTransactionPayment::::post_dispatch( Some(pre), @@ -286,8 +290,9 @@ fn it_works_should_pays_no() { fn it_works_should_post_info_pays_no() { ExtBuilder::build().execute_with(|| { set_weight_to_fee_multiplier(1); + let ed = ExistentialDeposit::get(); let who = bob(); - let _ = Balances::deposit_creating(&who, balance!(1000)); + let _ = Balances::deposit_creating(&who, balance!(1000).saturating_add(ed.into())); assert_eq!(Balances::usable_balance_for_fees(&who), balance!(1000)); let pre = ChargeTransactionPayment::::new() .pre_dispatch( @@ -332,6 +337,7 @@ fn it_works_should_post_info_pays_no() { #[test] fn it_works_postpone_with_custom_fee_source() { ExtBuilder::build().execute_with(|| { + let ed = ExistentialDeposit::get(); let who = GetPostponeAccountId::get(); let fee_source = GetFeeSourceAccountId::get(); let len = 100usize; @@ -354,7 +360,7 @@ fn it_works_postpone_with_custom_fee_source() { None, ) ); - let _ = Balances::deposit_creating(&fee_source, balance!(1000)); + let _ = Balances::deposit_creating(&fee_source, balance!(1000).saturating_add(ed.into())); assert_eq!( Balances::usable_balance_for_fees(&fee_source), balance!(1000) @@ -378,6 +384,7 @@ fn it_works_postpone_with_custom_fee_source() { #[test] fn it_works_custom_fee_source() { ExtBuilder::build().execute_with(|| { + let ed = ExistentialDeposit::get(); let who = alice(); let fee_source = GetFeeSourceAccountId::get(); let len = 100usize; @@ -386,11 +393,9 @@ fn it_works_custom_fee_source() { let post_info = post_info_from_weight(100.into()); let result = Ok(()); assert_eq!(Balances::usable_balance_for_fees(&who), 0); - let _ = Balances::deposit_creating(&fee_source, balance!(1000)); - assert_eq!( - Balances::usable_balance_for_fees(&fee_source), - balance!(1000) - ); + let _ = Balances::deposit_creating(&fee_source, balance!(1000).saturating_add(ed.into())); + let balance = Balances::usable_balance_for_fees(&fee_source); + assert_eq!(balance, balance!(1000)); let pre = ChargeTransactionPayment::::new() .pre_dispatch(&who, &call, &info, len) .unwrap(); @@ -430,14 +435,19 @@ fn it_works_custom_fee_source() { #[test] fn it_fails_custom_fee_source() { ExtBuilder::build().execute_with(|| { + // We have to account for our existential deposit + let ed = self::ExistentialDeposit::get(); let who = alice(); let fee_source = GetFeeSourceAccountId::get(); let len = 100usize; let call = RuntimeCall::System(frame_system::Call::remark { remark: vec![1] }); let info = info_from_weight(100.into()); assert_eq!(Balances::usable_balance_for_fees(&fee_source), 0); - let _ = Balances::deposit_creating(&who, balance!(1000)); - assert_eq!(Balances::usable_balance_for_fees(&who), balance!(1000)); + let imbalance = Balances::deposit_creating(&who, balance!(1000)).peek(); + assert_eq!( + Balances::usable_balance_for_fees(&who), + imbalance.saturating_sub(ed.into()) + ); assert_eq!( ChargeTransactionPayment::::new().pre_dispatch(&who, &call, &info, len), Err(TransactionValidityError::Invalid( @@ -451,10 +461,13 @@ fn it_fails_custom_fee_source() { fn it_works_referrer_refund() { ExtBuilder::build().execute_with(|| { set_weight_to_fee_multiplier(1); + // We have to account for our existential deposit + let ed = self::ExistentialDeposit::get(); + let who = GetReferalAccountId::get(); let referrer = GetReferrerAccountId::get(); - let _ = Balances::deposit_creating(&who, balance!(1000)); - let _ = Balances::deposit_creating(&referrer, balance!(1000)); + let _ = Balances::deposit_creating(&who, balance!(1000).saturating_add(ed.into())); + let _ = Balances::deposit_creating(&referrer, balance!(1000).saturating_add(ed.into())); assert_eq!(Balances::usable_balance_for_fees(&who), balance!(1000)); let pre = ChargeTransactionPayment::::new() .pre_dispatch( diff --git a/pallets/xst/benchmarking/src/mock.rs b/pallets/xst/benchmarking/src/mock.rs index 48cec6b4d2..f229810e3d 100644 --- a/pallets/xst/benchmarking/src/mock.rs +++ b/pallets/xst/benchmarking/src/mock.rs @@ -81,7 +81,7 @@ parameter_types! { pub const GetDefaultProtocolFee: u16 = 0; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 7fab7404a7..01e72b4f43 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -82,7 +82,7 @@ parameter_types! { pub const GetDefaultProtocolFee: u16 = 0; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; @@ -420,7 +420,7 @@ impl Default for ExtBuilder { ( alice(), USDT, - 0, + balance!(1), AssetSymbol(b"USDT".to_vec()), AssetName(b"Tether USD".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -428,7 +428,7 @@ impl Default for ExtBuilder { ( alice(), XOR, - balance!(350000), + balance!(350001), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -545,7 +545,7 @@ impl ExtBuilder { None } }) - .chain(vec![(bob(), 0), (assets_owner(), 0)]) + .chain(vec![(bob(), 1), (assets_owner(), 1)]) .collect(), } .assimilate_storage(&mut t) @@ -579,17 +579,9 @@ impl ExtBuilder { .iter() .cloned() .chain(self.endowed_accounts_with_synthetics.iter().cloned()) - .map(|(account_id, asset_id, _, symbol, name, precision)| { + .map(|(account_id, asset_id, balance, symbol, name, precision)| { ( - asset_id, - account_id, - symbol, - name, - precision, - Balance::zero(), - true, - None, - None, + asset_id, account_id, symbol, name, precision, balance, true, None, None, ) }) .collect(), diff --git a/pallets/xst/src/tests.rs b/pallets/xst/src/tests.rs index 1e5cb4669f..b4a0f45831 100644 --- a/pallets/xst/src/tests.rs +++ b/pallets/xst/src/tests.rs @@ -210,7 +210,7 @@ mod tests { vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), (alice(), USDT, balance!(0), AssetSymbol(b"USDT".to_vec()), AssetName(b"Tether USD".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), VAL, balance!(4000), AssetSymbol(b"VAL".to_vec()), AssetName(b"SORA Validator Token".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], @@ -342,7 +342,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -427,7 +427,7 @@ mod tests { let mut ext = ExtBuilder::new(vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), (alice(), USDT, balance!(0), AssetSymbol(b"USDT".to_vec()), AssetName(b"Tether USD".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), VAL, balance!(2000), AssetSymbol(b"VAL".to_vec()), AssetName(b"SORA Validator Token".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], @@ -516,7 +516,7 @@ mod tests { let mut ext = ExtBuilder::new(vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), (alice(), USDT, balance!(0), AssetSymbol(b"USDT".to_vec()), AssetName(b"Tether USD".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), VAL, balance!(0), AssetSymbol(b"VAL".to_vec()), AssetName(b"SORA Validator Token".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], @@ -1378,7 +1378,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -1450,7 +1450,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -1534,7 +1534,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -1662,7 +1662,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -1832,7 +1832,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -1860,7 +1860,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ @@ -1932,7 +1932,7 @@ mod tests { let mut ext = ExtBuilder::new( vec![ (alice(), DAI, balance!(0), AssetSymbol(b"DAI".to_vec()), AssetName(b"DAI".to_vec()), 18), - (alice(), XOR, balance!(0), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), + (alice(), XOR, balance!(1), AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), 18), (alice(), XST, balance!(0), AssetSymbol(b"XST".to_vec()), AssetName(b"SORA Synthetics".to_vec()), 18), ], vec![ From 890b0bc7f9b3390c8f28f27ce316450f91df428a Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 1 Jul 2024 04:54:42 +0300 Subject: [PATCH 039/110] refactor(runtime)!: BREAKING CHANGE: set existential deposit to 1 --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 47a55f4489..fc2aa445cb 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -893,7 +893,7 @@ impl pallet_preimage::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const MaxLocks: u32 = 50; From 0379660f9d78eee6b74514eb6a76b8aa33291f24 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sat, 6 Jul 2024 22:52:47 +0300 Subject: [PATCH 040/110] refactor: cleanup & unify workspace and members toml(s) --- Cargo.lock | 4337 +++++++++-------- Cargo.toml | 285 +- common/Cargo.toml | 18 +- node/chain_spec/Cargo.toml | 24 +- pallets/apollo-platform/Cargo.toml | 20 +- pallets/assets/Cargo.toml | 17 +- pallets/assets/rpc/Cargo.toml | 12 +- pallets/assets/runtime-api/Cargo.toml | 6 +- pallets/band/Cargo.toml | 18 +- pallets/bridge-proxy/Cargo.toml | 22 +- pallets/bridge-proxy/rpc/Cargo.toml | 12 +- pallets/bridge-proxy/runtime-api/Cargo.toml | 6 +- pallets/ceres-governance-platform/Cargo.toml | 20 +- pallets/ceres-launchpad/Cargo.toml | 18 +- pallets/ceres-liquidity-locker/Cargo.toml | 16 +- .../benchmarking/Cargo.toml | 18 +- pallets/ceres-staking/Cargo.toml | 16 +- pallets/ceres-token-locker/Cargo.toml | 18 +- pallets/demeter-farming-platform/Cargo.toml | 18 +- .../benchmarking/Cargo.toml | 20 +- pallets/dex-api/Cargo.toml | 20 +- pallets/dex-api/rpc/Cargo.toml | 12 +- pallets/dex-api/runtime-api/Cargo.toml | 8 +- pallets/dex-manager/Cargo.toml | 14 +- pallets/dex-manager/rpc/Cargo.toml | 12 +- pallets/dex-manager/runtime-api/Cargo.toml | 6 +- pallets/eth-bridge/Cargo.toml | 26 +- pallets/eth-bridge/rpc/Cargo.toml | 8 +- pallets/eth-bridge/runtime-api/Cargo.toml | 6 +- pallets/extended-assets/Cargo.toml | 18 +- pallets/farming/Cargo.toml | 24 +- pallets/farming/rpc/Cargo.toml | 6 +- pallets/farming/runtime-api/Cargo.toml | 4 +- pallets/faucet/Cargo.toml | 20 +- pallets/hermes-governance-platform/Cargo.toml | 18 +- pallets/iroha-migration/Cargo.toml | 18 +- pallets/iroha-migration/rpc/Cargo.toml | 8 +- .../iroha-migration/runtime-api/Cargo.toml | 2 +- pallets/kensetsu/Cargo.toml | 22 +- pallets/kensetsu/benchmarking/Cargo.toml | 14 +- pallets/liquidity-proxy/Cargo.toml | 18 +- .../liquidity-proxy/benchmarking/Cargo.toml | 18 +- pallets/liquidity-proxy/rpc/Cargo.toml | 12 +- .../liquidity-proxy/runtime-api/Cargo.toml | 6 +- pallets/mock-liquidity-source/Cargo.toml | 18 +- .../Cargo.toml | 20 +- pallets/oracle-proxy/Cargo.toml | 18 +- pallets/oracle-proxy/rpc/Cargo.toml | 8 +- pallets/oracle-proxy/runtime-api/Cargo.toml | 6 +- pallets/order-book/Cargo.toml | 22 +- pallets/order-book/benchmarking/Cargo.toml | 20 +- pallets/permissions/Cargo.toml | 14 +- pallets/pool-xyk/Cargo.toml | 16 +- pallets/pool-xyk/benchmarking/Cargo.toml | 18 +- pallets/price-tools/Cargo.toml | 18 +- pallets/pswap-distribution/Cargo.toml | 20 +- .../benchmarking/Cargo.toml | 24 +- pallets/pswap-distribution/rpc/Cargo.toml | 12 +- .../pswap-distribution/runtime-api/Cargo.toml | 8 +- pallets/qa-tools/Cargo.toml | 18 +- pallets/referrals/Cargo.toml | 16 +- pallets/rewards/Cargo.toml | 18 +- pallets/rewards/rpc/Cargo.toml | 12 +- pallets/technical/Cargo.toml | 18 +- pallets/trading-pair/Cargo.toml | 16 +- pallets/trading-pair/rpc/Cargo.toml | 12 +- pallets/trading-pair/runtime-api/Cargo.toml | 6 +- pallets/vested-rewards/Cargo.toml | 18 +- pallets/vested-rewards/rpc/Cargo.toml | 12 +- pallets/vested-rewards/runtime-api/Cargo.toml | 9 +- pallets/xor-fee/Cargo.toml | 28 +- pallets/xst/Cargo.toml | 20 +- pallets/xst/benchmarking/Cargo.toml | 18 +- runtime/Cargo.toml | 112 +- utils/generate-bags/Cargo.toml | 10 +- utils/remote-ext/Cargo.toml | 16 +- utils/wasm-builder/Cargo.toml | 2 +- 77 files changed, 3141 insertions(+), 2703 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fce88a3b2f..60a9ebf994 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ - "gimli 0.28.1", + "gimli 0.29.0", ] [[package]] @@ -160,9 +160,9 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ "windows-sys 0.52.0", ] @@ -194,9 +194,9 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "liquidity-proxy", "log", @@ -205,18 +205,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -355,10 +354,24 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", + "scale-info", +] + [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-ec", "ark-ff", @@ -406,7 +419,7 @@ dependencies = [ [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-ff", "ark-serialize", @@ -508,10 +521,11 @@ name = "assets" version = "1.3.1" dependencies = [ "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", + "log", "orml-currencies", "orml-tokens", "orml-traits", @@ -520,10 +534,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "tiny-keccak", ] @@ -535,13 +549,12 @@ dependencies = [ "common 0.1.0", "jsonrpsee", "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -553,9 +566,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -586,16 +599,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ "concurrent-queue", - "event-listener-strategy 0.5.2", + "event-listener-strategy", "futures-core", "pin-project-lite 0.2.14", ] [[package]] name = "async-executor" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" +checksum = "c8828ec6e544c02b0d6691d21ed9f9218d0384a82542855073c2a3f58304aaf0" dependencies = [ "async-task", "concurrent-queue", @@ -612,8 +625,8 @@ checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" dependencies = [ "async-channel 2.3.1", "async-executor", - "async-io 2.3.2", - "async-lock 3.3.0", + "async-io 2.3.3", + "async-lock 3.4.0", "blocking", "futures-lite 2.3.0", "once_cell", @@ -641,17 +654,17 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.2" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884" +checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" dependencies = [ - "async-lock 3.3.0", + "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", "futures-lite 2.3.0", "parking", - "polling 3.7.0", + "polling 3.7.2", "rustix 0.38.34", "slab", "tracing", @@ -669,12 +682,12 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 4.0.3", - "event-listener-strategy 0.4.0", + "event-listener 5.3.1", + "event-listener-strategy", "pin-project-lite 0.2.14", ] @@ -703,17 +716,17 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "async-signal" -version = "0.2.6" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe66191c335039c7bb78f99dc7520b0cbb166b3a1cb33a03f53d8a1c6f2afda" +checksum = "794f185324c2f00e771cd9f1ae8b5ac68be2ca7abb129a87afd6e86d228bc54d" dependencies = [ - "async-io 2.3.2", - "async-lock 3.3.0", + "async-io 2.3.3", + "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", @@ -766,7 +779,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -807,16 +820,16 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.71" +version = "0.3.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b05800d2e817c8b3b4b54abd461726265fa9789ae34330622f2db9ee696f9d" +checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" dependencies = [ - "addr2line 0.21.0", + "addr2line 0.22.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.2", + "object 0.36.1", "rustc-demangle", ] @@ -826,32 +839,33 @@ version = "1.0.1" dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "oracle-proxy", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "xst", ] [[package]] name = "bandersnatch_vrfs" version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", + "ark-scale 0.0.12", "ark-serialize", "ark-std", "dleq_vrf", @@ -908,22 +922,22 @@ name = "beefy-light-client" version = "0.1.0" dependencies = [ "anyhow", - "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "bridge-common", "bridge-types", "ckb-merkle-mountain-range", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -934,11 +948,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -949,26 +963,25 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", ] [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", ] @@ -999,7 +1012,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -1010,9 +1023,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -1129,12 +1142,11 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "blocking" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495f7104e962b7356f0aeb34247aca1fe7d2e783b346582db7f2904cb5717e88" +checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" dependencies = [ "async-channel 2.3.1", - "async-lock 3.3.0", "async-task", "futures-io", "futures-lite 2.3.0", @@ -1159,21 +1171,21 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "hex-literal", "log", "once_cell", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "parity-scale-codec", "rlp", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -1182,16 +1194,16 @@ version = "0.1.0" dependencies = [ "bitvec", "bridge-types", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -1200,17 +1212,17 @@ version = "0.1.1" dependencies = [ "bridge-common", "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -1223,24 +1235,24 @@ dependencies = [ "common 0.1.0", "dispatch", "evm-fungible-app", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "scale-info", - "sp-core", - "sp-io", + "sp-core 21.0.0", + "sp-io 23.0.0", "sp-keyring", - "sp-runtime", - "sp-std", - "staging-xcm", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "staging-xcm 1.0.0", "technical", ] @@ -1250,17 +1262,16 @@ version = "0.1.0" dependencies = [ "bridge-proxy-runtime-api", "bridge-types", - "common 0.1.0", "jsonrpsee", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -1271,9 +1282,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -1285,8 +1296,8 @@ dependencies = [ "ethash", "ethbloom", "ethereum-types", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "getrandom 0.2.15", "hex-literal", "libsecp256k1", @@ -1298,12 +1309,12 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "staging-xcm", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "staging-xcm 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -1328,7 +1339,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", - "regex-automata 0.4.6", + "regex-automata 0.4.7", "serde", ] @@ -1361,9 +1372,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.0" +version = "1.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" +checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" [[package]] name = "byteorder" @@ -1422,9 +1433,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.98" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" +checksum = "74b6a57f98764a267ff415d50a25e6e166f3831a5071af4995296ea97d210490" dependencies = [ "jobserver", "libc", @@ -1441,27 +1452,26 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -1476,25 +1486,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -1509,26 +1519,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -1543,25 +1552,24 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", - "getrandom 0.2.15", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -1572,9 +1580,9 @@ version = "1.0.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -1583,10 +1591,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -1599,25 +1607,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -1686,7 +1694,7 @@ dependencies = [ "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -1724,9 +1732,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -1751,7 +1759,7 @@ checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.0", + "clap_lex 0.7.1", "strsim", ] @@ -1764,7 +1772,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -1775,9 +1783,9 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" +checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" [[package]] name = "codespan-reporting" @@ -1801,8 +1809,8 @@ version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ - "strum 0.26.2", - "strum_macros 0.26.3", + "strum 0.26.3", + "strum_macros 0.26.4", "unicode-width", ] @@ -1814,15 +1822,14 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support", - "frame-system", - "hex", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "paste", "rustc-hex", @@ -1830,12 +1837,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "static_assertions", "strum 0.25.0", "thiserror", @@ -1921,12 +1928,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" -[[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.4" @@ -2070,9 +2071,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.4.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] @@ -2188,16 +2189,15 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.2" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms 3.4.0", "rustc_version 0.4.0", "subtle", "zeroize", @@ -2211,14 +2211,14 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "cxx" -version = "1.0.122" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb497fad022245b29c2a0351df572e2d67c1046bcef2260ebc022aec81efea82" +checksum = "273dcfd3acd4e1e276af13ed2a43eea7001318823e7a726a6b3ed39b4acc0b82" dependencies = [ "cc", "cxxbridge-flags", @@ -2228,9 +2228,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.122" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9327c7f9fbd6329a200a5d4aa6f674c60ab256525ff0084b52a889d4e4c60cee" +checksum = "d8b2766fbd92be34e9ed143898fce6c572dc009de39506ed6903e5a05b68914e" dependencies = [ "cc", "codespan-reporting", @@ -2238,24 +2238,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "cxxbridge-flags" -version = "1.0.122" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c799a4a846f1c0acb9f36bb9c6272d9b3d9457f3633c7753c6057270df13c" +checksum = "839fcd5e43464614ffaa989eaf1c139ef1f0c51672a1ed08023307fa1b909ccd" [[package]] name = "cxxbridge-macro" -version = "1.0.122" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928bc249a7e3cd554fd2e8e08a426e9670c50bbfc9a621653cfa9accc9641783" +checksum = "4b2c1c1776b986979be68bb2285da855f8d8a35851a769fca8740df7c3d07877" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -2293,26 +2293,26 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -2327,26 +2327,26 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -2415,20 +2415,18 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ - "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.0", - "syn 1.0.109", + "syn 2.0.68", ] [[package]] @@ -2440,27 +2438,27 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "strum 0.25.0", "technical", ] @@ -2473,13 +2471,12 @@ dependencies = [ "dex-runtime-api", "jsonrpsee", "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -2488,9 +2485,8 @@ version = "0.2.0" dependencies = [ "assets", "common 0.1.0", - "frame-support", - "frame-system", - "hex-literal", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "orml-currencies", "orml-tokens", @@ -2499,29 +2495,25 @@ dependencies = [ "parity-scale-codec", "permissions", "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "dex-manager-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", "dex-manager-runtime-api", "jsonrpsee", "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -2530,10 +2522,9 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -2544,9 +2535,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -2631,37 +2622,37 @@ name = "dispatch" version = "0.1.1" dependencies = [ "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] name = "displaydoc" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" +source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" dependencies = [ "ark-ec", "ark-ff", - "ark-scale", + "ark-scale 0.0.10", "ark-secret-scalar", "ark-serialize", "ark-std", @@ -2698,9 +2689,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.65", + "syn 2.0.68", "termcolor", - "toml 0.8.13", + "toml 0.8.14", "walkdir", ] @@ -2782,7 +2773,7 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "ed25519 2.2.3", "rand_core 0.6.4", "serde", @@ -2818,9 +2809,9 @@ dependencies = [ [[package]] name = "either" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" @@ -2861,22 +2852,22 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" +checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -2924,13 +2915,12 @@ dependencies = [ "common 0.1.0", "env_logger", "ethabi", - "ethabi-contract", "ethabi-derive", "ethereum-types", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -2943,22 +2933,19 @@ dependencies = [ "pallet-multisig 3.2.3", "pallet-scheduler", "pallet-sudo", - "pallet-timestamp", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "permissions", - "rlp", "rustc-hex", "scale-info", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-std", - "tiny-keccak", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "tokio", ] @@ -2966,18 +2953,13 @@ dependencies = [ name = "eth-bridge-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", - "eth-bridge", "eth-bridge-runtime-api", "jsonrpsee", "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -2986,10 +2968,9 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3008,11 +2989,6 @@ dependencies = [ "uint", ] -[[package]] -name = "ethabi-contract" -version = "17.2.0" -source = "git+https://github.com/sora-xor/ethabi.git?branch=sora-v1.6.0#d4e99f047dfd525afa1a64992644727c89bdc368" - [[package]] name = "ethabi-derive" version = "17.2.0" @@ -3086,43 +3062,22 @@ dependencies = [ [[package]] name = "event-listener" -version = "4.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.14", -] - -[[package]] -name = "event-listener" -version = "5.3.0" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9944b8ca13534cdfb2800775f8dd4902ff3fc75a50101466decadfdf322a24" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", "pin-project-lite 0.2.14", ] -[[package]] -name = "event-listener-strategy" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.3", - "pin-project-lite 0.2.14", -] - [[package]] name = "event-listener-strategy" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ - "event-listener 5.3.0", + "event-listener 5.3.1", "pin-project-lite 0.2.14", ] @@ -3133,9 +3088,9 @@ dependencies = [ "bridge-types", "dispatch", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "hex-literal", "orml-currencies", "orml-traits", @@ -3144,10 +3099,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -3156,21 +3111,46 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.30", + "futures", ] [[package]] name = "expander" -version = "2.1.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e83c02035136f1592a47964ea60c05a50e4ed8b5892cfac197063850898d4d" +checksum = "e2c470c71d91ecbd179935b24170459e926382eaaa86b590b78814e180d8a8e2" dependencies = [ "blake2", + "file-guard", "fs-err", - "prettier-please", + "prettyplease 0.2.20", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "extended-assets" +version = "1.0.0" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "pallet-timestamp 4.0.0-dev", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "technical", ] [[package]] @@ -3201,31 +3181,28 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "env_logger", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", - "orml-traits", "pallet-balances", "pallet-scheduler", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", - "rustc-hex", "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -3238,9 +3215,9 @@ dependencies = [ "farming-runtime-api", "jsonrpsee", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] @@ -3248,9 +3225,8 @@ name = "farming-runtime-api" version = "0.1.0" dependencies = [ "parity-scale-codec", - "scale-info", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -3274,24 +3250,22 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", "parity-scale-codec", "permissions", "rewards", "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -3333,6 +3307,16 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" +[[package]] +name = "file-guard" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21ef72acf95ec3d7dbf61275be556299490a245f017cf084bd23b4f68cf9407c" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "file-per-thread-logger" version = "0.1.6" @@ -3362,12 +3346,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" dependencies = [ "either", - "futures 0.3.30", + "futures", "futures-timer", "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "scale-info", ] @@ -3454,39 +3438,63 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" name = "frame-benchmarking" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 4.0.0-dev", + "frame-support-procedural 4.0.0-dev", + "frame-system 4.0.0-dev", "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", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ "Inflector", "array-bytes", "chrono", "clap", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "gethostname", "handlebars", "itertools", @@ -3496,28 +3504,28 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "rand_pcg", - "sc-block-builder 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-block-builder", "sc-cli", "sc-client-api", - "sc-client-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-client-db 0.10.0-dev", "sc-executor", "sc-service", - "sc-sysinfo 6.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-sysinfo", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage", - "sp-trie", - "sp-wasm-interface 14.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-database 4.0.0-dev", + "sp-externalities 0.19.0", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-storage 13.0.0", + "sp-trie 22.0.0", + "sp-wasm-interface 14.0.0", "thiserror", "thousands", ] @@ -3529,7 +3537,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -3537,31 +3545,31 @@ name = "frame-election-provider-support" version = "4.0.0-dev" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "frame-executive" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "frame-try-runtime 0.10.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "sp-tracing 10.0.0", ] @@ -3582,16 +3590,16 @@ name = "frame-remote-externalities" version = "0.10.0-dev" dependencies = [ "async-recursion", - "futures 0.3.30", + "futures", "indicatif", "jsonrpsee", "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", "spinners", "substrate-rpc-client 0.10.0-dev", "tokio", @@ -3601,21 +3609,21 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "async-recursion", - "futures 0.3.30", + "futures", "indicatif", "jsonrpsee", "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", "spinners", - "substrate-rpc-client 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "substrate-rpc-client 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "tokio", "tokio-retry", ] @@ -3629,7 +3637,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural", + "frame-support-procedural 4.0.0-dev", "impl-trait-for-tuples", "k256", "log", @@ -3640,21 +3648,61 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-debug-derive", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-core-hashing-proc-macro 9.0.0", + "sp-debug-derive 8.0.0", + "sp-genesis-builder 0.1.0", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-metadata-ir 0.1.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", "sp-tracing 10.0.0", - "sp-weights", + "sp-weights 20.0.0", + "static_assertions", + "tt-call", +] + +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata", + "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "impl-trait-for-tuples", + "k256", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-genesis-builder 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "static_assertions", "tt-call", ] @@ -3667,65 +3715,124 @@ dependencies = [ "cfg-expr", "derive-syn-parse 0.1.5", "expander", - "frame-support-procedural-tools", + "frame-support-procedural-tools 4.0.0-dev", + "itertools", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.68", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse 0.1.5", + "expander", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "itertools", "macro_magic", "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.68", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.68", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "frame-system" +version = "4.0.0-dev" +dependencies = [ + "cfg-if", + "frame-support 4.0.0-dev", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version 22.0.0", + "sp-weights 20.0.0", ] [[package]] name = "frame-system" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "cfg-if", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -3733,35 +3840,35 @@ name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev", ] [[package]] name = "frame-try-runtime" version = "0.10.0-dev" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "framenode" -version = "3.3.0" +version = "3.5.0" dependencies = [ "ahash 0.8.7", "ansi_term", @@ -3770,28 +3877,22 @@ dependencies = [ "beefy-light-client", "beefy-light-client-rpc", "bridge-proxy-rpc", - "bridge-types", "bumpalo", "cargo-platform", "clap", "clap_lex 0.5.0", "common 0.1.0", - "derive_more", "dex-api-rpc", "dex-manager-rpc", "enum-as-inner", "eth-bridge-rpc", - "exit-future", "farming-rpc", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev", "frame-benchmarking-cli", - "frame-remote-externalities 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-remote-externalities 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "framenode-chain-spec", "framenode-runtime", - "futures 0.3.30", "futures-timer", - "hex-literal", - "iroha-migration", "iroha-migration-rpc", "jsonrpsee", "leaf-provider-rpc", @@ -3805,15 +3906,13 @@ dependencies = [ "pallet-sudo", "pallet-transaction-payment-rpc", "parity-scale-codec", - "parking_lot 0.12.2", "pswap-distribution-rpc", - "rewards", "rewards-rpc", "sc-basic-authorship", "sc-chain-spec", "sc-cli", "sc-client-api", - "sc-client-db 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-client-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sc-consensus", "sc-consensus-aura", "sc-consensus-babe", @@ -3836,70 +3935,66 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev", + "sp-arithmetic 16.0.0", "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-aura", "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", - "sp-timestamp", + "sp-consensus-beefy 4.0.0-dev", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-keystore 0.27.0", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-timestamp 4.0.0-dev", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", + "sp-trie 22.0.0", "substrate-bip39", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", - "technical", "tokio", "trading-pair-rpc", - "trie-root 0.16.0", "try-runtime-cli", "vested-rewards-rpc", - "xor-fee", ] [[package]] name = "framenode-chain-spec" -version = "3.3.0" +version = "3.5.0" dependencies = [ "common 0.1.0", "faucet", - "frame-support", + "frame-support 4.0.0-dev", "framenode-runtime", "hex-literal", "iroha-migration", - "order-book", "pallet-multisig 3.2.3", "parity-scale-codec", "permissions", "rewards", "sc-consensus-grandpa", "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sc-service", "serde", "serde_json", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", "technical", "xor-fee", ] [[package]] name = "framenode-runtime" -version = "3.3.0" +version = "3.5.0" dependencies = [ "apollo-platform", "assets", @@ -3930,18 +4025,19 @@ dependencies = [ "eth-bridge", "eth-bridge-runtime-api", "evm-fungible-app", + "extended-assets", "farming", "farming-runtime-api", "faucet", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev", "frame-election-provider-support", "frame-executive", - "frame-remote-externalities 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-support", - "frame-system", + "frame-remote-externalities 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "frame-system-benchmarking", "frame-system-rpc-runtime-api", - "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "framenode-chain-spec", "hermes-governance-platform", "hex-literal", @@ -3990,7 +4086,7 @@ dependencies = [ "pallet-session", "pallet-staking", "pallet-sudo", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-utility", @@ -4010,23 +4106,23 @@ dependencies = [ "rewards-runtime-api", "scale-info", "serde", - "sp-api", + "sp-api 4.0.0-dev", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-mmr-primitives", + "sp-consensus-beefy 4.0.0-dev", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-mmr-primitives 4.0.0-dev", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0", "sp-session", - "sp-staking", - "sp-std", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", + "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sp-transaction-pool", - "sp-version", + "sp-version 22.0.0", "static_assertions", "substrate-bridge-app", "substrate-bridge-channel", @@ -4067,12 +4163,6 @@ 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.30" @@ -4158,7 +4248,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -4196,7 +4286,6 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ - "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -4295,9 +4384,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "glob" @@ -4314,8 +4403,8 @@ dependencies = [ "aho-corasick", "bstr", "log", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", + "regex-automata 0.4.7", + "regex-syntax 0.8.4", ] [[package]] @@ -4374,12 +4463,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - [[package]] name = "hash-db" version = "0.16.0" @@ -4441,9 +4524,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hermes-governance-platform", "hex-literal", "log", @@ -4451,18 +4534,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -4481,6 +4563,12 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +[[package]] +name = "hermit-abi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" + [[package]] name = "hex" version = "0.4.3" @@ -4595,9 +4683,9 @@ checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" [[package]] name = "httpdate" @@ -4613,9 +4701,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33" dependencies = [ "bytes", "futures-channel", @@ -4712,10 +4800,10 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.3.2", + "async-io 2.3.3", "core-foundation", "fnv", - "futures 0.3.30", + "futures", "if-addrs", "ipnet", "log", @@ -4765,18 +4853,18 @@ dependencies = [ [[package]] name = "include_dir" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18762faeff7122e89e0857b02f7ce6fcc0d101d5e9ad2ad7846cc01d61b7f19e" +checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" dependencies = [ "include_dir_macros", ] [[package]] name = "include_dir_macros" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b139284b5cf57ecfa712bcc66950bb635b31aff41c188e8a4cfc758eca374a3f" +checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" dependencies = [ "proc-macro2", "quote", @@ -4886,9 +4974,9 @@ dependencies = [ "common 0.1.0", "ed25519-dalek-iroha", "eth-bridge", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "log", @@ -4903,10 +4991,10 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -4914,20 +5002,19 @@ dependencies = [ name = "iroha-migration-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", "iroha-migration-runtime-api", "jsonrpsee", - "sp-api", - "sp-blockchain", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0", ] [[package]] name = "iroha-migration-runtime-api" version = "0.1.0" dependencies = [ - "sp-api", + "sp-api 4.0.0-dev", ] [[package]] @@ -4985,7 +5072,7 @@ name = "jsonrpc-core" version = "17.0.0" source = "git+https://github.com/sora-xor/jsonrpc.git?branch=no-std#ef5d2846b52f7d7202b381be4936a75dd34fed49" dependencies = [ - "futures 0.3.30", + "futures", "log", "serde", "serde_derive", @@ -5045,7 +5132,7 @@ dependencies = [ "globset", "hyper", "jsonrpsee-types", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "rustc-hash", "serde", @@ -5164,22 +5251,22 @@ version = "0.0.1" dependencies = [ "assets", "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -5187,19 +5274,19 @@ dependencies = [ name = "kensetsu-benchmarking" version = "0.1.0" dependencies = [ - "assets", "common 0.1.0", - "frame-benchmarking", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "kensetsu", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "pool-xyk", "price-tools", - "sp-arithmetic", - "sp-core", - "sp-runtime", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -5229,7 +5316,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.2", + "parking_lot 0.12.3", ] [[package]] @@ -5240,7 +5327,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "regex", "rocksdb", "smallvec", @@ -5248,9 +5335,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lazycell" @@ -5264,17 +5351,17 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -5286,11 +5373,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -5301,9 +5388,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -5314,12 +5401,12 @@ checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libloading" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" +checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" dependencies = [ "cfg-if", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -5329,7 +5416,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f35eae38201a993ece6bdc823292d6abd1bffed1c4d0f4a3517d2bd8e1d917fe" dependencies = [ "bytes", - "futures 0.3.30", + "futures", "futures-timer", "getrandom 0.2.15", "instant", @@ -5387,7 +5474,7 @@ checksum = "3c1df63c0b582aa434fb09b2d86897fa2b419ffeccf934b36f87fcedc8e835c2" dependencies = [ "either", "fnv", - "futures 0.3.30", + "futures", "futures-timer", "instant", "libp2p-identity", @@ -5396,7 +5483,7 @@ dependencies = [ "multihash", "multistream-select", "once_cell", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", @@ -5413,10 +5500,10 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" dependencies = [ - "futures 0.3.30", + "futures", "libp2p-core", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "smallvec", "trust-dns-resolver", ] @@ -5429,7 +5516,7 @@ checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" dependencies = [ "asynchronous-codec", "either", - "futures 0.3.30", + "futures", "futures-timer", "libp2p-core", "libp2p-identity", @@ -5472,7 +5559,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.30", + "futures", "futures-timer", "instant", "libp2p-core", @@ -5496,7 +5583,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" dependencies = [ "data-encoding", - "futures 0.3.30", + "futures", "if-watch", "libp2p-core", "libp2p-identity", @@ -5532,7 +5619,7 @@ checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures 0.3.30", + "futures", "libp2p-core", "libp2p-identity", "log", @@ -5554,7 +5641,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" dependencies = [ "either", - "futures 0.3.30", + "futures", "futures-timer", "instant", "libp2p-core", @@ -5571,14 +5658,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" dependencies = [ "bytes", - "futures 0.3.30", + "futures", "futures-timer", "if-watch", "libp2p-core", "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "quinn-proto", "rand 0.8.5", "rustls 0.20.9", @@ -5593,7 +5680,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "instant", "libp2p-core", "libp2p-identity", @@ -5610,7 +5697,7 @@ checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" dependencies = [ "either", "fnv", - "futures 0.3.30", + "futures", "futures-timer", "instant", "libp2p-core", @@ -5640,7 +5727,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" dependencies = [ - "futures 0.3.30", + "futures", "futures-timer", "if-watch", "libc", @@ -5656,7 +5743,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff08d13d0dc66e5e9ba6279c1de417b84fa0d0adc3b03e5732928c180ec02781" dependencies = [ - "futures 0.3.30", + "futures", "futures-rustls", "libp2p-core", "libp2p-identity", @@ -5675,7 +5762,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" dependencies = [ - "futures 0.3.30", + "futures", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -5690,11 +5777,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ "either", - "futures 0.3.30", + "futures", "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "quicksink", "rw-stream-sink", "soketto", @@ -5708,7 +5795,7 @@ version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ - "futures 0.3.30", + "futures", "libp2p-core", "log", "thiserror", @@ -5721,7 +5808,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "libc", ] @@ -5790,9 +5877,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.16" +version = "1.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" +checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" dependencies = [ "cc", "pkg-config", @@ -5861,8 +5948,8 @@ dependencies = [ "dex-api", "dex-manager", "fallible-iterator 0.2.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "framenode-chain-spec", "framenode-runtime", "hex-literal", @@ -5874,7 +5961,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -5882,11 +5969,11 @@ dependencies = [ "qa-tools", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -5902,9 +5989,9 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "liquidity-proxy", "mock-liquidity-source", @@ -5912,7 +5999,7 @@ dependencies = [ "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -5920,10 +6007,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -5937,13 +6024,12 @@ dependencies = [ "jsonrpsee", "liquidity-proxy-runtime-api", "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -5955,9 +6041,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -5972,9 +6058,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" dependencies = [ "value-bag", ] @@ -5999,9 +6085,9 @@ dependencies = [ [[package]] name = "lz4" -version = "1.24.0" +version = "1.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" +checksum = "d6eab492fe7f8651add23237ea56dbf11b3c4ff762ab83d40a47f11433421f91" dependencies = [ "libc", "lz4-sys", @@ -6009,9 +6095,9 @@ dependencies = [ [[package]] name = "lz4-sys" -version = "1.9.4" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +checksum = "e9764018d143cc854c9f17f0b907de70f14393b1f502da6375dce70f00514eb3" dependencies = [ "cc", "libc", @@ -6035,7 +6121,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -6049,7 +6135,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -6060,7 +6146,7 @@ checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -6071,7 +6157,7 @@ checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -6113,9 +6199,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memfd" @@ -6150,7 +6236,7 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db 0.16.0", + "hash-db", ] [[package]] @@ -6185,9 +6271,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.3" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" +checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" dependencies = [ "adler", ] @@ -6206,36 +6292,35 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ - "futures 0.3.30", + "futures", "log", "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-consensus-beefy", - "sp-core", - "sp-mmr-primitives", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-consensus-beefy 4.0.0-dev", + "sp-core 21.0.0", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" dependencies = [ "anyhow", "jsonrpsee", "parity-scale-codec", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-mmr-primitives", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] @@ -6245,8 +6330,8 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -6256,11 +6341,11 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -6329,11 +6414,10 @@ dependencies = [ "ceres-liquidity-locker", "common 0.1.0", "demeter-farming-platform", - "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -6341,7 +6425,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -6349,11 +6433,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "vested-rewards", @@ -6402,17 +6486,17 @@ version = "0.1.0" dependencies = [ "bridge-common", "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -6422,7 +6506,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" dependencies = [ "bytes", - "futures 0.3.30", + "futures", "log", "pin-project", "smallvec", @@ -6431,9 +6515,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.5" +version = "0.32.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" +checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" dependencies = [ "approx", "matrixmultiply", @@ -6447,13 +6531,13 @@ dependencies = [ [[package]] name = "nalgebra-macros" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" +checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.68", ] [[package]] @@ -6510,7 +6594,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", - "futures 0.3.30", + "futures", "log", "netlink-packet-core", "netlink-sys", @@ -6525,7 +6609,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", - "futures 0.3.30", + "futures", "libc", "log", "tokio", @@ -6572,9 +6656,9 @@ checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" [[package]] name = "num-bigint" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ "num-integer", "num-traits", @@ -6664,9 +6748,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.2" +version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce" dependencies = [ "memchr", ] @@ -6710,19 +6794,19 @@ version = "1.0.0" dependencies = [ "band", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -6732,10 +6816,10 @@ dependencies = [ "jsonrpsee", "oracle-proxy-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -6746,9 +6830,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -6757,24 +6841,24 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "framenode-chain-spec", "framenode-runtime", "hex-literal", "orml-tokens", "pallet-balances", "pallet-collective", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "technical", "trading-pair", ] @@ -6785,25 +6869,21 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "framenode-chain-spec", "framenode-runtime", - "hex-literal", "order-book", - "orml-tokens", "pallet-balances", "pallet-collective", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "technical", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "trading-pair", ] @@ -6812,16 +6892,16 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "orml-traits", "orml-utilities", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -6829,16 +6909,16 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -6846,7 +6926,7 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -6854,11 +6934,11 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "staging-xcm", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "staging-xcm 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -6866,66 +6946,66 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] name = "pallet-aura" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-authorship" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-babe" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-authorship", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -6935,58 +7015,57 @@ dependencies = [ "aquamarine", "docify", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-beefy" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy", - "sp-runtime", + "sp-consensus-beefy 4.0.0-dev", + "sp-runtime 24.0.0", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ "array-bytes", - "binary-merkle-tree 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "frame-support", - "frame-system", + "binary-merkle-tree 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-beefy", "pallet-mmr", @@ -6994,46 +7073,46 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std", + "sp-api 4.0.0-dev", + "sp-consensus-beefy 4.0.0-dev", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-collective" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-democracy" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -7041,57 +7120,57 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" dependencies = [ "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 21.0.0", + "sp-io 23.0.0", "sp-npos-elections", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] name = "pallet-grandpa" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0", "sp-consensus-grandpa 4.0.0-dev", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -7099,142 +7178,141 @@ name = "pallet-identity" version = "4.0.0-dev" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-im-online" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-membership" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-multisig" version = "3.2.3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pallet-offences" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -7242,47 +7320,47 @@ name = "pallet-scheduler" version = "4.0.0-dev" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", - "sp-weights", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", ] [[package]] name = "pallet-session" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "impl-trait-for-tuples", "log", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", "sp-session", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-trie", + "sp-staking 4.0.0-dev", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "orml-traits", "pallet-authorship", @@ -7290,58 +7368,77 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 23.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] name = "pallet-sudo" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "parity-scale-codec", + "scale-info", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "pallet-timestamp" +version = "4.0.0-dev" +dependencies = [ + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", + "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", - "sp-timestamp", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -7351,12 +7448,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-weights", + "sp-runtime 24.0.0", + "sp-weights 20.0.0", ] [[package]] @@ -7365,24 +7462,24 @@ version = "4.0.0-dev" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-weights 20.0.0", ] [[package]] name = "pallet-utility" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -7391,9 +7488,9 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "hex-literal", "orml-currencies", "orml-traits", @@ -7402,11 +7499,11 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "staging-xcm", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "staging-xcm 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -7429,7 +7526,7 @@ dependencies = [ "log", "lz4", "memmap2", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "siphasher", "snap", @@ -7518,9 +7615,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core 0.9.10", @@ -7548,9 +7645,9 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.1", + "redox_syscall 0.5.2", "smallvec", - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -7609,23 +7706,23 @@ name = "permissions" version = "1.1.0" dependencies = [ "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "pest" -version = "2.7.10" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" +checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" dependencies = [ "memchr", "thiserror", @@ -7634,9 +7731,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.10" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459" +checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" dependencies = [ "pest", "pest_generator", @@ -7644,22 +7741,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.10" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687" +checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "pest_meta" -version = "2.7.10" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd" +checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" dependencies = [ "once_cell", "pest", @@ -7693,7 +7790,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -7716,9 +7813,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464db0c665917b13ebb5d453ccdec4add5658ee1adc7affc7677615356a8afaf" +checksum = "ae1d5c74c9876f070d3e8fd503d748c7d974c3e48da8f41350fa5222ef9b4391" dependencies = [ "atomic-waker", "fastrand 2.1.0", @@ -7747,12 +7844,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - [[package]] name = "polling" version = "2.8.0" @@ -7771,13 +7862,13 @@ dependencies = [ [[package]] name = "polling" -version = "3.7.0" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645493cf344456ef24219d02a768cf1fb92ddf8c92161679ae3d91b91a637be3" +checksum = "a3ed00ed3fbf728b5816498ecd316d1716eecaced9c0c8d2c5a6740ca214985b" dependencies = [ "cfg-if", "concurrent-queue", - "hermit-abi 0.3.9", + "hermit-abi 0.4.0", "pin-project-lite 0.2.14", "rustix 0.38.34", "tracing", @@ -7817,27 +7908,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", - "num-traits", "oracle-proxy", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "price-tools", "pswap-distribution", "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "xst", @@ -7853,24 +7942,24 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -7934,21 +8023,11 @@ dependencies = [ "termtree", ] -[[package]] -name = "prettier-please" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" -dependencies = [ - "proc-macro2", - "syn 2.0.65", -] - [[package]] name = "prettyplease" -version = "0.1.11" +version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28f53e8b192565862cf99343194579a022eb9c7dd3a8d03134734803c7b3125" +checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" dependencies = [ "proc-macro2", "syn 1.0.109", @@ -7961,7 +8040,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -7972,29 +8051,26 @@ dependencies = [ "ceres-liquidity-locker", "common 0.1.0", "demeter-farming-platform", - "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -8063,14 +8139,14 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "proc-macro2" -version = "1.0.83" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b33eb56c327dec362a9e55b3ad14f9d2f0904fb5a5b03b513ab5465399e9f43" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -8085,7 +8161,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "thiserror", ] @@ -8097,7 +8173,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -8109,7 +8185,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -8135,7 +8211,7 @@ dependencies = [ "log", "multimap", "petgraph", - "prettyplease 0.1.11", + "prettyplease 0.1.25", "prost", "prost-types", "regex", @@ -8184,9 +8260,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", @@ -8194,17 +8270,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -8217,25 +8293,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -8244,17 +8320,15 @@ dependencies = [ name = "pswap-distribution-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", "jsonrpsee", "parity-scale-codec", "pswap-distribution-runtime-api", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -8266,9 +8340,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -8278,8 +8352,8 @@ dependencies = [ "assets", "band", "common 0.1.0", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "framenode-chain-spec", "framenode-runtime", "multicollateral-bonding-curve-pool", @@ -8292,11 +8366,11 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "xst", ] @@ -8511,11 +8585,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +checksum = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] @@ -8546,7 +8620,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -8555,9 +8629,9 @@ version = "1.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -8567,10 +8641,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -8587,14 +8661,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.4" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", + "regex-automata 0.4.7", + "regex-syntax 0.8.4", ] [[package]] @@ -8608,13 +8682,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.3", + "regex-syntax 0.8.4", ] [[package]] @@ -8625,9 +8699,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "resolv-conf" @@ -8645,10 +8719,9 @@ version = "1.3.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "libsecp256k1", "log", @@ -8660,10 +8733,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -8671,17 +8744,16 @@ dependencies = [ name = "rewards-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", "jsonrpsee", "parity-scale-codec", "rewards-runtime-api", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -8692,9 +8764,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -8789,7 +8861,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ - "futures 0.3.30", + "futures", "log", "netlink-packet-route", "netlink-proto", @@ -8887,7 +8959,7 @@ version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "errno", "libc", "linux-raw-sys 0.4.14", @@ -8961,7 +9033,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" dependencies = [ - "futures 0.3.30", + "futures", "pin-project", "static_assertions", ] @@ -8983,9 +9055,9 @@ dependencies = [ [[package]] name = "safe_arch" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +checksum = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" dependencies = [ "bytemuck", ] @@ -9004,7 +9076,7 @@ name = "sc-allocator" version = "4.1.0-dev" dependencies = [ "log", - "sp-core", + "sp-core 21.0.0", "sp-wasm-interface 14.0.0", "thiserror", ] @@ -9013,21 +9085,21 @@ dependencies = [ name = "sc-basic-authorship" version = "0.10.0-dev" dependencies = [ - "futures 0.3.30", + "futures", "futures-timer", "log", "parity-scale-codec", - "sc-block-builder 0.10.0-dev", + "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", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", ] @@ -9037,27 +9109,12 @@ version = "0.10.0-dev" dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", -] - -[[package]] -name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "parity-scale-codec", - "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev", "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] @@ -9072,10 +9129,10 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", ] [[package]] @@ -9085,7 +9142,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -9096,7 +9153,7 @@ dependencies = [ "chrono", "clap", "fdlimit", - "futures 0.3.30", + "futures", "libp2p-identity", "log", "names", @@ -9114,13 +9171,13 @@ dependencies = [ "sc-utils 4.0.0-dev", "serde", "serde_json", - "sp-blockchain", - "sp-core", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.27.0", + "sp-panic-handler 8.0.0", + "sp-runtime 24.0.0", + "sp-version 22.0.0", "thiserror", "tiny-bip39", "tokio", @@ -9131,23 +9188,23 @@ name = "sc-client-api" version = "4.0.0-dev" dependencies = [ "fnv", - "futures 0.3.30", + "futures", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-executor", "sc-transaction-pool-api", "sc-utils 4.0.0-dev", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-database", - "sp-externalities", - "sp-runtime", - "sp-state-machine", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-core 21.0.0", + "sp-database 4.0.0-dev", + "sp-externalities 0.19.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", "sp-statement-store", - "sp-storage", + "sp-storage 13.0.0", "substrate-prometheus-endpoint", ] @@ -9155,7 +9212,7 @@ dependencies = [ name = "sc-client-db" version = "0.10.0-dev" dependencies = [ - "hash-db 0.16.0", + "hash-db", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -9163,68 +9220,42 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-state-db 0.10.0-dev", "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", -] - -[[package]] -name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" -dependencies = [ - "hash-db 0.16.0", - "kvdb", - "kvdb-memorydb", - "linked-hash-map", - "log", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.2", - "sc-client-api", - "sc-state-db 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-database 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-trie 22.0.0", ] [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ - "hash-db 0.16.0", + "hash-db", "kvdb", "kvdb-memorydb", - "kvdb-rocksdb", "linked-hash-map", "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", - "sc-state-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-state-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-database 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-trie 22.0.0", ] [[package]] @@ -9232,21 +9263,21 @@ name = "sc-consensus" version = "0.10.0-dev" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "futures-timer", "libp2p-identity", "log", "mockall", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-utils 4.0.0-dev", "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", "substrate-prometheus-endpoint", "thiserror", ] @@ -9256,25 +9287,25 @@ name = "sc-consensus-aura" version = "0.10.0-dev" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "log", "parity-scale-codec", - "sc-block-builder 0.10.0-dev", + "sc-block-builder", "sc-client-api", "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "thiserror", ] @@ -9285,13 +9316,13 @@ version = "0.10.0-dev" dependencies = [ "async-trait", "fork-tree", - "futures 0.3.30", + "futures", "log", "num-bigint", "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -9299,17 +9330,17 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool-api", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", "sp-block-builder", - "sp-blockchain", - "sp-consensus", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "thiserror", ] @@ -9318,20 +9349,20 @@ dependencies = [ name = "sc-consensus-babe-rpc" version = "0.10.0-dev" dependencies = [ - "futures 0.3.30", + "futures", "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", - "sp-blockchain", - "sp-consensus", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", "thiserror", ] @@ -9343,26 +9374,26 @@ dependencies = [ "async-channel 1.9.0", "async-trait", "fnv", - "futures 0.3.30", + "futures", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-network", "sc-network-gossip", "sc-network-sync", "sc-utils 4.0.0-dev", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-beefy", - "sp-core", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-consensus-beefy 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -9371,19 +9402,19 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ - "futures 0.3.30", + "futures", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-consensus-beefy", "sc-rpc", "serde", - "sp-consensus-beefy", - "sp-core", - "sp-runtime", + "sp-consensus-beefy 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "thiserror", ] @@ -9395,8 +9426,8 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-consensus", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] @@ -9409,13 +9440,13 @@ dependencies = [ "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.30", + "futures", "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", - "sc-block-builder 0.10.0-dev", + "sc-block-builder", "sc-chain-spec", "sc-client-api", "sc-consensus", @@ -9426,15 +9457,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-grandpa 4.0.0-dev", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "thiserror", ] @@ -9444,21 +9475,21 @@ name = "sc-consensus-slots" version = "0.10.0-dev" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "futures-timer", "log", "parity-scale-codec", "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", ] [[package]] @@ -9466,18 +9497,18 @@ name = "sc-executor" version = "0.10.0-dev" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-executor-common", "sc-executor-wasmtime", "schnellru", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-io 23.0.0", + "sp-panic-handler 8.0.0", + "sp-runtime-interface 17.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", "sp-wasm-interface 14.0.0", "tracing", ] @@ -9504,7 +9535,7 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0", "sp-wasm-interface 14.0.0", "wasmtime", ] @@ -9514,14 +9545,14 @@ name = "sc-informant" version = "0.10.0-dev" dependencies = [ "ansi_term", - "futures 0.3.30", + "futures", "futures-timer", "log", "sc-client-api", "sc-network", "sc-network-common 0.10.0-dev", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] @@ -9529,11 +9560,11 @@ name = "sc-keystore" version = "4.0.0-dev" dependencies = [ "array-bytes", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-keystore 0.27.0", "thiserror", ] @@ -9548,7 +9579,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.30", + "futures", "futures-timer", "ip_network", "libp2p", @@ -9556,7 +9587,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "partial_sort", "pin-project", "rand 0.8.5", @@ -9566,10 +9597,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -9583,15 +9614,15 @@ version = "0.10.0-dev" dependencies = [ "async-channel 1.9.0", "cid", - "futures 0.3.30", + "futures", "libp2p-identity", "log", "prost", "prost-build", "sc-client-api", "sc-network", - "sp-blockchain", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-runtime 24.0.0", "thiserror", "unsigned-varint", ] @@ -9602,31 +9633,31 @@ version = "0.10.0-dev" dependencies = [ "async-trait", "bitflags 1.3.2", - "futures 0.3.30", + "futures", "libp2p-identity", "parity-scale-codec", "prost-build", "sc-consensus", - "sp-consensus", + "sp-consensus 0.10.0-dev", "sp-consensus-grandpa 4.0.0-dev", - "sp-runtime", + "sp-runtime 24.0.0", ] [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "async-trait", "bitflags 1.3.2", - "futures 0.3.30", + "futures", "libp2p-identity", "parity-scale-codec", "prost-build", "sc-consensus", - "sp-consensus", - "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-runtime", + "sp-consensus 0.10.0-dev", + "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sp-runtime 24.0.0", ] [[package]] @@ -9634,14 +9665,14 @@ name = "sc-network-gossip" version = "0.10.0-dev" dependencies = [ "ahash 0.8.7", - "futures 0.3.30", + "futures", "futures-timer", "libp2p", "log", "sc-network", "sc-network-common 0.10.0-dev", "schnellru", - "sp-runtime", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "tracing", ] @@ -9652,7 +9683,7 @@ version = "0.10.0-dev" dependencies = [ "array-bytes", "async-channel 1.9.0", - "futures 0.3.30", + "futures", "libp2p-identity", "log", "parity-scale-codec", @@ -9660,9 +9691,9 @@ dependencies = [ "prost-build", "sc-client-api", "sc-network", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "thiserror", ] @@ -9674,7 +9705,7 @@ dependencies = [ "async-channel 1.9.0", "async-trait", "fork-tree", - "futures 0.3.30", + "futures", "futures-timer", "libp2p", "log", @@ -9689,12 +9720,12 @@ dependencies = [ "sc-utils 4.0.0-dev", "schnellru", "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", + "sp-arithmetic 16.0.0", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", "sp-consensus-grandpa 4.0.0-dev", - "sp-core", - "sp-runtime", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", "thiserror", ] @@ -9704,27 +9735,27 @@ name = "sc-network-transactions" version = "0.10.0-dev" dependencies = [ "array-bytes", - "futures 0.3.30", + "futures", "libp2p", "log", "parity-scale-codec", "sc-network", "sc-network-common 0.10.0-dev", "sc-utils 4.0.0-dev", - "sp-consensus", - "sp-runtime", + "sp-consensus 0.10.0-dev", + "sp-runtime 24.0.0", "substrate-prometheus-endpoint", ] [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "array-bytes", "bytes", "fnv", - "futures 0.3.30", + "futures", "futures-timer", "hyper", "hyper-rustls", @@ -9733,19 +9764,19 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "sc-client-api", "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", - "sp-api", - "sp-core", - "sp-externalities", - "sp-keystore", + "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0", "threadpool", "tracing", ] @@ -9762,12 +9793,12 @@ dependencies = [ name = "sc-rpc" version = "4.0.0-dev" dependencies = [ - "futures 0.3.30", + "futures", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", - "sc-block-builder 0.10.0-dev", + "parking_lot 0.12.3", + "sc-block-builder", "sc-chain-spec", "sc-client-api", "sc-rpc-api", @@ -9775,16 +9806,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0", "sp-session", "sp-statement-store", - "sp-version", + "sp-version 22.0.0", "tokio", ] @@ -9799,10 +9830,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 24.0.0", + "sp-version 22.0.0", "thiserror", ] @@ -9825,23 +9856,23 @@ name = "sc-rpc-spec-v2" version = "0.10.0-dev" dependencies = [ "array-bytes", - "futures 0.3.30", + "futures", "futures-util", "hex", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-chain-spec", "sc-client-api", "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-version 22.0.0", "thiserror", "tokio", "tokio-stream", @@ -9854,15 +9885,15 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.3.30", + "futures", "futures-timer", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", - "sc-block-builder 0.10.0-dev", + "sc-block-builder", "sc-chain-spec", "sc-client-api", "sc-client-db 0.10.0-dev", @@ -9879,7 +9910,7 @@ dependencies = [ "sc-rpc", "sc-rpc-server", "sc-rpc-spec-v2", - "sc-sysinfo 6.0.0-dev", + "sc-sysinfo", "sc-telemetry", "sc-tracing", "sc-transaction-pool", @@ -9887,20 +9918,20 @@ dependencies = [ "sc-utils 4.0.0-dev", "serde", "serde_json", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", "sp-session", - "sp-state-machine", - "sp-storage", + "sp-state-machine 0.28.0", + "sp-storage 13.0.0", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-trie 22.0.0", + "sp-version 22.0.0", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -9916,37 +9947,26 @@ version = "0.10.0-dev" dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.2", - "sp-core", -] - -[[package]] -name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.2", - "sp-core", + "parking_lot 0.12.3", + "sp-core 21.0.0", ] [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.2", - "sp-core", + "parking_lot 0.12.3", + "sp-core 21.0.0", ] [[package]] name = "sc-sysinfo" version = "6.0.0-dev" dependencies = [ - "futures 0.3.30", + "futures", "libc", "log", "rand 0.8.5", @@ -9955,28 +9975,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std", -] - -[[package]] -name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" -dependencies = [ - "futures 0.3.30", - "libc", - "log", - "rand 0.8.5", - "rand_pcg", - "regex", - "sc-telemetry", - "serde", - "serde_json", - "sp-core", - "sp-io", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", ] [[package]] @@ -9984,10 +9985,10 @@ name = "sc-telemetry" version = "4.0.0-dev" dependencies = [ "chrono", - "futures 0.3.30", + "futures", "libp2p", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", "sc-utils 4.0.0-dev", @@ -10007,17 +10008,17 @@ dependencies = [ "lazy_static", "libc", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "regex", "rustc-hash", "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0", "sp-tracing 10.0.0", "thiserror", "tracing", @@ -10032,7 +10033,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -10040,20 +10041,20 @@ name = "sc-transaction-pool" version = "4.0.0-dev" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "futures-timer", "linked-hash-map", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "sp-tracing 10.0.0", "sp-transaction-pool", "substrate-prometheus-endpoint", @@ -10065,13 +10066,13 @@ name = "sc-transaction-pool-api" version = "4.0.0-dev" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "log", "parity-scale-codec", "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "thiserror", ] @@ -10080,28 +10081,28 @@ name = "sc-utils" version = "4.0.0-dev" dependencies = [ "async-channel 1.9.0", - "futures 0.3.30", + "futures", "futures-timer", "lazy_static", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 16.0.0", ] [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "async-channel 1.9.0", - "futures 0.3.30", + "futures", "futures-timer", "lazy_static", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "prometheus", - "sp-arithmetic", + "sp-arithmetic 16.0.0", ] [[package]] @@ -10237,7 +10238,7 @@ version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", @@ -10289,38 +10290,38 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.202" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] [[package]] name = "serde_bytes" -version = "0.11.14" +version = "0.11.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.202" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "serde_json" -version = "1.0.117" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" dependencies = [ "itoa", "ryu", @@ -10502,7 +10503,7 @@ dependencies = [ "aes-gcm", "blake2", "chacha20poly1305", - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "rand_core 0.6.4", "ring 0.17.8", "rustc_version 0.4.0", @@ -10539,7 +10540,7 @@ dependencies = [ "base64 0.13.1", "bytes", "flate2", - "futures 0.3.30", + "futures", "http", "httparse", "log", @@ -10551,19 +10552,40 @@ dependencies = [ name = "sp-api" version = "4.0.0-dev" dependencies = [ - "hash-db 0.16.0", + "hash-db", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-metadata-ir 0.1.0", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "sp-version 22.0.0", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities", - "sp-metadata-ir", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -10577,19 +10599,46 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "Inflector", + "blake2", + "expander", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.68", +] + +[[package]] +name = "sp-application-crypto" +version = "23.0.0" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-application-crypto" version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -10601,7 +10650,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 8.0.0", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "static_assertions", ] @@ -10609,40 +10672,73 @@ dependencies = [ name = "sp-block-builder" version = "4.0.0-dev" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-blockchain" +version = "4.0.0-dev" +dependencies = [ + "futures", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "schnellru", + "sp-api 4.0.0-dev", + "sp-consensus 0.10.0-dev", + "sp-database 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "thiserror", ] [[package]] name = "sp-blockchain" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ - "futures 0.3.30", + "futures", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "schnellru", - "sp-api", - "sp-consensus", - "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-database 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "thiserror", +] + +[[package]] +name = "sp-consensus" +version = "0.10.0-dev" +dependencies = [ + "async-trait", + "futures", + "log", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", "thiserror", ] [[package]] name = "sp-consensus" version = "0.10.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "async-trait", - "futures 0.3.30", + "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -10653,13 +10749,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] @@ -10670,14 +10766,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-timestamp 4.0.0-dev", ] [[package]] @@ -10688,13 +10784,32 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-mmr-primitives 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "strum 0.24.1", +] + +[[package]] +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "strum 0.24.1", ] @@ -10707,30 +10822,30 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -10740,13 +10855,60 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", - "sp-timestamp", + "sp-std 8.0.0", + "sp-timestamp 4.0.0-dev", +] + +[[package]] +name = "sp-core" +version = "21.0.0" +dependencies = [ + "array-bytes", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58 0.5.1", + "dyn-clonable", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.3", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 9.0.0", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tracing", + "zeroize", ] [[package]] name = "sp-core" version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -10757,8 +10919,8 @@ dependencies = [ "bs58 0.5.1", "dyn-clonable", "ed25519-zebra", - "futures 0.3.30", - "hash-db 0.16.0", + "futures", + "hash-db", "hash256-std-hasher", "impl-serde", "lazy_static", @@ -10766,7 +10928,7 @@ dependencies = [ "log", "merlin 2.0.1", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "paste", "primitive-types", "rand 0.8.5", @@ -10776,12 +10938,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "ss58-registry", "substrate-bip39", "thiserror", @@ -10802,21 +10964,53 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-core-hashing" +version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3 0.10.8", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +dependencies = [ + "quote", + "sp-core-hashing 9.0.0", + "syn 2.0.68", +] + [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "quote", - "sp-core-hashing", - "syn 2.0.65", + "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "syn 2.0.68", +] + +[[package]] +name = "sp-database" +version = "4.0.0-dev" +dependencies = [ + "kvdb", + "parking_lot 0.12.3", ] [[package]] name = "sp-database" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "kvdb", - "parking_lot 0.12.2", + "parking_lot 0.12.3", ] [[package]] @@ -10825,27 +11019,59 @@ version = "8.0.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.68", +] + +[[package]] +name = "sp-externalities" +version = "0.19.0" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0", + "sp-storage 13.0.0", ] [[package]] name = "sp-externalities" version = "0.19.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +dependencies = [ + "serde_json", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-genesis-builder" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -10856,8 +11082,22 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -10872,14 +11112,38 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-keystore 0.27.0", + "sp-runtime-interface 17.0.0", + "sp-state-machine 0.28.0", + "sp-std 8.0.0", "sp-tracing 10.0.0", - "sp-trie", + "sp-trie 22.0.0", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "bytes", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "tracing", "tracing-core", ] @@ -10889,8 +11153,8 @@ name = "sp-keyring" version = "24.0.0" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 21.0.0", + "sp-runtime 24.0.0", "strum 0.24.1", ] @@ -10899,9 +11163,21 @@ name = "sp-keystore" version = "0.27.0" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.2", - "sp-core", - "sp-externalities", + "parking_lot 0.12.3", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.27.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.3", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -10920,23 +11196,52 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-mmr-primitives" +version = "4.0.0-dev" +dependencies = [ + "ckb-merkle-mountain-range", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "thiserror", ] [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "ckb-merkle-mountain-range", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-debug-derive", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -10947,19 +11252,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", ] [[package]] @@ -10971,18 +11276,50 @@ dependencies = [ "regex", ] +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + [[package]] name = "sp-rpc" version = "6.0.0" dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 21.0.0", +] + +[[package]] +name = "sp-runtime" +version = "24.0.0" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 23.0.0", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-std 8.0.0", + "sp-weights 20.0.0", ] [[package]] name = "sp-runtime" version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "either", "hash256-std-hasher", @@ -10993,12 +11330,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", + "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -11009,24 +11346,54 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", "sp-tracing 10.0.0", "sp-wasm-interface 14.0.0", "static_assertions", ] +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +dependencies = [ + "Inflector", + "proc-macro-crate 1.1.3", + "proc-macro2", + "quote", + "syn 2.0.68", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -11035,12 +11402,12 @@ version = "4.0.0-dev" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 4.0.0-dev", + "sp-core 21.0.0", + "sp-keystore 0.27.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -11051,26 +11418,61 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", +] + +[[package]] +name = "sp-state-machine" +version = "0.28.0" +dependencies = [ + "hash-db", + "log", + "parity-scale-codec", + "parking_lot 0.12.3", + "rand 0.8.5", + "smallvec", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-panic-handler 8.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", + "thiserror", + "tracing", + "trie-db", ] [[package]] name = "sp-state-machine" version = "0.28.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ - "hash-db 0.16.0", + "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", "tracing", "trie-db", @@ -11081,20 +11483,20 @@ name = "sp-statement-store" version = "4.0.0-dev" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "ed25519-dalek", "hkdf", "parity-scale-codec", "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-externalities", - "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-api 4.0.0-dev", + "sp-application-crypto 23.0.0", + "sp-core 21.0.0", + "sp-externalities 0.19.0", + "sp-runtime 24.0.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", "thiserror", "x25519-dalek 2.0.1", ] @@ -11103,6 +11505,11 @@ dependencies = [ name = "sp-std" version = "8.0.0" +[[package]] +name = "sp-std" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" + [[package]] name = "sp-storage" version = "13.0.0" @@ -11111,8 +11518,21 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-storage" +version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -11121,18 +11541,29 @@ version = "4.0.0-dev" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "thiserror", ] +[[package]] +name = "sp-timestamp" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "parity-scale-codec", + "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", +] + [[package]] name = "sp-tracing" version = "10.0.0" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 8.0.0", "tracing", "tracing-core", "tracing-subscriber", @@ -11141,10 +11572,22 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 8.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "tracing", "tracing-core", "tracing-subscriber", @@ -11154,8 +11597,8 @@ dependencies = [ name = "sp-transaction-pool" version = "4.0.0-dev" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", ] [[package]] @@ -11165,48 +11608,88 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 21.0.0", + "sp-inherents 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-trie 22.0.0", +] + +[[package]] +name = "sp-trie" +version = "22.0.0" +dependencies = [ + "ahash 0.8.7", + "hash-db", + "hashbrown 0.13.2", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.3", + "scale-info", + "schnellru", + "sp-core 21.0.0", + "sp-std 8.0.0", + "thiserror", + "tracing", + "trie-db", + "trie-root", ] [[package]] name = "sp-trie" version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "ahash 0.8.7", - "hash-db 0.16.0", + "hash-db", "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", "tracing", "trie-db", - "trie-root 0.18.0", + "trie-root", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 9.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", + "sp-version-proc-macro 8.0.0", + "thiserror", ] [[package]] name = "sp-version" version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-version-proc-macro 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "thiserror", ] @@ -11217,7 +11700,18 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.68", ] [[package]] @@ -11228,20 +11722,20 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 8.0.0", "wasmtime", ] [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=release-polkadot-v1.1.0#27a9750c82f7603e4d5834c7f49cd8d8cb3abc42" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "wasmtime", ] @@ -11253,10 +11747,25 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -11325,8 +11834,25 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights", - "xcm-procedural", + "sp-weights 20.0.0", + "xcm-procedural 1.0.0", +] + +[[package]] +name = "staging-xcm" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "bounded-collections", + "derivative", + "environmental", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "xcm-procedural 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -11389,9 +11915,9 @@ dependencies = [ [[package]] name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" [[package]] name = "strum_macros" @@ -11416,20 +11942,20 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "strum_macros" -version = "0.26.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7993a8e3a9e88a00351486baae9522c91b123a088f76469e5bd5cc17198ea87" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "rustversion", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -11451,9 +11977,9 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "hex-literal", "orml-currencies", "orml-traits", @@ -11462,10 +11988,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -11474,22 +12000,22 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "hex-literal", "log", "once_cell", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", "parity-scale-codec", "rlp", "scale-info", "serde", - "sp-core", - "sp-externalities", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", ] [[package]] @@ -11498,7 +12024,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd540ba72520174c2c73ce96bf507eeba3cc8a481f58be92525b69110e1fa645" dependencies = [ - "platforms 1.1.0", + "platforms", ] [[package]] @@ -11506,17 +12032,17 @@ name = "substrate-frame-rpc-system" version = "4.0.0-dev" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.30", + "futures", "jsonrpsee", "log", "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev", "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", + "sp-runtime 24.0.0", ] [[package]] @@ -11539,20 +12065,20 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 24.0.0", ] [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#39482e78cc1580c9f16a8f8d8261baf914ab5559" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "async-trait", "jsonrpsee", "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 24.0.0", ] [[package]] @@ -11591,9 +12117,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.65" +version = "2.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2863d96a84c6439701d7a38f9de935ec562c8832cc55d1dde0f513b52fad106" +checksum = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9" dependencies = [ "proc-macro2", "quote", @@ -11652,9 +12178,9 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -11664,10 +12190,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "twox-hash", ] @@ -11715,7 +12241,7 @@ checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -11812,9 +12338,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "c55115c6fbe2d2bef26eb09ad74bde02d8255476fc0c7b515ef09fbb35742d82" dependencies = [ "tinyvec_macros", ] @@ -11836,7 +12362,7 @@ dependencies = [ "libc", "mio", "num_cpus", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project-lite 0.2.14", "signal-hook-registry", "socket2 0.5.7", @@ -11852,7 +12378,7 @@ checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -11925,14 +12451,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.13", + "toml_edit 0.22.14", ] [[package]] @@ -11970,15 +12496,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.13" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.8", + "winnow 0.6.13", ] [[package]] @@ -11998,7 +12524,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "bytes", "futures-core", "futures-util", @@ -12042,7 +12568,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -12116,9 +12642,9 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "orml-currencies", "orml-tokens", @@ -12128,26 +12654,24 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] name = "trading-pair-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", "jsonrpsee", "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "trading-pair-runtime-api", ] @@ -12158,9 +12682,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -12169,29 +12693,20 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db 0.16.0", + "hash-db", "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", ] -[[package]] -name = "trie-root" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "652931506d2c1244d7217a70b99f56718a7b4161b37f04e7cd868072a99f68cd" -dependencies = [ - "hash-db 0.15.2", -] - [[package]] name = "trie-root" version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db 0.16.0", + "hash-db", ] [[package]] @@ -12231,7 +12746,7 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "resolv-conf", "smallvec", "thiserror", @@ -12261,22 +12776,22 @@ dependencies = [ "sc-executor", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-debug-derive", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-core 21.0.0", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-inherents 4.0.0-dev", + "sp-io 23.0.0", + "sp-keystore 0.27.0", "sp-rpc", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", + "sp-runtime 24.0.0", + "sp-state-machine 0.28.0", + "sp-timestamp 4.0.0-dev", "sp-transaction-storage-proof", - "sp-version", - "sp-weights", + "sp-version 22.0.0", + "sp-weights 20.0.0", "substrate-rpc-client 0.10.0-dev", "zstd 0.12.4", ] @@ -12346,9 +12861,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" @@ -12392,9 +12907,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.0" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna 0.5.0", @@ -12403,9 +12918,9 @@ dependencies = [ [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "valuable" @@ -12440,9 +12955,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex", "hex-literal", "itertools", @@ -12452,7 +12967,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -12461,10 +12976,10 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", ] @@ -12472,17 +12987,15 @@ dependencies = [ name = "vested-rewards-rpc" version = "0.1.0" dependencies = [ - "common 0.1.0", "jsonrpsee", "parity-scale-codec", - "scale-info", "serde", - "sp-api", - "sp-blockchain", - "sp-core", + "sp-api 4.0.0-dev", + "sp-blockchain 4.0.0-dev", + "sp-core 21.0.0", "sp-rpc", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "vested-rewards-runtime-api", ] @@ -12494,9 +13007,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev", + "sp-runtime 24.0.0", + "sp-std 8.0.0", ] [[package]] @@ -12572,7 +13085,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", "wasm-bindgen-shared", ] @@ -12606,7 +13119,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -12672,7 +13185,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.30", + "futures", "js-sys", "parking_lot 0.11.2", "pin-utils", @@ -12935,9 +13448,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.19" +version = "0.7.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aab6594190de06d718a5dbc5fa781ab62f8903797056480e549ca74add6b7065" +checksum = "2caba658a80831539b30698ae9862a72db6697dfdd7151e46920f5f2755c3ce2" dependencies = [ "bytemuck", "safe_arch", @@ -13023,7 +13536,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.5", + "windows-targets 0.52.6", ] [[package]] @@ -13058,18 +13571,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.5", - "windows_aarch64_msvc 0.52.5", - "windows_i686_gnu 0.52.5", + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.5", - "windows_x86_64_gnu 0.52.5", - "windows_x86_64_gnullvm 0.52.5", - "windows_x86_64_msvc 0.52.5", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", ] [[package]] @@ -13086,9 +13599,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_msvc" @@ -13104,9 +13617,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_i686_gnu" @@ -13122,15 +13635,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_msvc" @@ -13146,9 +13659,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_x86_64_gnu" @@ -13164,9 +13677,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" @@ -13182,9 +13695,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_msvc" @@ -13200,9 +13713,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.5" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" @@ -13215,9 +13728,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.8" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1" dependencies = [ "memchr", ] @@ -13258,7 +13771,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.2", + "curve25519-dalek 4.1.3", "rand_core 0.6.4", "serde", "zeroize", @@ -13289,7 +13802,18 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", +] + +[[package]] +name = "xcm-procedural" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +dependencies = [ + "Inflector", + "proc-macro2", + "quote", + "syn 2.0.68", ] [[package]] @@ -13298,28 +13822,28 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "pallet-transaction-payment", "parity-scale-codec", "permissions", "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-staking 4.0.0-dev", + "sp-std 8.0.0", ] [[package]] @@ -13333,17 +13857,16 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "log", "mock-liquidity-source", "oracle-proxy", "orml-currencies", "orml-tokens", - "orml-traits", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", @@ -13351,11 +13874,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", ] @@ -13371,26 +13894,26 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev", + "frame-support 4.0.0-dev", + "frame-system 4.0.0-dev", "hex-literal", "mock-liquidity-source", "oracle-proxy", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp", + "pallet-timestamp 4.0.0-dev", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0", + "sp-io 23.0.0", + "sp-runtime 24.0.0", + "sp-std 8.0.0", "technical", "trading-pair", "xst", @@ -13402,10 +13925,10 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" dependencies = [ - "futures 0.3.30", + "futures", "log", "nohash-hasher", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "static_assertions", ] @@ -13421,29 +13944,29 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.34" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -13456,7 +13979,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.65", + "syn 2.0.68", ] [[package]] @@ -13499,9 +14022,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.11+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "75652c55c0b6f3e6f12eb786fe1bc960396bf05a1eb3bf1f3691c3610ac2e6d4" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 1020fbf090..e58f10a38a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,98 +1,98 @@ [patch.crates-io] -sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} +# sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} # The latest versions of thread_local (1.1.2) had a memory leak. This version doesn't have it. thread_local = { git = "https://github.com/sora-xor/thread_local-rs.git", branch = "patch-1.0.1" } # [patch.crates-io] -# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } #jsonrpc-core = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } #jsonrpc-ws-server = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } @@ -137,7 +137,6 @@ pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } -pallet-insecure-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip" } pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } @@ -203,7 +202,7 @@ sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-m sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } @@ -215,107 +214,17 @@ substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-bui try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } staging-xcm = { path = "../sora-polkadot-sdk/polkadot/xcm" } pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } -frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } -frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } -frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } -frame-system-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/system/benchmarking" } -frame-system-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/system/rpc/runtime-api" } -frame-election-provider-support = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-support" } -pallet-aura = { path = "../sora-polkadot-sdk/substrate/frame/aura" } -pallet-authorship = { path = "../sora-polkadot-sdk/substrate/frame/authorship" } -pallet-babe = { path = "../sora-polkadot-sdk/substrate/frame/babe" } -pallet-balances = { path = "../sora-polkadot-sdk/substrate/frame/balances" } -pallet-collective = { path = "../sora-polkadot-sdk/substrate/frame/collective" } -pallet-democracy = { path = "../sora-polkadot-sdk/substrate/frame/democracy" } -pallet-elections-phragmen = { path = "../sora-polkadot-sdk/substrate/frame/elections-phragmen" } -pallet-grandpa = { path = "../sora-polkadot-sdk/substrate/frame/grandpa" } -pallet-identity = { path = "../sora-polkadot-sdk/substrate/frame/identity" } -pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } -pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } -pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } -pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } -pallet-insecure-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip" } -pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } -pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } -pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } -pallet-timestamp = { path = "../sora-polkadot-sdk/substrate/frame/timestamp" } -pallet-transaction-payment = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment" } -pallet-transaction-payment-rpc = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc" } -pallet-transaction-payment-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc/runtime-api" } -pallet-utility = { path = "../sora-polkadot-sdk/substrate/frame/utility" } -pallet-bags-list = { path = "../sora-polkadot-sdk/substrate/frame/bags-list" } -pallet-election-provider-multi-phase = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-multi-phase" } -sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-authorship" } -sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } -sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} -sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} -sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus/common"} +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } # sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} -sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} -sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} -sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} -sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} -sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} -sc-keystore = { path = "../sora-polkadot-sdk/substrate/client/keystore"} # sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} -sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} -sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} -sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} -sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} -sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} -sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} -sc-transaction-pool-api = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool/api"} -sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} -sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} -sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} -sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} -sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} -sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} # sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} -sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} -sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} -sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/beefy"} -sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} -sp-database = { path = "../sora-polkadot-sdk/substrate/primitives/database"} # sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} -sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} -sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} -sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} -sp-npos-elections = { path = "../sora-polkadot-sdk/substrate/primitives/npos-elections"} -sp-runtime = { path = "../sora-polkadot-sdk/substrate/primitives/runtime"} -sp-runtime-interface = { path = "../sora-polkadot-sdk/substrate/primitives/runtime-interface"} -sp-session = { path = "../sora-polkadot-sdk/substrate/primitives/session"} -sp-staking = { path = "../sora-polkadot-sdk/substrate/primitives/staking"} -sp-std = { path = "../sora-polkadot-sdk/substrate/primitives/std"} -sp-storage = { path = "../sora-polkadot-sdk/substrate/primitives/storage"} -sp-timestamp = { path = "../sora-polkadot-sdk/substrate/primitives/timestamp"} -sp-transaction-pool = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-pool"} -sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} -sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} -sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} -sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} -sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} -sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} -sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} -sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } -sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } -substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } # pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } -substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } -sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } -pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } -substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } -try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } -pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } mmr-rpc = { path = "../sora-polkadot-sdk/substrate/client/merkle-mountain-range/rpc" } pallet-beefy-mmr = { path = "../sora-polkadot-sdk/substrate/frame/beefy-mmr" } pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/merkle-mountain-range" } diff --git a/common/Cargo.toml b/common/Cargo.toml index 27973e3678..5093c0f36c 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -20,8 +20,8 @@ fixnum = { git = "https://github.com/sora-xor/fixnum", branch = "sora-v2.1.0", d "scale-info", "serde", ] } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } secp256k1 = { version = "0.7", features = [ 'hmac', ], default-features = false, package = "libsecp256k1" } @@ -29,19 +29,19 @@ thiserror = "1.0" num-traits = { version = "0.2.12", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } paste = "1.0.0" -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0", features = [ "derive", ], default-features = false } smallvec = "1.7.0" strum = { version = "0.25.0", features = ["derive"], default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } static_assertions = "1.1.0" hex-literal = "0.4.1" env_logger = { version = "0.10.0", optional = true } diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index a8f86076cd..b160fe1ad5 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -9,25 +9,25 @@ codec = { package = "parity-scale-codec", version = "3", features = [ "derive", "chain-error", ] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } hex-literal = "0.4.1" -sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", package = "finality-grandpa" } -sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-network-common = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", package = "finality-grandpa" } +sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-network-common = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "add_sora_substrate_commits", package = "pallet-multisig" } common = { path = "../../common" } faucet = { path = "../../pallets/faucet", optional = true } diff --git a/pallets/apollo-platform/Cargo.toml b/pallets/apollo-platform/Cargo.toml index 31ea75a1b5..f825041323 100644 --- a/pallets/apollo-platform/Cargo.toml +++ b/pallets/apollo-platform/Cargo.toml @@ -17,20 +17,20 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } price-tools = { path = "../price-tools", default-features = false } liquidity-proxy = { path = "../liquidity-proxy", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } @@ -43,8 +43,8 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } apollo-platform = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/assets/Cargo.toml b/pallets/assets/Cargo.toml index 81e1e6ddde..02f86a492f 100644 --- a/pallets/assets/Cargo.toml +++ b/pallets/assets/Cargo.toml @@ -11,29 +11,30 @@ version = "1.3.1" targets = ["x86_64-unknown-linux-gnu"] [dependencies] +log = "0.4.20" codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" serde = { version = "1.0.128", default-features = false, optional = true, features = [ "derive", ] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tiny-keccak = { version = "2.0.2", features = ["keccak"] } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", features = ["test"] } permissions = { path = "../permissions" } diff --git a/pallets/assets/rpc/Cargo.toml b/pallets/assets/rpc/Cargo.toml index 0c2f043a06..1fdada1804 100644 --- a/pallets/assets/rpc/Cargo.toml +++ b/pallets/assets/rpc/Cargo.toml @@ -10,11 +10,11 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } assets-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/assets/runtime-api/Cargo.toml b/pallets/assets/runtime-api/Cargo.toml index b144d5b681..53c8f57f6f 100644 --- a/pallets/assets/runtime-api/Cargo.toml +++ b/pallets/assets/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } [dev-dependencies] diff --git a/pallets/band/Cargo.toml b/pallets/band/Cargo.toml index 2284b3a49c..137790b052 100644 --- a/pallets/band/Cargo.toml +++ b/pallets/band/Cargo.toml @@ -15,21 +15,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", default-features = false } hex-literal = "0.4.1" fallible-iterator = { version = "0.3.0", default-features = false } log = { version = "0.4.20" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } xst = { path = "../xst", default-features = false } diff --git a/pallets/bridge-proxy/Cargo.toml b/pallets/bridge-proxy/Cargo.toml index 71016ebccb..10717b43ee 100644 --- a/pallets/bridge-proxy/Cargo.toml +++ b/pallets/bridge-proxy/Cargo.toml @@ -11,14 +11,14 @@ codec = { version = "3", package = "parity-scale-codec", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", default-features = false } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } technical = { path = "../technical", default-features = false } @@ -26,7 +26,7 @@ permissions = { path = "../permissions", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } # delete after migration LiberlandGenericAccount pass -xcm = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, package = "staging-xcm" } +xcm = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, package = "staging-xcm" } [dev-dependencies] common = { path = "../../common", features = ["test"] } @@ -36,8 +36,8 @@ dispatch = { git = "https://github.com/sora-xor/sora2-common.git" } evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git" } bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git" } -sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits" } diff --git a/pallets/bridge-proxy/rpc/Cargo.toml b/pallets/bridge-proxy/rpc/Cargo.toml index 1229bd12cd..d6843391a2 100644 --- a/pallets/bridge-proxy/rpc/Cargo.toml +++ b/pallets/bridge-proxy/rpc/Cargo.toml @@ -14,12 +14,12 @@ codec = { package = "parity-scale-codec", version = "3" } scale-info = { version = "2", default-features = false, features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } bridge-proxy-runtime-api = { path = "../runtime-api" } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git" } diff --git a/pallets/bridge-proxy/runtime-api/Cargo.toml b/pallets/bridge-proxy/runtime-api/Cargo.toml index 48f6e91422..1150c678e9 100644 --- a/pallets/bridge-proxy/runtime-api/Cargo.toml +++ b/pallets/bridge-proxy/runtime-api/Cargo.toml @@ -15,9 +15,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } [features] diff --git a/pallets/ceres-governance-platform/Cargo.toml b/pallets/ceres-governance-platform/Cargo.toml index 14c2061a3d..b57463df4d 100644 --- a/pallets/ceres-governance-platform/Cargo.toml +++ b/pallets/ceres-governance-platform/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] assets = { path = "../assets" } @@ -39,8 +39,8 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } ceres-governance-platform = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-launchpad/Cargo.toml b/pallets/ceres-launchpad/Cargo.toml index ae04743553..6412a2d050 100644 --- a/pallets/ceres-launchpad/Cargo.toml +++ b/pallets/ceres-launchpad/Cargo.toml @@ -20,14 +20,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } @@ -36,7 +36,7 @@ pswap-distribution = { path = "../pswap-distribution", default-features = false vested-rewards = { path = "../vested-rewards", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -44,9 +44,9 @@ assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../demeter-farming-platform" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } permissions = { path = "../permissions" } technical = { path = "../technical" } pswap-distribution = { path = "../pswap-distribution" } diff --git a/pallets/ceres-liquidity-locker/Cargo.toml b/pallets/ceres-liquidity-locker/Cargo.toml index 4ad77cb151..42354fed2e 100644 --- a/pallets/ceres-liquidity-locker/Cargo.toml +++ b/pallets/ceres-liquidity-locker/Cargo.toml @@ -19,16 +19,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" @@ -39,8 +39,8 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } ceres-liquidity-locker = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml b/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml index 8417bb1b75..1f5226f3aa 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml +++ b/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml @@ -19,18 +19,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } permissions = { path = "../../permissions", default-features = false } pswap-distribution = { path = "../../pswap-distribution", default-features = false } hex-literal = "0.4.1" @@ -38,9 +38,9 @@ hex-literal = "0.4.1" [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker" } serde = { version = "1.0.101", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } dex-manager = { path = "../../dex-manager" } dex-api = { path = "../../dex-api" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } diff --git a/pallets/ceres-staking/Cargo.toml b/pallets/ceres-staking/Cargo.toml index 7a01fd44ee..eba2863fd6 100644 --- a/pallets/ceres-staking/Cargo.toml +++ b/pallets/ceres-staking/Cargo.toml @@ -16,14 +16,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } @@ -34,9 +34,9 @@ hex-literal = "0.4.1" assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } permissions = { path = "../permissions" } technical = { path = "../technical", default-features = false } diff --git a/pallets/ceres-token-locker/Cargo.toml b/pallets/ceres-token-locker/Cargo.toml index cd961edea6..f371f34590 100644 --- a/pallets/ceres-token-locker/Cargo.toml +++ b/pallets/ceres-token-locker/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -39,10 +39,10 @@ common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../demeter-farming-platform" } dex-manager = { path = "../dex-manager" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } pool-xyk = { path = "../pool-xyk" } pswap-distribution = { path = "../pswap-distribution" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } permissions = { path = "../permissions" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } diff --git a/pallets/demeter-farming-platform/Cargo.toml b/pallets/demeter-farming-platform/Cargo.toml index 0db0039aac..ce390ff02f 100644 --- a/pallets/demeter-farming-platform/Cargo.toml +++ b/pallets/demeter-farming-platform/Cargo.toml @@ -20,21 +20,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } pswap-distribution = { path = "../pswap-distribution", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" @@ -44,9 +44,9 @@ common = { path = "../../common", features = ["test"] } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = ".", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } permissions = { path = "../permissions" } technical = { path = "../technical" } pool-xyk = { path = "../pool-xyk" } diff --git a/pallets/demeter-farming-platform/benchmarking/Cargo.toml b/pallets/demeter-farming-platform/benchmarking/Cargo.toml index 106d2d0315..99789a6b36 100644 --- a/pallets/demeter-farming-platform/benchmarking/Cargo.toml +++ b/pallets/demeter-farming-platform/benchmarking/Cargo.toml @@ -18,13 +18,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } @@ -35,7 +35,7 @@ dex-manager = { path = "../../dex-manager", default-features = false } vested-rewards = { path = "../../vested-rewards", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } technical = { path = "../../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -43,8 +43,8 @@ assets = { path = "../../assets" } common = { path = "../../../common", features = ["test"] } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker" } serde = { version = "1.0.101", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } vested-rewards = { path = "../../vested-rewards" } diff --git a/pallets/dex-api/Cargo.toml b/pallets/dex-api/Cargo.toml index 21b4479423..70f167f6ac 100644 --- a/pallets/dex-api/Cargo.toml +++ b/pallets/dex-api/Cargo.toml @@ -19,28 +19,28 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../common", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } mock-liquidity-source = { path = "../mock-liquidity-source", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } strum = { version = "0.25.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/dex-api/rpc/Cargo.toml b/pallets/dex-api/rpc/Cargo.toml index 865ce113c8..a3a5c43c35 100644 --- a/pallets/dex-api/rpc/Cargo.toml +++ b/pallets/dex-api/rpc/Cargo.toml @@ -10,11 +10,11 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common" } dex-runtime-api = { path = "../runtime-api" } diff --git a/pallets/dex-api/runtime-api/Cargo.toml b/pallets/dex-api/runtime-api/Cargo.toml index 049c1b65ce..6dcc488e5f 100644 --- a/pallets/dex-api/runtime-api/Cargo.toml +++ b/pallets/dex-api/runtime-api/Cargo.toml @@ -12,10 +12,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } +scale-info = { version = "2", default-features = false, features = ["derive"] } [features] @@ -27,4 +28,5 @@ std = [ "sp-runtime/std", "sp-std/std", "common/std", + "scale-info/std" ] diff --git a/pallets/dex-manager/Cargo.toml b/pallets/dex-manager/Cargo.toml index 6f63630e27..baaab567cb 100644 --- a/pallets/dex-manager/Cargo.toml +++ b/pallets/dex-manager/Cargo.toml @@ -17,11 +17,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -32,8 +32,8 @@ permissions = { path = "../permissions", default-features = false } common = { path = "../../common", default-features = false, features = [ "test", ] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } [features] diff --git a/pallets/dex-manager/rpc/Cargo.toml b/pallets/dex-manager/rpc/Cargo.toml index 96e11bbcec..9cc07fe0ad 100644 --- a/pallets/dex-manager/rpc/Cargo.toml +++ b/pallets/dex-manager/rpc/Cargo.toml @@ -10,10 +10,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } dex-manager-runtime-api = { path = "../runtime-api" } diff --git a/pallets/dex-manager/runtime-api/Cargo.toml b/pallets/dex-manager/runtime-api/Cargo.toml index 1c6d1f16a1..61bdc62cf8 100644 --- a/pallets/dex-manager/runtime-api/Cargo.toml +++ b/pallets/dex-manager/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] default = ["std"] diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index f7c8631d03..d6473836f0 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -14,9 +14,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } hex-literal = "0.4.1" secp256k1 = { version = "0.7", features = [ 'hmac', @@ -31,11 +31,11 @@ serde = { version = "1.0", features = [ "derive", ], default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } ethabi = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi", default-features = false } @@ -55,18 +55,18 @@ bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = async-std = { version = "1.5", features = ["attributes", "unstable"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } env_logger = "0.10.0" -frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } parity-util-mem = { version = "0.12.0", default-features = false, features = [ "primitive-types", ] } parking_lot = "0.12.0" -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ "full_crypto", ] } -sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } tokio = { version = "1.10.1", default-features = false, features = ["macros"] } diff --git a/pallets/eth-bridge/rpc/Cargo.toml b/pallets/eth-bridge/rpc/Cargo.toml index bfaa6c02a4..375711deb5 100644 --- a/pallets/eth-bridge/rpc/Cargo.toml +++ b/pallets/eth-bridge/rpc/Cargo.toml @@ -11,8 +11,8 @@ version = "0.1.0" [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } eth-bridge-runtime-api = { path = "../runtime-api" } diff --git a/pallets/eth-bridge/runtime-api/Cargo.toml b/pallets/eth-bridge/runtime-api/Cargo.toml index 2571721468..196145f91e 100644 --- a/pallets/eth-bridge/runtime-api/Cargo.toml +++ b/pallets/eth-bridge/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] default = ["std"] diff --git a/pallets/extended-assets/Cargo.toml b/pallets/extended-assets/Cargo.toml index 84ef7cca74..3298892731 100644 --- a/pallets/extended-assets/Cargo.toml +++ b/pallets/extended-assets/Cargo.toml @@ -15,21 +15,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1", optional = true } common = { path = "../../common", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } hex-literal = { version = "0.4.1"} diff --git a/pallets/farming/Cargo.toml b/pallets/farming/Cargo.toml index 89e5bdc23b..9cf96619d0 100644 --- a/pallets/farming/Cargo.toml +++ b/pallets/farming/Cargo.toml @@ -17,16 +17,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } @@ -43,9 +43,9 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } env_logger = "0.10.0" hex-literal = { version = "0.4.1" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } log = "0.4.14" diff --git a/pallets/farming/rpc/Cargo.toml b/pallets/farming/rpc/Cargo.toml index 44f0ead8d2..99a4acf609 100644 --- a/pallets/farming/rpc/Cargo.toml +++ b/pallets/farming/rpc/Cargo.toml @@ -10,9 +10,9 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } farming-runtime-api = { path = "../runtime-api" } [features] diff --git a/pallets/farming/runtime-api/Cargo.toml b/pallets/farming/runtime-api/Cargo.toml index 8359dbd1a9..cf8e453f1e 100644 --- a/pallets/farming/runtime-api/Cargo.toml +++ b/pallets/farming/runtime-api/Cargo.toml @@ -8,8 +8,8 @@ homepage = 'https://sora.org' repository = 'https://github.com/sora-xor/sora2-network' [dependencies] -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } diff --git a/pallets/faucet/Cargo.toml b/pallets/faucet/Cargo.toml index 97157f00d0..973c6e12ca 100644 --- a/pallets/faucet/Cargo.toml +++ b/pallets/faucet/Cargo.toml @@ -16,14 +16,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", default-features = false } rewards = { path = "../rewards", default-features = false } @@ -31,9 +31,9 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } assets = { path = "../assets" } diff --git a/pallets/hermes-governance-platform/Cargo.toml b/pallets/hermes-governance-platform/Cargo.toml index 442b659a79..fb43260837 100644 --- a/pallets/hermes-governance-platform/Cargo.toml +++ b/pallets/hermes-governance-platform/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] assets = { path = "../assets" } @@ -40,7 +40,7 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } hermes-governance-platform = { path = ".", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } pool-xyk = { path = "../pool-xyk", default-features = false } diff --git a/pallets/iroha-migration/Cargo.toml b/pallets/iroha-migration/Cargo.toml index 594a98f483..a933c36417 100644 --- a/pallets/iroha-migration/Cargo.toml +++ b/pallets/iroha-migration/Cargo.toml @@ -16,17 +16,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex = { version = "0.4.2", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } sha3 = { version = "0.9.1", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } ed25519-dalek-iroha = { git = "https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git", branch = "develop", default-features = false, features = [ "u64_backend", @@ -39,15 +39,15 @@ eth-bridge = { path = "../eth-bridge", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } parity-util-mem = { version = "0.12.0", default-features = false, features = [ "primitive-types", ] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ "full_crypto", ] } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } diff --git a/pallets/iroha-migration/rpc/Cargo.toml b/pallets/iroha-migration/rpc/Cargo.toml index 44f4e5a58e..7504175c50 100644 --- a/pallets/iroha-migration/rpc/Cargo.toml +++ b/pallets/iroha-migration/rpc/Cargo.toml @@ -9,10 +9,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } # Path dependencies iroha-migration-runtime-api = { path = "../runtime-api" } diff --git a/pallets/iroha-migration/runtime-api/Cargo.toml b/pallets/iroha-migration/runtime-api/Cargo.toml index 50620de5a6..ff0524efd4 100644 --- a/pallets/iroha-migration/runtime-api/Cargo.toml +++ b/pallets/iroha-migration/runtime-api/Cargo.toml @@ -8,7 +8,7 @@ homepage = 'https://sora.org' repository = 'https://github.com/sora-xor/sora2-network' [dependencies] -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] default = ["std"] diff --git a/pallets/kensetsu/Cargo.toml b/pallets/kensetsu/Cargo.toml index 63ac375445..e72671e6ed 100644 --- a/pallets/kensetsu/Cargo.toml +++ b/pallets/kensetsu/Cargo.toml @@ -18,27 +18,27 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } common = { path = "../../common", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4", optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } permissions = { path = "../permissions", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", optional = true } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } permissions = { path = "../permissions" } hex-literal = "0.4" -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0"} +# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits"} tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [features] diff --git a/pallets/kensetsu/benchmarking/Cargo.toml b/pallets/kensetsu/benchmarking/Cargo.toml index d5a0d5d82e..d51f3ea4e0 100644 --- a/pallets/kensetsu/benchmarking/Cargo.toml +++ b/pallets/kensetsu/benchmarking/Cargo.toml @@ -16,13 +16,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } common = { path = "../../../common", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } kensetsu = { path = "..", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } price-tools = { path = "../../price-tools", default-features = false } diff --git a/pallets/liquidity-proxy/Cargo.toml b/pallets/liquidity-proxy/Cargo.toml index 0bda2e4392..84e52b04d5 100644 --- a/pallets/liquidity-proxy/Cargo.toml +++ b/pallets/liquidity-proxy/Cargo.toml @@ -18,17 +18,17 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", default-features = false } assets = { path = "../assets", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } itertools = { version = "0.10.5", default-features = false } fallible-iterator = { version = "0.2.0", default-features = false } @@ -36,8 +36,8 @@ fallible-iterator = { version = "0.2.0", default-features = false } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } dex-api = { path = "../dex-api" } dex-manager = { path = "../dex-manager" } framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } diff --git a/pallets/liquidity-proxy/benchmarking/Cargo.toml b/pallets/liquidity-proxy/benchmarking/Cargo.toml index b233df80ac..9bd3322bea 100644 --- a/pallets/liquidity-proxy/benchmarking/Cargo.toml +++ b/pallets/liquidity-proxy/benchmarking/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } liquidity-proxy = { path = "../../liquidity-proxy", default-features = false } @@ -38,12 +38,12 @@ dex-api = { path = "../../dex-api", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../../common", default-features = false, features = [ "test", diff --git a/pallets/liquidity-proxy/rpc/Cargo.toml b/pallets/liquidity-proxy/rpc/Cargo.toml index d8e8480f02..c3bc70d2bb 100644 --- a/pallets/liquidity-proxy/rpc/Cargo.toml +++ b/pallets/liquidity-proxy/rpc/Cargo.toml @@ -10,12 +10,12 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } liquidity-proxy-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/liquidity-proxy/runtime-api/Cargo.toml b/pallets/liquidity-proxy/runtime-api/Cargo.toml index 0cbe39085b..e92f97bab3 100644 --- a/pallets/liquidity-proxy/runtime-api/Cargo.toml +++ b/pallets/liquidity-proxy/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } [dev-dependencies] diff --git a/pallets/mock-liquidity-source/Cargo.toml b/pallets/mock-liquidity-source/Cargo.toml index 1e19677528..1d075f91d9 100644 --- a/pallets/mock-liquidity-source/Cargo.toml +++ b/pallets/mock-liquidity-source/Cargo.toml @@ -16,15 +16,15 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -35,9 +35,9 @@ permissions = { path = "../permissions", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" common = { path = "../../common", features = ["test"] } diff --git a/pallets/multicollateral-bonding-curve-pool/Cargo.toml b/pallets/multicollateral-bonding-curve-pool/Cargo.toml index 1f097016ea..b1f33a4b5f 100644 --- a/pallets/multicollateral-bonding-curve-pool/Cargo.toml +++ b/pallets/multicollateral-bonding-curve-pool/Cargo.toml @@ -17,17 +17,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } hex-literal = "0.4.1" orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } serde = { version = "1.0.101", default-features = false, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false } @@ -36,15 +36,15 @@ technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } price-tools = { path = "../price-tools", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/oracle-proxy/Cargo.toml b/pallets/oracle-proxy/Cargo.toml index 349d22f614..5db3d474b7 100644 --- a/pallets/oracle-proxy/Cargo.toml +++ b/pallets/oracle-proxy/Cargo.toml @@ -12,25 +12,25 @@ repository = 'https://github.com/sora-xor/sora2-network' targets = ['x86_64-unknown-linux-gnu'] [dependencies] -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } band = { path = "../band", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] default = ['std'] diff --git a/pallets/oracle-proxy/rpc/Cargo.toml b/pallets/oracle-proxy/rpc/Cargo.toml index 87f160dd7f..ac92a5e26b 100644 --- a/pallets/oracle-proxy/rpc/Cargo.toml +++ b/pallets/oracle-proxy/rpc/Cargo.toml @@ -13,7 +13,7 @@ repository = 'https://github.com/sora-xor/sora2-network' oracle-proxy-runtime-api = { path = "../runtime-api" } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } diff --git a/pallets/oracle-proxy/runtime-api/Cargo.toml b/pallets/oracle-proxy/runtime-api/Cargo.toml index d5341b79fc..009d12e60e 100644 --- a/pallets/oracle-proxy/runtime-api/Cargo.toml +++ b/pallets/oracle-proxy/runtime-api/Cargo.toml @@ -15,9 +15,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } [features] diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index 1b67414c49..4559cc9835 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -15,12 +15,12 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } technical = { path = "../technical", default-features = false } @@ -32,13 +32,13 @@ serde = { version = "1.0", features = [ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] default = ["std"] diff --git a/pallets/order-book/benchmarking/Cargo.toml b/pallets/order-book/benchmarking/Cargo.toml index 9cb5dd3461..34ab31cad1 100644 --- a/pallets/order-book/benchmarking/Cargo.toml +++ b/pallets/order-book/benchmarking/Cargo.toml @@ -15,26 +15,26 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } order-book = { path = "..", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } framenode-chain-spec = { path = "../../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../../runtime", default-features = false, features = [ "std", ] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] default = ["std"] diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index cd2fbb810a..d96811046a 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -17,16 +17,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } common = { path = "../../common", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } [features] default = ["std"] diff --git a/pallets/pool-xyk/Cargo.toml b/pallets/pool-xyk/Cargo.toml index 2d23d82de9..1ddbb4f0c3 100644 --- a/pallets/pool-xyk/Cargo.toml +++ b/pallets/pool-xyk/Cargo.toml @@ -18,14 +18,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } common = { path = "../../common", default-features = false } @@ -37,8 +37,8 @@ trading-pair = { path = "../trading-pair", default-features = false } [dev-dependencies] hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } permissions = { path = "../permissions" } diff --git a/pallets/pool-xyk/benchmarking/Cargo.toml b/pallets/pool-xyk/benchmarking/Cargo.toml index 8ed5e7a5d3..b607e5ae09 100644 --- a/pallets/pool-xyk/benchmarking/Cargo.toml +++ b/pallets/pool-xyk/benchmarking/Cargo.toml @@ -15,11 +15,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } @@ -27,16 +27,16 @@ technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } permissions = { path = "../../permissions", default-features = false } pswap-distribution = { path = "../../pswap-distribution", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = "0.4.1" [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } dex-manager = { path = "../../dex-manager", default-features = false } dex-api = { path = "../../dex-api", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } diff --git a/pallets/price-tools/Cargo.toml b/pallets/price-tools/Cargo.toml index 767bb4a1ec..bb14109441 100644 --- a/pallets/price-tools/Cargo.toml +++ b/pallets/price-tools/Cargo.toml @@ -16,28 +16,28 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false } pswap-distribution = { path = "../pswap-distribution", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/pswap-distribution/Cargo.toml b/pallets/pswap-distribution/Cargo.toml index 16f75a6b31..8fd46f8264 100644 --- a/pallets/pswap-distribution/Cargo.toml +++ b/pallets/pswap-distribution/Cargo.toml @@ -18,18 +18,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -37,13 +37,13 @@ common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } permissions = { path = "../permissions", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = { version = '0.4.1' } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } diff --git a/pallets/pswap-distribution/benchmarking/Cargo.toml b/pallets/pswap-distribution/benchmarking/Cargo.toml index 01d87efcad..f872fe0086 100644 --- a/pallets/pswap-distribution/benchmarking/Cargo.toml +++ b/pallets/pswap-distribution/benchmarking/Cargo.toml @@ -16,13 +16,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1" } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -33,19 +33,19 @@ pool-xyk = { path = "../../pool-xyk", default-features = false } pswap-distribution = { path = "..", default-features = false } technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } hex-literal = { version = '0.4.1' } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } serde = { version = "1.0.101", features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } common = { path = "../../../common", features = ["test"] } dex-manager = { path = "../../dex-manager" } diff --git a/pallets/pswap-distribution/rpc/Cargo.toml b/pallets/pswap-distribution/rpc/Cargo.toml index e04ddc22ae..37d7e6cd94 100644 --- a/pallets/pswap-distribution/rpc/Cargo.toml +++ b/pallets/pswap-distribution/rpc/Cargo.toml @@ -10,11 +10,11 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } pswap-distribution-runtime-api = { path = "../runtime-api" } diff --git a/pallets/pswap-distribution/runtime-api/Cargo.toml b/pallets/pswap-distribution/runtime-api/Cargo.toml index 8c0c54fdf4..bb99d9e6a1 100644 --- a/pallets/pswap-distribution/runtime-api/Cargo.toml +++ b/pallets/pswap-distribution/runtime-api/Cargo.toml @@ -12,9 +12,10 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../../common", default-features = false } @@ -29,4 +30,5 @@ std = [ "sp-api/std", "sp-runtime/std", "sp-std/std", + "scale-info/std" ] diff --git a/pallets/qa-tools/Cargo.toml b/pallets/qa-tools/Cargo.toml index e88e999957..f98592edf6 100644 --- a/pallets/qa-tools/Cargo.toml +++ b/pallets/qa-tools/Cargo.toml @@ -19,11 +19,11 @@ common = { path = "../../common", default-features = false } rand = { version = "0.8.5", default-features = false } rand_chacha = { version = "0.3.1", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } band = { path = "../band", default-features = false } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } @@ -38,10 +38,10 @@ framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../runtime", default-features = false, features = [ "std", ] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets", default-features = false } [features] diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index 02f3b2b70f..b5690d08d3 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -16,21 +16,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", default-features = false } hex-literal = { version = "0.4.1", default-features = false, optional = true } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false, optional = true } [dev-dependencies] common = { path = "../../common", features = ["test"] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } permissions = { path = "../permissions" } diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index 9c5edb0207..e77eb826b9 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1", default-features = false } secp256k1 = { version = "0.7", features = [ "hmac", "static-context", ], default-features = false, package = "libsecp256k1" } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } @@ -37,8 +37,8 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } diff --git a/pallets/rewards/rpc/Cargo.toml b/pallets/rewards/rpc/Cargo.toml index e9ea863690..e07fbf584b 100644 --- a/pallets/rewards/rpc/Cargo.toml +++ b/pallets/rewards/rpc/Cargo.toml @@ -11,11 +11,11 @@ repository = 'https://github.com/sora-xor/sora2-network' codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } rewards-runtime-api = { path = "../runtime-api" } diff --git a/pallets/technical/Cargo.toml b/pallets/technical/Cargo.toml index 4af6462486..06799ec390 100644 --- a/pallets/technical/Cargo.toml +++ b/pallets/technical/Cargo.toml @@ -17,24 +17,24 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } twox-hash = { version = "1.5.0", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false, optional = true } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } hex-literal = "0.4.1" assets = { path = "../assets" } diff --git a/pallets/trading-pair/Cargo.toml b/pallets/trading-pair/Cargo.toml index 82504f64b5..0376286d1c 100644 --- a/pallets/trading-pair/Cargo.toml +++ b/pallets/trading-pair/Cargo.toml @@ -16,16 +16,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1", optional = true } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -33,8 +33,8 @@ common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/trading-pair/rpc/Cargo.toml b/pallets/trading-pair/rpc/Cargo.toml index ecc41c7c67..f66b781876 100644 --- a/pallets/trading-pair/rpc/Cargo.toml +++ b/pallets/trading-pair/rpc/Cargo.toml @@ -10,10 +10,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } trading-pair-runtime-api = { path = "../runtime-api" } diff --git a/pallets/trading-pair/runtime-api/Cargo.toml b/pallets/trading-pair/runtime-api/Cargo.toml index fe40a4bb4c..90dbeba7c1 100644 --- a/pallets/trading-pair/runtime-api/Cargo.toml +++ b/pallets/trading-pair/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [features] diff --git a/pallets/vested-rewards/Cargo.toml b/pallets/vested-rewards/Cargo.toml index b29e8c67e1..7e36670db0 100644 --- a/pallets/vested-rewards/Cargo.toml +++ b/pallets/vested-rewards/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } hex-literal = { version = "0.4.1" } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex = { version = "0.4", default-features = false, features = ["serde"] } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } serde_bytes = { version = "0.11", default-features = false, features = [ @@ -37,11 +37,11 @@ serde_bytes = { version = "0.11", default-features = false, features = [ ] } serde_json = { version = "1.0", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } itertools = { version = "0.10.5", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } diff --git a/pallets/vested-rewards/rpc/Cargo.toml b/pallets/vested-rewards/rpc/Cargo.toml index 9c51103705..b2e50ec046 100644 --- a/pallets/vested-rewards/rpc/Cargo.toml +++ b/pallets/vested-rewards/rpc/Cargo.toml @@ -13,11 +13,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } vested-rewards-runtime-api = { path = "../runtime-api" } diff --git a/pallets/vested-rewards/runtime-api/Cargo.toml b/pallets/vested-rewards/runtime-api/Cargo.toml index 78f4b2ae11..588db0e45f 100644 --- a/pallets/vested-rewards/runtime-api/Cargo.toml +++ b/pallets/vested-rewards/runtime-api/Cargo.toml @@ -12,12 +12,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../../common", default-features = false } [features] default = ["std"] -std = ["codec/std", "serde", "sp-api/std", "sp-runtime/std", "sp-std/std"] +std = ["codec/std", "serde", "sp-api/std", "sp-runtime/std", "sp-std/std", "scale-info/std"] diff --git a/pallets/xor-fee/Cargo.toml b/pallets/xor-fee/Cargo.toml index 60d137d804..ecf63b282e 100644 --- a/pallets/xor-fee/Cargo.toml +++ b/pallets/xor-fee/Cargo.toml @@ -17,29 +17,29 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ "historical", ] } -pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } serde = { version = "1.0.101", features = ["derive"], optional = true } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } smallvec = "1.5.0" common = { path = "../../common", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/xst/Cargo.toml b/pallets/xst/Cargo.toml index f7c65933de..cbe8d9565d 100644 --- a/pallets/xst/Cargo.toml +++ b/pallets/xst/Cargo.toml @@ -18,16 +18,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1" } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../common", default-features = false } dex-api = { path = "../dex-api", default-features = false } @@ -37,15 +37,15 @@ technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } price-tools = { path = "../price-tools", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker" } demeter-farming-platform = { path = "../demeter-farming-platform" } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/xst/benchmarking/Cargo.toml b/pallets/xst/benchmarking/Cargo.toml index e43d6f5a27..90e9e1a95d 100644 --- a/pallets/xst/benchmarking/Cargo.toml +++ b/pallets/xst/benchmarking/Cargo.toml @@ -13,13 +13,13 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } hex-literal = { version = "0.4.1" } -sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } permissions = { path = "../../permissions", default-features = false } dex-manager = { path = "../../dex-manager", default-features = false } @@ -35,9 +35,9 @@ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library price-tools = { path = "../../price-tools", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } dex-api = { path = "../../dex-api", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index a00c732140..594bf6fc7a 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -11,7 +11,7 @@ version = "3.5.0" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } [dependencies] codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ @@ -27,11 +27,11 @@ serde = { features = [ 'derive', ], default-features = false, optional = true, version = '1.0.101' } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig", default-features = false } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "add_sora_substrate_commits", package = "pallet-multisig", default-features = false } bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } -sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, package = "sp-consensus-beefy" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } +sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, package = "sp-consensus-beefy" } +sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } @@ -106,59 +106,59 @@ xst = { path = "../pallets/xst", default-features = false } xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } # Substrate dependencies -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = [ +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ "tuples-96", ] } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, optional = true } -pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, package = "pallet-insecure-randomness-collective-flip" } -pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false, features = ["historical"] } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, package = "pallet-insecure-randomness-collective-flip" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } # Other currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } @@ -171,8 +171,8 @@ bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-f env_logger = "0.10.0" framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } tokio = { version = "1.19.2", features = ["macros"] } -sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } [features] default = ["std", "build-wasm-binary"] diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index 07dce121c0..e8c3e5277a 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -8,11 +8,11 @@ edition = "2021" [dependencies] clap = { version = "=4.5.4", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } chrono = { version = "0.4.19" } num-format = { version = "0.4.0" } diff --git a/utils/remote-ext/Cargo.toml b/utils/remote-ext/Cargo.toml index 83fe4b60cc..30a71ec45d 100644 --- a/utils/remote-ext/Cargo.toml +++ b/utils/remote-ext/Cargo.toml @@ -18,16 +18,16 @@ anyhow = "1.0.51" env_logger = "0.10.0" hex = "0.4.3" -frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } framenode-runtime = { path = "../../runtime", default-features = false, features = [ "std", diff --git a/utils/wasm-builder/Cargo.toml b/utils/wasm-builder/Cargo.toml index b53004a6fd..916646fa3a 100644 --- a/utils/wasm-builder/Cargo.toml +++ b/utils/wasm-builder/Cargo.toml @@ -8,4 +8,4 @@ version = "0.1.0" edition = "2021" [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } From 6eb96705c292beaa2aba9f797e47f49a0b5c8aaf Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 01:10:27 +0300 Subject: [PATCH 041/110] refactor: update chain_spec & service --- node/Cargo.toml | 115 +++++++++++++++++++------------------ node/chain_spec/src/lib.rs | 2 + node/src/service.rs | 6 +- 3 files changed, 64 insertions(+), 59 deletions(-) diff --git a/node/Cargo.toml b/node/Cargo.toml index e70143ecab..3caf1a89e8 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -11,6 +11,7 @@ path = "src/main.rs" [dependencies] futures-timer = "3.0.2" +futures = "0.3" log = "0.4.8" codec = { package = "parity-scale-codec", version = "3", features = [ "derive", @@ -22,7 +23,7 @@ ansi_term = "0.12.1" serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" jsonrpsee = { version = "0.16.2", features = ["server"] } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v0.9.38", package = "pallet-multisig" } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "add_sora_substrate_commits", package = "pallet-multisig" } secp256k1 = { version = "0.7", features = ["hmac"], package = "libsecp256k1" } framenode-chain-spec = { path = "chain_spec" } @@ -50,63 +51,63 @@ framenode-runtime = { path = "../runtime" } # Substrate dependencies bridge-proxy-rpc = { path = "../pallets/bridge-proxy/rpc" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-client-db = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } -sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" } -pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", optional = true } -substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", package = "sp-consensus-beefy" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-beefy-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -mmr-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-client-db = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", optional = true } +sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-transaction-storage-proof = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", optional = true } +substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", package = "sp-consensus-beefy" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-beefy-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +mmr-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git" } -sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } enum-as-inner = "=0.5.1" -sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } -sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } # TODO remove after toolchain is updated # newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` @@ -125,7 +126,7 @@ assert_cmd = "=2.0.13" tokio = { version = "1.10.1", features = ["macros"] } # Substrate dependencies -pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "release-polkadot-v1.1.0" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } framenode-chain-spec = { path = "chain_spec", features = ["test"] } diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 15b44f10ae..89c3b5ca50 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -49,6 +49,8 @@ use framenode_runtime::multicollateral_bonding_curve_pool::{ DistributionAccount, DistributionAccountData, DistributionAccounts, }; use framenode_runtime::opaque::SessionKeys; +use framenode_runtime::RuntimeGenesisConfig; + #[cfg(feature = "wip")] use framenode_runtime::BridgeOutboundChannelConfig; use framenode_runtime::{ diff --git a/node/src/service.rs b/node/src/service.rs index 631d881b61..cd90721c77 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -39,6 +39,7 @@ use framenode_runtime::eth_bridge::{ }; use framenode_runtime::opaque::Block; use framenode_runtime::{self, Runtime, RuntimeApi}; +use futures::prelude::*; use log::debug; use prometheus_endpoint::Registry; use sc_client_api::{Backend, BlockBackend}; @@ -61,6 +62,8 @@ use std::sync::Arc; use std::time::Duration; use telemetry::{Telemetry, TelemetryWorker, TelemetryWorkerHandle}; +use mmr_gadget::MmrGadget; + type FullClient = sc_service::TFullClient>; type FullBackend = sc_service::TFullBackend; @@ -529,7 +532,6 @@ pub fn new_full( // ) // .expect("failed to build offchain workers"); // use futures::stream::Stream; - use futures::FutureExt; // use sc_network::event::SyncEventStream; task_manager.spawn_handle().spawn( @@ -680,7 +682,7 @@ pub fn new_full( task_manager.spawn_handle().spawn_blocking( "mmr-gadget", None, - mmr_gadget::MmrGadget::start( + MmrGadget::start( client.clone(), backend.clone(), sp_mmr_primitives::INDEXING_PREFIX.to_vec(), From 7847f8c193a3dccc4c27a49567e3a0540bffd25f Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 01:50:01 +0300 Subject: [PATCH 042/110] refactor: update mocks files --- pallets/bridge-proxy/src/mock.rs | 1 - pallets/ceres-launchpad/src/mock.rs | 2 +- .../ceres-liquidity-locker/benchmarking/src/mock.rs | 6 +++--- pallets/ceres-staking/src/mock.rs | 6 +++--- pallets/demeter-farming-platform/src/mock.rs | 2 +- pallets/dex-api/src/mock.rs | 1 - pallets/farming/src/mock.rs | 2 -- pallets/rewards/src/mock.rs | 6 +++--- pallets/technical/src/mock.rs | 5 +---- pallets/trading-pair/src/mock.rs | 9 ++++----- pallets/vested-rewards/src/mock.rs | 12 ++++-------- pallets/xor-fee/src/mock.rs | 9 +++++---- pallets/xst/src/mock.rs | 10 ++++------ 13 files changed, 29 insertions(+), 42 deletions(-) diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 44f36218e4..a73fa6c13a 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -127,7 +127,6 @@ impl permissions::Config for Test { type RuntimeEvent = RuntimeEvent; } - impl pallet_balances::Config for Test { type Balance = Balance; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index b39cb56cfb..e4ed5e0266 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -19,7 +19,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; -use sp_runtime::{MultiSignature, Perbill, Percent, BuildStorage}; +use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; pub type BlockNumber = u64; diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index ee2983b5ee..ead83625c1 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -5,8 +5,9 @@ use crate::{Config, *}; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::{ fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_pallet_timestamp_config, mock_permissions_config - mock_tokens_config, Amount, DEXId, DEXInfo, Fixed, PSWAP, TBCD, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, DEXId, DEXInfo, + Fixed, PSWAP, TBCD, XST, }; use currencies::BasicCurrencyAdapter; @@ -204,7 +205,6 @@ impl pswap_distribution::Config for Runtime { type AssetInfoProvider = assets::Pallet; } - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index 055cfd0cbd..2c25eda037 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -5,9 +5,9 @@ pub use common::TechAssetId as Tas; pub use common::TechPurpose::*; use common::{ balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config - mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, - Description, CERES_ASSET_ID, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, + ContentSource, DEXId, Description, CERES_ASSET_ID, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild, Hooks}; diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index cf1b55d316..ce8d874de9 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -58,7 +58,7 @@ pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); -mock_pallet_balances_config!(Runtime); +/* mock_pallet_balances_config!(Runtime); */ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index 63905d274e..79334272ab 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -298,7 +298,6 @@ impl common::Config for Runtime { type LstId = common::LiquiditySourceType; } - impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index dc9d36f27f..1f7f16e68e 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -193,8 +193,6 @@ impl common::Config for Runtime { type LstId = common::LiquiditySourceType; } - - impl tokens::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index 123644fade..22505af09a 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -43,9 +43,9 @@ use common::mock::ExistentialDeposits; use common::prelude::{Balance, OnValBurned}; use common::{ self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config, - mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, TechPurpose, - DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, + TechPurpose, DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, }; use permissions::{Scope, BURN, MINT}; diff --git a/pallets/technical/src/mock.rs b/pallets/technical/src/mock.rs index 6cee2facfb..6912574199 100644 --- a/pallets/technical/src/mock.rs +++ b/pallets/technical/src/mock.rs @@ -33,7 +33,7 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::{ mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_tokens_config, mock_permissions_config, DEXId, XST, + mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, DEXId, XST, }; use currencies::BasicCurrencyAdapter; use dispatch::DispatchResult; @@ -96,8 +96,6 @@ mock_tokens_config!(Runtime); mock_permissions_config!(Runtime); mock_assets_config!(Runtime); - - impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; @@ -114,7 +112,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } - parameter_types! { pub GetBuyBackAssetId: AssetId = XST.into(); } diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 8ec0d66e8a..3304b91313 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -32,10 +32,10 @@ use crate::{self as trading_pair, Config}; use common::mock::ExistentialDeposits; use common::prelude::{Balance, DEXInfo}; use common::{ - hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_permissions_config, - mock_pallet_balances_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, - BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, DOT, KSM, XOR, - XST, XSTUSD, + hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, + mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, AssetName, + AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, + DOT, KSM, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -149,7 +149,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } - impl dex_manager::Config for Runtime {} pub struct ExtBuilder { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 76662b6f06..4138b6365d 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -34,10 +34,10 @@ use common::prelude::{Balance, DEXInfo}; use common::prelude::{LiquiditySourceType, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_pallet_timestamp_config, mock_permissions_config - mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, - Description, Fixed, LiquidityProxyTrait, LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, - KSM, PSWAP, TBCD, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, AssetId32, AssetName, + AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, Fixed, LiquidityProxyTrait, + LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, KSM, PSWAP, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -159,8 +159,6 @@ parameter_types! { pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); } - - impl Config for Runtime { const BLOCKS_PER_DAY: BlockNumber = 14400; type RuntimeEvent = RuntimeEvent; @@ -273,8 +271,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } - - impl dex_manager::Config for Runtime {} impl ceres_liquidity_locker::Config for Runtime { diff --git a/pallets/xor-fee/src/mock.rs b/pallets/xor-fee/src/mock.rs index a4aba3a2c1..96a8eb4138 100644 --- a/pallets/xor-fee/src/mock.rs +++ b/pallets/xor-fee/src/mock.rs @@ -38,10 +38,11 @@ use common::weights::constants::SMALL_FEE; #[cfg(feature = "wip")] // Dynamic fee use common::DAI; use common::{ - self, balance, mock_assets_config, mock_common_config, mock_currencies_config, mock_permissions_config - mock_frame_system_config, mock_pallet_balances_config, mock_tokens_config, Amount, AssetId32, - AssetName, AssetSymbol, LiquidityProxyTrait, LiquiditySourceFilter, LiquiditySourceType, - OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, VAL, XOR, + self, balance, mock_assets_config, mock_common_config, mock_currencies_config, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, LiquidityProxyTrait, + LiquiditySourceFilter, LiquiditySourceType, OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, + VAL, XOR, }; #[cfg(feature = "wip")] // Dynamic fee use sp_arithmetic::FixedU128; diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 5a49981aec..2bd2993511 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -33,10 +33,10 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::{Balance, PriceToolsProvider}; use common::{ self, balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config, mock_pallet_timestamp_config - mock_tokens_config, Amount, AssetId32, AssetIdOf, AssetName, AssetSymbol, DEXInfo, Fixed, - FromGenericPair, PriceVariant, DAI, DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, - XST, XSTUSD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, AssetId32, + AssetIdOf, AssetName, AssetSymbol, DEXInfo, Fixed, FromGenericPair, PriceVariant, DAI, + DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -234,8 +234,6 @@ impl dex_api::Config for Runtime { type WeightInfo = (); } - - impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; From 7930f21feb981597031902bff8b36047bcacc6fb Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 16:40:58 +0300 Subject: [PATCH 043/110] refator: update migrations files --- pallets/ceres-governance-platform/src/migrations.rs | 2 +- pallets/ceres-liquidity-locker/src/migrations.rs | 2 +- pallets/ceres-token-locker/src/migrations.rs | 2 +- pallets/dex-manager/src/migrations/kusd_dex.rs | 3 ++- pallets/kensetsu/src/migrations.rs | 8 ++++---- .../src/migrations/v4.rs | 2 +- pallets/pool-xyk/src/migrations/v3.rs | 2 +- pallets/pswap-distribution/src/migrations.rs | 3 ++- pallets/xor-fee/src/migrations.rs | 12 ++++++++---- 9 files changed, 21 insertions(+), 15 deletions(-) diff --git a/pallets/ceres-governance-platform/src/migrations.rs b/pallets/ceres-governance-platform/src/migrations.rs index 0078ecf5a3..712a60096a 100644 --- a/pallets/ceres-governance-platform/src/migrations.rs +++ b/pallets/ceres-governance-platform/src/migrations.rs @@ -3,9 +3,9 @@ use codec::{Decode, Encode}; use common::generate_storage_instance; use common::{AssetIdOf, CERES_ASSET_ID}; use frame_support::pallet_prelude::*; -use sp_tracing::info; use frame_support::BoundedVec; use hex_literal::hex; +use log::info; use sp_core::H256; use sp_io::hashing::blake2_256; use sp_std::collections::btree_map::BTreeMap; diff --git a/pallets/ceres-liquidity-locker/src/migrations.rs b/pallets/ceres-liquidity-locker/src/migrations.rs index 625536e2c5..94311f28e4 100644 --- a/pallets/ceres-liquidity-locker/src/migrations.rs +++ b/pallets/ceres-liquidity-locker/src/migrations.rs @@ -2,7 +2,7 @@ use crate::{Config, LockInfo, LockerData, Timestamp, Weight}; use common::{convert_block_number_to_timestamp, AssetIdOf, Balance}; use frame_support::traits::Get; use frame_system::pallet_prelude::BlockNumberFor; -use sp_tracing::info; +use log::info; use sp_std::vec::Vec; pub fn migrate() -> Weight { diff --git a/pallets/ceres-token-locker/src/migrations.rs b/pallets/ceres-token-locker/src/migrations.rs index b626725d4a..33d50b7817 100644 --- a/pallets/ceres-token-locker/src/migrations.rs +++ b/pallets/ceres-token-locker/src/migrations.rs @@ -2,8 +2,8 @@ use crate::{Config, Timestamp, TokenLockInfo, TokenLockerData, Weight}; use common::{convert_block_number_to_timestamp, AssetIdOf, Balance}; use frame_support::traits::Get; use frame_system::pallet_prelude::BlockNumberFor; +use log::info; use sp_std::vec::Vec; -use sp_tracing::info; pub fn migrate() -> Weight { sp_runtime::runtime_logger::RuntimeLogger::init(); diff --git a/pallets/dex-manager/src/migrations/kusd_dex.rs b/pallets/dex-manager/src/migrations/kusd_dex.rs index c9e3282488..59b1f5f755 100644 --- a/pallets/dex-manager/src/migrations/kusd_dex.rs +++ b/pallets/dex-manager/src/migrations/kusd_dex.rs @@ -36,7 +36,8 @@ use common::{DEXId, DEXInfo, DexIdOf, KUSD, XST}; use core::marker::PhantomData; use frame_support::pallet_prelude::Get; use frame_support::traits::OnRuntimeUpgrade; -use frame_support::{log::info, traits::GetStorageVersion as _, weights::Weight}; +use frame_support::{traits::GetStorageVersion as _, weights::Weight}; +use log::info; pub struct AddKusdBasedDex(PhantomData); diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index 2bd5e9cf7d..009232df6f 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -99,20 +99,20 @@ pub mod v1_to_v2 { }; use common::{balance, AssetIdOf, SymbolName, DAI, KARMA, KGOLD, KUSD, KXOR, TBCD, XOR}; use core::marker::PhantomData; - use sp_arithmetic::traits::Zero; - use frame_support::dispatch::Weight; - use log::error; use frame_support::traits::{GetStorageVersion, OnRuntimeUpgrade, StorageVersion}; + use frame_support::weights::Weight; + use log::error; use permissions::{Scope, BURN, MINT}; + use sp_arithmetic::traits::Zero; use sp_core::Get; mod v1 { use crate::{CdpId, CollateralRiskParameters, Config, Pallet}; use codec::{Decode, Encode, MaxEncodedLen}; use common::{AccountIdOf, AssetIdOf, Balance}; - use frame_support::dispatch::TypeInfo; use frame_support::pallet_prelude::ValueQuery; use frame_support::Identity; + use scale_info::TypeInfo; use sp_arithmetic::FixedU128; #[derive( diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs index 57e51c6fd7..b647c33163 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs @@ -2,11 +2,11 @@ use crate::Config; use crate::Pallet; use common::AssetIdOf; use common::Balance; -use frame_support::log::{error, info}; use frame_support::pallet_prelude::*; use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; use frame_system::pallet_prelude::BlockNumberFor; +use log::{error, info}; use sp_runtime::traits::One; use sp_std::collections::btree_map::BTreeMap; use sp_std::prelude::Vec; diff --git a/pallets/pool-xyk/src/migrations/v3.rs b/pallets/pool-xyk/src/migrations/v3.rs index 3e1dd9ea5e..f3ea4a2d42 100644 --- a/pallets/pool-xyk/src/migrations/v3.rs +++ b/pallets/pool-xyk/src/migrations/v3.rs @@ -29,8 +29,8 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate::pallet::{Config, Pallet}; -use frame_support::pallet_prelude::Weight; use common::{AssetIdOf, Balance, EnabledSourcesManager, ToFeeAccount}; +use frame_support::pallet_prelude::Weight; use frame_support::pallet_prelude::{Get, StorageVersion}; use frame_support::traits::OnRuntimeUpgrade; use frame_support::weights::WeightMeter; diff --git a/pallets/pswap-distribution/src/migrations.rs b/pallets/pswap-distribution/src/migrations.rs index dce5d1b564..c1589d8194 100644 --- a/pallets/pswap-distribution/src/migrations.rs +++ b/pallets/pswap-distribution/src/migrations.rs @@ -33,6 +33,7 @@ use core::marker::PhantomData; use frame_support::traits::OnRuntimeUpgrade; pub mod v2 { + use common::AccountIdOf; use frame_support::traits::StorageVersion; use log::info; use sp_std::prelude::Vec; @@ -44,7 +45,7 @@ pub mod v2 { impl OnRuntimeUpgrade for Migrate where T: Config, - G: Get>, + G: Get, AccountIdOf)>>, { fn on_runtime_upgrade() -> frame_support::weights::Weight { if StorageVersion::get::>() != StorageVersion::new(1) { diff --git a/pallets/xor-fee/src/migrations.rs b/pallets/xor-fee/src/migrations.rs index 971e4775c9..51f13b086b 100644 --- a/pallets/xor-fee/src/migrations.rs +++ b/pallets/xor-fee/src/migrations.rs @@ -32,9 +32,11 @@ pub mod v2 { use common::balance; use core::marker::PhantomData; - use frame_support::dispatch::Weight; use frame_support::traits::OnRuntimeUpgrade; - use frame_support::{log::info, traits::StorageVersion}; + use frame_support::traits::StorageVersion; + use frame_support::weights::Weight; + use frame_system::pallet_prelude::BlockNumberFor; + use log::info; use crate::*; @@ -45,8 +47,10 @@ pub mod v2 { T: Config, { fn on_runtime_upgrade() -> Weight { - let period = - ::BlockNumber::try_from(3600_u32).unwrap_or_default(); + let period = BlockNumberFor::::try_from(3600_u32).unwrap_or_default(); + + // let period = + // ::BlockNumberFor::try_from(3600_u32).unwrap_or_default(); let small_reference_amount = balance!(0.2); if StorageVersion::get::>() == StorageVersion::new(1) { // 1 read From e5349521218997d901681ff5d53cfe8e7cf15a63 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 16:46:30 +0300 Subject: [PATCH 044/110] refactor: subtle changes in imports, logging, types used --- pallets/assets/src/migration/register_asset.rs | 2 +- pallets/assets/src/migration/v2.rs | 2 +- pallets/bridge-proxy/src/lib.rs | 4 ++-- pallets/ceres-governance-platform/src/lib.rs | 5 ++--- pallets/dex-api/Cargo.toml | 1 + pallets/dex-api/src/lib.rs | 13 +++++++------ pallets/liquidity-proxy/Cargo.toml | 1 + pallets/liquidity-proxy/src/lib.rs | 3 ++- .../src/liquidity_aggregator/aggregation_result.rs | 2 +- .../multicollateral-bonding-curve-pool/src/lib.rs | 2 +- pallets/permissions/src/lib.rs | 6 +++--- pallets/pool-xyk/src/utils.rs | 4 ---- pallets/qa-tools/src/pallet_tools/assets.rs | 2 +- .../qa-tools/src/pallet_tools/liquidity_proxy.rs | 2 +- pallets/qa-tools/src/pallet_tools/mcbc.rs | 2 +- pallets/qa-tools/src/pallet_tools/price_tools.rs | 2 +- pallets/qa-tools/src/pallet_tools/xst.rs | 4 +--- pallets/rewards/src/lib.rs | 1 + pallets/technical/src/lib.rs | 2 +- 19 files changed, 29 insertions(+), 31 deletions(-) diff --git a/pallets/assets/src/migration/register_asset.rs b/pallets/assets/src/migration/register_asset.rs index 84f422b7c9..05f8603e99 100644 --- a/pallets/assets/src/migration/register_asset.rs +++ b/pallets/assets/src/migration/register_asset.rs @@ -61,7 +61,7 @@ where None, None, ) { - frame_support::log::error!("Failed to register asset: {:?}", err); + log::error!("Failed to register asset: {:?}", err); } ::WeightInfo::register() } diff --git a/pallets/assets/src/migration/v2.rs b/pallets/assets/src/migration/v2.rs index d2ba67007c..b5fb5d48bc 100644 --- a/pallets/assets/src/migration/v2.rs +++ b/pallets/assets/src/migration/v2.rs @@ -87,7 +87,7 @@ where { fn on_runtime_upgrade() -> Weight { if StorageVersion::get::>() != StorageVersion::new(1) { - frame_support::log::error!( + log::error!( "Expected storage version 1, found {:?}, skipping migration", StorageVersion::get::>() ); diff --git a/pallets/bridge-proxy/src/lib.rs b/pallets/bridge-proxy/src/lib.rs index de46fd3dd4..1bc479dd30 100644 --- a/pallets/bridge-proxy/src/lib.rs +++ b/pallets/bridge-proxy/src/lib.rs @@ -24,12 +24,12 @@ use bridge_types::{ use codec::{Decode, Encode}; use common::{prelude::FixedWrapper, AssetIdOf, Balance, BalanceOf}; use common::{AssetInfoProvider, AssetManager, ReferencePriceProvider}; -use frame_support::dispatch::{DispatchResult}; use frame_support::ensure; use log; use scale_info::TypeInfo; use sp_runtime::traits::Convert; use sp_runtime::DispatchError; +use sp_runtime::DispatchResult; use sp_runtime::RuntimeDebug; use sp_runtime::Saturating; use sp_std::prelude::*; @@ -62,7 +62,7 @@ pub use pallet::*; #[frame_support::pallet] pub mod pallet { - use super::*; + use super::{DispatchResult, *}; use bridge_types::MainnetAccountId; use bridge_types::{ substrate::ParachainAccountId, diff --git a/pallets/ceres-governance-platform/src/lib.rs b/pallets/ceres-governance-platform/src/lib.rs index 76a272a844..2740c9f706 100644 --- a/pallets/ceres-governance-platform/src/lib.rs +++ b/pallets/ceres-governance-platform/src/lib.rs @@ -76,7 +76,6 @@ pub mod pallet { use frame_support::pallet_prelude::ValueQuery; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::AccountIdConversion; - use sp_tracing::{info, error}; use frame_support::transactional; use frame_support::PalletId; use frame_system::ensure_signed; @@ -411,12 +410,12 @@ pub mod pallet { fn on_runtime_upgrade() -> Weight { if Self::pallet_storage_version() == StorageVersion::V2 { sp_runtime::runtime_logger::RuntimeLogger::init(); - info!( + log::info!( "Applying migration to version 2: Migrating to open governance - version 3" ); if let Err(err) = common::with_transaction(migrations::migrate::) { - error!("Failed to migrate: {}", err); + log::error!("Failed to migrate: {}", err); } else { PalletStorageVersion::::put(StorageVersion::V3); } diff --git a/pallets/dex-api/Cargo.toml b/pallets/dex-api/Cargo.toml index 70f167f6ac..b8312a1f88 100644 --- a/pallets/dex-api/Cargo.toml +++ b/pallets/dex-api/Cargo.toml @@ -33,6 +33,7 @@ strum = { version = "0.25.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +log = "0.4.20" [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } diff --git a/pallets/dex-api/src/lib.rs b/pallets/dex-api/src/lib.rs index be415de1be..046918a3c3 100644 --- a/pallets/dex-api/src/lib.rs +++ b/pallets/dex-api/src/lib.rs @@ -41,6 +41,7 @@ use common::{ use frame_support::sp_runtime; use frame_support::sp_runtime::DispatchError; use frame_support::weights::Weight; +use log; use sp_std::vec::Vec; mod benchmarking; @@ -89,7 +90,7 @@ impl MockPool4 => can_exchange!(MockLiquiditySource4), BondingCurvePool => unreachable!(), }; - frame_support::log::trace!("can_exchange({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}): {res:?}"); + log::trace!("can_exchange({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}): {res:?}"); res } @@ -123,7 +124,7 @@ impl MockPool4 => quote!(MockLiquiditySource4), BondingCurvePool => unreachable!(), }; - frame_support::log::trace!("quote({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {amount:?}, {deduce_fee:?}): {res:?}"); + log::trace!("quote({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {amount:?}, {deduce_fee:?}): {res:?}"); res } @@ -159,7 +160,7 @@ impl MockPool4 => step_quote!(MockLiquiditySource4), BondingCurvePool => unreachable!(), }; - frame_support::log::trace!("step_quote({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {amount:?}, {recommended_samples_count:?}, {deduce_fee:?}): {res:?}"); + log::trace!("step_quote({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {amount:?}, {recommended_samples_count:?}, {deduce_fee:?}): {res:?}"); res } @@ -195,7 +196,7 @@ impl MockPool4 => exchange!(MockLiquiditySource4), BondingCurvePool => unreachable!(), }; - frame_support::log::trace!("exchange({sender:?}, {receiver:?}, {liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {swap_amount:?}): {res:?}"); + log::trace!("exchange({sender:?}, {receiver:?}, {liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {swap_amount:?}): {res:?}"); res } @@ -229,7 +230,7 @@ impl MockPool4 => check_rewards!(MockLiquiditySource4), BondingCurvePool => unreachable!(), }; - frame_support::log::trace!("check_rewards({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {input_amount:?}, {output_amount:?}): {res:?}"); + log::trace!("check_rewards({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {input_amount:?}, {output_amount:?}): {res:?}"); res } @@ -265,7 +266,7 @@ impl MockPool4 => quote_without_impact!(MockLiquiditySource4), BondingCurvePool => unreachable!(), }; - frame_support::log::trace!("quote_without_impact({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {amount:?}, {deduce_fee:?}): {res:?}"); + log::trace!("quote_without_impact({liquidity_source_id:?}, {input_asset_id:?}, {output_asset_id:?}, {amount:?}, {deduce_fee:?}): {res:?}"); res } diff --git a/pallets/liquidity-proxy/Cargo.toml b/pallets/liquidity-proxy/Cargo.toml index 84e52b04d5..231aa55888 100644 --- a/pallets/liquidity-proxy/Cargo.toml +++ b/pallets/liquidity-proxy/Cargo.toml @@ -31,6 +31,7 @@ trading-pair = { path = "../trading-pair", default-features = false } pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } itertools = { version = "0.10.5", default-features = false } fallible-iterator = { version = "0.2.0", default-features = false } +log = "0.4.20" [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } diff --git a/pallets/liquidity-proxy/src/lib.rs b/pallets/liquidity-proxy/src/lib.rs index 4a79fe5df4..427939c9a1 100644 --- a/pallets/liquidity-proxy/src/lib.rs +++ b/pallets/liquidity-proxy/src/lib.rs @@ -66,6 +66,7 @@ use frame_support::{ensure, fail}; use frame_system::ensure_signed; use itertools::Itertools as _; use liquidity_aggregator::AggregatedSwapOutcome; +use log; pub use pallet::*; use sp_runtime::traits::Zero; use sp_runtime::DispatchError; @@ -365,7 +366,7 @@ impl ExchangePath { &mut path_builder } }; - frame_support::log::trace!("Found paths: {:?}", path_builder); + log::trace!("Found paths: {:?}", path_builder); if path_builder.paths.is_empty() { None } else { diff --git a/pallets/liquidity-proxy/src/liquidity_aggregator/aggregation_result.rs b/pallets/liquidity-proxy/src/liquidity_aggregator/aggregation_result.rs index 120df29f69..0457f33b11 100644 --- a/pallets/liquidity-proxy/src/liquidity_aggregator/aggregation_result.rs +++ b/pallets/liquidity-proxy/src/liquidity_aggregator/aggregation_result.rs @@ -30,7 +30,7 @@ use codec::{Decode, Encode}; use common::prelude::{OutcomeFee, SwapAmount}; -use frame_support::RuntimeDebug; +use sp_runtime::RuntimeDebug; use sp_std::vec::Vec; #[cfg(feature = "wip")] // ALT use {common::prelude::SwapVariant, sp_std::collections::btree_map::BTreeMap}; diff --git a/pallets/multicollateral-bonding-curve-pool/src/lib.rs b/pallets/multicollateral-bonding-curve-pool/src/lib.rs index 9d903572ab..99c5545fcb 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/lib.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/lib.rs @@ -228,7 +228,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(block_number: T::BlockNumber) -> Weight { + fn on_initialize(block_number: BlockNumberFor) -> Weight { let elems = Pallet::::free_reserves_distribution_routine(block_number).unwrap_or_default(); ::WeightInfo::on_initialize(elems) diff --git a/pallets/permissions/src/lib.rs b/pallets/permissions/src/lib.rs index 684fe93969..fc076c6f84 100644 --- a/pallets/permissions/src/lib.rs +++ b/pallets/permissions/src/lib.rs @@ -48,13 +48,13 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] +use codec::{Decode, Encode}; use common::permissions::TRANSFER; use common::{hash, AssetRegulator}; -use codec::{Decode, Encode}; -use frame_support::sp_runtime::DispatchError; -use frame_support::{ensure}; +use frame_support::ensure; #[cfg(feature = "std")] use frame_support::sp_runtime; +use frame_support::sp_runtime::DispatchError; use serde::{Deserialize, Serialize}; use sp_core::hash::H512; use sp_core::RuntimeDebug; diff --git a/pallets/pool-xyk/src/utils.rs b/pallets/pool-xyk/src/utils.rs index 6c698fe8ea..b94ab665f9 100644 --- a/pallets/pool-xyk/src/utils.rs +++ b/pallets/pool-xyk/src/utils.rs @@ -28,10 +28,6 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use frame_support::dispatch::{DispatchResult}; -use frame_support::ensure; -use orml_traits::GetByKey; - use crate::aliases::{TechAccountIdOf, TechAssetIdOf}; use crate::bounds::*; use crate::{Config, Error, Pallet, PoolProviders, TotalIssuances}; diff --git a/pallets/qa-tools/src/pallet_tools/assets.rs b/pallets/qa-tools/src/pallet_tools/assets.rs index 94f7226841..7cda8fff8c 100644 --- a/pallets/qa-tools/src/pallet_tools/assets.rs +++ b/pallets/qa-tools/src/pallet_tools/assets.rs @@ -29,8 +29,8 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate::Config; -use sp_runtime::DispatchError; use common::{AccountIdOf, AssetIdOf, AssetInfoProvider, AssetManager, FixedInner}; +use sp_runtime::DispatchError; use sp_std::cmp::Ordering; #[derive(Debug, Eq, PartialEq)] diff --git a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs index f4cae04937..1e1ce345fd 100644 --- a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs +++ b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs @@ -35,7 +35,7 @@ pub mod liquidity_sources { use crate::pallet_tools::price_tools::AssetPrices; use crate::Config; use common::{AssetIdOf, DexIdOf}; - use frame_support::dispatch::{DispatchResult}; + use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_system::pallet_prelude::BlockNumberFor; use order_book::{MomentOf, OrderBookId}; diff --git a/pallets/qa-tools/src/pallet_tools/mcbc.rs b/pallets/qa-tools/src/pallet_tools/mcbc.rs index cc8c701be0..f70de6b51e 100644 --- a/pallets/qa-tools/src/pallet_tools/mcbc.rs +++ b/pallets/qa-tools/src/pallet_tools/mcbc.rs @@ -35,7 +35,7 @@ use common::prelude::FixedWrapper; use common::{ AssetIdOf, AssetInfoProvider, Balance, DEXId, GetBaseAssetIdOf, TradingPairSourceManager, TBCD, }; -use frame_support::dispatch::{DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use frame_support::traits::Get; use pallet_tools::price_tools::AssetPrices; diff --git a/pallets/qa-tools/src/pallet_tools/price_tools.rs b/pallets/qa-tools/src/pallet_tools/price_tools.rs index 0767652dbf..b2e8bb5aa7 100644 --- a/pallets/qa-tools/src/pallet_tools/price_tools.rs +++ b/pallets/qa-tools/src/pallet_tools/price_tools.rs @@ -32,7 +32,7 @@ use crate::{Config, Error}; use codec::{Decode, Encode}; use common::prelude::BalanceUnit; use common::{balance, AssetIdOf, Balance, PriceToolsProvider, PriceVariant, XOR}; -use frame_support::dispatch::{DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::ensure; use sp_arithmetic::traits::{CheckedDiv, One}; use sp_runtime::DispatchError; diff --git a/pallets/qa-tools/src/pallet_tools/xst.rs b/pallets/qa-tools/src/pallet_tools/xst.rs index 671d6c2db1..a9819d9e15 100644 --- a/pallets/qa-tools/src/pallet_tools/xst.rs +++ b/pallets/qa-tools/src/pallet_tools/xst.rs @@ -34,9 +34,7 @@ use codec::{Decode, Encode}; use common::fixnum::ops::CheckedSub; use common::prelude::{BalanceUnit, QuoteAmount}; use common::{fixed, AssetIdOf, AssetName, AssetSymbol, Balance, Fixed, Oracle, PriceVariant}; -use frame_support::dispatch::{ - DispatchResult, DispatchResultWithPostInfo, RawOrigin, -}; +use frame_support::dispatch::{DispatchResult, DispatchResultWithPostInfo, RawOrigin}; use frame_support::ensure; use frame_support::traits::Get; use frame_support::weights::Weight; diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index 768f8bb769..3bb8935533 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -302,6 +302,7 @@ impl OnValBurned for Pallet { #[frame_support::pallet] pub mod pallet { + use common::balance; use common::PSWAP; use frame_support::pallet_prelude::*; use frame_support::traits::StorageVersion; diff --git a/pallets/technical/src/lib.rs b/pallets/technical/src/lib.rs index 9563fa19a6..e1c3c1b2ba 100644 --- a/pallets/technical/src/lib.rs +++ b/pallets/technical/src/lib.rs @@ -35,7 +35,7 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::{AssetIdOf, AssetInfoProvider, FromGenericPair, SwapAction, SwapRulesValidation}; -use frame_support::dispatch::{DispatchResult}; +use frame_support::dispatch::DispatchResult; use frame_support::{ensure, Parameter}; use sp_runtime::traits::{MaybeSerializeDeserialize, Member}; use sp_runtime::DispatchError; From aa5a6a72d09159361e7eeb2630a1d7c365342d0c Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 16:50:29 +0300 Subject: [PATCH 045/110] refactor(assets): replace T::AccountId with AccountIdOf --- pallets/assets/src/lib.rs | 101 ++++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 47 deletions(-) diff --git a/pallets/assets/src/lib.rs b/pallets/assets/src/lib.rs index 1598dc9a21..ed4e3b4453 100644 --- a/pallets/assets/src/lib.rs +++ b/pallets/assets/src/lib.rs @@ -62,8 +62,8 @@ use common::{ AssetType, BalancePrecision, ContentSource, Description, IsValid, LiquidityProxyTrait, LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, }; +use frame_support::dispatch::DispatchResult; use frame_support::dispatch::DispatchResultWithPostInfo; -use frame_support::dispatch::{DispatchResult}; use frame_support::sp_runtime::traits::{MaybeSerializeDeserialize, Member}; use frame_support::traits::Get; use frame_support::{ensure, Parameter}; @@ -163,13 +163,14 @@ pub enum AssetRecord { } pub trait GetTotalBalance { - fn total_balance(asset_id: &T::AssetId, who: &T::AccountId) -> Result; + fn total_balance(asset_id: &T::AssetId, who: &AccountIdOf) + -> Result; } impl GetTotalBalance for () { fn total_balance( _asset_id: &T::AssetId, - _who: &T::AccountId, + _who: &AccountIdOf, ) -> Result { Ok(0) } @@ -181,7 +182,7 @@ pub use pallet::*; #[allow(clippy::too_many_arguments)] pub mod pallet { use super::*; - use common::{AssetRegulator, AssetType, ContentSource, Description}; + use common::{AccountIdOf, AssetRegulator, AssetType, ContentSource, Description}; use frame_support::pallet_prelude::*; use frame_system::{ensure_root, pallet_prelude::*}; @@ -251,12 +252,15 @@ pub mod pallet { /// Currency to transfer, reserve/unreserve, lock/unlock assets type Currency: MultiLockableCurrency< - Self::AccountId, + AccountIdOf, Moment = BlockNumberFor, - CurrencyId = Self::AssetId, + CurrencyId = AssetIdOf, Balance = Balance, - > + MultiReservableCurrency - + MultiCurrencyExtended; + > + MultiReservableCurrency< + AccountIdOf, + CurrencyId = AssetIdOf, + Balance = Balance, + > + MultiCurrencyExtended, Amount = Amount>; /// Get the balance from other components type GetTotalBalance: GetTotalBalance; @@ -337,7 +341,7 @@ pub mod pallet { pub fn transfer( origin: OriginFor, asset_id: T::AssetId, - to: T::AccountId, + to: AccountIdOf, amount: Balance, ) -> DispatchResultWithPostInfo { let from = ensure_signed(origin.clone())?; @@ -357,7 +361,7 @@ pub mod pallet { pub fn mint( origin: OriginFor, asset_id: T::AssetId, - to: T::AccountId, + to: AccountIdOf, amount: Balance, ) -> DispatchResultWithPostInfo { let issuer = ensure_signed(origin.clone())?; @@ -383,7 +387,7 @@ pub mod pallet { pub fn force_mint( origin: OriginFor, asset_id: T::AssetId, - to: T::AccountId, + to: AccountIdOf, amount: Balance, ) -> DispatchResultWithPostInfo { ensure_root(origin.clone())?; @@ -436,7 +440,7 @@ pub mod pallet { #[pallet::weight(::WeightInfo::update_balance())] pub fn update_balance( origin: OriginFor, - who: T::AccountId, + who: AccountIdOf, currency_id: CurrencyIdOf, amount: AmountOf, ) -> DispatchResult { @@ -544,7 +548,7 @@ pub mod pallet { #[pallet::storage] #[pallet::getter(fn asset_owner)] pub type AssetOwners = - StorageMap<_, Twox64Concat, T::AssetId, T::AccountId, OptionQuery>; + StorageMap<_, Twox64Concat, T::AssetId, AccountIdOf, OptionQuery>; /// Asset Id -> AssetInfo #[pallet::storage] @@ -562,7 +566,7 @@ pub mod pallet { pub struct GenesisConfig { pub endowed_assets: Vec<( T::AssetId, - T::AccountId, + AccountIdOf, AssetSymbol, AssetName, BalancePrecision, @@ -643,7 +647,7 @@ impl Pallet { } /// Generates an `AssetId` for the given `AccountId`. - pub fn gen_asset_id(account_id: &T::AccountId) -> T::AssetId { + pub fn gen_asset_id(account_id: &AccountIdOf) -> T::AssetId { let mut keccak = Keccak::v256(); keccak.update(b"Sora Asset Id"); keccak.update(&account_id.encode()); @@ -658,7 +662,7 @@ impl Pallet { /// Register the given `AssetId`. #[allow(clippy::too_many_arguments)] pub fn register_asset_id( - account_id: T::AccountId, + account_id: AccountIdOf, asset_id: T::AssetId, symbol: AssetSymbol, name: AssetName, @@ -720,7 +724,7 @@ impl Pallet { /// Generates new `AssetId` and registers it from the `account_id`. #[allow(clippy::too_many_arguments)] pub fn register_from( - account_id: &T::AccountId, + account_id: &AccountIdOf, symbol: AssetSymbol, name: AssetName, precision: BalancePrecision, @@ -757,8 +761,8 @@ impl Pallet { pub fn transfer_from( asset_id: &T::AssetId, - from: &T::AccountId, - to: &T::AccountId, + from: &AccountIdOf, + to: &AccountIdOf, amount: Balance, ) -> DispatchResult { T::AssetRegulator::check_permission(from, to, asset_id, &TRANSFER)?; @@ -772,8 +776,8 @@ impl Pallet { pub fn mint_to( asset_id: &T::AssetId, - issuer: &T::AccountId, - to: &T::AccountId, + issuer: &AccountIdOf, + to: &AccountIdOf, amount: Balance, ) -> DispatchResult { // No need to check if asset exist. @@ -785,7 +789,7 @@ impl Pallet { pub fn mint_unchecked( asset_id: &T::AssetId, - to: &T::AccountId, + to: &AccountIdOf, amount: Balance, ) -> DispatchResult { T::Currency::deposit(*asset_id, to, amount) @@ -793,8 +797,8 @@ impl Pallet { pub fn burn_from( asset_id: &T::AssetId, - issuer: &T::AccountId, - from: &T::AccountId, + issuer: &AccountIdOf, + from: &AccountIdOf, amount: Balance, ) -> DispatchResult { T::AssetRegulator::check_permission(issuer, from, asset_id, &BURN)?; @@ -803,7 +807,7 @@ impl Pallet { fn burn_unchecked( asset_id: &T::AssetId, - from: &T::AccountId, + from: &AccountIdOf, amount: Balance, ) -> DispatchResult { let r = T::Currency::withdraw(*asset_id, from, amount); @@ -838,7 +842,7 @@ impl Pallet { pub fn update_own_balance( asset_id: &T::AssetId, - who: &T::AccountId, + who: &AccountIdOf, by_amount: Amount, ) -> DispatchResult { T::AssetRegulator::check_permission(who, who, asset_id, &BURN)?; @@ -849,11 +853,11 @@ impl Pallet { T::Currency::update_balance(*asset_id, who, by_amount) } - pub fn can_reserve(asset_id: T::AssetId, who: &T::AccountId, amount: Balance) -> bool { + pub fn can_reserve(asset_id: T::AssetId, who: &AccountIdOf, amount: Balance) -> bool { T::Currency::can_reserve(asset_id, who, amount) } - pub fn reserve(asset_id: &T::AssetId, who: &T::AccountId, amount: Balance) -> DispatchResult { + pub fn reserve(asset_id: &T::AssetId, who: &AccountIdOf, amount: Balance) -> DispatchResult { let r = T::Currency::reserve(*asset_id, who, amount); if r.is_err() { Self::ensure_asset_exists(asset_id)?; @@ -863,7 +867,7 @@ impl Pallet { pub fn unreserve( asset_id: &T::AssetId, - who: &T::AccountId, + who: &AccountIdOf, amount: Balance, ) -> Result { let amount = T::Currency::unreserve(*asset_id, who, amount); @@ -873,7 +877,7 @@ impl Pallet { Ok(amount) } - pub fn set_non_mintable_from(asset_id: &T::AssetId, who: &T::AccountId) -> DispatchResult { + pub fn set_non_mintable_from(asset_id: &T::AssetId, who: &AccountIdOf) -> DispatchResult { ensure!( Self::is_asset_owner(asset_id, who), Error::::InvalidAssetOwner @@ -918,7 +922,7 @@ impl Pallet { impl AssetInfoProvider< T::AssetId, - T::AccountId, + AccountIdOf, AssetSymbol, AssetName, BalancePrecision, @@ -940,7 +944,7 @@ impl } #[inline] - fn is_asset_owner(asset_id: &T::AssetId, account_id: &T::AccountId) -> bool { + fn is_asset_owner(asset_id: &T::AssetId, account_id: &AccountIdOf) -> bool { Self::asset_owner(asset_id) .map(|x| &x == account_id) .unwrap_or(false) @@ -987,7 +991,10 @@ impl Ok(r) } - fn total_balance(asset_id: &T::AssetId, who: &T::AccountId) -> Result { + fn total_balance( + asset_id: &T::AssetId, + who: &AccountIdOf, + ) -> Result { let r = T::Currency::total_balance(*asset_id, who); if r == Default::default() { Self::ensure_asset_exists(asset_id)?; @@ -995,7 +1002,7 @@ impl Ok(r + T::GetTotalBalance::total_balance(asset_id, who)?) } - fn free_balance(asset_id: &T::AssetId, who: &T::AccountId) -> Result { + fn free_balance(asset_id: &T::AssetId, who: &AccountIdOf) -> Result { let r = T::Currency::free_balance(*asset_id, who); if r == Default::default() { Self::ensure_asset_exists(asset_id)?; @@ -1005,7 +1012,7 @@ impl fn ensure_can_withdraw( asset_id: &T::AssetId, - who: &T::AccountId, + who: &AccountIdOf, amount: Balance, ) -> DispatchResult { let r = T::Currency::ensure_can_withdraw(*asset_id, who, amount); @@ -1015,7 +1022,7 @@ impl r } - fn get_asset_owner(asset_id: &T::AssetId) -> Result { + fn get_asset_owner(asset_id: &T::AssetId) -> Result, DispatchError> { let owner = Self::asset_owner(asset_id).ok_or(Error::::AssetIdNotExists)?; Ok(owner) } @@ -1034,7 +1041,7 @@ impl fn update_balance( origin: OriginFor, - who: T::AccountId, + who: AccountIdOf, currency_id: common::CurrencyIdOf, amount: AmountOf, ) -> DispatchResult { @@ -1042,7 +1049,7 @@ impl } fn register_from( - account_id: &T::AccountId, + account_id: &AccountIdOf, symbol: AssetSymbol, name: AssetName, precision: BalancePrecision, @@ -1066,7 +1073,7 @@ impl } fn register_asset_id( - account_id: T::AccountId, + account_id: AccountIdOf, asset_id: Self::AssetId, symbol: AssetSymbol, name: AssetName, @@ -1092,8 +1099,8 @@ impl } fn burn_from( asset_id: &Self::AssetId, - issuer: &T::AccountId, - from: &T::AccountId, + issuer: &AccountIdOf, + from: &AccountIdOf, amount: Balance, ) -> DispatchResult { Self::burn_from(asset_id, issuer, from, amount) @@ -1101,8 +1108,8 @@ impl fn transfer_from( asset_id: &Self::AssetId, - from: &T::AccountId, - to: &T::AccountId, + from: &AccountIdOf, + to: &AccountIdOf, amount: Balance, ) -> DispatchResult { Self::transfer_from(asset_id, from, to, amount) @@ -1110,8 +1117,8 @@ impl fn mint_to( asset_id: &Self::AssetId, - issuer: &T::AccountId, - to: &T::AccountId, + issuer: &AccountIdOf, + to: &AccountIdOf, amount: Balance, ) -> DispatchResult { Self::mint_to(asset_id, issuer, to, amount) @@ -1119,7 +1126,7 @@ impl fn mint_unchecked( asset_id: &Self::AssetId, - to: &T::AccountId, + to: &AccountIdOf, amount: Balance, ) -> DispatchResult { Self::mint_unchecked(asset_id, to, amount) @@ -1135,7 +1142,7 @@ impl fn mint( origin: OriginFor, asset_id: Self::AssetId, - to: T::AccountId, + to: AccountIdOf, amount: Balance, ) -> DispatchResultWithPostInfo { Self::mint(origin, asset_id, to, amount) From 4376d781136f46e9a03dabf53974a3c9e28317f9 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 16:50:59 +0300 Subject: [PATCH 046/110] refactor(pswap-distribution): replace T:AccountId with AccountIdOf --- pallets/pswap-distribution/src/lib.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pallets/pswap-distribution/src/lib.rs b/pallets/pswap-distribution/src/lib.rs index 3208aced61..ae4ca697ad 100644 --- a/pallets/pswap-distribution/src/lib.rs +++ b/pallets/pswap-distribution/src/lib.rs @@ -78,7 +78,7 @@ impl Pallet { /// Check if given fees account is subscribed to incentive distribution. /// /// - `fees_account_id`: Id of Account which accumulates fees from swaps. - pub fn is_subscribed(fees_account_id: &T::AccountId) -> bool { + pub fn is_subscribed(fees_account_id: &AccountIdOf) -> bool { SubscribedAccounts::::get(fees_account_id).is_some() } @@ -91,7 +91,7 @@ impl Pallet { /// - `marker_token_id`: Namely Pool Token, Asset Id by which shares of LP's are determined. /// - `frequency`: Number of blocks between incentive distribution operations. pub fn subscribe( - fees_account_id: T::AccountId, + fees_account_id: AccountIdOf, dex_id: T::DEXId, pool_account: AccountIdOf, frequency: Option>, @@ -115,7 +115,7 @@ impl Pallet { /// Remove fees account from list of periodic distribution of incentives. /// /// - `fees_account_id`: Id of Account which accumulates fees from swaps. - pub fn unsubscribe(fees_account_id: T::AccountId) -> DispatchResult { + pub fn unsubscribe(fees_account_id: AccountIdOf) -> DispatchResult { let value = SubscribedAccounts::::take(&fees_account_id); ensure!(value.is_some(), Error::::UnknownSubscription); frame_system::Pallet::::dec_consumers(&fees_account_id); @@ -125,7 +125,7 @@ impl Pallet { /// Query actual amount of PSWAP that can be claimed by account. /// /// - `account_id`: Id of the account to query. - pub fn claimable_amount(account_id: &T::AccountId) -> Result { + pub fn claimable_amount(account_id: &AccountIdOf) -> Result { let current_position = ShareholderAccounts::::get(&account_id); Ok(current_position .into_bits() @@ -136,7 +136,7 @@ impl Pallet { /// Perform claim of PSWAP by account, desired amount is not indicated - all available will be claimed. /// /// - `account_id`: Id of the account - fn claim_by_account(account_id: &T::AccountId) -> DispatchResult { + fn claim_by_account(account_id: &AccountIdOf) -> DispatchResult { let current_position = ShareholderAccounts::::get(&account_id); if current_position != fixed!(0) { ShareholderAccounts::::mutate(&account_id, |current| *current = fixed!(0)); @@ -165,7 +165,7 @@ impl Pallet { /// - `fees_account_id`: Id of Account which accumulates fees from swaps. /// - `dex_id`: Id of DEX to which given account belongs. fn exchange_fees_to_incentive( - fees_account_id: &T::AccountId, + fees_account_id: &AccountIdOf, dex_id: T::DEXId, ) -> DispatchResult { let dex_info = T::DexInfoProvider::get_dex_info(&dex_id)?; @@ -242,10 +242,10 @@ impl Pallet { /// - `pool_account`: Pool account which stores reserves, used to identify pool and determine user liquidity share. /// - `tech_account_id`: Id of Account which holds permissions needed for mint/burn of arbitrary tokens, stores claimable incentives. fn distribute_incentive( - fees_account_id: &T::AccountId, + fees_account_id: &AccountIdOf, dex_id: &T::DEXId, pool_account: &AccountIdOf, - tech_account_id: &T::AccountId, + tech_account_id: &AccountIdOf, ) -> Result { common::with_transaction(|| { // Get state of incentive availability and corresponding definitions. @@ -337,8 +337,8 @@ impl Pallet { /// - `incentive_asset_id`: Incentive asset id. /// - `incentive_total`: total number of incentives to be distributed. fn calculate_and_burn_distribution( - fees_account_id: &T::AccountId, - tech_account_id: &T::AccountId, + fees_account_id: &AccountIdOf, + tech_account_id: &AccountIdOf, incentive_asset_id: &AssetIdOf, incentive_total: Balance, ) -> Result { @@ -663,7 +663,7 @@ pub mod pallet { pub struct GenesisConfig { /// (Fees Account, (DEX Id, Pool Account Id, Distribution Frequency, Block Offset)) pub subscribed_accounts: Vec<( - T::AccountId, + AccountIdOf, ( DexIdOf, AccountIdOf, From c1babcacc703f2482dc478cefc44c378a2285dbf Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 16:52:06 +0300 Subject: [PATCH 047/110] refactor(xor-fee): replace BlockNumber & replace deprecated from_ref_time --- pallets/xor-fee/src/lib.rs | 10 +++++----- pallets/xor-fee/src/weights.rs | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pallets/xor-fee/src/lib.rs b/pallets/xor-fee/src/lib.rs index 58af6c8ced..19edb355a9 100644 --- a/pallets/xor-fee/src/lib.rs +++ b/pallets/xor-fee/src/lib.rs @@ -42,6 +42,7 @@ use frame_support::unsigned::TransactionValidityError; use frame_support::weights::{ WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, }; +use frame_system::pallet_prelude::BlockNumberFor; use log::error; use pallet_transaction_payment as ptp; use pallet_transaction_payment::{ @@ -732,7 +733,7 @@ pub mod pallet { weight += T::DbWeight::get().writes(1); } Err(e) => { - frame_support::log::error!("Could not update Multiplier due to: {e:?}"); + log::error!("Could not update Multiplier due to: {e:?}"); } } } @@ -764,7 +765,7 @@ pub mod pallet { #[pallet::weight(::WeightInfo::set_fee_update_period())] pub fn set_fee_update_period( origin: OriginFor, - new_period: ::BlockNumber, + new_period: BlockNumberFor, ) -> DispatchResultWithPostInfo { T::PermittedSetPeriod::ensure_origin(origin)?; #[cfg(feature = "wip")] // Dynamic fee @@ -809,7 +810,7 @@ pub mod pallet { WeightToFeeMultiplierUpdated(FixedU128), #[cfg(feature = "wip")] // Dynamic fee /// New block number to update multiplier is set. [New value] - PeriodUpdated(::BlockNumber), + PeriodUpdated(BlockNumberFor), #[cfg(feature = "wip")] // Dynamic fee /// New small reference amount set. [New value] SmallReferenceAmountUpdated(Balance), @@ -834,8 +835,7 @@ pub mod pallet { /// set 0 value #[pallet::storage] #[pallet::getter(fn update_period)] - pub type UpdatePeriod = - StorageValue<_, ::BlockNumber, ValueQuery>; + pub type UpdatePeriod = StorageValue<_, BlockNumberFor, ValueQuery>; /// The amount of XOR to be reminted and exchanged for VAL at the end of the session #[pallet::storage] diff --git a/pallets/xor-fee/src/weights.rs b/pallets/xor-fee/src/weights.rs index 8a57b0d30e..edb812d4a2 100644 --- a/pallets/xor-fee/src/weights.rs +++ b/pallets/xor-fee/src/weights.rs @@ -86,7 +86,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_567 nanoseconds. - Weight::from_ref_time(4_793_000) + Weight::from_parts(4_793_000, 0) } /// Locally generated @@ -96,7 +96,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_248 nanoseconds. - Weight::from_ref_time(4_486_000) + Weight::from_parts(4_486_000, 0) } } @@ -121,7 +121,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_567 nanoseconds. - Weight::from_ref_time(4_793_000) + Weight::from_parts(4_793_000, 0) } /// Locally generated @@ -131,6 +131,6 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 4_248 nanoseconds. - Weight::from_ref_time(4_486_000) + Weight::from_parts(4_486_000, 0) } } From 9ad2939b280764b648c600f8b43b9b3c1bb31339 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 17:02:25 +0300 Subject: [PATCH 048/110] build: patch paritytech/polkadot-sdk & replace branch for our fork --- Cargo.toml | 117 +++++++++++++++++++++++++ pallets/rewards/runtime-api/Cargo.toml | 6 +- 2 files changed, 120 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e58f10a38a..d611c4ef02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -230,6 +230,123 @@ pallet-beefy-mmr = { path = "../sora-polkadot-sdk/substrate/frame/beefy-mmr" } pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/merkle-mountain-range" } pallet-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip", package = "pallet-insecure-randomness-collective-flip" } +[patch."https://github.com/paritytech/polkadot-sdk.git"] +frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } +frame-benchmarking-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/benchmarking-cli" } +frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } +frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } +frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } +frame-system-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/system/benchmarking" } +frame-system-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/system/rpc/runtime-api" } +frame-election-provider-support = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-support" } +pallet-aura = { path = "../sora-polkadot-sdk/substrate/frame/aura" } +pallet-authorship = { path = "../sora-polkadot-sdk/substrate/frame/authorship" } +pallet-babe = { path = "../sora-polkadot-sdk/substrate/frame/babe" } +pallet-balances = { path = "../sora-polkadot-sdk/substrate/frame/balances" } +pallet-collective = { path = "../sora-polkadot-sdk/substrate/frame/collective" } +pallet-democracy = { path = "../sora-polkadot-sdk/substrate/frame/democracy" } +pallet-elections-phragmen = { path = "../sora-polkadot-sdk/substrate/frame/elections-phragmen" } +pallet-grandpa = { path = "../sora-polkadot-sdk/substrate/frame/grandpa" } +pallet-identity = { path = "../sora-polkadot-sdk/substrate/frame/identity" } +pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } +pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } +pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } +pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } +pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } +pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } +pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } +pallet-timestamp = { path = "../sora-polkadot-sdk/substrate/frame/timestamp" } +pallet-transaction-payment = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment" } +pallet-transaction-payment-rpc = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc" } +pallet-transaction-payment-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc/runtime-api" } +pallet-utility = { path = "../sora-polkadot-sdk/substrate/frame/utility" } +pallet-bags-list = { path = "../sora-polkadot-sdk/substrate/frame/bags-list" } +pallet-election-provider-multi-phase = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-multi-phase" } +sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-authorship" } +sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } +sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} +sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} +sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus/common"} +sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} +sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} +sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/beefy"} +sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} +sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} +sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} +sc-keystore = { path = "../sora-polkadot-sdk/substrate/client/keystore"} +# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} +sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} +sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} +sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} +sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} +sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} +sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} +sc-transaction-pool-api = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool/api"} +sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} +sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} +sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} +sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} +sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} +sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} +sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/common"} +sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} +sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} +sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} +sp-database = { path = "../sora-polkadot-sdk/substrate/primitives/database"} +# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} +sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} +sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} +sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} +sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} +sp-npos-elections = { path = "../sora-polkadot-sdk/substrate/primitives/npos-elections"} +sp-runtime = { path = "../sora-polkadot-sdk/substrate/primitives/runtime"} +sp-runtime-interface = { path = "../sora-polkadot-sdk/substrate/primitives/runtime-interface"} +sp-session = { path = "../sora-polkadot-sdk/substrate/primitives/session"} +sp-staking = { path = "../sora-polkadot-sdk/substrate/primitives/staking"} +sp-std = { path = "../sora-polkadot-sdk/substrate/primitives/std"} +sp-storage = { path = "../sora-polkadot-sdk/substrate/primitives/storage"} +sp-timestamp = { path = "../sora-polkadot-sdk/substrate/primitives/timestamp"} +sp-transaction-pool = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-pool"} +sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} +sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} +sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} +sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} +sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} +sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} +sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} +sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } +sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } +substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } +substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } +sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } +pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } +sc-consensus-babe-rpc = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe/rpc" } +sc-consensus-epochs = { path = "../sora-polkadot-sdk/substrate/client/consensus/epochs" } +pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } +substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } +try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } +staging-xcm = { path = "../sora-polkadot-sdk/polkadot/xcm" } +pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} +# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} +# sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} +# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +mmr-rpc = { path = "../sora-polkadot-sdk/substrate/client/merkle-mountain-range/rpc" } +pallet-beefy-mmr = { path = "../sora-polkadot-sdk/substrate/frame/beefy-mmr" } +pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/merkle-mountain-range" } +pallet-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip", package = "pallet-insecure-randomness-collective-flip" } + + + [patch."https://github.com/sora-xor/sora2-common.git"] beefy-light-client = { path = "../sora2-common/pallets/beefy-light-client" } beefy-light-client-rpc = { path = "../sora2-common/pallets/beefy-light-client/rpc" } diff --git a/pallets/rewards/runtime-api/Cargo.toml b/pallets/rewards/runtime-api/Cargo.toml index 1fcfe7356f..7ce0208890 100644 --- a/pallets/rewards/runtime-api/Cargo.toml +++ b/pallets/rewards/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } common = { path = "../../../common", default-features = false } From 5eaf5f9cd4e8ca3928ffab5377601621f3d7dbfe Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 17:06:10 +0300 Subject: [PATCH 049/110] build: update lock --- Cargo.lock | 3243 +++++++++++++++++++++------------------------------- 1 file changed, 1277 insertions(+), 1966 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60a9ebf994..9c15d6b479 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -194,9 +194,9 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "liquidity-proxy", "log", @@ -205,17 +205,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -521,9 +521,9 @@ name = "assets" version = "1.3.1" dependencies = [ "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", @@ -534,10 +534,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "tiny-keccak", ] @@ -549,12 +549,12 @@ dependencies = [ "common 0.1.0", "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -566,9 +566,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -839,20 +839,20 @@ version = "1.0.1" dependencies = [ "common 0.1.0", "fallible-iterator 0.3.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "oracle-proxy", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "xst", ] @@ -922,22 +922,22 @@ name = "beefy-light-client" version = "0.1.0" dependencies = [ "anyhow", - "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", "bridge-common", "bridge-types", "ckb-merkle-mountain-range", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -948,11 +948,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -963,9 +963,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -979,7 +979,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "hash-db", "log", @@ -1171,21 +1171,21 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "once_cell", - "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "pallet-timestamp", "parity-scale-codec", "rlp", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -1194,16 +1194,16 @@ version = "0.1.0" dependencies = [ "bitvec", "bridge-types", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] @@ -1212,17 +1212,17 @@ version = "0.1.1" dependencies = [ "bridge-common", "bridge-types", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -1235,24 +1235,24 @@ dependencies = [ "common 0.1.0", "dispatch", "evm-fungible-app", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "staging-xcm 1.0.0", + "sp-runtime", + "sp-std", + "staging-xcm", "technical", ] @@ -1266,12 +1266,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -1282,9 +1282,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -1296,8 +1296,8 @@ dependencies = [ "ethash", "ethbloom", "ethereum-types", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", "getrandom 0.2.15", "hex-literal", "libsecp256k1", @@ -1309,12 +1309,12 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "staging-xcm 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] @@ -1452,26 +1452,26 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -1486,25 +1486,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -1519,25 +1519,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -1552,24 +1552,24 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -1580,9 +1580,9 @@ version = "1.0.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -1591,10 +1591,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -1607,25 +1607,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -1822,14 +1822,14 @@ dependencies = [ "bridge-types", "env_logger", "fixnum", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "libsecp256k1", "num-traits", "orml-currencies", "orml-traits", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "paste", "rustc-hex", @@ -1837,12 +1837,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "static_assertions", "strum 0.25.0", "thiserror", @@ -2293,26 +2293,26 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -2327,26 +2327,26 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "multicollateral-bonding-curve-pool", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -2438,27 +2438,28 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", + "log", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "strum 0.25.0", "technical", ] @@ -2471,12 +2472,12 @@ dependencies = [ "dex-runtime-api", "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -2485,8 +2486,8 @@ version = "0.2.0" dependencies = [ "assets", "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "orml-currencies", "orml-tokens", @@ -2495,10 +2496,10 @@ dependencies = [ "parity-scale-codec", "permissions", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -2508,12 +2509,12 @@ dependencies = [ "dex-manager-runtime-api", "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -2522,9 +2523,9 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -2535,9 +2536,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -2622,16 +2623,16 @@ name = "dispatch" version = "0.1.1" dependencies = [ "bridge-types", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -2917,10 +2918,10 @@ dependencies = [ "ethabi", "ethabi-derive", "ethereum-types", - "frame-benchmarking 4.0.0-dev", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "jsonrpc-core", "libsecp256k1", @@ -2941,11 +2942,11 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-std", "tokio", ] @@ -2956,10 +2957,10 @@ dependencies = [ "eth-bridge-runtime-api", "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-blockchain", + "sp-runtime", + "sp-std", ] [[package]] @@ -2968,9 +2969,9 @@ version = "0.1.0" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -3088,9 +3089,9 @@ dependencies = [ "bridge-types", "dispatch", "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-traits", @@ -3099,10 +3100,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -3135,21 +3136,21 @@ version = "1.0.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -3181,9 +3182,9 @@ dependencies = [ "demeter-farming-platform", "dex-manager", "env_logger", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "mock-liquidity-source", @@ -3192,17 +3193,17 @@ dependencies = [ "orml-tokens", "pallet-balances", "pallet-scheduler", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -3215,9 +3216,9 @@ dependencies = [ "farming-runtime-api", "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-api", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -3225,8 +3226,8 @@ name = "farming-runtime-api" version = "0.1.0" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-std 8.0.0", + "sp-api", + "sp-std", ] [[package]] @@ -3250,9 +3251,9 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -3261,11 +3262,11 @@ dependencies = [ "permissions", "rewards", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -3438,48 +3439,23 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" name = "frame-benchmarking" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-support-procedural 4.0.0-dev", - "frame-system 4.0.0-dev", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "static_assertions", -] - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -3492,9 +3468,9 @@ dependencies = [ "chrono", "clap", "comfy-table", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools", @@ -3513,19 +3489,19 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-database 4.0.0-dev", - "sp-externalities 0.19.0", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-storage 13.0.0", - "sp-trie 22.0.0", - "sp-wasm-interface 14.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-trie", + "sp-wasm-interface", "thiserror", "thousands", ] @@ -3545,31 +3521,31 @@ name = "frame-election-provider-support" version = "4.0.0-dev" dependencies = [ "frame-election-provider-solution-type", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "frame-executive" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "frame-try-runtime 0.10.0-dev", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-tracing 10.0.0", ] @@ -3596,10 +3572,10 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", "spinners", "substrate-rpc-client 0.10.0-dev", "tokio", @@ -3618,10 +3594,10 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", "spinners", "substrate-rpc-client 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "tokio", @@ -3637,7 +3613,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural 4.0.0-dev", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -3648,61 +3624,21 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-core-hashing-proc-macro 9.0.0", - "sp-debug-derive 8.0.0", - "sp-genesis-builder 0.1.0", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-metadata-ir 0.1.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", + "sp-debug-derive", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-metadata-ir", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", "sp-tracing 10.0.0", - "sp-weights 20.0.0", - "static_assertions", - "tt-call", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "aquamarine", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "impl-trait-for-tuples", - "k256", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-genesis-builder 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-staking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-weights", "static_assertions", "tt-call", ] @@ -3715,25 +3651,7 @@ dependencies = [ "cfg-expr", "derive-syn-parse 0.1.5", "expander", - "frame-support-procedural-tools 4.0.0-dev", - "itertools", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.68", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse 0.1.5", - "expander", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support-procedural-tools", "itertools", "macro_magic", "proc-macro-warning", @@ -3746,19 +3664,7 @@ dependencies = [ name = "frame-support-procedural-tools" version = "4.0.0-dev" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.68", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", "proc-macro2", "quote", @@ -3774,65 +3680,36 @@ dependencies = [ "syn 2.0.68", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.68", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -dependencies = [ - "cfg-if", - "frame-support 4.0.0-dev", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version 22.0.0", - "sp-weights 20.0.0", -] - [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "cfg-if", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -3840,18 +3717,18 @@ name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev", + "sp-api", ] [[package]] name = "frame-try-runtime" version = "0.10.0-dev" dependencies = [ - "frame-support 4.0.0-dev", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -3859,11 +3736,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ - "frame-support 4.0.0-dev", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -3887,11 +3764,12 @@ dependencies = [ "enum-as-inner", "eth-bridge-rpc", "farming-rpc", - "frame-benchmarking 4.0.0-dev", + "frame-benchmarking", "frame-benchmarking-cli", "frame-remote-externalities 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "framenode-chain-spec", "framenode-runtime", + "futures", "futures-timer", "iroha-migration-rpc", "jsonrpsee", @@ -3935,24 +3813,24 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-arithmetic 16.0.0", + "sp-api", + "sp-arithmetic", "sp-block-builder", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", "sp-consensus-babe", - "sp-consensus-beefy 4.0.0-dev", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-keystore 0.27.0", - "sp-mmr-primitives 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-timestamp 4.0.0-dev", + "sp-consensus-beefy", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", + "sp-timestamp", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 22.0.0", + "sp-trie", "substrate-bip39", "substrate-build-script-utils", "substrate-frame-rpc-system", @@ -3969,7 +3847,7 @@ version = "3.5.0" dependencies = [ "common 0.1.0", "faucet", - "frame-support 4.0.0-dev", + "frame-support", "framenode-runtime", "hex-literal", "iroha-migration", @@ -3985,9 +3863,9 @@ dependencies = [ "serde_json", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-io", + "sp-runtime", "technical", "xor-fee", ] @@ -4029,12 +3907,12 @@ dependencies = [ "farming", "farming-runtime-api", "faucet", - "frame-benchmarking 4.0.0-dev", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", "frame-remote-externalities 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", @@ -4086,7 +3964,7 @@ dependencies = [ "pallet-session", "pallet-staking", "pallet-sudo", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-utility", @@ -4106,23 +3984,23 @@ dependencies = [ "rewards-runtime-api", "scale-info", "serde", - "sp-api 4.0.0-dev", + "sp-api", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-consensus-beefy 4.0.0-dev", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-mmr-primitives 4.0.0-dev", + "sp-consensus-beefy", + "sp-core", + "sp-inherents", + "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 24.0.0", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-staking", + "sp-std", "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sp-transaction-pool", - "sp-version 22.0.0", + "sp-version", "static_assertions", "substrate-bridge-app", "substrate-bridge-channel", @@ -4524,9 +4402,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hermes-governance-platform", "hex-literal", "log", @@ -4534,17 +4412,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -4974,9 +4852,9 @@ dependencies = [ "common 0.1.0", "ed25519-dalek-iroha", "eth-bridge", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal", "log", @@ -4991,10 +4869,10 @@ dependencies = [ "scale-info", "serde", "sha3 0.9.1", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -5004,17 +4882,17 @@ version = "0.1.0" dependencies = [ "iroha-migration-runtime-api", "jsonrpsee", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", + "sp-api", + "sp-blockchain", "sp-rpc", - "sp-runtime 24.0.0", + "sp-runtime", ] [[package]] name = "iroha-migration-runtime-api" version = "0.1.0" dependencies = [ - "sp-api 4.0.0-dev", + "sp-api", ] [[package]] @@ -5251,22 +5129,22 @@ version = "0.0.1" dependencies = [ "assets", "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -5275,18 +5153,18 @@ name = "kensetsu-benchmarking" version = "0.1.0" dependencies = [ "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-system", "hex-literal", "kensetsu", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "pool-xyk", "price-tools", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -5351,17 +5229,17 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std", ] [[package]] @@ -5373,11 +5251,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-blockchain 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -5388,9 +5266,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -5948,12 +5826,13 @@ dependencies = [ "dex-api", "dex-manager", "fallible-iterator 0.2.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "framenode-chain-spec", "framenode-runtime", "hex-literal", "itertools", + "log", "mock-liquidity-source", "multicollateral-bonding-curve-pool", "order-book", @@ -5961,7 +5840,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -5969,11 +5848,11 @@ dependencies = [ "qa-tools", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -5989,9 +5868,9 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "liquidity-proxy", "mock-liquidity-source", @@ -5999,7 +5878,7 @@ dependencies = [ "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -6007,10 +5886,10 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -6024,12 +5903,12 @@ dependencies = [ "jsonrpsee", "liquidity-proxy-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -6041,9 +5920,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -6299,13 +6178,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-consensus-beefy 4.0.0-dev", - "sp-core 21.0.0", - "sp-mmr-primitives 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-mmr-primitives", + "sp-runtime", ] [[package]] @@ -6316,11 +6195,11 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-mmr-primitives 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-mmr-primitives", + "sp-runtime", ] [[package]] @@ -6330,8 +6209,8 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -6341,11 +6220,11 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -6415,9 +6294,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "mock-liquidity-source", @@ -6425,7 +6304,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -6433,11 +6312,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "vested-rewards", @@ -6486,17 +6365,17 @@ version = "0.1.0" dependencies = [ "bridge-common", "bridge-types", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6794,19 +6673,19 @@ version = "1.0.0" dependencies = [ "band", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6816,10 +6695,10 @@ dependencies = [ "jsonrpsee", "oracle-proxy-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-blockchain", + "sp-runtime", + "sp-std", ] [[package]] @@ -6830,9 +6709,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -6841,23 +6720,23 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "framenode-chain-spec", "framenode-runtime", "hex-literal", "orml-tokens", "pallet-balances", "pallet-collective", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "technical", "trading-pair", @@ -6869,21 +6748,21 @@ version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "framenode-chain-spec", "framenode-runtime", "order-book", "pallet-balances", "pallet-collective", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "trading-pair", ] @@ -6892,16 +6771,16 @@ name = "orml-currencies" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", "orml-traits", "orml-utilities", "parity-scale-codec", "scale-info", "serde", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -6909,16 +6788,16 @@ name = "orml-tokens" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", + "frame-system", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -6926,7 +6805,7 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -6934,11 +6813,11 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "staging-xcm 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] @@ -6946,66 +6825,66 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-aura" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-authorship" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-babe" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-staking", + "sp-std", ] [[package]] @@ -7015,47 +6894,47 @@ dependencies = [ "aquamarine", "docify", "frame-election-provider-support", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-beefy" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-consensus-beefy", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-staking", + "sp-std", ] [[package]] @@ -7064,8 +6943,8 @@ version = "4.0.0-dev" dependencies = [ "array-bytes", "binary-merkle-tree 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", @@ -7073,46 +6952,46 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-consensus-beefy 4.0.0-dev", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", + "sp-api", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", ] [[package]] name = "pallet-collective" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-democracy" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7120,57 +6999,57 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" dependencies = [ "frame-election-provider-support", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-grandpa" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0", + "sp-application-crypto", "sp-consensus-grandpa 4.0.0-dev", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-staking", + "sp-std", ] [[package]] @@ -7178,141 +7057,141 @@ name = "pallet-identity" version = "4.0.0-dev" dependencies = [ "enumflags2", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-im-online" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-membership" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-mmr" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-multisig" version = "3.2.3" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-offences" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7320,47 +7199,47 @@ name = "pallet-scheduler" version = "4.0.0-dev" dependencies = [ "docify", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] name = "pallet-session" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-trie", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "log", "orml-traits", "pallet-authorship", @@ -7368,77 +7247,58 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 23.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-sudo" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "parity-scale-codec", - "scale-info", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", - "sp-timestamp 4.0.0-dev", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-timestamp 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", + "sp-storage", + "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" dependencies = [ - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7448,12 +7308,12 @@ dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-weights 20.0.0", + "sp-runtime", + "sp-weights", ] [[package]] @@ -7462,24 +7322,24 @@ version = "4.0.0-dev" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-weights 20.0.0", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-utility" version = "4.0.0-dev" dependencies = [ - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7488,9 +7348,9 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-traits", @@ -7499,11 +7359,11 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "staging-xcm 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] @@ -7706,16 +7566,16 @@ name = "permissions" version = "1.1.0" dependencies = [ "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7908,8 +7768,8 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "oracle-proxy", @@ -7917,16 +7777,16 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "price-tools", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "xst", @@ -7942,24 +7802,24 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -8052,25 +7912,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -8260,9 +8120,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "mock-liquidity-source", @@ -8270,17 +8130,17 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -8293,25 +8153,25 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "pswap-distribution", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -8323,12 +8183,12 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "pswap-distribution-runtime-api", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -8340,9 +8200,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -8352,8 +8212,8 @@ dependencies = [ "assets", "band", "common 0.1.0", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "framenode-chain-spec", "framenode-runtime", "multicollateral-bonding-curve-pool", @@ -8366,11 +8226,11 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "xst", ] @@ -8629,9 +8489,9 @@ version = "1.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -8641,10 +8501,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8719,9 +8579,9 @@ version = "1.3.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "libsecp256k1", "log", @@ -8733,10 +8593,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -8748,12 +8608,12 @@ dependencies = [ "parity-scale-codec", "rewards-runtime-api", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", ] [[package]] @@ -8764,9 +8624,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -9076,8 +8936,8 @@ name = "sc-allocator" version = "4.1.0-dev" dependencies = [ "log", - "sp-core 21.0.0", - "sp-wasm-interface 14.0.0", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -9094,12 +8954,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -9109,12 +8969,12 @@ version = "0.10.0-dev" dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev", + "sp-api", "sp-block-builder", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -9129,10 +8989,10 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -9171,13 +9031,13 @@ dependencies = [ "sc-utils 4.0.0-dev", "serde", "serde_json", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-blockchain", + "sp-core", "sp-keyring", - "sp-keystore 0.27.0", - "sp-panic-handler 8.0.0", - "sp-runtime 24.0.0", - "sp-version 22.0.0", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -9195,16 +9055,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils 4.0.0-dev", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-core 21.0.0", - "sp-database 4.0.0-dev", - "sp-externalities 0.19.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-database", + "sp-externalities", + "sp-runtime", + "sp-state-machine", "sp-statement-store", - "sp-storage 13.0.0", + "sp-storage", "substrate-prometheus-endpoint", ] @@ -9224,13 +9084,13 @@ dependencies = [ "sc-client-api", "sc-state-db 0.10.0-dev", "schnellru", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-database 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-trie 22.0.0", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -9249,13 +9109,13 @@ dependencies = [ "sc-client-api", "sc-state-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "schnellru", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-database 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-trie 22.0.0", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] @@ -9272,12 +9132,12 @@ dependencies = [ "sc-client-api", "sc-utils 4.0.0-dev", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "substrate-prometheus-endpoint", "thiserror", ] @@ -9295,17 +9155,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", + "sp-api", + "sp-application-crypto", "sp-block-builder", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -9330,17 +9190,17 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool-api", "scale-info", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", + "sp-api", + "sp-application-crypto", "sp-block-builder", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -9355,14 +9215,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", "sp-consensus-babe", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -9384,16 +9244,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils 4.0.0-dev", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-consensus-beefy 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-mmr-primitives 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -9412,9 +9272,9 @@ dependencies = [ "sc-consensus-beefy", "sc-rpc", "serde", - "sp-consensus-beefy 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", "thiserror", ] @@ -9426,8 +9286,8 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-consensus", - "sp-blockchain 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -9457,15 +9317,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde_json", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -9482,14 +9342,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-slots", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -9501,15 +9361,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmtime", "schnellru", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-io 23.0.0", - "sp-panic-handler 8.0.0", - "sp-runtime-interface 17.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "sp-wasm-interface 14.0.0", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", ] @@ -9519,7 +9379,7 @@ version = "0.10.0-dev" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0", + "sp-wasm-interface", "thiserror", "wasm-instrument", ] @@ -9535,8 +9395,8 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 17.0.0", - "sp-wasm-interface 14.0.0", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] @@ -9551,8 +9411,8 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common 0.10.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-runtime", ] [[package]] @@ -9562,9 +9422,9 @@ dependencies = [ "array-bytes", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-keystore 0.27.0", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -9597,10 +9457,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -9621,8 +9481,8 @@ dependencies = [ "prost-build", "sc-client-api", "sc-network", - "sp-blockchain 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -9638,9 +9498,9 @@ dependencies = [ "parity-scale-codec", "prost-build", "sc-consensus", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-runtime", ] [[package]] @@ -9655,9 +9515,9 @@ dependencies = [ "parity-scale-codec", "prost-build", "sc-consensus", - "sp-consensus 0.10.0-dev", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", - "sp-runtime 24.0.0", + "sp-runtime", ] [[package]] @@ -9672,7 +9532,7 @@ dependencies = [ "sc-network", "sc-network-common 0.10.0-dev", "schnellru", - "sp-runtime 24.0.0", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -9691,9 +9551,9 @@ dependencies = [ "prost-build", "sc-client-api", "sc-network", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -9720,12 +9580,12 @@ dependencies = [ "sc-utils 4.0.0-dev", "schnellru", "smallvec", - "sp-arithmetic 16.0.0", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", "sp-consensus-grandpa 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -9742,8 +9602,8 @@ dependencies = [ "sc-network", "sc-network-common 0.10.0-dev", "sc-utils 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-runtime 24.0.0", + "sp-consensus", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -9771,12 +9631,12 @@ dependencies = [ "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sc-transaction-pool-api", "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", + "sp-api", + "sp-core", + "sp-externalities", + "sp-keystore", "sp-offchain", - "sp-runtime 24.0.0", + "sp-runtime", "threadpool", "tracing", ] @@ -9806,16 +9666,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde_json", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 24.0.0", + "sp-runtime", "sp-session", "sp-statement-store", - "sp-version 22.0.0", + "sp-version", "tokio", ] @@ -9830,10 +9690,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 21.0.0", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-version 22.0.0", + "sp-runtime", + "sp-version", "thiserror", ] @@ -9868,11 +9728,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-version 22.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio", "tokio-stream", @@ -9918,20 +9778,20 @@ dependencies = [ "sc-utils 4.0.0-dev", "serde", "serde_json", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-state-machine 0.28.0", - "sp-storage 13.0.0", + "sp-state-machine", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 22.0.0", - "sp-version 22.0.0", + "sp-trie", + "sp-version", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -9948,7 +9808,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 21.0.0", + "sp-core", ] [[package]] @@ -9959,7 +9819,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 21.0.0", + "sp-core", ] [[package]] @@ -9975,9 +9835,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -10014,11 +9874,11 @@ dependencies = [ "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", + "sp-runtime", "sp-tracing 10.0.0", "thiserror", "tracing", @@ -10051,10 +9911,10 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils 4.0.0-dev", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", "sp-tracing 10.0.0", "sp-transaction-pool", "substrate-prometheus-endpoint", @@ -10070,9 +9930,9 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-core", + "sp-runtime", "thiserror", ] @@ -10087,7 +9947,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic 16.0.0", + "sp-arithmetic", ] [[package]] @@ -10102,7 +9962,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic 16.0.0", + "sp-arithmetic", ] [[package]] @@ -10556,36 +10416,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-metadata-ir 0.1.0", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "sp-version 22.0.0", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-metadata-ir 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api-proc-macro", + "sp-core", + "sp-externalities", + "sp-metadata-ir", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", "thiserror", ] @@ -10602,43 +10441,16 @@ dependencies = [ "syn 2.0.68", ] -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "Inflector", - "blake2", - "expander", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.68", -] - -[[package]] -name = "sp-application-crypto" -version = "23.0.0" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", -] - [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -10650,21 +10462,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std", "static_assertions", ] @@ -10672,73 +10470,40 @@ dependencies = [ name = "sp-block-builder" version = "4.0.0-dev" dependencies = [ - "sp-api 4.0.0-dev", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-blockchain" -version = "4.0.0-dev" -dependencies = [ - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "schnellru", - "sp-api 4.0.0-dev", - "sp-consensus 0.10.0-dev", - "sp-database 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "thiserror", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", ] [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "futures", "log", "parity-scale-codec", "parking_lot 0.12.3", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-consensus 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-database 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.10.0-dev" -dependencies = [ - "async-trait", - "futures", - "log", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", + "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/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "async-trait", "futures", "log", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", "thiserror", ] @@ -10749,13 +10514,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-timestamp 4.0.0-dev", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-timestamp", ] [[package]] @@ -10766,50 +10531,31 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-timestamp 4.0.0-dev", -] - -[[package]] -name = "sp-consensus-beefy" -version = "4.0.0-dev" -dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-mmr-primitives 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "strum 0.24.1", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "lazy_static", "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-mmr-primitives 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std", "strum 0.24.1", ] @@ -10822,12 +10568,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] @@ -10840,12 +10586,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] @@ -10855,8 +10601,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0", - "sp-timestamp 4.0.0-dev", + "sp-std", + "sp-timestamp", ] [[package]] @@ -10891,12 +10637,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 9.0.0", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -10905,69 +10651,9 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "array-bytes", - "arrayvec 0.7.4", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58 0.5.1", - "dyn-clonable", - "ed25519-zebra", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.3", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "blake2b_simd", "byteorder", @@ -10982,32 +10668,13 @@ name = "sp-core-hashing-proc-macro" version = "9.0.0" dependencies = [ "quote", - "sp-core-hashing 9.0.0", + "sp-core-hashing", "syn 2.0.68", ] -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "syn 2.0.68", -] - -[[package]] -name = "sp-database" -version = "4.0.0-dev" -dependencies = [ - "kvdb", - "parking_lot 0.12.3", -] - [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -11022,82 +10689,36 @@ dependencies = [ "syn 2.0.68", ] -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.68", -] - [[package]] name = "sp-externalities" version = "0.19.0" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0", - "sp-storage 13.0.0", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.1.0" -dependencies = [ - "serde_json", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-std", + "sp-storage", ] [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-runtime", + "sp-std", "thiserror", ] @@ -11112,38 +10733,14 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-keystore 0.27.0", - "sp-runtime-interface 17.0.0", - "sp-state-machine 0.28.0", - "sp-std 8.0.0", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", "sp-tracing 10.0.0", - "sp-trie 22.0.0", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "bytes", - "ed25519-dalek", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-keystore 0.27.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-trie", "tracing", "tracing-core", ] @@ -11153,8 +10750,8 @@ name = "sp-keyring" version = "24.0.0" dependencies = [ "lazy_static", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-core", + "sp-runtime", "strum 0.24.1", ] @@ -11164,20 +10761,8 @@ version = "0.27.0" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.3", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -11196,18 +10781,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "frame-metadata", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std", ] [[package]] @@ -11219,29 +10793,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "thiserror", -] - -[[package]] -name = "sp-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "ckb-merkle-mountain-range", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "sp-std", "thiserror", ] @@ -11252,34 +10808,24 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" dependencies = [ - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", -] - -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "backtrace", "lazy_static", @@ -11292,34 +10838,12 @@ version = "6.0.0" dependencies = [ "rustc-hash", "serde", - "sp-core 21.0.0", -] - -[[package]] -name = "sp-runtime" -version = "24.0.0" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-std 8.0.0", - "sp-weights 20.0.0", + "sp-core", ] [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "either", "hash256-std-hasher", @@ -11330,12 +10854,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-weights", ] [[package]] @@ -11346,48 +10870,18 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.19.0", - "sp-runtime-interface-proc-macro 11.0.0", - "sp-std 8.0.0", - "sp-storage 13.0.0", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", "sp-tracing 10.0.0", - "sp-wasm-interface 14.0.0", + "sp-wasm-interface", "static_assertions", ] -[[package]] -name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-storage 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-tracing 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-wasm-interface 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -dependencies = [ - "Inflector", - "proc-macro-crate 1.1.3", - "proc-macro2", - "quote", - "syn 2.0.68", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -11402,12 +10896,12 @@ version = "4.0.0-dev" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev", - "sp-core 21.0.0", - "sp-keystore 0.27.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -11418,49 +10912,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-panic-handler 8.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", - "thiserror", - "tracing", - "trie-db", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "hash-db", "log", @@ -11468,11 +10927,11 @@ dependencies = [ "parking_lot 0.12.3", "rand 0.8.5", "smallvec", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-panic-handler 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-trie 22.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", "thiserror", "tracing", "trie-db", @@ -11490,13 +10949,13 @@ dependencies = [ "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api 4.0.0-dev", - "sp-application-crypto 23.0.0", - "sp-core 21.0.0", - "sp-externalities 0.19.0", - "sp-runtime 24.0.0", - "sp-runtime-interface 17.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "sp-std", "thiserror", "x25519-dalek 2.0.1", ] @@ -11505,34 +10964,16 @@ dependencies = [ name = "sp-std" version = "8.0.0" -[[package]] -name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" - -[[package]] -name = "sp-storage" -version = "13.0.0" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -11541,29 +10982,18 @@ version = "4.0.0-dev" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-inherents", + "sp-runtime", + "sp-std", "thiserror", ] -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", -] - [[package]] name = "sp-tracing" version = "10.0.0" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -11575,19 +11005,7 @@ version = "10.0.0" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -11597,8 +11015,8 @@ dependencies = [ name = "sp-transaction-pool" version = "4.0.0-dev" dependencies = [ - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", + "sp-api", + "sp-runtime", ] [[package]] @@ -11608,39 +11026,16 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 21.0.0", - "sp-inherents 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-trie 22.0.0", -] - -[[package]] -name = "sp-trie" -version = "22.0.0" -dependencies = [ - "ahash 0.8.7", - "hash-db", - "hashbrown 0.13.2", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.3", - "scale-info", - "schnellru", - "sp-core 21.0.0", - "sp-std 8.0.0", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "ahash 0.8.7", "hash-db", @@ -11652,8 +11047,8 @@ dependencies = [ "parking_lot 0.12.3", "scale-info", "schnellru", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-std", "thiserror", "tracing", "trie-db", @@ -11669,44 +11064,16 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 9.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", - "sp-version-proc-macro 8.0.0", + "sp-core-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", "thiserror", ] -[[package]] -name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-version-proc-macro 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "thiserror", -] - -[[package]] -name = "sp-version-proc-macro" -version = "8.0.0" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.68", -] - [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11722,20 +11089,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 8.0.0", - "wasmtime", -] - -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-std", "wasmtime", ] @@ -11747,25 +11101,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-std 8.0.0", -] - -[[package]] -name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-arithmetic", + "sp-core", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -11834,25 +11173,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 20.0.0", - "xcm-procedural 1.0.0", -] - -[[package]] -name = "staging-xcm" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "bounded-collections", - "derivative", - "environmental", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "xcm-procedural 1.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-weights", + "xcm-procedural", ] [[package]] @@ -11977,9 +11299,9 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-traits", @@ -11988,10 +11310,10 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -12000,22 +11322,22 @@ version = "0.1.1" dependencies = [ "bridge-types", "ethabi", - "frame-benchmarking 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-support 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "frame-system 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "log", "once_cell", - "pallet-timestamp 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "pallet-timestamp", "parity-scale-codec", "rlp", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-externalities 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-io 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-runtime 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", - "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0)", + "sp-core", + "sp-externalities", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -12038,11 +11360,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api 4.0.0-dev", + "sp-api", "sp-block-builder", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", - "sp-runtime 24.0.0", + "sp-blockchain", + "sp-core", + "sp-runtime", ] [[package]] @@ -12065,7 +11387,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 24.0.0", + "sp-runtime", ] [[package]] @@ -12078,7 +11400,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 24.0.0", + "sp-runtime", ] [[package]] @@ -12178,9 +11500,9 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -12190,10 +11512,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "twox-hash", ] @@ -12642,9 +11964,9 @@ dependencies = [ "assets", "common 0.1.0", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "orml-currencies", "orml-tokens", @@ -12654,10 +11976,10 @@ dependencies = [ "permissions", "scale-info", "serde", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -12666,12 +11988,12 @@ version = "0.1.0" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", "trading-pair-runtime-api", ] @@ -12682,9 +12004,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -12776,22 +12098,22 @@ dependencies = [ "sc-executor", "serde", "serde_json", - "sp-api 4.0.0-dev", + "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 21.0.0", - "sp-debug-derive 8.0.0", - "sp-externalities 0.19.0", - "sp-inherents 4.0.0-dev", - "sp-io 23.0.0", - "sp-keystore 0.27.0", + "sp-core", + "sp-debug-derive", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-rpc", - "sp-runtime 24.0.0", - "sp-state-machine 0.28.0", - "sp-timestamp 4.0.0-dev", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", "sp-transaction-storage-proof", - "sp-version 22.0.0", - "sp-weights 20.0.0", + "sp-version", + "sp-weights", "substrate-rpc-client 0.10.0-dev", "zstd 0.12.4", ] @@ -12955,9 +12277,9 @@ dependencies = [ "common 0.1.0", "demeter-farming-platform", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal", "itertools", @@ -12967,7 +12289,7 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -12976,10 +12298,10 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", ] @@ -12990,12 +12312,12 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev", - "sp-blockchain 4.0.0-dev", - "sp-core 21.0.0", + "sp-api", + "sp-blockchain", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-runtime", + "sp-std", "vested-rewards-runtime-api", ] @@ -13007,9 +12329,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -13805,45 +13127,34 @@ dependencies = [ "syn 2.0.68", ] -[[package]] -name = "xcm-procedural" -version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" -dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 2.0.68", -] - [[package]] name = "xor-fee" version = "0.1.0" dependencies = [ "assets", "common 0.1.0", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "orml-currencies", "orml-tokens", "orml-traits", "pallet-balances", "pallet-session", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "pallet-transaction-payment", "parity-scale-codec", "permissions", "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-staking 4.0.0-dev", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -13857,8 +13168,8 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-support", + "frame-system", "hex-literal", "log", "mock-liquidity-source", @@ -13866,7 +13177,7 @@ dependencies = [ "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", @@ -13874,11 +13185,11 @@ dependencies = [ "pswap-distribution", "scale-info", "serde", - "sp-arithmetic 16.0.0", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", ] @@ -13894,26 +13205,26 @@ dependencies = [ "demeter-farming-platform", "dex-api", "dex-manager", - "frame-benchmarking 4.0.0-dev", - "frame-support 4.0.0-dev", - "frame-system 4.0.0-dev", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal", "mock-liquidity-source", "oracle-proxy", "orml-currencies", "orml-tokens", "pallet-balances", - "pallet-timestamp 4.0.0-dev", + "pallet-timestamp", "parity-scale-codec", "permissions", "pool-xyk", "price-tools", "pswap-distribution", "scale-info", - "sp-core 21.0.0", - "sp-io 23.0.0", - "sp-runtime 24.0.0", - "sp-std 8.0.0", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "technical", "trading-pair", "xst", From 802a5a6b0712b5a75c2ac092d07656f5f60e8455 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 17:09:43 +0300 Subject: [PATCH 050/110] style: minor formatting changes --- common/src/alt.rs | 10 ++++++++-- pallets/order-book/src/lib.rs | 16 ++++++++++++---- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/common/src/alt.rs b/common/src/alt.rs index e8735c91a7..d1297c4e71 100644 --- a/common/src/alt.rs +++ b/common/src/alt.rs @@ -491,13 +491,19 @@ impl DiscreteQuotation { if let Some(precision) = self.limits.amount_precision { let (input_precision, output_precision) = match precision { SideAmount::Input(input_precision) => { - let Some(output_precision) = self.limits.get_precision_step(chunk, SwapVariant::WithDesiredOutput) else { + let Some(output_precision) = self + .limits + .get_precision_step(chunk, SwapVariant::WithDesiredOutput) + else { return false; }; (input_precision, output_precision) } SideAmount::Output(output_precision) => { - let Some(input_precision) = self.limits.get_precision_step(chunk, SwapVariant::WithDesiredInput) else { + let Some(input_precision) = self + .limits + .get_precision_step(chunk, SwapVariant::WithDesiredInput) + else { return false; }; (input_precision, output_precision) diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index 4aecea3b59..9ad5f58ca1 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -1429,7 +1429,9 @@ impl LiquiditySource, Balance, D amount: QuoteAmount, _deduce_fee: bool, ) -> Result<(SwapOutcome>, Weight), DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; @@ -1470,7 +1472,9 @@ impl LiquiditySource, Balance, D recommended_samples_count: usize, _deduce_fee: bool, ) -> Result<(DiscreteQuotation, Balance>, Weight), DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; @@ -1644,7 +1648,9 @@ impl LiquiditySource, Balance, D output_asset_id: &AssetIdOf, desired_amount: SwapAmount, ) -> Result<(SwapOutcome>, Weight), DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; @@ -1734,7 +1740,9 @@ impl LiquiditySource, Balance, D amount: QuoteAmount, _deduce_fee: bool, ) -> Result>, DispatchError> { - let Some(order_book_id) = Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) else { + let Some(order_book_id) = + Self::assemble_order_book_id(*dex_id, input_asset_id, output_asset_id) + else { return Err(Error::::UnknownOrderBook.into()); }; From 9d7e285ea055b4052ef495cea240cc68736eaf84 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 17:11:22 +0300 Subject: [PATCH 051/110] refactor: update imports, replace deprecated type, remove unneded module --- common/src/traits.rs | 7 +- .../src/liquidity_aggregator.rs | 2550 ----------------- 2 files changed, 3 insertions(+), 2554 deletions(-) delete mode 100644 pallets/liquidity-proxy/src/liquidity_aggregator.rs diff --git a/common/src/traits.rs b/common/src/traits.rs index 4aa4ccc56e..8aa4f28d82 100644 --- a/common/src/traits.rs +++ b/common/src/traits.rs @@ -38,12 +38,11 @@ use crate::{ }; use frame_support::dispatch::{DispatchResult, DispatchResultWithPostInfo}; -use frame_support::pallet_prelude::MaybeSerializeDeserialize; +use frame_support::pallet_prelude::{DispatchError, MaybeSerializeDeserialize}; use frame_support::sp_runtime::traits::BadOrigin; -use frame_support::sp_runtime::DispatchError; use frame_support::weights::Weight; use frame_support::Parameter; -use frame_system::pallet_prelude::OriginFor; +use frame_system::pallet_prelude::{BlockNumberFor, OriginFor}; use frame_system::RawOrigin; use orml_traits::{ MultiCurrency, MultiCurrencyExtended, MultiLockableCurrency, MultiReservableCurrency, @@ -598,7 +597,7 @@ pub trait Config: frame_system::Config { /// Currency to transfer, reserve/unreserve, lock/unlock assets type MultiCurrency: MultiLockableCurrency< Self::AccountId, - Moment = Self::BlockNumber, + Moment = BlockNumberFor, CurrencyId = AssetIdOf, Balance = Balance, > + MultiReservableCurrency, Balance = Balance> diff --git a/pallets/liquidity-proxy/src/liquidity_aggregator.rs b/pallets/liquidity-proxy/src/liquidity_aggregator.rs deleted file mode 100644 index 77c5da61b4..0000000000 --- a/pallets/liquidity-proxy/src/liquidity_aggregator.rs +++ /dev/null @@ -1,2550 +0,0 @@ -// This file is part of the SORA network and Polkaswap app. - -// Copyright (c) 2020, 2021, Polka Biome Ltd. All rights reserved. -// SPDX-License-Identifier: BSD-4-Clause - -// Redistribution and use in source and binary forms, with or without modification, -// are permitted provided that the following conditions are met: - -// Redistributions of source code must retain the above copyright notice, this list -// of conditions and the following disclaimer. -// Redistributions in binary form must reproduce the above copyright notice, this -// list of conditions and the following disclaimer in the documentation and/or other -// materials provided with the distribution. -// -// All advertising materials mentioning features or use of this software must display -// the following acknowledgement: This product includes software developed by Polka Biome -// Ltd., SORA, and Polkaswap. -// -// Neither the name of the Polka Biome Ltd. nor the names of its contributors may be used -// to endorse or promote products derived from this software without specific prior written permission. - -// THIS SOFTWARE IS PROVIDED BY Polka Biome Ltd. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, -// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Polka Biome Ltd. BE LIABLE FOR ANY -// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -use codec::{Decode, Encode}; -use common::prelude::{OutcomeFee, SwapAmount}; -use sp_runtime::RuntimeDebug; -use sp_std::vec::Vec; - -#[cfg(feature = "wip")] // ALT -use { - common::alt::{DiscreteQuotation, SideAmount, SwapChunk}, - common::prelude::SwapVariant, - common::{fixed, Balance}, - itertools::Itertools, - sp_runtime::traits::Zero, - sp_std::collections::btree_map::BTreeMap, - sp_std::collections::vec_deque::VecDeque, - sp_std::vec, -}; - -/// Info with input & output amounts for liquidity source -#[cfg(feature = "wip")] // ALT -type SwapInfo = - BTreeMap; - -/// Output of the aggregated LiquidityProxy::quote() price. -#[derive( - Encode, Decode, Clone, RuntimeDebug, PartialEq, Eq, PartialOrd, Ord, scale_info::TypeInfo, -)] -pub struct AggregatedSwapOutcome { - /// A distribution of amounts each liquidity sources gets to swap in the entire trade - pub distribution: Vec<(LiquiditySourceType, SwapAmount)>, - /// The best possible output/input amount for a given trade and a set of liquidity sources - pub amount: AmountType, - /// Total fee amount, nominated in XOR - pub fee: OutcomeFee, -} - -impl - AggregatedSwapOutcome -{ - pub fn new( - distribution: Vec<(LiquiditySourceIdType, SwapAmount)>, - amount: AmountType, - fee: OutcomeFee, - ) -> Self { - Self { - distribution, - amount, - fee, - } - } -} - -#[cfg(feature = "wip")] // ALT -#[derive(Clone)] -pub struct LiquidityAggregator { - liquidity_quotations: BTreeMap>, - variant: SwapVariant, -} - -#[cfg(feature = "wip")] // ALT -impl LiquidityAggregator -where - AssetId: Ord + Clone + From>, - LiquiditySourceType: Ord + Clone, -{ - pub fn new(variant: SwapVariant) -> Self { - Self { - liquidity_quotations: BTreeMap::new(), - variant, - } - } - - pub fn add_source( - &mut self, - source: LiquiditySourceType, - discrete_quotation: DiscreteQuotation, - ) { - self.liquidity_quotations.insert(source, discrete_quotation); - } - - /// Aggregates the liquidity from the provided liquidity sources. - /// Liquidity sources provide discretized liquidity curve by chunks and then Liquidity Aggregator selects the best chunks from different sources to gain the best swap amount. - pub fn aggregate_swap_outcome( - mut self, - amount: Balance, - ) -> Option<( - SwapInfo, - AggregatedSwapOutcome, - )> { - if self.liquidity_quotations.is_empty() { - return None; - } - - let mut remaining_amount = amount; - let mut locked_sources = Vec::new(); - let mut selected = BTreeMap::new(); - - while remaining_amount > Balance::zero() { - let candidates = self.find_best_price_candidates(&locked_sources); - - let mut source = candidates.first()?; - - // if there are several candidates with the same best price, - // then we need to select the source that already been selected - for candidate in candidates.iter() { - if selected.keys().contains(candidate) { - source = candidate; - break; - } - } - - let discrete_quotation = self.liquidity_quotations.get_mut(source)?; - let mut chunk = discrete_quotation.chunks.pop_front()?; - let mut payback = SwapChunk::zero(); - - let total = Self::sum_chunks(selected.entry(source.clone()).or_default()); - let (aligned, remainder) = discrete_quotation - .limits - .align_extra_chunk_max(total.clone(), chunk.clone())?; - if !remainder.is_zero() { - // max amount (already selected + new chunk) exceeded - chunk = aligned; - payback = remainder; - locked_sources.push(source.clone()); - } - - let remaining_side_amount = SideAmount::new(remaining_amount, self.variant); - if chunk > remaining_side_amount { - let rescaled = chunk - .clone() - .rescale_by_side_amount(remaining_side_amount)?; - payback = payback.saturating_add(chunk.clone().saturating_sub(rescaled.clone())); - chunk = rescaled; - } - - let remaining_delta = *chunk.get_associated_field(self.variant).amount(); - - if !payback.is_zero() { - // push remains of the chunk back - discrete_quotation.chunks.push_front(payback); - } - - if chunk.is_zero() { - continue; - } - - selected - .entry(source.clone()) - .and_modify(|chunks: &mut VecDeque>| { - chunks.push_back(chunk.clone()) - }) - .or_insert(vec![chunk.clone()].into()); - remaining_amount = remaining_amount.checked_sub(remaining_delta)?; - - if remaining_amount.is_zero() { - let mut to_delete = Vec::new(); - for (source, chunks) in &mut selected { - let total = Self::sum_chunks(chunks); - let discrete_quotation = self.liquidity_quotations.get_mut(source)?; - - let (aligned, remainder) = discrete_quotation.limits.align_chunk(total)?; - if !remainder.is_zero() { - remaining_amount = remaining_amount - .checked_add(*remainder.get_associated_field(self.variant).amount())?; - locked_sources.push(source.clone()); - - if aligned.is_zero() { - // liquidity is not enough even for the min amount - to_delete.push(source.clone()); - - for chunk in chunks.iter().rev() { - discrete_quotation.chunks.push_front(chunk.clone()); - } - } else { - let mut remainder = remainder.get_associated_field(self.variant); - while *remainder.amount() > Balance::zero() { - // it is necessary to return chunks back till `remainder` volume is filled - let Some(chunk) = chunks.pop_back() else { - // chunks are over, already returned all chunks - to_delete.push(source.clone()); - break; - }; - if chunk <= remainder { - let value = remainder.amount().checked_sub( - *chunk.get_associated_field(self.variant).amount(), - )?; - remainder.set_amount(value); - discrete_quotation.chunks.push_front(chunk); - } else { - let remainder_chunk = - chunk.clone().rescale_by_side_amount(remainder)?; - let chunk = chunk.saturating_sub(remainder_chunk.clone()); - chunks.push_back(chunk); - discrete_quotation.chunks.push_front(remainder_chunk); - remainder.set_amount(Balance::zero()); - } - } - } - } - } - selected.retain(|source, _| !to_delete.contains(source)); - } - } - - let mut distribution = Vec::new(); - let mut swap_info: SwapInfo = SwapInfo::new(); - let mut result_amount = Balance::zero(); - let mut fee = OutcomeFee::default(); - - for (source, chunks) in &selected { - let total = Self::sum_chunks(chunks); - - swap_info.insert(source.clone(), (total.input, total.output)); - - let (desired_part, result_part) = match self.variant { - SwapVariant::WithDesiredInput => (total.input, total.output), - SwapVariant::WithDesiredOutput => (total.output, total.input), - }; - distribution.push(( - source.clone(), - SwapAmount::with_variant(self.variant, desired_part, result_part), - )); - result_amount = result_amount.checked_add(result_part)?; - fee = fee.merge(total.fee); - } - - Some(( - swap_info, - AggregatedSwapOutcome { - distribution, - amount: result_amount, - fee, - }, - )) - } - - /// Find liquidity sources where the top chunk has the best price. - fn find_best_price_candidates( - &self, - locked: &Vec, - ) -> Vec { - let mut candidates = Vec::new(); - let mut max = fixed!(0); - for (source, discrete_quotation) in self.liquidity_quotations.iter() { - // skip the locked source - if locked.contains(source) { - continue; - } - - let Some(front) = discrete_quotation.chunks.front() else { - continue; - }; - let Some(price) = front.price() else { - continue; - }; - - if price == max { - candidates.push(source.clone()) - } - - if price > max { - candidates.clear(); - max = price; - candidates.push(source.clone()); - } - } - candidates - } - - fn sum_chunks(chunks: &VecDeque>) -> SwapChunk { - chunks - .iter() - .fold(SwapChunk::::zero(), |acc, next| { - acc.saturating_add(next.clone()) - }) - } -} - -#[cfg(feature = "wip")] // ALT -#[cfg(test)] -mod tests { - use crate::liquidity_aggregator::*; - use common::alt::{DiscreteQuotation, SideAmount, SwapChunk, SwapLimits}; - use common::prelude::{OutcomeFee, SwapAmount, SwapVariant}; - use common::{balance, LiquiditySourceType, XOR, XST}; - use sp_std::collections::vec_deque::VecDeque; - - type AssetId = common::AssetId32; - - fn get_liquidity_aggregator_with_desired_input_and_equal_chunks( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredInput); - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(10), balance!(90), OutcomeFee::xor(balance!(0.9))), - SwapChunk::new(balance!(10), balance!(80), OutcomeFee::xor(balance!(0.8))), - SwapChunk::new(balance!(10), balance!(70), OutcomeFee::xor(balance!(0.7))), - SwapChunk::new(balance!(10), balance!(60), OutcomeFee::xor(balance!(0.6))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Input(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(120), Default::default()), - SwapChunk::new(balance!(10), balance!(100), Default::default()), - SwapChunk::new(balance!(10), balance!(80), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_output_and_equal_chunks( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredOutput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(11), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(12), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(13), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(14), balance!(100), OutcomeFee::xor(balance!(1))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Output(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(8), balance!(100), Default::default()), - SwapChunk::new(balance!(10), balance!(100), Default::default()), - SwapChunk::new(balance!(13), balance!(100), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_input_and_different_chunks( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredInput); - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(12), balance!(108), OutcomeFee::xor(balance!(1.08))), - SwapChunk::new(balance!(14), balance!(112), OutcomeFee::xor(balance!(1.12))), - SwapChunk::new(balance!(16), balance!(112), OutcomeFee::xor(balance!(1.12))), - SwapChunk::new(balance!(18), balance!(108), OutcomeFee::xor(balance!(1.08))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new( - balance!(11), - balance!(93.5), - OutcomeFee::xst(balance!(0.935)), - ), - SwapChunk::new(balance!(12), balance!(102), OutcomeFee::xst(balance!(1.02))), - SwapChunk::new( - balance!(13), - balance!(110.5), - OutcomeFee::xst(balance!(1.105)), - ), - SwapChunk::new(balance!(14), balance!(119), OutcomeFee::xst(balance!(1.19))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Input(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12), balance!(144), Default::default()), - SwapChunk::new(balance!(10), balance!(100), Default::default()), - SwapChunk::new(balance!(14), balance!(112), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_output_and_different_chunks( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredOutput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), Default::default()), - SwapChunk::new(balance!(5.5), balance!(50), Default::default()), - SwapChunk::new(balance!(3), balance!(25), Default::default()), - SwapChunk::new(balance!(26), balance!(200), Default::default()), - SwapChunk::new(balance!(7), balance!(50), Default::default()), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12.5), balance!(100), Default::default()), - SwapChunk::new(balance!(10), balance!(80), Default::default()), - SwapChunk::new(balance!(9), balance!(72), Default::default()), - SwapChunk::new(balance!(8), balance!(64), Default::default()), - SwapChunk::new(balance!(7), balance!(56), Default::default()), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Output(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(8), balance!(100), Default::default()), - SwapChunk::new(balance!(9), balance!(90), Default::default()), - SwapChunk::new(balance!(13), balance!(100), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_input_and_max_amount_limits( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredInput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(10), balance!(90), OutcomeFee::xor(balance!(0.9))), - SwapChunk::new(balance!(10), balance!(80), OutcomeFee::xor(balance!(0.8))), - SwapChunk::new(balance!(10), balance!(70), OutcomeFee::xor(balance!(0.7))), - SwapChunk::new(balance!(10), balance!(60), OutcomeFee::xor(balance!(0.6))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Input(balance!(15))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12), balance!(144), Default::default()), - SwapChunk::new(balance!(10), balance!(100), Default::default()), - SwapChunk::new(balance!(14), balance!(112), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(22))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_output_and_max_amount_limits( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredOutput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(11), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(12), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(13), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(14), balance!(100), OutcomeFee::xor(balance!(1))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Output(balance!(150))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(8), balance!(100), Default::default()), - SwapChunk::new(balance!(9), balance!(90), Default::default()), - SwapChunk::new(balance!(10.5), balance!(100), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Output(balance!(1))), - Some(SideAmount::Output(balance!(190))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_input_and_min_amount_limits( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredInput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(10), balance!(90), OutcomeFee::xor(balance!(0.9))), - SwapChunk::new(balance!(10), balance!(80), OutcomeFee::xor(balance!(0.8))), - SwapChunk::new(balance!(10), balance!(70), OutcomeFee::xor(balance!(0.7))), - SwapChunk::new(balance!(10), balance!(60), OutcomeFee::xor(balance!(0.6))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Input(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12), balance!(144), Default::default()), - SwapChunk::new(balance!(10), balance!(100), Default::default()), - SwapChunk::new(balance!(14), balance!(112), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(21))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_output_and_min_amount_limits( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredOutput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(11), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(12), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(13), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(14), balance!(100), OutcomeFee::xor(balance!(1))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Output(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(8), balance!(100), Default::default()), - SwapChunk::new(balance!(9), balance!(90), Default::default()), - SwapChunk::new(balance!(10.5), balance!(100), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Output(balance!(200))), - Some(SideAmount::Output(balance!(1000))), - Some(SideAmount::Input(balance!(0.00001))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_input_and_precision_limits( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredInput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(10), balance!(90), OutcomeFee::xor(balance!(0.9))), - SwapChunk::new(balance!(10), balance!(80), OutcomeFee::xor(balance!(0.8))), - SwapChunk::new(balance!(10), balance!(70), OutcomeFee::xor(balance!(0.7))), - SwapChunk::new(balance!(10), balance!(60), OutcomeFee::xor(balance!(0.6))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - SwapChunk::new(balance!(10), balance!(85), OutcomeFee::xst(balance!(0.85))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Input(balance!(1000000))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(11), balance!(132), Default::default()), - SwapChunk::new(balance!(10), balance!(90), Default::default()), - SwapChunk::new(balance!(14), balance!(112), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.1))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_output_and_precision_limits_for_input( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredOutput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(11), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(12), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(13), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(14), balance!(100), OutcomeFee::xor(balance!(1))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Output(balance!(150))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(120), Default::default()), - SwapChunk::new(balance!(9), balance!(90), Default::default()), - SwapChunk::new(balance!(13), balance!(100), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Input(balance!(0.01))), - ), - }, - ); - - aggregator - } - - fn get_liquidity_aggregator_with_desired_output_and_precision_limits_for_output( - ) -> LiquidityAggregator { - let mut aggregator = LiquidityAggregator::new(SwapVariant::WithDesiredOutput); - - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(11), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(12), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(13), balance!(100), OutcomeFee::xor(balance!(1))), - SwapChunk::new(balance!(14), balance!(100), OutcomeFee::xor(balance!(1))), - ]), - limits: Default::default(), - }, - ); - - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - SwapChunk::new(balance!(12.5), balance!(100), OutcomeFee::xst(balance!(1))), - ]), - limits: SwapLimits::new(None, Some(SideAmount::Output(balance!(150))), None), - }, - ); - - aggregator.add_source( - LiquiditySourceType::OrderBook, - DiscreteQuotation { - chunks: VecDeque::from([ - SwapChunk::new(balance!(10), balance!(120), Default::default()), - SwapChunk::new(balance!(9), balance!(90), Default::default()), - SwapChunk::new(balance!(13), balance!(100), Default::default()), - ]), - limits: SwapLimits::new( - Some(SideAmount::Input(balance!(1))), - Some(SideAmount::Input(balance!(1000))), - Some(SideAmount::Output(balance!(0.01))), - ), - }, - ); - - aggregator - } - - #[test] - fn check_find_best_price_candidates_with_desired_input_and_equal_chunks() { - let mut aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - - // remove order book chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!( - candidates, - vec![LiquiditySourceType::XYKPool, LiquiditySourceType::OrderBook] - ); - - // check with locked sources - let candidates = aggregator.find_best_price_candidates(&vec![LiquiditySourceType::XYKPool]); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - let candidates = - aggregator.find_best_price_candidates(&vec![LiquiditySourceType::OrderBook]); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove order book chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - } - - #[test] - fn check_find_best_price_candidates_with_desired_output_and_equal_chunks() { - let mut aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - - // remove order book chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!( - candidates, - vec![LiquiditySourceType::XYKPool, LiquiditySourceType::OrderBook] - ); - - // check with locked sources - let candidates = aggregator.find_best_price_candidates(&vec![LiquiditySourceType::XYKPool]); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - let candidates = - aggregator.find_best_price_candidates(&vec![LiquiditySourceType::OrderBook]); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove order book chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 3 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_input_and_equal_chunks() { - let aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(10)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(10), balance!(120)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(10), balance!(120)) - )], - balance!(120), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(20)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(220)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(220)) - )], - balance!(220), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(30)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(10), balance!(100))), - ( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(220)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(10), balance!(100)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(220)) - ) - ], - balance!(320), - OutcomeFee::xor(balance!(1)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(40)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(20), balance!(190))), - ( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(220)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(20), balance!(190)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(220)) - ) - ], - balance!(410), - OutcomeFee::xor(balance!(1.9)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(50)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(20), balance!(190))), - (LiquiditySourceType::XSTPool, (balance!(10), balance!(85))), - ( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(220)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(20), balance!(190)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(10), balance!(85)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(220)) - ) - ], - balance!(495), - OutcomeFee(BTreeMap::from([ - (XOR, balance!(1.9)), - (XST, balance!(0.85)) - ])) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(60)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(20), balance!(190))), - (LiquiditySourceType::XSTPool, (balance!(20), balance!(170))), - ( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(220)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(20), balance!(190)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(20), balance!(170)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(220)) - ) - ], - balance!(580), - OutcomeFee(BTreeMap::from([(XOR, balance!(1.9)), (XST, balance!(1.7))])) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_output_and_equal_chunks() { - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(100)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::OrderBook, (balance!(8), balance!(100)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(100), balance!(8)) - )], - balance!(8), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(200)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(18), balance!(200)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18)) - )], - balance!(18), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(300)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(10), balance!(100))), - ( - LiquiditySourceType::OrderBook, - (balance!(18), balance!(200)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(100), balance!(10)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18)) - ) - ], - balance!(28), - OutcomeFee::xor(balance!(1)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(400)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(21), balance!(200))), - ( - LiquiditySourceType::OrderBook, - (balance!(18), balance!(200)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(200), balance!(21)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18)) - ) - ], - balance!(39), - OutcomeFee::xor(balance!(2)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(500)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(33), balance!(300))), - ( - LiquiditySourceType::OrderBook, - (balance!(18), balance!(200)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(300), balance!(33)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18)) - ) - ], - balance!(51), - OutcomeFee::xor(balance!(3)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(600)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(33), balance!(300))), - ( - LiquiditySourceType::XSTPool, - (balance!(12.5), balance!(100)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(18), balance!(200)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(300), balance!(33)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(100), balance!(12.5)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18)) - ) - ], - balance!(63.5), - OutcomeFee(BTreeMap::from([(XOR, balance!(3)), (XST, balance!(1))])) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_equal_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(700)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(33), balance!(300))), - (LiquiditySourceType::XSTPool, (balance!(25), balance!(200))), - ( - LiquiditySourceType::OrderBook, - (balance!(18), balance!(200)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(300), balance!(33)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(200), balance!(25)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18)) - ) - ], - balance!(76), - OutcomeFee(BTreeMap::from([(XOR, balance!(3)), (XST, balance!(2))])) - ) - ) - ); - } - - #[test] - fn check_find_best_price_candidates_with_desired_input_and_different_chunks() { - let mut aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - - // remove order book chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!( - candidates, - vec![LiquiditySourceType::XYKPool, LiquiditySourceType::OrderBook] - ); - - // check with locked sources - let candidates = aggregator.find_best_price_candidates(&vec![LiquiditySourceType::XYKPool]); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - let candidates = - aggregator.find_best_price_candidates(&vec![LiquiditySourceType::OrderBook]); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove order book chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - } - - #[test] - fn check_find_best_price_candidates_with_desired_output_and_different_chunks() { - let mut aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - - // remove order book chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!( - candidates, - vec![LiquiditySourceType::XYKPool, LiquiditySourceType::OrderBook] - ); - - // check with locked sources - let candidates = aggregator.find_best_price_candidates(&vec![LiquiditySourceType::XYKPool]); - assert_eq!(candidates, vec![LiquiditySourceType::OrderBook]); - let candidates = - aggregator.find_best_price_candidates(&vec![LiquiditySourceType::OrderBook]); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove order book chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::OrderBook) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XYKPool]); - - // remove xyk pool chunk 3 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XYKPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 1 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - - // remove xst pool chunk 2 - aggregator - .liquidity_quotations - .get_mut(&LiquiditySourceType::XSTPool) - .unwrap() - .chunks - .pop_front(); - - let candidates = aggregator.find_best_price_candidates(&Vec::new()); - assert_eq!(candidates, vec![LiquiditySourceType::XSTPool]); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_input_and_different_chunks() { - let aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(10)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(10), balance!(120)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(10), balance!(120)) - )], - balance!(120), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(20)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(224)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(224)) - )], - balance!(224), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(30)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(8), balance!(80))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(8), balance!(80)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(324), - OutcomeFee::xor(balance!(0.8)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(40)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(18), balance!(172))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(18), balance!(172)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(416), - OutcomeFee::xor(balance!(1.719999999999999999)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(50)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(22), balance!(208))), - (LiquiditySourceType::XSTPool, (balance!(6), balance!(51))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(22), balance!(208)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(6), balance!(51)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(503), - OutcomeFee(BTreeMap::from([ - (XOR, balance!(2.08)), - (XST, balance!(0.51)) - ])) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(60)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(22), balance!(208))), - (LiquiditySourceType::XSTPool, (balance!(16), balance!(136))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(22), balance!(208)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(16), balance!(136)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(588), - OutcomeFee(BTreeMap::from([ - (XOR, balance!(2.08)), - (XST, balance!(1.359999999999999999)) - ])) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_output_and_different_chunks() { - let aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(100)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::OrderBook, (balance!(8), balance!(100)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(100), balance!(8)) - )], - balance!(8), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(150)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(13), balance!(150)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(150), balance!(13)) - )], - balance!(13), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(250)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(6), balance!(60))), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(60), balance!(6)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(23), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(340)).unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(15.5), balance!(150)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(150), balance!(15.5)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(32.5), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(405)).unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(18.5), balance!(175)) - ), - (LiquiditySourceType::XSTPool, (balance!(5), balance!(40))), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(175), balance!(18.5)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(40), balance!(5)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(40.5), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_different_chunks(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(505)).unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(18.5), balance!(175)) - ), - ( - LiquiditySourceType::XSTPool, - (balance!(17.5), balance!(140)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(175), balance!(18.5)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(140), balance!(17.5)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(53), - Default::default() - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_input_and_max_amount_limits() { - let aggregator = get_liquidity_aggregator_with_desired_input_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(10)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(10), balance!(120)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(10), balance!(120)) - )], - balance!(120), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(20)).unwrap(), - ( - SwapInfo::from([( - LiquiditySourceType::OrderBook, - (balance!(20), balance!(224)) - )]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(20), balance!(224)) - )], - balance!(224), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(30)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(8), balance!(80))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(8), balance!(80)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(324), - OutcomeFee::xor(balance!(0.8)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(50)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(20), balance!(190))), - (LiquiditySourceType::XSTPool, (balance!(8), balance!(68))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(20), balance!(190)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(8), balance!(68)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(502), - OutcomeFee(BTreeMap::from([ - (XOR, balance!(1.9)), - (XST, balance!(0.68)) - ])) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(60)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(23), balance!(214))), - ( - LiquiditySourceType::XSTPool, - (balance!(15), balance!(127.5)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(23), balance!(214)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(15), balance!(127.5)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(585.5), - OutcomeFee(BTreeMap::from([ - (XOR, balance!(2.14)), - (XST, balance!(1.275)) - ])) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_output_and_max_amount_limits() { - let aggregator = get_liquidity_aggregator_with_desired_output_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(100)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::OrderBook, (balance!(8), balance!(100)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(100), balance!(8)) - )], - balance!(8), - Default::default() - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(200)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(1), balance!(10))), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(10), balance!(1)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(18), - OutcomeFee::xor(balance!(0.1)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(300)).unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(11.1), balance!(110)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(110), balance!(11.1)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(28.1), - OutcomeFee::xor(balance!(1.1)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(500)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(33), balance!(300))), - (LiquiditySourceType::XSTPool, (balance!(1.25), balance!(10))), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(300), balance!(33)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(10), balance!(1.25)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(51.25), - OutcomeFee(BTreeMap::from([(XOR, balance!(3)), (XST, balance!(0.1))])) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(600)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(33), balance!(300))), - ( - LiquiditySourceType::XSTPool, - (balance!(13.75), balance!(110)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(300), balance!(33)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(110), balance!(13.75)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(63.75), - OutcomeFee(BTreeMap::from([(XOR, balance!(3)), (XST, balance!(1.1))])) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_max_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(700)).unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(40.8), balance!(360)) - ), - ( - LiquiditySourceType::XSTPool, - (balance!(18.75), balance!(150)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(17), balance!(190)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(360), balance!(40.8)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_output(balance!(150), balance!(18.75)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(190), balance!(17)) - ) - ], - balance!(76.55), - OutcomeFee(BTreeMap::from([(XOR, balance!(3.6)), (XST, balance!(1.5))])) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_input_and_min_amount_limits() { - let aggregator = get_liquidity_aggregator_with_desired_input_and_min_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(10)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::XYKPool, (balance!(10), balance!(100)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(10), balance!(100)) - )], - balance!(100), - OutcomeFee::xor(balance!(1)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_input_and_min_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(20)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::XYKPool, (balance!(20), balance!(190)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(20), balance!(190)) - )], - balance!(190), - OutcomeFee::xor(balance!(1.9)) - ) - ) - ); - - // order-book appears only when it exceeds the min amount - let aggregator = get_liquidity_aggregator_with_desired_input_and_min_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(30)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(8), balance!(80))), - ( - LiquiditySourceType::OrderBook, - (balance!(22), balance!(244)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(8), balance!(80)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(22), balance!(244)) - ) - ], - balance!(324), - OutcomeFee::xor(balance!(0.8)) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_output_and_min_amount_limits() { - let aggregator = get_liquidity_aggregator_with_desired_output_and_min_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(100)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::XYKPool, (balance!(10), balance!(100)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(100), balance!(10)) - )], - balance!(10), - OutcomeFee::xor(balance!(1)) - ) - ) - ); - - let aggregator = get_liquidity_aggregator_with_desired_output_and_min_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(200)).unwrap(), - ( - SwapInfo::from([(LiquiditySourceType::XYKPool, (balance!(21), balance!(200)))]), - AggregatedSwapOutcome::new( - vec![( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(200), balance!(21)) - )], - balance!(21), - OutcomeFee::xor(balance!(2)) - ) - ) - ); - - // order-book appears only when it exceeds the min amount - let aggregator = get_liquidity_aggregator_with_desired_output_and_min_amount_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(300)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(10), balance!(100))), - ( - LiquiditySourceType::OrderBook, - (balance!(18.05), balance!(200)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(100), balance!(10)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(200), balance!(18.05)) - ) - ], - balance!(28.05), - OutcomeFee::xor(balance!(1)) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_input_and_precision_limits() { - let aggregator = get_liquidity_aggregator_with_desired_input_and_precision_limits(); - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(10.65)).unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(0.05), balance!(0.5)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(10.6), balance!(127.2)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(0.05), balance!(0.5)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_input(balance!(10.6), balance!(127.2)) - ) - ], - balance!(127.7), - OutcomeFee::xor(balance!(0.005)) - ) - ) - ); - } - - #[test] - fn check_aggregate_swap_outcome_with_desired_output_and_precision_limits() { - let aggregator = - get_liquidity_aggregator_with_desired_output_and_precision_limits_for_output(); - assert_eq!( - aggregator - .aggregate_swap_outcome(balance!(101.585)) - .unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(0.0005), balance!(0.005)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(8.465), balance!(101.58)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(0.005), balance!(0.0005)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(101.58), balance!(8.465)) - ) - ], - balance!(8.4655), - OutcomeFee::xor(balance!(0.00005)) - ) - ) - ); - - let aggregator = - get_liquidity_aggregator_with_desired_output_and_precision_limits_for_input(); - assert_eq!( - aggregator - .aggregate_swap_outcome(balance!(101.585)) - .unwrap(), - ( - SwapInfo::from([ - ( - LiquiditySourceType::XYKPool, - (balance!(0.0065), balance!(0.065)) - ), - ( - LiquiditySourceType::OrderBook, - (balance!(8.46), balance!(101.52)) - ) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_output(balance!(0.065), balance!(0.0065)) - ), - ( - LiquiditySourceType::OrderBook, - SwapAmount::with_desired_output(balance!(101.52), balance!(8.46)) - ) - ], - balance!(8.4665), - OutcomeFee::xor(balance!(0.00065)) - ) - ) - ); - } - - #[test] - fn check_returning_back_several_chunks() { - let mut aggregator = - LiquidityAggregator::::new(SwapVariant::WithDesiredInput); - aggregator.add_source( - LiquiditySourceType::XSTPool, - DiscreteQuotation { - chunks: vec![SwapChunk::new(balance!(0.1), balance!(1), Default::default()); 100] - .into(), - limits: SwapLimits::new(None, None, Some(SideAmount::Input(balance!(1)))), - }, - ); - aggregator.add_source( - LiquiditySourceType::XYKPool, - DiscreteQuotation { - chunks: vec![SwapChunk::new(balance!(1), balance!(8), Default::default()); 100] - .into(), - limits: SwapLimits::new(None, None, None), - }, - ); - - assert_eq!( - aggregator.aggregate_swap_outcome(balance!(1.5)).unwrap(), - ( - SwapInfo::from([ - (LiquiditySourceType::XYKPool, (balance!(0.5), balance!(4))), - (LiquiditySourceType::XSTPool, (balance!(1), balance!(10))) - ]), - AggregatedSwapOutcome::new( - vec![ - ( - LiquiditySourceType::XYKPool, - SwapAmount::with_desired_input(balance!(0.5), balance!(4)) - ), - ( - LiquiditySourceType::XSTPool, - SwapAmount::with_desired_input(balance!(1), balance!(10)) - ) - ], - balance!(14), - Default::default() - ) - ) - ); - } -} From f90fc49f2cc392ffdcddbd48407f83202c771cac Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 7 Jul 2024 17:11:51 +0300 Subject: [PATCH 052/110] fix(kensetsu)!: remove std feature from Default impl of GenesisConfig --- pallets/kensetsu/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pallets/kensetsu/src/lib.rs b/pallets/kensetsu/src/lib.rs index 91c9bab4c3..e7d4109fac 100644 --- a/pallets/kensetsu/src/lib.rs +++ b/pallets/kensetsu/src/lib.rs @@ -209,7 +209,7 @@ pub mod pallet { DEFAULT_BALANCE_PRECISION, KXOR, XOR, }; use frame_support::pallet_prelude::*; - use frame_support::traits::Randomness; + use frame_support::traits::{BuildGenesisConfig, Randomness}; use frame_system::offchain::{SendTransactionTypes, SubmitTransaction}; use frame_system::pallet_prelude::*; use pallet_timestamp as timestamp; @@ -459,7 +459,6 @@ pub mod pallet { pub predefined_stablecoin_oracle_peg: Vec<(AssetIdOf, SymbolName, Balance)>, } - #[cfg(feature = "std")] impl Default for GenesisConfig { fn default() -> Self { Self { @@ -472,7 +471,7 @@ pub mod pallet { /// Populates StablecoinInfos with passed parameters. Used for populating with predefined /// stable assets. #[pallet::genesis_build] - impl GenesisBuild for GenesisConfig { + impl BuildGenesisConfig for GenesisConfig { fn build(&self) { self.predefined_stablecoin_sora_peg .iter() From e8300cb152e709927306c334a0bcbf931bfad769 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 10 Jul 2024 13:33:05 +0300 Subject: [PATCH 053/110] chore: sync changes --- pallets/apollo-platform/src/mock.rs | 43 +--------------- pallets/assets/src/mock.rs | 23 --------- pallets/bridge-proxy/src/mock.rs | 38 -------------- pallets/ceres-launchpad/src/mock.rs | 10 ++-- pallets/ceres-liquidity-locker/src/tests.rs | 2 +- pallets/demeter-farming-platform/src/mock.rs | 21 +------- pallets/extended-assets/src/mock.rs | 1 + pallets/faucet/src/mock.rs | 24 +-------- pallets/mock-liquidity-source/src/mock.rs | 45 ----------------- pallets/pool-xyk/src/lib.rs | 1 + pallets/pool-xyk/src/mock.rs | 21 -------- pallets/pool-xyk/src/tests.rs | 53 +++++++++++--------- pallets/trading-pair/src/mock.rs | 6 ++- pallets/vested-rewards/src/mock.rs | 1 - pallets/xst/src/mock.rs | 33 +++--------- 15 files changed, 52 insertions(+), 270 deletions(-) diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 7a26d95784..827a653db2 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -26,7 +26,7 @@ use { sp_runtime::{ testing::{Header, TestXt}, traits::{BlakeTwo256, IdentityLookup, Zero}, - AccountId32, BuildStorage, Perbill, Percent, + AccountId32, BuildStorage, Perbill, Percent, Permill, }, }; @@ -115,53 +115,12 @@ parameter_types! { pub const MinimumPeriod: u64 = 5; } -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; -} - parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)] -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = RuntimeHoldReason; -} - parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = APOLLO_ASSET_ID; diff --git a/pallets/assets/src/mock.rs b/pallets/assets/src/mock.rs index 6c0d16b5cd..773d6a0fee 100644 --- a/pallets/assets/src/mock.rs +++ b/pallets/assets/src/mock.rs @@ -162,29 +162,6 @@ impl currencies::Config for Runtime { type WeightInfo = (); } -parameter_types! { - pub const ExistentialDeposit: u128 = 1; - pub const TransferFee: u128 = 0; - pub const CreationFee: u128 = 0; - pub const TransactionByteFee: u128 = 1; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - pub struct MockLiquidityProxy; impl LiquidityProxyTrait for MockLiquidityProxy { diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index a73fa6c13a..899b013b69 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -127,45 +127,7 @@ impl permissions::Config for Test { type RuntimeEvent = RuntimeEvent; } -impl pallet_balances::Config for Test { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - -impl tokens::Config for Test { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; -} - -impl currencies::Config for Test { - type MultiCurrency = Tokens; - type NativeCurrency = BasicCurrencyAdapter; - type GetNativeCurrencyId = ::GetBaseAssetId; - type WeightInfo = (); -} - parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const GetBaseAssetId: AssetId = XOR; pub const GetBuyBackAssetId: AssetId = XST; } diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index e4ed5e0266..60a2c57fc7 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -63,12 +63,12 @@ pub const EMILY: AccountId = AccountId32::new([5u8; 32]); pub const DEX_A_ID: DEXId = DEXId::Polkaswap; pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; -// mock_technical_config!(Runtime, pool_xyk::PolySwapAction); -// mock_currencies_config!(Runtime); -// mock_pallet_balances_config!(Runtime); -// mock_frame_system_config!(Runtime); +mock_technical_config!(Runtime, pool_xyk::PolySwapAction); +mock_currencies_config!(Runtime); +mock_pallet_balances_config!(Runtime); +mock_frame_system_config!(Runtime); mock_common_config!(Runtime); -// mock_tokens_config!(Runtime); +mock_tokens_config!(Runtime); mock_assets_config!(Runtime); parameter_types! { diff --git a/pallets/ceres-liquidity-locker/src/tests.rs b/pallets/ceres-liquidity-locker/src/tests.rs index 36f35abf90..6fa7e44cce 100644 --- a/pallets/ceres-liquidity-locker/src/tests.rs +++ b/pallets/ceres-liquidity-locker/src/tests.rs @@ -728,7 +728,7 @@ fn liquidity_locker_storage_migration_works() { } } - let lockups_bob = ceres_liquidity_locker::LockerData::::get(BOB); + let lockups_bob: Vec<_> = ceres_liquidity_locker::LockerData::::get(BOB); for lockup in lockups_bob { assert_eq!(lockup.unlocking_timestamp, 9988000); } diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index ce8d874de9..79dad6b282 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -58,7 +58,7 @@ pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); -/* mock_pallet_balances_config!(Runtime); */ +mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); @@ -146,30 +146,11 @@ parameter_types! { } parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); - type GetChameleonPoolBaseAssetId = common::mock::GetChameleonPoolBaseAssetId; - type AssetInfoProvider = assets::Pallet; -} - impl pallet_timestamp::Config for Runtime { type Moment = u64; type OnTimestampSet = (); diff --git a/pallets/extended-assets/src/mock.rs b/pallets/extended-assets/src/mock.rs index ca5d674327..c561ba22f8 100644 --- a/pallets/extended-assets/src/mock.rs +++ b/pallets/extended-assets/src/mock.rs @@ -45,6 +45,7 @@ use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::traits::{IdentifyAccount, Verify}; +use sp_runtime::BuildStorage; use sp_runtime::MultiSignature; type AccountId = <::Signer as IdentifyAccount>::AccountId; diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs index 61b8cb366e..f079c4b832 100644 --- a/pallets/faucet/src/mock.rs +++ b/pallets/faucet/src/mock.rs @@ -104,7 +104,7 @@ mock_technical_config!(Runtime); // Required by assets::Config mock_currencies_config!(Runtime); // Required by currencies::Config -mock_pallet_balances_config!(Runtime); +// mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); @@ -135,14 +135,6 @@ impl permissions::Config for Runtime { type RuntimeEvent = RuntimeEvent; } -// Required by assets::Config -impl currencies::Config for Runtime { - type MultiCurrency = Tokens; - type NativeCurrency = BasicCurrencyAdapter; - type GetNativeCurrencyId = ::GetBaseAssetId; - type WeightInfo = (); -} - // Required by currencies::Config impl pallet_balances::Config for Runtime { type Balance = Balance; @@ -160,20 +152,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } -impl tokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; -} - pub struct ExtBuilder {} impl ExtBuilder { diff --git a/pallets/mock-liquidity-source/src/mock.rs b/pallets/mock-liquidity-source/src/mock.rs index 5267595a74..f445c368ad 100644 --- a/pallets/mock-liquidity-source/src/mock.rs +++ b/pallets/mock-liquidity-source/src/mock.rs @@ -112,51 +112,6 @@ impl Config for Runtime { parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; - pub GetBuyBackSupplyAssets: Vec = vec![VAL, PSWAP]; - pub const GetBuyBackPercentage: u8 = 10; - pub const GetBuyBackAccountId: AccountId = AccountId::new(hex!( - "0000000000000000000000000000000000000000000000000000000000000023" - )); - pub const GetBuyBackDexId: DEXId = 0; -} - -impl assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type ExtraAccountId = [u8; 32]; - type ExtraAssetRecordArg = - common::AssetIdExtraAssetRecordArg; - type AssetId = AssetId; - type GetBaseAssetId = GetBaseAssetId; - type GetBuyBackAssetId = GetBuyBackAssetId; - type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets; - type GetBuyBackPercentage = GetBuyBackPercentage; - type GetBuyBackAccountId = GetBuyBackAccountId; - type GetBuyBackDexId = GetBuyBackDexId; - type BuyBackLiquidityProxy = (); - type Currency = currencies::Pallet; - type GetTotalBalance = (); - type WeightInfo = (); -} - -impl common::Config for Runtime { - type DEXId = DEXId; - type LstId = common::LiquiditySourceType; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); } impl permissions::Config for Runtime { diff --git a/pallets/pool-xyk/src/lib.rs b/pallets/pool-xyk/src/lib.rs index 977b9e6eb6..5688414ccb 100644 --- a/pallets/pool-xyk/src/lib.rs +++ b/pallets/pool-xyk/src/lib.rs @@ -918,6 +918,7 @@ pub mod pallet { + ceres_liquidity_locker::Config + demeter_farming_platform::Config + permissions::Config + + common::Config + orml_tokens::Config { /// The minimum amount of XOR to deposit as liquidity diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index acff9b4f98..f81e9859d4 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -130,27 +130,6 @@ impl trading_pair::Config for Runtime { type WeightInfo = (); } -impl common::Config for Runtime { - type DEXId = DEXId; - type LstId = common::LiquiditySourceType; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - impl orml_tokens::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; diff --git a/pallets/pool-xyk/src/tests.rs b/pallets/pool-xyk/src/tests.rs index fc877fe03a..e3352a79d1 100644 --- a/pallets/pool-xyk/src/tests.rs +++ b/pallets/pool-xyk/src/tests.rs @@ -33,8 +33,9 @@ use core::str::FromStr; use common::alt::{DiscreteQuotation, SideAmount, SwapChunk, SwapLimits}; use common::prelude::{FixedWrapper, OutcomeFee, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ - balance, fixed, AssetInfoProvider, AssetName, AssetSymbol, Balance, LiquiditySource, - LiquiditySourceType, Oracle, ToFeeAccount, TradingPairSourceManager, DEFAULT_BALANCE_PRECISION, + balance, fixed, AssetId32, AssetInfoProvider, AssetName, AssetSymbol, Balance, LiquiditySource, + LiquiditySourceType, Oracle, PredefinedAssetId, ToFeeAccount, TradingPair, + TradingPairSourceManager, DEFAULT_BALANCE_PRECISION, XOR, }; use frame_support::assert_ok; use frame_support::{assert_err, assert_noop}; @@ -2809,8 +2810,7 @@ fn swapping_should_not_affect_k_1() { let initial_reserve_target = balance!(5.999999999999999999); let desired_out = balance!(4); let expected_in = balance!(18.054162487462387185); - let expected_fee = - OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.054162487462387161)); + let expected_fee = OutcomeFee::from_asset(GoldenTicket, balance!(0.054162487462387161)); assert_ok!(crate::Pallet::::deposit_liquidity( RuntimeOrigin::signed(ALICE()), @@ -2871,8 +2871,8 @@ fn swapping_should_not_affect_k_2() { let initial_reserve_target = balance!(5.999999999999999999); let desired_out = balance!(4); let expected_in = balance!(4.826060727930826461); - let expected_fee = - OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.012036108324974924)); + let expected_fee: OutcomeFee = + OutcomeFee::from_asset(GoldenTicket, balance!(0.012036108324974924)); assert_ok!(crate::Pallet::::deposit_liquidity( RuntimeOrigin::signed(ALICE()), @@ -2934,7 +2934,7 @@ fn swapping_should_not_affect_k_3() { let initial_reserve_target = balance!(5.999999999999999999); let desired_in = balance!(4); let expected_out = balance!(1.842315983985217123); - let expected_fee = + let expected_fee: OutcomeFee = OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.012000000000000000)); assert_ok!(crate::Pallet::::deposit_liquidity( @@ -2997,8 +2997,7 @@ fn swapping_should_not_affect_k_4() { let initial_reserve_target = balance!(5.999999999999999999); let desired_in = balance!(4); let expected_out = balance!(3.589200000000000000); - let expected_fee = - OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.010800000000000000)); + let expected_fee = OutcomeFee::from_asset(GoldenTicket, balance!(0.010800000000000000)); assert_ok!(crate::Pallet::::deposit_liquidity( RuntimeOrigin::signed(ALICE()), @@ -3094,64 +3093,70 @@ fn mint() { #[test] fn test_get_pair_info() { ExtBuilder::default().build().execute_with(|| { - let asset_base = GetBaseAssetId::get(); - let asset_target = GreenPromise.into(); - let asset_target_2 = BlackPepper.into(); + let asset_base: super::mock::AssetId = GetBaseAssetId::get(); + let asset_target: AssetId32 = GreenPromise.into(); + let asset_target_2: AssetId32 = BlackPepper.into(); let asset_chameleon = Potato.into(); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_base, &asset_target).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_target, &asset_base).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_base, &asset_target_2).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_target_2, &asset_base).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_chameleon, &asset_target_2).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_target_2, &asset_chameleon).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_base, &asset_chameleon).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_chameleon); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); - let (pair, asset_chameleon_opt, flag) = + let (pair, asset_chameleon_opt, flag): (TradingPair, _, _) = PoolXYK::get_pair_info(&asset_base, &asset_chameleon, &asset_base).unwrap(); - assert_eq!(pair.base_asset_id, asset_base); - assert_eq!(pair.target_asset_id, asset_chameleon); + assert_eq!( + Into::>::into(pair.base_asset_id), + asset_base + ); + assert_eq!( + Into::>::into(pair.target_asset_id), + asset_chameleon + ); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); @@ -3453,7 +3458,7 @@ fn price_without_impact_small_amount() { |dex_id, _, _, _, _, _, _, _repr: AccountId, _fee_repr: AccountId| { let amount = balance!(1); // Buy base asset with desired input - let (quote_outcome_a, _) = PoolXYK::quote( + let (quote_outcome_a, _): (SwapOutcome<_, ComicAssetId>, _) = PoolXYK::quote( &dex_id, &BlackPepper.into(), &GoldenTicket.into(), @@ -3560,7 +3565,7 @@ fn price_without_impact_large_amount() { |dex_id, _, _, _, _, _, _, _repr: AccountId, _fee_repr: AccountId| { let amount = balance!(100000); // Buy base asset with desired input - let (quote_outcome_a, _) = PoolXYK::quote( + let (quote_outcome_a, _): (SwapOutcome<_, ComicAssetId>, _) = PoolXYK::quote( &dex_id, &BlackPepper.into(), &GoldenTicket.into(), diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 3304b91313..05ba650b97 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -35,7 +35,7 @@ use common::{ hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, - DOT, KSM, XOR, XST, XSTUSD, + DOT, KSM, PSWAP, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -71,6 +71,7 @@ pub type Amount = i128; pub const ALICE: AccountId = AccountId32::new([1; 32]); pub const DEX_ID: DEXId = DEXId::Polkaswap; +pub const BUY_BACK_ACCOUNT: AccountId = 23; type AssetId = AssetId32; parameter_types! { @@ -105,7 +106,7 @@ parameter_types! { pub GetBuyBackSupplyAssets: Vec = vec![VAL, PSWAP]; pub const GetBuyBackPercentage: u8 = 10; pub const GetBuyBackAccountId: AccountId = BUY_BACK_ACCOUNT; - pub const GetBuyBackDexId: DEXId = 0; + pub const GetBuyBackDexId: DEXId = DEXId::Polkaswap; } impl assets::Config for Runtime { @@ -124,6 +125,7 @@ impl assets::Config for Runtime { type Currency = currencies::Pallet; type GetTotalBalance = (); type WeightInfo = (); + type AssetRegulator = permissions::Pallet; } parameter_types! { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 4138b6365d..6a8b1006a8 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -153,7 +153,6 @@ parameter_types! { pub GetFarmingRewardsAccountId: AccountId = AccountId32::from([155; 32]); pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::from([156; 32]); pub GetXykFee: Fixed = fixed!(0.003); - pub const MinimumPeriod: u64 = 5; pub const CrowdloanVestingPeriod: u64 = 14400; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 2bd2993511..fd5f67aa4f 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -140,31 +140,14 @@ construct_runtime! { } } -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type PalletInfo = PalletInfo; - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; -} +mock_technical_config!(Runtime); +mock_permissions_config!(Runtime); +mock_common_config!(Runtime); +mock_assets_config!(Runtime); +mock_currencies_config!(Runtime); +mock_tokens_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); +mock_frame_system_config!(Runtime); impl dex_manager::Config for Runtime {} From abcc63089846c7197af78f07895dbe02d0639646 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 10 Jul 2024 14:45:02 +0300 Subject: [PATCH 054/110] Revert "chore: sync changes" This reverts commit e8300cb152e709927306c334a0bcbf931bfad769. --- pallets/apollo-platform/src/mock.rs | 43 +++++++++++++++- pallets/assets/src/mock.rs | 23 +++++++++ pallets/bridge-proxy/src/mock.rs | 38 ++++++++++++++ pallets/ceres-launchpad/src/mock.rs | 10 ++-- pallets/ceres-liquidity-locker/src/tests.rs | 2 +- pallets/demeter-farming-platform/src/mock.rs | 21 +++++++- pallets/extended-assets/src/mock.rs | 1 - pallets/faucet/src/mock.rs | 24 ++++++++- pallets/mock-liquidity-source/src/mock.rs | 45 +++++++++++++++++ pallets/pool-xyk/src/lib.rs | 1 - pallets/pool-xyk/src/mock.rs | 21 ++++++++ pallets/pool-xyk/src/tests.rs | 53 +++++++++----------- pallets/trading-pair/src/mock.rs | 6 +-- pallets/vested-rewards/src/mock.rs | 1 + pallets/xst/src/mock.rs | 33 +++++++++--- 15 files changed, 270 insertions(+), 52 deletions(-) diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 827a653db2..7a26d95784 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -26,7 +26,7 @@ use { sp_runtime::{ testing::{Header, TestXt}, traits::{BlakeTwo256, IdentityLookup, Zero}, - AccountId32, BuildStorage, Perbill, Percent, Permill, + AccountId32, BuildStorage, Perbill, Percent, }, }; @@ -115,12 +115,53 @@ parameter_types! { pub const MinimumPeriod: u64 = 5; } +impl frame_system::Config for Runtime { + type BaseCallFilter = Everything; + type BlockWeights = (); + type BlockLength = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Block = Block; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = BlockHashCount; + type DbWeight = (); + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = (); + type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<65536>; +} + parameter_types! { + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } +#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)] +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type DustRemoval = (); + type RuntimeEvent = RuntimeEvent; + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = RuntimeHoldReason; +} + parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = APOLLO_ASSET_ID; diff --git a/pallets/assets/src/mock.rs b/pallets/assets/src/mock.rs index 773d6a0fee..6c0d16b5cd 100644 --- a/pallets/assets/src/mock.rs +++ b/pallets/assets/src/mock.rs @@ -162,6 +162,29 @@ impl currencies::Config for Runtime { type WeightInfo = (); } +parameter_types! { + pub const ExistentialDeposit: u128 = 1; + pub const TransferFee: u128 = 0; + pub const CreationFee: u128 = 0; + pub const TransactionByteFee: u128 = 1; +} + +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); +} + pub struct MockLiquidityProxy; impl LiquidityProxyTrait for MockLiquidityProxy { diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 899b013b69..a73fa6c13a 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -127,7 +127,45 @@ impl permissions::Config for Test { type RuntimeEvent = RuntimeEvent; } +impl pallet_balances::Config for Test { + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); +} + +impl tokens::Config for Test { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type Amount = Amount; + type CurrencyId = ::AssetId; + type WeightInfo = (); + type ExistentialDeposits = ExistentialDeposits; + type CurrencyHooks = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type DustRemovalWhitelist = Everything; +} + +impl currencies::Config for Test { + type MultiCurrency = Tokens; + type NativeCurrency = BasicCurrencyAdapter; + type GetNativeCurrencyId = ::GetBaseAssetId; + type WeightInfo = (); +} + parameter_types! { + pub const ExistentialDeposit: u128 = 1; pub const GetBaseAssetId: AssetId = XOR; pub const GetBuyBackAssetId: AssetId = XST; } diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index 60a2c57fc7..e4ed5e0266 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -63,12 +63,12 @@ pub const EMILY: AccountId = AccountId32::new([5u8; 32]); pub const DEX_A_ID: DEXId = DEXId::Polkaswap; pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; -mock_technical_config!(Runtime, pool_xyk::PolySwapAction); -mock_currencies_config!(Runtime); -mock_pallet_balances_config!(Runtime); -mock_frame_system_config!(Runtime); +// mock_technical_config!(Runtime, pool_xyk::PolySwapAction); +// mock_currencies_config!(Runtime); +// mock_pallet_balances_config!(Runtime); +// mock_frame_system_config!(Runtime); mock_common_config!(Runtime); -mock_tokens_config!(Runtime); +// mock_tokens_config!(Runtime); mock_assets_config!(Runtime); parameter_types! { diff --git a/pallets/ceres-liquidity-locker/src/tests.rs b/pallets/ceres-liquidity-locker/src/tests.rs index 6fa7e44cce..36f35abf90 100644 --- a/pallets/ceres-liquidity-locker/src/tests.rs +++ b/pallets/ceres-liquidity-locker/src/tests.rs @@ -728,7 +728,7 @@ fn liquidity_locker_storage_migration_works() { } } - let lockups_bob: Vec<_> = ceres_liquidity_locker::LockerData::::get(BOB); + let lockups_bob = ceres_liquidity_locker::LockerData::::get(BOB); for lockup in lockups_bob { assert_eq!(lockup.unlocking_timestamp, 9988000); } diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index 79dad6b282..ce8d874de9 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -58,7 +58,7 @@ pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); -mock_pallet_balances_config!(Runtime); +/* mock_pallet_balances_config!(Runtime); */ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); @@ -146,11 +146,30 @@ parameter_types! { } parameter_types! { + pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type DustRemoval = (); + type RuntimeEvent = RuntimeEvent; + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); + type GetChameleonPoolBaseAssetId = common::mock::GetChameleonPoolBaseAssetId; + type AssetInfoProvider = assets::Pallet; +} + impl pallet_timestamp::Config for Runtime { type Moment = u64; type OnTimestampSet = (); diff --git a/pallets/extended-assets/src/mock.rs b/pallets/extended-assets/src/mock.rs index c561ba22f8..ca5d674327 100644 --- a/pallets/extended-assets/src/mock.rs +++ b/pallets/extended-assets/src/mock.rs @@ -45,7 +45,6 @@ use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::traits::{IdentifyAccount, Verify}; -use sp_runtime::BuildStorage; use sp_runtime::MultiSignature; type AccountId = <::Signer as IdentifyAccount>::AccountId; diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs index f079c4b832..61b8cb366e 100644 --- a/pallets/faucet/src/mock.rs +++ b/pallets/faucet/src/mock.rs @@ -104,7 +104,7 @@ mock_technical_config!(Runtime); // Required by assets::Config mock_currencies_config!(Runtime); // Required by currencies::Config -// mock_pallet_balances_config!(Runtime); +mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); @@ -135,6 +135,14 @@ impl permissions::Config for Runtime { type RuntimeEvent = RuntimeEvent; } +// Required by assets::Config +impl currencies::Config for Runtime { + type MultiCurrency = Tokens; + type NativeCurrency = BasicCurrencyAdapter; + type GetNativeCurrencyId = ::GetBaseAssetId; + type WeightInfo = (); +} + // Required by currencies::Config impl pallet_balances::Config for Runtime { type Balance = Balance; @@ -152,6 +160,20 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } +impl tokens::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type Amount = Amount; + type CurrencyId = ::AssetId; + type WeightInfo = (); + type ExistentialDeposits = ExistentialDeposits; + type CurrencyHooks = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type DustRemovalWhitelist = Everything; +} + pub struct ExtBuilder {} impl ExtBuilder { diff --git a/pallets/mock-liquidity-source/src/mock.rs b/pallets/mock-liquidity-source/src/mock.rs index f445c368ad..5267595a74 100644 --- a/pallets/mock-liquidity-source/src/mock.rs +++ b/pallets/mock-liquidity-source/src/mock.rs @@ -112,6 +112,51 @@ impl Config for Runtime { parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; + pub GetBuyBackSupplyAssets: Vec = vec![VAL, PSWAP]; + pub const GetBuyBackPercentage: u8 = 10; + pub const GetBuyBackAccountId: AccountId = AccountId::new(hex!( + "0000000000000000000000000000000000000000000000000000000000000023" + )); + pub const GetBuyBackDexId: DEXId = 0; +} + +impl assets::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type ExtraAccountId = [u8; 32]; + type ExtraAssetRecordArg = + common::AssetIdExtraAssetRecordArg; + type AssetId = AssetId; + type GetBaseAssetId = GetBaseAssetId; + type GetBuyBackAssetId = GetBuyBackAssetId; + type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets; + type GetBuyBackPercentage = GetBuyBackPercentage; + type GetBuyBackAccountId = GetBuyBackAccountId; + type GetBuyBackDexId = GetBuyBackDexId; + type BuyBackLiquidityProxy = (); + type Currency = currencies::Pallet; + type GetTotalBalance = (); + type WeightInfo = (); +} + +impl common::Config for Runtime { + type DEXId = DEXId; + type LstId = common::LiquiditySourceType; +} + +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type DustRemoval = (); + type RuntimeEvent = RuntimeEvent; + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); } impl permissions::Config for Runtime { diff --git a/pallets/pool-xyk/src/lib.rs b/pallets/pool-xyk/src/lib.rs index 5688414ccb..977b9e6eb6 100644 --- a/pallets/pool-xyk/src/lib.rs +++ b/pallets/pool-xyk/src/lib.rs @@ -918,7 +918,6 @@ pub mod pallet { + ceres_liquidity_locker::Config + demeter_farming_platform::Config + permissions::Config - + common::Config + orml_tokens::Config { /// The minimum amount of XOR to deposit as liquidity diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index f81e9859d4..acff9b4f98 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -130,6 +130,27 @@ impl trading_pair::Config for Runtime { type WeightInfo = (); } +impl common::Config for Runtime { + type DEXId = DEXId; + type LstId = common::LiquiditySourceType; +} + +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); +} + impl orml_tokens::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; diff --git a/pallets/pool-xyk/src/tests.rs b/pallets/pool-xyk/src/tests.rs index e3352a79d1..fc877fe03a 100644 --- a/pallets/pool-xyk/src/tests.rs +++ b/pallets/pool-xyk/src/tests.rs @@ -33,9 +33,8 @@ use core::str::FromStr; use common::alt::{DiscreteQuotation, SideAmount, SwapChunk, SwapLimits}; use common::prelude::{FixedWrapper, OutcomeFee, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ - balance, fixed, AssetId32, AssetInfoProvider, AssetName, AssetSymbol, Balance, LiquiditySource, - LiquiditySourceType, Oracle, PredefinedAssetId, ToFeeAccount, TradingPair, - TradingPairSourceManager, DEFAULT_BALANCE_PRECISION, XOR, + balance, fixed, AssetInfoProvider, AssetName, AssetSymbol, Balance, LiquiditySource, + LiquiditySourceType, Oracle, ToFeeAccount, TradingPairSourceManager, DEFAULT_BALANCE_PRECISION, }; use frame_support::assert_ok; use frame_support::{assert_err, assert_noop}; @@ -2810,7 +2809,8 @@ fn swapping_should_not_affect_k_1() { let initial_reserve_target = balance!(5.999999999999999999); let desired_out = balance!(4); let expected_in = balance!(18.054162487462387185); - let expected_fee = OutcomeFee::from_asset(GoldenTicket, balance!(0.054162487462387161)); + let expected_fee = + OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.054162487462387161)); assert_ok!(crate::Pallet::::deposit_liquidity( RuntimeOrigin::signed(ALICE()), @@ -2871,8 +2871,8 @@ fn swapping_should_not_affect_k_2() { let initial_reserve_target = balance!(5.999999999999999999); let desired_out = balance!(4); let expected_in = balance!(4.826060727930826461); - let expected_fee: OutcomeFee = - OutcomeFee::from_asset(GoldenTicket, balance!(0.012036108324974924)); + let expected_fee = + OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.012036108324974924)); assert_ok!(crate::Pallet::::deposit_liquidity( RuntimeOrigin::signed(ALICE()), @@ -2934,7 +2934,7 @@ fn swapping_should_not_affect_k_3() { let initial_reserve_target = balance!(5.999999999999999999); let desired_in = balance!(4); let expected_out = balance!(1.842315983985217123); - let expected_fee: OutcomeFee = + let expected_fee = OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.012000000000000000)); assert_ok!(crate::Pallet::::deposit_liquidity( @@ -2997,7 +2997,8 @@ fn swapping_should_not_affect_k_4() { let initial_reserve_target = balance!(5.999999999999999999); let desired_in = balance!(4); let expected_out = balance!(3.589200000000000000); - let expected_fee = OutcomeFee::from_asset(GoldenTicket, balance!(0.010800000000000000)); + let expected_fee = + OutcomeFee::from_asset(GoldenTicket.into(), balance!(0.010800000000000000)); assert_ok!(crate::Pallet::::deposit_liquidity( RuntimeOrigin::signed(ALICE()), @@ -3093,70 +3094,64 @@ fn mint() { #[test] fn test_get_pair_info() { ExtBuilder::default().build().execute_with(|| { - let asset_base: super::mock::AssetId = GetBaseAssetId::get(); - let asset_target: AssetId32 = GreenPromise.into(); - let asset_target_2: AssetId32 = BlackPepper.into(); + let asset_base = GetBaseAssetId::get(); + let asset_target = GreenPromise.into(); + let asset_target_2 = BlackPepper.into(); let asset_chameleon = Potato.into(); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_base, &asset_target).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_target, &asset_base).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_base, &asset_target_2).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_target_2, &asset_base).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_chameleon, &asset_target_2).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_target_2, &asset_chameleon).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_target_2); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, true); - let (pair, asset_chameleon_opt, flag): (TradingPair>, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_base, &asset_chameleon).unwrap(); assert_eq!(pair.base_asset_id, asset_base); assert_eq!(pair.target_asset_id, asset_chameleon); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); - let (pair, asset_chameleon_opt, flag): (TradingPair, _, _) = + let (pair, asset_chameleon_opt, flag) = PoolXYK::get_pair_info(&asset_base, &asset_chameleon, &asset_base).unwrap(); - assert_eq!( - Into::>::into(pair.base_asset_id), - asset_base - ); - assert_eq!( - Into::>::into(pair.target_asset_id), - asset_chameleon - ); + assert_eq!(pair.base_asset_id, asset_base); + assert_eq!(pair.target_asset_id, asset_chameleon); assert_eq!(asset_chameleon_opt, Some(asset_chameleon)); assert_eq!(flag, false); @@ -3458,7 +3453,7 @@ fn price_without_impact_small_amount() { |dex_id, _, _, _, _, _, _, _repr: AccountId, _fee_repr: AccountId| { let amount = balance!(1); // Buy base asset with desired input - let (quote_outcome_a, _): (SwapOutcome<_, ComicAssetId>, _) = PoolXYK::quote( + let (quote_outcome_a, _) = PoolXYK::quote( &dex_id, &BlackPepper.into(), &GoldenTicket.into(), @@ -3565,7 +3560,7 @@ fn price_without_impact_large_amount() { |dex_id, _, _, _, _, _, _, _repr: AccountId, _fee_repr: AccountId| { let amount = balance!(100000); // Buy base asset with desired input - let (quote_outcome_a, _): (SwapOutcome<_, ComicAssetId>, _) = PoolXYK::quote( + let (quote_outcome_a, _) = PoolXYK::quote( &dex_id, &BlackPepper.into(), &GoldenTicket.into(), diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 05ba650b97..3304b91313 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -35,7 +35,7 @@ use common::{ hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, - DOT, KSM, PSWAP, VAL, XOR, XST, XSTUSD, + DOT, KSM, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -71,7 +71,6 @@ pub type Amount = i128; pub const ALICE: AccountId = AccountId32::new([1; 32]); pub const DEX_ID: DEXId = DEXId::Polkaswap; -pub const BUY_BACK_ACCOUNT: AccountId = 23; type AssetId = AssetId32; parameter_types! { @@ -106,7 +105,7 @@ parameter_types! { pub GetBuyBackSupplyAssets: Vec = vec![VAL, PSWAP]; pub const GetBuyBackPercentage: u8 = 10; pub const GetBuyBackAccountId: AccountId = BUY_BACK_ACCOUNT; - pub const GetBuyBackDexId: DEXId = DEXId::Polkaswap; + pub const GetBuyBackDexId: DEXId = 0; } impl assets::Config for Runtime { @@ -125,7 +124,6 @@ impl assets::Config for Runtime { type Currency = currencies::Pallet; type GetTotalBalance = (); type WeightInfo = (); - type AssetRegulator = permissions::Pallet; } parameter_types! { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 6a8b1006a8..4138b6365d 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -153,6 +153,7 @@ parameter_types! { pub GetFarmingRewardsAccountId: AccountId = AccountId32::from([155; 32]); pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::from([156; 32]); pub GetXykFee: Fixed = fixed!(0.003); + pub const MinimumPeriod: u64 = 5; pub const CrowdloanVestingPeriod: u64 = 14400; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index fd5f67aa4f..2bd2993511 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -140,14 +140,31 @@ construct_runtime! { } } -mock_technical_config!(Runtime); -mock_permissions_config!(Runtime); -mock_common_config!(Runtime); -mock_assets_config!(Runtime); -mock_currencies_config!(Runtime); -mock_tokens_config!(Runtime); -mock_pallet_timestamp_config!(Runtime); -mock_frame_system_config!(Runtime); +impl frame_system::Config for Runtime { + type BaseCallFilter = Everything; + type BlockWeights = (); + type BlockLength = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Block = Block; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = BlockHashCount; + type DbWeight = (); + type Version = (); + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type PalletInfo = PalletInfo; + type SS58Prefix = (); + type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<65536>; +} impl dex_manager::Config for Runtime {} From 16d7e5b7ff6109ca26e64c8375243c43fc263997 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 10 Jul 2024 15:10:11 +0300 Subject: [PATCH 055/110] Revert "refactor: update mocks files" This reverts commit 7847f8c193a3dccc4c27a49567e3a0540bffd25f. --- pallets/bridge-proxy/src/mock.rs | 1 + pallets/ceres-launchpad/src/mock.rs | 2 +- .../ceres-liquidity-locker/benchmarking/src/mock.rs | 6 +++--- pallets/ceres-staking/src/mock.rs | 6 +++--- pallets/demeter-farming-platform/src/mock.rs | 2 +- pallets/dex-api/src/mock.rs | 1 + pallets/farming/src/mock.rs | 2 ++ pallets/rewards/src/mock.rs | 6 +++--- pallets/technical/src/mock.rs | 5 ++++- pallets/trading-pair/src/mock.rs | 9 +++++---- pallets/vested-rewards/src/mock.rs | 12 ++++++++---- pallets/xor-fee/src/mock.rs | 9 ++++----- pallets/xst/src/mock.rs | 10 ++++++---- 13 files changed, 42 insertions(+), 29 deletions(-) diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index a73fa6c13a..44f36218e4 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -127,6 +127,7 @@ impl permissions::Config for Test { type RuntimeEvent = RuntimeEvent; } + impl pallet_balances::Config for Test { type Balance = Balance; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index e4ed5e0266..b39cb56cfb 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -19,7 +19,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; -use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; +use sp_runtime::{MultiSignature, Perbill, Percent, BuildStorage}; pub type BlockNumber = u64; diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index ead83625c1..ee2983b5ee 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -5,9 +5,8 @@ use crate::{Config, *}; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::{ fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, - mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, DEXId, DEXInfo, - Fixed, PSWAP, TBCD, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_pallet_timestamp_config, mock_permissions_config + mock_tokens_config, Amount, DEXId, DEXInfo, Fixed, PSWAP, TBCD, XST, }; use currencies::BasicCurrencyAdapter; @@ -205,6 +204,7 @@ impl pswap_distribution::Config for Runtime { type AssetInfoProvider = assets::Pallet; } + impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index 2c25eda037..055cfd0cbd 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -5,9 +5,9 @@ pub use common::TechAssetId as Tas; pub use common::TechPurpose::*; use common::{ balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, - mock_technical_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, - ContentSource, DEXId, Description, CERES_ASSET_ID, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config + mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, + Description, CERES_ASSET_ID, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild, Hooks}; diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index ce8d874de9..cf1b55d316 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -58,7 +58,7 @@ pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); -/* mock_pallet_balances_config!(Runtime); */ +mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index 79334272ab..63905d274e 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -298,6 +298,7 @@ impl common::Config for Runtime { type LstId = common::LiquiditySourceType; } + impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index 1f7f16e68e..dc9d36f27f 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -193,6 +193,8 @@ impl common::Config for Runtime { type LstId = common::LiquiditySourceType; } + + impl tokens::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index 22505af09a..123644fade 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -43,9 +43,9 @@ use common::mock::ExistentialDeposits; use common::prelude::{Balance, OnValBurned}; use common::{ self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, - mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, - TechPurpose, DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config, + mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, TechPurpose, + DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, }; use permissions::{Scope, BURN, MINT}; diff --git a/pallets/technical/src/mock.rs b/pallets/technical/src/mock.rs index 6912574199..6cee2facfb 100644 --- a/pallets/technical/src/mock.rs +++ b/pallets/technical/src/mock.rs @@ -33,7 +33,7 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::{ mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, DEXId, XST, + mock_pallet_balances_config, mock_tokens_config, mock_permissions_config, DEXId, XST, }; use currencies::BasicCurrencyAdapter; use dispatch::DispatchResult; @@ -96,6 +96,8 @@ mock_tokens_config!(Runtime); mock_permissions_config!(Runtime); mock_assets_config!(Runtime); + + impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; @@ -112,6 +114,7 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } + parameter_types! { pub GetBuyBackAssetId: AssetId = XST.into(); } diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 3304b91313..8ec0d66e8a 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -32,10 +32,10 @@ use crate::{self as trading_pair, Config}; use common::mock::ExistentialDeposits; use common::prelude::{Balance, DEXInfo}; use common::{ - hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, AssetName, - AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, - DOT, KSM, XOR, XST, XSTUSD, + hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_permissions_config, + mock_pallet_balances_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, + BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, DOT, KSM, XOR, + XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -149,6 +149,7 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } + impl dex_manager::Config for Runtime {} pub struct ExtBuilder { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 4138b6365d..76662b6f06 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -34,10 +34,10 @@ use common::prelude::{Balance, DEXInfo}; use common::prelude::{LiquiditySourceType, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, - mock_permissions_config, mock_technical_config, mock_tokens_config, AssetId32, AssetName, - AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, Fixed, LiquidityProxyTrait, - LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, KSM, PSWAP, TBCD, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_pallet_timestamp_config, mock_permissions_config + mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, + Description, Fixed, LiquidityProxyTrait, LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, + KSM, PSWAP, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -159,6 +159,8 @@ parameter_types! { pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); } + + impl Config for Runtime { const BLOCKS_PER_DAY: BlockNumber = 14400; type RuntimeEvent = RuntimeEvent; @@ -271,6 +273,8 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } + + impl dex_manager::Config for Runtime {} impl ceres_liquidity_locker::Config for Runtime { diff --git a/pallets/xor-fee/src/mock.rs b/pallets/xor-fee/src/mock.rs index 96a8eb4138..a4aba3a2c1 100644 --- a/pallets/xor-fee/src/mock.rs +++ b/pallets/xor-fee/src/mock.rs @@ -38,11 +38,10 @@ use common::weights::constants::SMALL_FEE; #[cfg(feature = "wip")] // Dynamic fee use common::DAI; use common::{ - self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, - mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, LiquidityProxyTrait, - LiquiditySourceFilter, LiquiditySourceType, OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, - VAL, XOR, + self, balance, mock_assets_config, mock_common_config, mock_currencies_config, mock_permissions_config + mock_frame_system_config, mock_pallet_balances_config, mock_tokens_config, Amount, AssetId32, + AssetName, AssetSymbol, LiquidityProxyTrait, LiquiditySourceFilter, LiquiditySourceType, + OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, VAL, XOR, }; #[cfg(feature = "wip")] // Dynamic fee use sp_arithmetic::FixedU128; diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 2bd2993511..5a49981aec 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -33,10 +33,10 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::{Balance, PriceToolsProvider}; use common::{ self, balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, - mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, AssetId32, - AssetIdOf, AssetName, AssetSymbol, DEXInfo, Fixed, FromGenericPair, PriceVariant, DAI, - DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, + mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config, mock_pallet_timestamp_config + mock_tokens_config, Amount, AssetId32, AssetIdOf, AssetName, AssetSymbol, DEXInfo, Fixed, + FromGenericPair, PriceVariant, DAI, DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, + XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -234,6 +234,8 @@ impl dex_api::Config for Runtime { type WeightInfo = (); } + + impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; From bc0bad54c0389f04c2db80961eefeec0dab4e274 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 10 Jul 2024 16:11:50 +0300 Subject: [PATCH 056/110] style: apply cargo fmt --- pallets/bridge-proxy/src/mock.rs | 1 - pallets/ceres-launchpad/src/mock.rs | 2 +- .../ceres-liquidity-locker/benchmarking/src/mock.rs | 6 +++--- pallets/ceres-staking/src/mock.rs | 6 +++--- pallets/dex-api/src/mock.rs | 1 - pallets/farming/src/mock.rs | 2 -- pallets/rewards/src/mock.rs | 6 +++--- pallets/technical/src/mock.rs | 5 +---- pallets/trading-pair/src/mock.rs | 9 ++++----- pallets/vested-rewards/src/mock.rs | 12 ++++-------- pallets/xor-fee/src/mock.rs | 9 +++++---- pallets/xst/src/mock.rs | 10 ++++------ 12 files changed, 28 insertions(+), 41 deletions(-) diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 44f36218e4..a73fa6c13a 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -127,7 +127,6 @@ impl permissions::Config for Test { type RuntimeEvent = RuntimeEvent; } - impl pallet_balances::Config for Test { type Balance = Balance; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index b39cb56cfb..e4ed5e0266 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -19,7 +19,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; -use sp_runtime::{MultiSignature, Perbill, Percent, BuildStorage}; +use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; pub type BlockNumber = u64; diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index ee2983b5ee..ead83625c1 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -5,8 +5,9 @@ use crate::{Config, *}; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::{ fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_pallet_timestamp_config, mock_permissions_config - mock_tokens_config, Amount, DEXId, DEXInfo, Fixed, PSWAP, TBCD, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, DEXId, DEXInfo, + Fixed, PSWAP, TBCD, XST, }; use currencies::BasicCurrencyAdapter; @@ -204,7 +205,6 @@ impl pswap_distribution::Config for Runtime { type AssetInfoProvider = assets::Pallet; } - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index 055cfd0cbd..2c25eda037 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -5,9 +5,9 @@ pub use common::TechAssetId as Tas; pub use common::TechPurpose::*; use common::{ balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config - mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, - Description, CERES_ASSET_ID, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, + ContentSource, DEXId, Description, CERES_ASSET_ID, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild, Hooks}; diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index 63905d274e..79334272ab 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -298,7 +298,6 @@ impl common::Config for Runtime { type LstId = common::LiquiditySourceType; } - impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index dc9d36f27f..1f7f16e68e 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -193,8 +193,6 @@ impl common::Config for Runtime { type LstId = common::LiquiditySourceType; } - - impl tokens::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index 123644fade..22505af09a 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -43,9 +43,9 @@ use common::mock::ExistentialDeposits; use common::prelude::{Balance, OnValBurned}; use common::{ self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config, - mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, TechPurpose, - DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, + TechPurpose, DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, }; use permissions::{Scope, BURN, MINT}; diff --git a/pallets/technical/src/mock.rs b/pallets/technical/src/mock.rs index 6cee2facfb..6912574199 100644 --- a/pallets/technical/src/mock.rs +++ b/pallets/technical/src/mock.rs @@ -33,7 +33,7 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::{ mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_tokens_config, mock_permissions_config, DEXId, XST, + mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, DEXId, XST, }; use currencies::BasicCurrencyAdapter; use dispatch::DispatchResult; @@ -96,8 +96,6 @@ mock_tokens_config!(Runtime); mock_permissions_config!(Runtime); mock_assets_config!(Runtime); - - impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; @@ -114,7 +112,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } - parameter_types! { pub GetBuyBackAssetId: AssetId = XST.into(); } diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 8ec0d66e8a..3304b91313 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -32,10 +32,10 @@ use crate::{self as trading_pair, Config}; use common::mock::ExistentialDeposits; use common::prelude::{Balance, DEXInfo}; use common::{ - hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_permissions_config, - mock_pallet_balances_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, - BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, DOT, KSM, XOR, - XST, XSTUSD, + hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, + mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, AssetName, + AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, + DOT, KSM, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -149,7 +149,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } - impl dex_manager::Config for Runtime {} pub struct ExtBuilder { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 76662b6f06..4138b6365d 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -34,10 +34,10 @@ use common::prelude::{Balance, DEXInfo}; use common::prelude::{LiquiditySourceType, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_pallet_timestamp_config, mock_permissions_config - mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, - Description, Fixed, LiquidityProxyTrait, LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, - KSM, PSWAP, TBCD, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, AssetId32, AssetName, + AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, Fixed, LiquidityProxyTrait, + LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, KSM, PSWAP, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -159,8 +159,6 @@ parameter_types! { pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); } - - impl Config for Runtime { const BLOCKS_PER_DAY: BlockNumber = 14400; type RuntimeEvent = RuntimeEvent; @@ -273,8 +271,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } - - impl dex_manager::Config for Runtime {} impl ceres_liquidity_locker::Config for Runtime { diff --git a/pallets/xor-fee/src/mock.rs b/pallets/xor-fee/src/mock.rs index a4aba3a2c1..96a8eb4138 100644 --- a/pallets/xor-fee/src/mock.rs +++ b/pallets/xor-fee/src/mock.rs @@ -38,10 +38,11 @@ use common::weights::constants::SMALL_FEE; #[cfg(feature = "wip")] // Dynamic fee use common::DAI; use common::{ - self, balance, mock_assets_config, mock_common_config, mock_currencies_config, mock_permissions_config - mock_frame_system_config, mock_pallet_balances_config, mock_tokens_config, Amount, AssetId32, - AssetName, AssetSymbol, LiquidityProxyTrait, LiquiditySourceFilter, LiquiditySourceType, - OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, VAL, XOR, + self, balance, mock_assets_config, mock_common_config, mock_currencies_config, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, LiquidityProxyTrait, + LiquiditySourceFilter, LiquiditySourceType, OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, + VAL, XOR, }; #[cfg(feature = "wip")] // Dynamic fee use sp_arithmetic::FixedU128; diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 5a49981aec..2bd2993511 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -33,10 +33,10 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::{Balance, PriceToolsProvider}; use common::{ self, balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, mock_permissions_config, mock_pallet_timestamp_config - mock_tokens_config, Amount, AssetId32, AssetIdOf, AssetName, AssetSymbol, DEXInfo, Fixed, - FromGenericPair, PriceVariant, DAI, DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, - XST, XSTUSD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, AssetId32, + AssetIdOf, AssetName, AssetSymbol, DEXInfo, Fixed, FromGenericPair, PriceVariant, DAI, + DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -234,8 +234,6 @@ impl dex_api::Config for Runtime { type WeightInfo = (); } - - impl pallet_balances::Config for Runtime { type Balance = Balance; type RuntimeEvent = RuntimeEvent; From 6fde3285a505d6228c2c4e44d47b92c16956b55d Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 10 Jul 2024 16:26:10 +0300 Subject: [PATCH 057/110] fix(node): set initial balance of tech accounts to 1 --- node/chain_spec/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 89c3b5ca50..63a118928c 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -1082,16 +1082,16 @@ fn testnet_genesis( } let mut balances = vec![ (eth_bridge_account_id.clone(), initial_eth_bridge_xor_amount), - (assets_and_permissions_account_id.clone(), 0), - (xor_fee_account_id.clone(), 0), - (dex_root_account_id.clone(), 0), - (iroha_migration_account_id.clone(), 0), - (pswap_distribution_account_id.clone(), 0), - (mbc_reserves_account_id.clone(), 0), - (mbc_pool_rewards_account_id.clone(), 0), - (mbc_pool_free_reserves_account_id.clone(), 0), - (xst_pool_permissioned_account_id.clone(), 0), - (kensetsu_treasury_account_id.clone(), 0), + (assets_and_permissions_account_id.clone(), 1), + (xor_fee_account_id.clone(), 1), + (dex_root_account_id.clone(), 1), + (iroha_migration_account_id.clone(), 1), + (pswap_distribution_account_id.clone(), 1), + (mbc_reserves_account_id.clone(), 1), + (mbc_pool_rewards_account_id.clone(), 1), + (mbc_pool_free_reserves_account_id.clone(), 1), + (xst_pool_permissioned_account_id.clone(), 1), + (kensetsu_treasury_account_id.clone(), 1), ] .into_iter() .chain( From c858d2870f653db5767fd32a55b79bdb56196889 Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Fri, 12 Jul 2024 13:17:26 +0300 Subject: [PATCH 058/110] refactor: change mocks to macros, update imports, add params to configs --- pallets/apollo-platform/src/mock.rs | 54 +------------ pallets/assets/src/mock.rs | 75 +------------------ pallets/band/src/mock.rs | 35 +-------- pallets/bridge-proxy/src/mock.rs | 58 ++------------ pallets/ceres-governance-platform/src/mock.rs | 70 +++-------------- pallets/ceres-launchpad/src/mock.rs | 59 +++------------ pallets/ceres-liquidity-locker/src/mock.rs | 11 +-- pallets/ceres-staking/src/mock.rs | 21 +----- pallets/ceres-token-locker/src/mock.rs | 21 +----- pallets/demeter-farming-platform/src/mock.rs | 44 +++-------- pallets/dex-api/src/mock.rs | 63 ++-------------- pallets/dex-manager/src/mock.rs | 27 +------ pallets/eth-bridge/src/tests/mock.rs | 22 +----- pallets/farming/src/mock.rs | 72 +++--------------- pallets/faucet/src/mock.rs | 55 ++------------ .../hermes-governance-platform/src/mock.rs | 22 ++---- pallets/iroha-migration/src/mock.rs | 15 ++-- 17 files changed, 97 insertions(+), 627 deletions(-) diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 7a26d95784..e1f7bcffed 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -1,3 +1,4 @@ +use common::mock_pallet_timestamp_config; use { crate as apollo_platform, common::{ @@ -13,10 +14,10 @@ use { }, currencies::BasicCurrencyAdapter, frame_support::{ - construct_runtime, derive_impl, + construct_runtime, pallet_prelude::Weight, parameter_types, - traits::{ConstU64, Everything, GenesisBuild, Hooks}, + traits::{BuildGenesisConfig, ConstU64, Everything, Hooks}, }, frame_system::{ self, offchain::SendTransactionTypes, pallet_prelude::BlockNumberFor, EnsureRoot, RawOrigin, @@ -92,6 +93,7 @@ mock_technical_config!(Runtime, pool_xyk::PolySwapAction SendTransactionTypes for Runtime where @@ -115,53 +117,12 @@ parameter_types! { pub const MinimumPeriod: u64 = 5; } -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; -} - parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)] -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = RuntimeHoldReason; -} - parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = APOLLO_ASSET_ID; @@ -316,13 +277,6 @@ impl pswap_distribution::Config for Runtime { type AssetInfoProvider = assets::Pallet; } -impl pallet_timestamp::Config for Runtime { - type Moment = Moment; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl dex_manager::Config for Runtime {} impl permissions::Config for Runtime { diff --git a/pallets/assets/src/mock.rs b/pallets/assets/src/mock.rs index 6c0d16b5cd..8f763001be 100644 --- a/pallets/assets/src/mock.rs +++ b/pallets/assets/src/mock.rs @@ -33,11 +33,11 @@ use common::mock::ExistentialDeposits; use common::prelude::{Balance, SwapAmount, SwapOutcome}; use common::{ mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_tokens_config, AssetId32, DEXId, LiquidityProxyTrait, - LiquiditySourceFilter, PSWAP, VAL, XOR, XST, + mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, DEXId, + LiquidityProxyTrait, LiquiditySourceFilter, PSWAP, VAL, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::{BuildGenesisConfig, Everything}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use sp_core::H256; @@ -75,6 +75,7 @@ mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); +mock_permissions_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -83,32 +84,6 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); } -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type PalletInfo = PalletInfo; - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; -} - parameter_types! { pub const GetBaseAssetId: AssetId = XOR; pub const GetBuyBackAssetId: AssetId = XST; @@ -137,54 +112,12 @@ impl Config for Runtime { type AssetRegulator = permissions::Pallet; } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - -impl tokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; -} - -impl currencies::Config for Runtime { - type MultiCurrency = Tokens; - type NativeCurrency = BasicCurrencyAdapter; - type GetNativeCurrencyId = ::GetBaseAssetId; - type WeightInfo = (); -} - parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - pub struct MockLiquidityProxy; impl LiquidityProxyTrait for MockLiquidityProxy { diff --git a/pallets/band/src/mock.rs b/pallets/band/src/mock.rs index 21d1ca734c..29c07066fd 100644 --- a/pallets/band/src/mock.rs +++ b/pallets/band/src/mock.rs @@ -29,6 +29,7 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate::{self as band, Config}; +use common::{mock_frame_system_config, mock_pallet_timestamp_config}; use frame_support::traits::{ConstU16, ConstU64}; use frame_system as system; use sp_core::H256; @@ -58,38 +59,8 @@ frame_support::parameter_types! { pub const MinimumPeriod: u64 = 5; } -impl system::Config for Runtime { - type BaseCallFilter = frame_support::traits::Everything; - type BlockWeights = (); - type BlockLength = (); - type DbWeight = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = u64; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = ConstU64<250>; - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = (); - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = ConstU16<42>; - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; -} - -impl pallet_timestamp::Config for Runtime { - type Moment = Moment; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} +mock_frame_system_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); impl Config for Runtime { type Symbol = String; diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index a73fa6c13a..7d6ea7d427 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -41,11 +41,12 @@ use bridge_types::{EVMChainId, U256}; use common::mock::ExistentialDeposits; use common::{ balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_pallet_balances_config, mock_technical_config, mock_tokens_config, Amount, AssetId32, - AssetName, AssetSymbol, Balance, DEXId, FromGenericPair, PredefinedAssetId, DAI, ETH, XOR, XST, + mock_pallet_balances_config, mock_pallet_timestamp_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, Balance, + DEXId, FromGenericPair, PredefinedAssetId, DAI, ETH, XOR, XST, }; use frame_support::parameter_types; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::{BuildGenesisConfig, Everything}; use frame_system as system; use sp_core::{ConstU128, ConstU64}; use sp_keyring::sr25519::Keyring; @@ -92,6 +93,8 @@ mock_currencies_config!(Test); mock_common_config!(Test); mock_tokens_config!(Test); mock_assets_config!(Test); +mock_pallet_timestamp_config!(Test); +mock_permissions_config!(Test); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -123,49 +126,7 @@ impl system::Config for Test { type MaxConsumers = frame_support::traits::ConstU32<65536>; } -impl permissions::Config for Test { - type RuntimeEvent = RuntimeEvent; -} - -impl pallet_balances::Config for Test { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - -impl tokens::Config for Test { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; -} - -impl currencies::Config for Test { - type MultiCurrency = Tokens; - type NativeCurrency = BasicCurrencyAdapter; - type GetNativeCurrencyId = ::GetBaseAssetId; - type WeightInfo = (); -} - parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const GetBaseAssetId: AssetId = XOR; pub const GetBuyBackAssetId: AssetId = XST; } @@ -327,13 +288,6 @@ impl proxy::Config for Test { type AccountIdConverter = sp_runtime::traits::Identity; } -impl pallet_timestamp::Config for Test { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = (); - type WeightInfo = (); -} - pub fn new_tester() -> sp_io::TestExternalities { let mut storage = system::GenesisConfig::::default() .build_storage() diff --git a/pallets/ceres-governance-platform/src/mock.rs b/pallets/ceres-governance-platform/src/mock.rs index a87823d5d7..31cd5693d8 100644 --- a/pallets/ceres-governance-platform/src/mock.rs +++ b/pallets/ceres-governance-platform/src/mock.rs @@ -3,12 +3,12 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::Balance; use common::{ balance, fixed, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, - Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, AssetId32, AssetName, + AssetSymbol, BalancePrecision, ContentSource, Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -23,6 +23,7 @@ pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; type Block = frame_system::mocking::MockBlock; +type Moment = u64; construct_runtime! { pub enum Runtime { @@ -56,12 +57,14 @@ pub const BOB: AccountId = AccountId::new(hex!( )); mock_technical_config!(Runtime, pool_xyk::PolySwapAction); -// mock_pallet_balances_config!(Runtime); +mock_pallet_balances_config!(Runtime); mock_currencies_config!(Runtime); -// mock_frame_system_config!(Runtime); +mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -74,33 +77,6 @@ parameter_types! { pub const GetBurnUpdateFrequency: BlockNumber = 14400; pub GetParliamentAccountId: AccountId = AccountId32::from([100; 32]); pub GetPswapDistributionAccountId: AccountId = AccountId32::from([101; 32]); - pub const MinimumPeriod: u64 = 5; -} - -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; } parameter_types! { @@ -122,10 +98,6 @@ parameter_types! { pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - impl dex_manager::Config for Runtime {} impl demeter_farming_platform::Config for Runtime { @@ -162,13 +134,6 @@ impl pool_xyk::Config for Runtime { type WeightInfo = (); } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; @@ -200,7 +165,6 @@ impl pswap_distribution::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; @@ -210,22 +174,6 @@ parameter_types! { pub const DescriptionLimit: u32 = 4096; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - #[allow(clippy::type_complexity)] pub struct ExtBuilder { endowed_assets: Vec<( diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index e4ed5e0266..3a879386c6 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -5,12 +5,13 @@ pub use common::TechAssetId as Tas; pub use common::TechPurpose::*; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, DEXInfo, - Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, XOR, XST, XSTUSD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, AssetName, AssetSymbol, + BalancePrecision, ContentSource, DEXId, DEXInfo, Description, Fixed, CERES_ASSET_ID, PSWAP, + TBCD, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -63,13 +64,15 @@ pub const EMILY: AccountId = AccountId32::new([5u8; 32]); pub const DEX_A_ID: DEXId = DEXId::Polkaswap; pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; -// mock_technical_config!(Runtime, pool_xyk::PolySwapAction); -// mock_currencies_config!(Runtime); -// mock_pallet_balances_config!(Runtime); -// mock_frame_system_config!(Runtime); +mock_technical_config!(Runtime, pool_xyk::PolySwapAction); +mock_currencies_config!(Runtime); +mock_pallet_balances_config!(Runtime); +mock_frame_system_config!(Runtime); mock_common_config!(Runtime); -// mock_tokens_config!(Runtime); +mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); +mock_permissions_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -86,36 +89,9 @@ parameter_types! { pub GetBondingCurveRewardsAccountId: AccountId = AccountId32::new([103u8; 32]); pub GetFarmingRewardsAccountId: AccountId = AccountId32::new([104u8; 32]); pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::new([105u8; 32]); - pub const MinimumPeriod: u64 = 5; pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); } -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; -} - impl crate::Config for Runtime { const MILLISECONDS_PER_DAY: Self::Moment = 86_400_000; type RuntimeEvent = RuntimeEvent; @@ -131,10 +107,6 @@ parameter_types! { pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - impl dex_manager::Config for Runtime {} impl trading_pair::Config for Runtime { @@ -216,13 +188,6 @@ impl ceres_token_locker::Config for Runtime { type AssetInfoProvider = assets::Pallet; } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/ceres-liquidity-locker/src/mock.rs b/pallets/ceres-liquidity-locker/src/mock.rs index 803969047f..6ccabe73dc 100644 --- a/pallets/ceres-liquidity-locker/src/mock.rs +++ b/pallets/ceres-liquidity-locker/src/mock.rs @@ -8,7 +8,7 @@ use common::{ mock_permissions_config, mock_technical_config, DEXId, DEXInfo, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -50,7 +50,6 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub GetBaseAssetId: AssetId = common::AssetId32::from_bytes(hex!("0200000000000000000000000000000000000000000000000000000000000000").into()); pub GetIncentiveAssetId: AssetId = common::AssetId32::from_bytes(hex!("0200050000000000000000000000000000000000000000000000000000000000").into()); - pub const ExistentialDeposit: u128 = 0; pub GetPswapDistributionAccountId: AccountId = AccountId::new([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; @@ -101,6 +100,7 @@ impl trading_pair::Config for Runtime { type EnsureDEXManager = dex_manager::Pallet; type DexInfoProvider = dex_manager::Pallet; type WeightInfo = (); + type AssetInfoProvider = assets::Pallet; } impl orml_tokens::Config for Runtime { @@ -122,13 +122,6 @@ parameter_types! { pub const Moment: u64 = u64; } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl demeter_farming_platform::Config for Runtime { type RuntimeEvent = RuntimeEvent; type DemeterAssetId = (); diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index 2c25eda037..5302c19077 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -10,7 +10,7 @@ use common::{ ContentSource, DEXId, Description, CERES_ASSET_ID, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -55,7 +55,7 @@ pub const BOB: AccountId = AccountId::new(hex!( mock_technical_config!(Runtime); mock_currencies_config!(Runtime); -/* mock_pallet_balances_config!(Runtime); */ +mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); @@ -90,28 +90,11 @@ parameter_types! { } parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - pub struct ExtBuilder { pub endowed_assets: Vec<( AssetId, diff --git a/pallets/ceres-token-locker/src/mock.rs b/pallets/ceres-token-locker/src/mock.rs index e023f217e6..bc42d5c156 100644 --- a/pallets/ceres-token-locker/src/mock.rs +++ b/pallets/ceres-token-locker/src/mock.rs @@ -8,7 +8,7 @@ use common::{ AssetSymbol, BalancePrecision, ContentSource, Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -60,7 +60,7 @@ pub const BOB: AccountId = AccountId::new(hex!( mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); -// mock_pallet_balances_config!(Runtime); +mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_permissions_config!(Runtime); mock_pallet_timestamp_config!(Runtime); @@ -164,28 +164,11 @@ impl ceres_liquidity_locker::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - pub struct ExtBuilder { endowed_assets: Vec<( AssetId, diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index cf1b55d316..d63d96c869 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -3,12 +3,12 @@ use common::prelude::Balance; pub use common::TechAssetId as Tas; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, DEXId, DEXInfo, Fixed, CERES_ASSET_ID, DEMETER_ASSET_ID, PSWAP, TBCD, XOR, - XST, XSTUSD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, DEXId, DEXInfo, Fixed, + CERES_ASSET_ID, DEMETER_ASSET_ID, PSWAP, TBCD, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -28,6 +28,7 @@ pub type TechAssetId = common::TechAssetId; pub type TechAccountId = common::TechAccountId; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; +type Moment = u64; construct_runtime! { pub enum Runtime { @@ -63,6 +64,8 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); +mock_permissions_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -79,7 +82,6 @@ parameter_types! { pub GetBondingCurveRewardsAccountId: AccountId = AccountId32::new([103u8; 32]); pub GetFarmingRewardsAccountId: AccountId = AccountId32::new([104u8; 32]); pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::new([105u8; 32]); - pub const MinimumPeriod: u64 = 5; } parameter_types! { @@ -102,10 +104,6 @@ parameter_types! { pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - impl dex_manager::Config for Runtime {} impl trading_pair::Config for Runtime { @@ -146,37 +144,11 @@ parameter_types! { } parameter_types! { - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); - type GetChameleonPoolBaseAssetId = common::mock::GetChameleonPoolBaseAssetId; - type AssetInfoProvider = assets::Pallet; -} - -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14400; type RuntimeEvent = RuntimeEvent; @@ -229,6 +201,8 @@ impl pswap_distribution::Config for Runtime { type PoolXykPallet = PoolXYK; type BuyBackHandler = (); type DexInfoProvider = dex_manager::Pallet; + type GetChameleonPoolBaseAssetId = common::mock::GetChameleonPoolBaseAssetId; + type AssetInfoProvider = assets::Pallet; } pub struct ExtBuilder { diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index 79334272ab..651d1e84ac 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -37,12 +37,13 @@ use common::prelude::{Balance, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ balance, fixed, fixed_from_basis_points, hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, - mock_technical_config, mock_tokens_config, Amount, AssetId32, DEXId, DEXInfo, Fixed, - LiquiditySource, LiquiditySourceType, RewardReason, DOT, KSM, PSWAP, TBCD, XOR, XST, + mock_pallet_timestamp_config, mock_permissions_config, mock_technical_config, + mock_tokens_config, Amount, AssetId32, DEXId, DEXInfo, Fixed, LiquiditySource, + LiquiditySourceType, RewardReason, DOT, KSM, PSWAP, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::sp_runtime::DispatchError; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::{BuildGenesisConfig, Everything}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -62,6 +63,7 @@ type TechAssetId = common::TechAssetId; type TechAccountId = common::TechAccountId; type AssetId = AssetId32; type ReservesInit = Vec<(DEXId, AssetId, (Fixed, Fixed))>; +type Moment = u64; pub fn alice() -> AccountId { AccountId32::from(hex!( @@ -78,11 +80,13 @@ pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); -/* mock_pallet_balances_config!(Runtime); */ +mock_pallet_balances_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); +mock_permissions_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -101,7 +105,6 @@ parameter_types! { pub GetIncentiveAssetId: AssetId = PSWAP.into(); pub GetParliamentAccountId: AccountId = AccountId32::from([8; 32]); pub GetXykFee: Fixed = fixed!(0.003); - pub const MinimumPeriod: u64 = 5; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } @@ -267,53 +270,10 @@ impl Config for Runtime { type WeightInfo = (); } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - parameter_types! { pub const GetBuyBackAssetId: AssetId = TBCD; } -impl assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type ExtraAccountId = [u8; 32]; - type ExtraAssetRecordArg = - common::AssetIdExtraAssetRecordArg; - type AssetId = AssetId; - type GetBaseAssetId = GetBaseAssetId; - type GetBuyBackAssetId = GetBuyBackAssetId; - type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets; - type GetBuyBackPercentage = GetBuyBackPercentage; - type GetBuyBackAccountId = GetBuyBackAccountId; - type GetBuyBackDexId = GetBuyBackDexId; - type BuyBackLiquidityProxy = (); - type Currency = currencies::Pallet; - type GetTotalBalance = (); - type WeightInfo = (); -} - -impl common::Config for Runtime { - type DEXId = DEXId; - type LstId = common::LiquiditySourceType; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - impl mock_liquidity_source::Config for Runtime { type GetFee = GetFee; type EnsureDEXManager = dex_manager::Pallet; @@ -398,13 +358,6 @@ impl pswap_distribution::Config for Runtime { type AssetInfoProvider = assets::Pallet; } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/dex-manager/src/mock.rs b/pallets/dex-manager/src/mock.rs index 1d89e10ff4..6a3ce3540b 100644 --- a/pallets/dex-manager/src/mock.rs +++ b/pallets/dex-manager/src/mock.rs @@ -33,11 +33,11 @@ use common::mock::ExistentialDeposits; use common::prelude::Balance; use common::{ self, fixed_from_basis_points, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_tokens_config, AssetId32, DEXId, - DEXInfo, Fixed, DOT, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_tokens_config, AssetId32, DEXId, DEXInfo, Fixed, DOT, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::{BuildGenesisConfig, Everything}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -92,33 +92,14 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); impl Config for Runtime {} -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - pub struct ExtBuilder { pub initial_dex_list: Vec<(DEXId, DEXInfo)>, pub endowed_accounts: Vec<(AccountId, AssetId, Balance)>, diff --git a/pallets/eth-bridge/src/tests/mock.rs b/pallets/eth-bridge/src/tests/mock.rs index f8cea217f3..f1477efea1 100644 --- a/pallets/eth-bridge/src/tests/mock.rs +++ b/pallets/eth-bridge/src/tests/mock.rs @@ -72,7 +72,7 @@ use frame_support::sp_runtime::{ self, ApplyExtrinsicResultWithInfo, MultiSignature, MultiSigner, Perbill, }; use frame_support::traits::UnfilteredDispatchable; -use frame_support::traits::{Everything, GenesisBuild, Get, PrivilegeCmp}; +use frame_support::traits::{BuildGenesisConfig, Everything, Get, PrivilegeCmp}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::offchain::{Account, SigningTypes}; @@ -262,7 +262,6 @@ parameter_types! { pub const MaximumBlockWeight: Weight = Weight::from_parts(1024, 0); pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); - pub const ExistentialDeposit: u128 = 1; pub const RemovePendingOutgoingRequestsAfter: BlockNumber = 100; pub const TrackPendingIncomingRequestsAfter: (BlockNumber, u64) = (0, 0); pub const SchedulerMaxWeight: Weight = Weight::from_parts(1024, 0); @@ -280,7 +279,7 @@ impl Get> for RemoveTemporaryPeerAccountId { } } -/* mock_pallet_balances_config!(Runtime); */ +mock_pallet_balances_config!(Runtime); mock_currencies_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); @@ -340,23 +339,6 @@ where type Extrinsic = TestExtrinsic; type OverarchingCall = RuntimeCall; } -impl pallet_balances::Config for Runtime { - /// The type for recording an account's balance. - type Balance = Balance; - type DustRemoval = (); - /// The ubiquitous event type. - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index 1f7f16e68e..2d72c99a2e 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -33,12 +33,14 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::Balance; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, AssetName, AssetSymbol, DEXId, DEXInfo, Fixed, DEFAULT_BALANCE_PRECISION, - DOT, PSWAP, TBCD, VAL, XOR, XST, XSTUSD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, AssetName, AssetSymbol, + DEXId, DEXInfo, Fixed, DEFAULT_BALANCE_PRECISION, DOT, PSWAP, TBCD, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, OnFinalize, OnInitialize, PrivilegeCmp}; +use frame_support::traits::{ + BuildGenesisConfig, Everything, OnFinalize, OnInitialize, PrivilegeCmp, +}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -64,6 +66,7 @@ pub type AssetId = common::AssetId32; pub type TechAccountId = common::TechAccountId; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; +type Moment = u64; pub const PSWAP_PER_DAY: Balance = balance!(2500000); pub const REFRESH_FREQUENCY: BlockNumberFor = 1200; @@ -110,7 +113,6 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId = common::AssetId32 { code: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], phantom: PhantomData }; - pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; @@ -123,7 +125,6 @@ parameter_types! { pub GetFarmingRewardsAccountId: AccountId = AccountId32::from([14; 32]); pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::from([15; 32]); pub const SchedulerMaxWeight: Weight = Weight::from_parts(1024, 0); - pub const MinimumPeriod: u64 = 5; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); } @@ -151,33 +152,15 @@ construct_runtime! { } } -/* mock_pallet_balances_config!(Runtime); */ +mock_pallet_balances_config!(Runtime); mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); - -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} +mock_permissions_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); impl dex_manager::Config for Runtime {} @@ -186,33 +169,7 @@ impl trading_pair::Config for Runtime { type EnsureDEXManager = dex_manager::Pallet; type DexInfoProvider = dex_manager::Pallet; type WeightInfo = (); -} - -impl common::Config for Runtime { - type DEXId = DEXId; - type LstId = common::LiquiditySourceType; -} - -impl tokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; -} - -impl currencies::Config for Runtime { - type MultiCurrency = tokens::Pallet; - type NativeCurrency = - BasicCurrencyAdapter, Amount, BlockNumber>; - type GetNativeCurrencyId = ::GetBaseAssetId; - type WeightInfo = (); + type AssetInfoProvider = assets::Pallet; } parameter_types! { @@ -331,13 +288,6 @@ impl pallet_scheduler::Config for Runtime { type Preimages = (); } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs index 61b8cb366e..275460a35c 100644 --- a/pallets/faucet/src/mock.rs +++ b/pallets/faucet/src/mock.rs @@ -33,12 +33,12 @@ use common::mock::ExistentialDeposits; use common::prelude::{Balance, FixedWrapper}; use common::{ self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, TechPurpose, - DEFAULT_BALANCE_PRECISION, USDT, VAL, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, + TechPurpose, DEFAULT_BALANCE_PRECISION, USDT, VAL, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::{BuildGenesisConfig, Everything}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use permissions::{Scope, BURN, MINT}; @@ -83,7 +83,6 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); pub const GetBaseAssetId: AssetId = XOR; - pub const ExistentialDeposit: u128 = 1; } construct_runtime! { @@ -109,6 +108,8 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +// Required by assets::Config +mock_permissions_config!(Runtime); impl Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -130,50 +131,6 @@ parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; } -// Required by assets::Config -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - -// Required by assets::Config -impl currencies::Config for Runtime { - type MultiCurrency = Tokens; - type NativeCurrency = BasicCurrencyAdapter; - type GetNativeCurrencyId = ::GetBaseAssetId; - type WeightInfo = (); -} - -// Required by currencies::Config -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - -impl tokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; -} - pub struct ExtBuilder {} impl ExtBuilder { diff --git a/pallets/hermes-governance-platform/src/mock.rs b/pallets/hermes-governance-platform/src/mock.rs index e007f93f42..4f812b1179 100644 --- a/pallets/hermes-governance-platform/src/mock.rs +++ b/pallets/hermes-governance-platform/src/mock.rs @@ -5,12 +5,12 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::Balance; use common::{ balance, fixed, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, - Description, Fixed, HERMES_ASSET_ID, PSWAP, TBCD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, AssetId32, AssetName, + AssetSymbol, BalancePrecision, ContentSource, Description, Fixed, HERMES_ASSET_ID, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, Hooks}; +use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -26,6 +26,7 @@ pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; type Block = frame_system::mocking::MockBlock; +type Moment = u64; construct_runtime! { pub enum Runtime { @@ -79,6 +80,8 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; @@ -91,7 +94,6 @@ parameter_types! { pub const GetBurnUpdateFrequency: BlockNumber = 14400; pub GetParliamentAccountId: AccountId = AccountId32::from([100; 32]); pub GetPswapDistributionAccountId: AccountId = AccountId32::from([101; 32]); - pub const MinimumPeriod: u64 = 5; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } @@ -121,10 +123,6 @@ parameter_types! { pub const GetBuyBackAssetId: AssetId = TBCD; } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - impl dex_manager::Config for Runtime {} impl demeter_farming_platform::Config for Runtime { @@ -169,12 +167,6 @@ impl pool_xyk::Config for Runtime { type IrreducibleReserve = GetXykIrreducibleReservePercent; type WeightInfo = (); } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; diff --git a/pallets/iroha-migration/src/mock.rs b/pallets/iroha-migration/src/mock.rs index 56843e94b2..8f05813919 100644 --- a/pallets/iroha-migration/src/mock.rs +++ b/pallets/iroha-migration/src/mock.rs @@ -34,14 +34,14 @@ use common::mock::ExistentialDeposits; use common::prelude::Balance; use common::{ balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, PredefinedAssetId, - DEFAULT_BALANCE_PRECISION, VAL, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, + PredefinedAssetId, DEFAULT_BALANCE_PRECISION, VAL, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::{BuildGenesisConfig, Everything}; use frame_support::weights::Weight; -use frame_support::{construct_runtime, derive_impl, parameter_types}; +use frame_support::{construct_runtime, parameter_types}; use permissions::{Scope, MINT}; use sp_core::crypto::AccountId32; use sp_core::H256; @@ -102,15 +102,12 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; } -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; -} - impl referrals::Config for Runtime { type ReservesAcc = ReferralsReservesAcc; type WeightInfo = (); From 21d6973c76e5058cb477b189252809fd98da070f Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 14 Jul 2024 18:46:30 +0300 Subject: [PATCH 059/110] fix(pool-xyk): rename orml_tokens package to tokens This is required because mock_tokens_config uses 'tokens::Config' --- pallets/pool-xyk/Cargo.toml | 4 +- pallets/pool-xyk/src/lib.rs | 2 +- pallets/pool-xyk/src/migrations/v1_1.rs | 6 +-- pallets/pool-xyk/src/mock.rs | 60 ++++--------------------- 4 files changed, 15 insertions(+), 57 deletions(-) diff --git a/pallets/pool-xyk/Cargo.toml b/pallets/pool-xyk/Cargo.toml index 1ddbb4f0c3..4b1adec9d1 100644 --- a/pallets/pool-xyk/Cargo.toml +++ b/pallets/pool-xyk/Cargo.toml @@ -21,7 +21,7 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } +tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } @@ -64,7 +64,7 @@ std = [ 'pallet-timestamp/std', 'sp-runtime/std', 'orml-traits/std', - 'orml-tokens/std', + 'tokens/std', 'sp-runtime/std', 'sp-std/std', ] diff --git a/pallets/pool-xyk/src/lib.rs b/pallets/pool-xyk/src/lib.rs index 977b9e6eb6..1742339ba7 100644 --- a/pallets/pool-xyk/src/lib.rs +++ b/pallets/pool-xyk/src/lib.rs @@ -918,7 +918,7 @@ pub mod pallet { + ceres_liquidity_locker::Config + demeter_farming_platform::Config + permissions::Config - + orml_tokens::Config + + tokens::Config { /// The minimum amount of XOR to deposit as liquidity const MIN_XOR: Balance; diff --git a/pallets/pool-xyk/src/migrations/v1_1.rs b/pallets/pool-xyk/src/migrations/v1_1.rs index 8b71da4b6d..9690ea7e07 100644 --- a/pallets/pool-xyk/src/migrations/v1_1.rs +++ b/pallets/pool-xyk/src/migrations/v1_1.rs @@ -5,10 +5,10 @@ use common::{ use frame_support::pallet_prelude::Weight; use frame_support::pallet_prelude::{StorageValue, ValueQuery}; use frame_support::traits::Get; -use orml_tokens::{AccountData, Accounts}; use sp_runtime::traits::UniqueSaturatedInto; use sp_std::collections::btree_set::BTreeSet; use sp_std::vec::Vec; +use tokens::{AccountData, Accounts}; use crate::{Config, PoolProviders, Properties, TotalIssuances}; @@ -26,7 +26,7 @@ where AssetType, ContentSource, Description, - >>::AssetId: PartialEq<::CurrencyId>, + >>::AssetId: PartialEq<::CurrencyId>, { if OldMarkerTokensIndex::>::exists() { OldMarkerTokensIndex::>::kill(); @@ -51,7 +51,7 @@ where } Accounts::::translate( - |account, currency, data: AccountData<::Balance>| { + |account, currency, data: AccountData<::Balance>| { if let Some((pool_acc, _, _)) = acc_asset_currs .iter() .find(|(_, _, probe_currency)| probe_currency == ¤cy) diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index acff9b4f98..7a5ae40676 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -32,8 +32,9 @@ use crate::{self as pool_xyk, Config}; use common::prelude::{AssetName, AssetSymbol, Balance, Fixed, FromGenericPair, SymbolName}; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, DEXInfo, - GetMarketInfo, TBCD, + mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, + mock_permissions_config, mock_technical_config, mock_tokens_config, DEXInfo, GetMarketInfo, + TBCD, }; use currencies::BasicCurrencyAdapter; use frame_support::traits::{Everything, GenesisBuild}; @@ -78,7 +79,6 @@ parameter_types! { pub const GetBurnUpdateFrequency: BlockNumber = 14400; pub GetParliamentAccountId: AccountId = AccountId32::from([8; 32]); pub GetFee: Fixed = fixed!(0.003); - pub const MinimumPeriod: u64 = 5; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } @@ -95,7 +95,7 @@ construct_runtime! { DexManager: dex_manager::{Pallet, Call, Config, Storage}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Event}, - Tokens: orml_tokens::{Pallet, Call, Config, Storage, Event}, + Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Currencies: currencies::{Pallet, Call, Storage}, Assets: assets::{Pallet, Call, Config, Storage, Event}, @@ -116,10 +116,9 @@ mock_technical_config!(Runtime, crate::PolySwapAction; type DexInfoProvider = dex_manager::Pallet; type WeightInfo = (); -} - -impl common::Config for Runtime { - type DEXId = DEXId; - type LstId = common::LiquiditySourceType; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - -impl orml_tokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type Amount = Amount; - type CurrencyId = ::AssetId; - type WeightInfo = (); - type ExistentialDeposits = ExistentialDeposits; - type CurrencyHooks = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type DustRemovalWhitelist = Everything; + type AssetInfoProvider = assets::Pallet; } parameter_types! { @@ -190,13 +155,6 @@ impl pswap_distribution::Config for Runtime { type AssetInfoProvider = assets::Pallet; } -impl pallet_timestamp::Config for Runtime { - type Moment = Moment; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; @@ -436,7 +394,7 @@ impl ExtBuilder { .assimilate_storage(&mut t) .unwrap(); - orml_tokens::GenesisConfig:: { + tokens::GenesisConfig:: { balances: self.endowed_accounts, } .assimilate_storage(&mut t) From 2fca6ebdce26de564a434075d9a819b6425c0b1b Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 14 Jul 2024 18:47:31 +0300 Subject: [PATCH 060/110] fix(xst)!: fix xst mock & add dummy impl of Into for PolySwapAction. possibly BREAKING --- pallets/pool-xyk/src/operations.rs | 12 +++++++ pallets/xst/src/mock.rs | 51 ++++++------------------------ 2 files changed, 21 insertions(+), 42 deletions(-) diff --git a/pallets/pool-xyk/src/operations.rs b/pallets/pool-xyk/src/operations.rs index 25c838533c..c0f6328003 100644 --- a/pallets/pool-xyk/src/operations.rs +++ b/pallets/pool-xyk/src/operations.rs @@ -30,8 +30,16 @@ use codec::{Decode, Encode}; use common::prelude::{Balance, OutcomeFee}; +use common::AssetId32; +use sp_core::crypto::AccountId32; use sp_runtime::RuntimeDebug; +type DEXId = common::DEXId; +pub type AssetId = AssetId32; +type TechAssetId = common::TechAssetId; +pub type AccountId = AccountId32; +pub type TechAccountId = common::TechAccountId; + use crate::bounds::*; #[derive(Clone, RuntimeDebug, Eq, PartialEq, Encode, Decode, scale_info::TypeInfo)] @@ -87,3 +95,7 @@ pub enum PolySwapAction { DepositLiquidity(DepositLiquidityAction), WithdrawLiquidity(WithdrawLiquidityAction), } + +impl Into<()> for PolySwapAction { + fn into(self) -> () {} +} diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 2bd2993511..a0e73d93ba 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -84,7 +84,6 @@ parameter_types! { pub const GetDefaultProtocolFee: u16 = 0; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 1; pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const TransactionByteFee: u128 = 1; @@ -140,31 +139,15 @@ construct_runtime! { } } -impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; - type BlockWeights = (); - type BlockLength = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Block = Block; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type DbWeight = (); - type Version = (); - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type PalletInfo = PalletInfo; - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<65536>; -} +mock_frame_system_config!(Runtime); +mock_pallet_balances_config!(Runtime); +mock_pallet_timestamp_config!(Runtime); +mock_common_config!(Runtime); +mock_currencies_config!(Runtime); +mock_technical_config!(Runtime); +mock_tokens_config!(Runtime); +mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); impl dex_manager::Config for Runtime {} @@ -234,22 +217,6 @@ impl dex_api::Config for Runtime { type WeightInfo = (); } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - impl pswap_distribution::Config for Runtime { const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3); type RuntimeEvent = RuntimeEvent; From 90b0898ec6c1dd0f468b479dce698a228adf214a Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 14 Jul 2024 23:05:04 +0300 Subject: [PATCH 061/110] fix: upgrade some more mock runtimes --- pallets/mock-liquidity-source/src/mock.rs | 54 ++--------------------- pallets/permissions/src/mock.rs | 48 ++++++++++++++++++-- pallets/qa-tools/Cargo.toml | 4 +- pallets/rewards/src/mock.rs | 1 + pallets/vested-rewards/src/mock.rs | 1 - 5 files changed, 50 insertions(+), 58 deletions(-) diff --git a/pallets/mock-liquidity-source/src/mock.rs b/pallets/mock-liquidity-source/src/mock.rs index 5267595a74..36f7cfd041 100644 --- a/pallets/mock-liquidity-source/src/mock.rs +++ b/pallets/mock-liquidity-source/src/mock.rs @@ -33,8 +33,8 @@ use common::mock::ExistentialDeposits; use common::prelude::Balance; use common::{ self, fixed_from_basis_points, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, - mock_tokens_config, Amount, AssetId32, DEXId, DEXInfo, Fixed, XOR, XST, + mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, AssetId32, DEXId, DEXInfo, Fixed, XOR, XST, }; use currencies::BasicCurrencyAdapter; use frame_support::sp_runtime::AccountId32; @@ -95,6 +95,7 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); impl Config for Runtime { type GetFee = GetFee; @@ -112,55 +113,6 @@ impl Config for Runtime { parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; - pub GetBuyBackSupplyAssets: Vec = vec![VAL, PSWAP]; - pub const GetBuyBackPercentage: u8 = 10; - pub const GetBuyBackAccountId: AccountId = AccountId::new(hex!( - "0000000000000000000000000000000000000000000000000000000000000023" - )); - pub const GetBuyBackDexId: DEXId = 0; -} - -impl assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type ExtraAccountId = [u8; 32]; - type ExtraAssetRecordArg = - common::AssetIdExtraAssetRecordArg; - type AssetId = AssetId; - type GetBaseAssetId = GetBaseAssetId; - type GetBuyBackAssetId = GetBuyBackAssetId; - type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets; - type GetBuyBackPercentage = GetBuyBackPercentage; - type GetBuyBackAccountId = GetBuyBackAccountId; - type GetBuyBackDexId = GetBuyBackDexId; - type BuyBackLiquidityProxy = (); - type Currency = currencies::Pallet; - type GetTotalBalance = (); - type WeightInfo = (); -} - -impl common::Config for Runtime { - type DEXId = DEXId; - type LstId = common::LiquiditySourceType; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} - -impl permissions::Config for Runtime { - type RuntimeEvent = RuntimeEvent; } impl dex_manager::Config for Runtime {} diff --git a/pallets/permissions/src/mock.rs b/pallets/permissions/src/mock.rs index b7a3a61c5f..2971c95f26 100644 --- a/pallets/permissions/src/mock.rs +++ b/pallets/permissions/src/mock.rs @@ -30,7 +30,6 @@ use crate::{self as permissions, Config, Scope, BURN, INIT_DEX, MINT, SLASH}; use common::prelude::Balance; -use common::{mock_frame_system_config, mock_pallet_balances_config}; use frame_support::traits::GenesisBuild; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; @@ -64,13 +63,54 @@ parameter_types! { pub const MaximumBlockLength: u32 = 2 * 1024; pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); } +impl permissions::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} -mock_pallet_balances_config!(Runtime); +parameter_types! { + pub const ExistentialDeposit: u128 = 0; +} -mock_frame_system_config!(Runtime); +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type DustRemoval = (); + type RuntimeEvent = RuntimeEvent; + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = (); + type RuntimeHoldReason = (); + type FreezeIdentifier = (); + type MaxHolds = (); + type MaxFreezes = (); +} -impl Config for Runtime { +impl frame_system::Config for Runtime { + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Block = Block; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; type RuntimeEvent = RuntimeEvent; + type BlockHashCount = frame_support::traits::ConstU64<250>; + type DbWeight = (); + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = (); + type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<65536>; } pub struct ExtBuilder { diff --git a/pallets/qa-tools/Cargo.toml b/pallets/qa-tools/Cargo.toml index f98592edf6..57e2efd2f5 100644 --- a/pallets/qa-tools/Cargo.toml +++ b/pallets/qa-tools/Cargo.toml @@ -62,8 +62,8 @@ std = [ "xst/std", ] private-net = [ - # "framenode-chain-spec/private-net", - # "framenode-runtime/private-net", + "framenode-chain-spec/private-net", + "framenode-runtime/private-net", "order-book/private-net", ] diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index 22505af09a..e4911a3e89 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -111,6 +111,7 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); +mock_permissions_config!(Runtime); impl Config for Runtime { const BLOCKS_PER_DAY: BlockNumber = 20; diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 4138b6365d..6a8b1006a8 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -153,7 +153,6 @@ parameter_types! { pub GetFarmingRewardsAccountId: AccountId = AccountId32::from([155; 32]); pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::from([156; 32]); pub GetXykFee: Fixed = fixed!(0.003); - pub const MinimumPeriod: u64 = 5; pub const CrowdloanVestingPeriod: u64 = 14400; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); From 5220123feb6a1a35dec1ed3dce387a558f12f49d Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 15 Jul 2024 13:28:05 +0300 Subject: [PATCH 062/110] build: bump nightly --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 129ae4622f..a6a523c61e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2023-12-01" +channel = "nightly-2024-06-25" targets = [ "wasm32-unknown-unknown" ] profile = "default" From d56cab59aeb6597af742fc9afd7bd34d1b86f136 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 15 Jul 2024 17:36:56 +0300 Subject: [PATCH 063/110] bump: minimum version of a nightly compiler --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index a6a523c61e..ae8272a06f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2024-06-25" +channel = "nightly-2023-12-28" targets = [ "wasm32-unknown-unknown" ] profile = "default" From 4d6f1c6b60cd7d967b513986bfee6204d302d3ec Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 16 Jul 2024 14:51:01 +0300 Subject: [PATCH 064/110] fix(trading-pair)!: remove copy bound. may be BREAKING --- pallets/assets/src/lib.rs | 1 - pallets/trading-pair/src/mock.rs | 24 +----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/pallets/assets/src/lib.rs b/pallets/assets/src/lib.rs index ed4e3b4453..bdde7526aa 100644 --- a/pallets/assets/src/lib.rs +++ b/pallets/assets/src/lib.rs @@ -195,7 +195,6 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; type ExtraAccountId: Clone - + Copy + Encode + Decode + scale_info::TypeInfo diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 3304b91313..7f9db5fe7d 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -86,7 +86,7 @@ mock_frame_system_config!(Runtime); mock_permissions_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); -/* mock_assets_config!(Runtime); */ +mock_assets_config!(Runtime); impl Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -102,28 +102,6 @@ parameter_types! { parameter_types! { pub const GetBuyBackAssetId: AssetId = XST; - pub GetBuyBackSupplyAssets: Vec = vec![VAL, PSWAP]; - pub const GetBuyBackPercentage: u8 = 10; - pub const GetBuyBackAccountId: AccountId = BUY_BACK_ACCOUNT; - pub const GetBuyBackDexId: DEXId = 0; -} - -impl assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type ExtraAccountId = AccountId; - type ExtraAssetRecordArg = - common::AssetIdExtraAssetRecordArg; - type AssetId = AssetId; - type GetBaseAssetId = GetBaseAssetId; - type GetBuyBackAssetId = GetBuyBackAssetId; - type GetBuyBackSupplyAssets = GetBuyBackSupplyAssets; - type GetBuyBackPercentage = GetBuyBackPercentage; - type GetBuyBackAccountId = GetBuyBackAccountId; - type GetBuyBackDexId = GetBuyBackDexId; - type BuyBackLiquidityProxy = (); - type Currency = currencies::Pallet; - type GetTotalBalance = (); - type WeightInfo = (); } parameter_types! { From 4fc5aea198189b864f59ed3463afdd716bfd33a3 Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 16 Jul 2024 20:04:12 +0300 Subject: [PATCH 065/110] refactor(common)!: BREAKING: set existential deposit to 1 in mock_pallet_balances_config --- common/src/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/mock.rs b/common/src/mock.rs index a1e32f5e19..ebda1cac67 100644 --- a/common/src/mock.rs +++ b/common/src/mock.rs @@ -248,7 +248,7 @@ macro_rules! mock_assets_config { macro_rules! mock_pallet_balances_config { ($runtime:ty) => { parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; } impl pallet_balances::Config for $runtime { type Balance = Balance; From cedf21bee3c96aacb4f59149074dae381ffab24c Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Wed, 17 Jul 2024 19:55:44 +0300 Subject: [PATCH 066/110] fix(pallets [apollo-platform..iroha-migration]): fix tests/builds and remove unused imports and types --- Cargo.lock | 1 + common/src/lib.rs | 2 - pallets/apollo-platform/src/lib.rs | 8 +-- pallets/apollo-platform/src/mock.rs | 8 +-- pallets/assets/src/mock.rs | 4 +- pallets/band/Cargo.toml | 3 + pallets/band/src/mock.rs | 62 ++++++++++++++----- pallets/bridge-proxy/src/mock.rs | 4 +- pallets/bridge-proxy/src/test.rs | 8 ++- pallets/ceres-governance-platform/src/mock.rs | 3 +- pallets/ceres-launchpad/src/mock.rs | 9 +-- pallets/ceres-liquidity-locker/src/lib.rs | 3 +- pallets/ceres-liquidity-locker/src/mock.rs | 11 +--- pallets/ceres-liquidity-locker/src/tests.rs | 2 +- pallets/ceres-staking/src/mock.rs | 6 +- pallets/ceres-token-locker/src/mock.rs | 2 - pallets/demeter-farming-platform/src/mock.rs | 5 +- pallets/dex-api/src/mock.rs | 29 ++------- pallets/dex-manager/src/mock.rs | 4 +- pallets/eth-bridge/src/lib.rs | 1 - pallets/eth-bridge/src/offchain/handle.rs | 1 - pallets/eth-bridge/src/offchain/mod.rs | 2 - pallets/eth-bridge/src/tests/asset.rs | 3 +- .../eth-bridge/src/tests/incoming_transfer.rs | 12 ++-- pallets/eth-bridge/src/tests/mock.rs | 10 ++- .../eth-bridge/src/tests/outgoing_tranfser.rs | 2 +- pallets/extended-assets/src/mock.rs | 7 +-- pallets/farming/src/mock.rs | 10 +-- pallets/faucet/src/mock.rs | 15 +++-- pallets/faucet/src/tests.rs | 6 +- .../hermes-governance-platform/src/mock.rs | 3 +- pallets/iroha-migration/src/mock.rs | 10 ++- pallets/pool-xyk/Cargo.toml | 1 + pallets/pool-xyk/src/utils.rs | 2 +- pallets/vested-rewards/src/migrations.rs | 1 - 35 files changed, 119 insertions(+), 141 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9c15d6b479..27853c1568 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -845,6 +845,7 @@ dependencies = [ "hex-literal", "log", "oracle-proxy", + "orml-tokens", "pallet-balances", "pallet-timestamp", "parity-scale-codec", diff --git a/common/src/lib.rs b/common/src/lib.rs index 58e778d5be..3aa69f30c6 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -75,7 +75,6 @@ pub mod prelude { pub use super::outcome_fee::*; pub use super::permissions; pub use super::primitives::*; - pub use super::serialization::*; pub use super::swap_amount::*; pub use super::traits::*; pub use super::weights::*; @@ -84,7 +83,6 @@ pub mod prelude { } use sp_core::crypto::AccountId32; -pub use macros::*; pub use primitives::*; pub use traits::*; pub use utils::*; diff --git a/pallets/apollo-platform/src/lib.rs b/pallets/apollo-platform/src/lib.rs index 7a1a5e3aad..d75f2eb138 100644 --- a/pallets/apollo-platform/src/lib.rs +++ b/pallets/apollo-platform/src/lib.rs @@ -546,7 +546,7 @@ pub mod pallet { >::get(borrowing_asset, user.clone()).unwrap_or_default(); // Add borrowing amount, collateral amount and interest to user if exists, otherwise create new user - if let Some(mut user_info) = borrow_info.get_mut(&collateral_asset) { + if let Some(user_info) = borrow_info.get_mut(&collateral_asset) { let block_number = >::block_number(); let calculated_interest = Self::calculate_borrowing_interest_and_reward( user_info, @@ -666,7 +666,7 @@ pub mod pallet { let block_number = >::block_number(); let mut borrowing_rewards = 0; - for (_, mut user_info) in user_infos.iter_mut() { + for (_, user_info) in user_infos.iter_mut() { let interest_and_reward = Self::calculate_borrowing_interest_and_reward( user_info, &pool_info, @@ -1209,7 +1209,7 @@ pub mod pallet { >::get(borrowing_asset, user.clone()).unwrap_or_default(); // Add borrowing amount, collateral amount and interest to user if exists, otherwise return error - if let Some(mut user_info) = borrow_info.get_mut(&collateral_asset) { + if let Some(user_info) = borrow_info.get_mut(&collateral_asset) { let block_number = >::block_number(); let calculated_interest = Self::calculate_borrowing_interest_and_reward( user_info, @@ -1580,7 +1580,7 @@ pub mod pallet { // Update borrowing interests for (account_id, mut user_infos) in UserBorrowingInfo::::iter_prefix(pool_asset) { - for (_, mut user_info) in user_infos.iter_mut() { + for (_, user_info) in user_infos.iter_mut() { let user_interests = Self::calculate_borrowing_interest_and_reward( user_info, &pool_info, diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index e1f7bcffed..db5b848cdd 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -17,7 +17,7 @@ use { construct_runtime, pallet_prelude::Weight, parameter_types, - traits::{BuildGenesisConfig, ConstU64, Everything, Hooks}, + traits::{ConstU64, Everything, Hooks}, }, frame_system::{ self, offchain::SendTransactionTypes, pallet_prelude::BlockNumberFor, EnsureRoot, RawOrigin, @@ -25,13 +25,12 @@ use { permissions::{Scope, MANAGE_DEX}, sp_core::{ConstU32, H256}, sp_runtime::{ - testing::{Header, TestXt}, + testing::TestXt, traits::{BlakeTwo256, IdentityLookup, Zero}, - AccountId32, BuildStorage, Perbill, Percent, + AccountId32, BuildStorage, Perbill, Percent, Permill, }, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; @@ -114,7 +113,6 @@ parameter_types! { pub const GetBurnUpdateFrequency: BlockNumber = 14400; pub GetParliamentAccountId: AccountId = AccountId32::from([100; 32]); pub GetPswapDistributionAccountId: AccountId = AccountId32::from([101; 32]); - pub const MinimumPeriod: u64 = 5; } parameter_types! { diff --git a/pallets/assets/src/mock.rs b/pallets/assets/src/mock.rs index 8f763001be..60f749228f 100644 --- a/pallets/assets/src/mock.rs +++ b/pallets/assets/src/mock.rs @@ -37,16 +37,14 @@ use common::{ LiquidityProxyTrait, LiquiditySourceFilter, PSWAP, VAL, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::DispatchError; use sp_runtime::{BuildStorage, Perbill}; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { diff --git a/pallets/band/Cargo.toml b/pallets/band/Cargo.toml index 137790b052..499f99c774 100644 --- a/pallets/band/Cargo.toml +++ b/pallets/band/Cargo.toml @@ -32,6 +32,8 @@ sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_so sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } xst = { path = "../xst", default-features = false } +tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } + [features] default = ['std'] @@ -44,6 +46,7 @@ std = [ "oracle-proxy/std", "sp-std/std", "common/std", + "tokens/std", ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/pallets/band/src/mock.rs b/pallets/band/src/mock.rs index 29c07066fd..652eecef13 100644 --- a/pallets/band/src/mock.rs +++ b/pallets/band/src/mock.rs @@ -29,23 +29,22 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate::{self as band, Config}; -use common::{mock_frame_system_config, mock_pallet_timestamp_config}; -use frame_support::traits::{ConstU16, ConstU64}; -use frame_system as system; +use common::Balance; +use frame_support::{parameter_types, traits::ConstU16}; +use frame_system; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, BuildStorage, }; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; - +type AccountId = u64; // Configure a mock runtime to test the pallet. frame_support::construct_runtime!( - pub enum Runtime { + pub enum Runtime + { System: frame_system, Band: band, OracleProxy: oracle_proxy, @@ -53,25 +52,60 @@ frame_support::construct_runtime!( } ); -frame_support::parameter_types! { +parameter_types! { pub const GetRateStalePeriod: Moment = 60*5*1000; // 5 minutes pub const GetRateStaleBlockPeriod: u64 = 600; - pub const MinimumPeriod: u64 = 5; } -mock_frame_system_config!(Runtime); -mock_pallet_timestamp_config!(Runtime); +// TODO: Solve error while import macros +// mock_frame_system_config!(Runtime); +// mock_pallet_timestamp_config!(Runtime); + +parameter_types! { + pub const MinimumPeriod: u64 = 5; +} +impl pallet_timestamp::Config for Runtime { + type Moment = Moment; + type OnTimestampSet = (); + type MinimumPeriod = MinimumPeriod; + type WeightInfo = (); +} +impl frame_system::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Block = Block; + type BlockHashCount = frame_support::traits::ConstU64<250>; + type DbWeight = (); + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = ConstU16<42>; + type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<65536>; +} impl Config for Runtime { type Symbol = String; type RuntimeEvent = RuntimeEvent; type WeightInfo = (); type OnNewSymbolsRelayedHook = oracle_proxy::Pallet; - type Time = Timestamp; type GetBandRateStalePeriod = GetRateStalePeriod; - type OnSymbolDisabledHook = (); type GetBandRateStaleBlockPeriod = GetRateStaleBlockPeriod; type MaxRelaySymbols = frame_support::traits::ConstU32<100>; + type Time = Timestamp; + type OnSymbolDisabledHook = (); } impl oracle_proxy::Config for Runtime { @@ -83,7 +117,7 @@ impl oracle_proxy::Config for Runtime { // Build genesis storage according to the mock runtime. pub fn new_test_ext() -> sp_io::TestExternalities { - system::GenesisConfig::::default() + frame_system::GenesisConfig::::default() .build_storage() .unwrap() .into() diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 7d6ea7d427..8254f210f0 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -46,11 +46,10 @@ use common::{ DEXId, FromGenericPair, PredefinedAssetId, DAI, ETH, XOR, XST, }; use frame_support::parameter_types; -use frame_support::traits::{BuildGenesisConfig, Everything}; +use frame_support::traits::Everything; use frame_system as system; use sp_core::{ConstU128, ConstU64}; use sp_keyring::sr25519::Keyring; -use sp_runtime::testing::Header; use sp_runtime::traits::{ BlakeTwo256, Convert, IdentifyAccount, IdentityLookup, Keccak256, Verify, }; @@ -63,6 +62,7 @@ use crate as proxy; pub type Block = frame_system::mocking::MockBlock; pub type AssetId = AssetId32; pub type BlockNumber = u64; +type Moment = u64; frame_support::construct_runtime!( pub enum Test { diff --git a/pallets/bridge-proxy/src/test.rs b/pallets/bridge-proxy/src/test.rs index e1caa74aea..8f7661fc51 100644 --- a/pallets/bridge-proxy/src/test.rs +++ b/pallets/bridge-proxy/src/test.rs @@ -49,6 +49,8 @@ use sp_keyring::AccountKeyring as Keyring; use bridge_types::evm::AdditionalEVMInboundData; use bridge_types::types::{MessageDirection, MessageId, MessageStatus}; +use sp_runtime::ArithmeticError::Underflow; +use sp_runtime::DispatchError::Arithmetic; fn assert_event(event: RuntimeEvent) { System::events() @@ -134,16 +136,16 @@ fn burn_successfull() { #[test] fn burn_failed() { new_tester().execute_with(|| { - let caller: AccountId = Keyring::Alice.into(); + let caller: AccountId = Keyring::Bob.into(); assert_noop!( BridgeProxy::burn( RawOrigin::Signed(caller.clone()).into(), BASE_EVM_NETWORK_ID.into(), XOR, GenericAccount::EVM(H160::default()), - 1000, + balance!(1.1), ), - pallet_balances::Error::::InsufficientBalance + Arithmetic(Underflow) ); assert_eq!( crate::LockedAssets::::get(GenericNetworkId::EVM(BASE_EVM_NETWORK_ID), XOR), diff --git a/pallets/ceres-governance-platform/src/mock.rs b/pallets/ceres-governance-platform/src/mock.rs index 31cd5693d8..4129b887d3 100644 --- a/pallets/ceres-governance-platform/src/mock.rs +++ b/pallets/ceres-governance-platform/src/mock.rs @@ -8,14 +8,13 @@ use common::{ AssetSymbol, BalancePrecision, ContentSource, Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, Perbill, Percent}; diff --git a/pallets/ceres-launchpad/src/mock.rs b/pallets/ceres-launchpad/src/mock.rs index 3a879386c6..7ea045f1ec 100644 --- a/pallets/ceres-launchpad/src/mock.rs +++ b/pallets/ceres-launchpad/src/mock.rs @@ -1,8 +1,6 @@ use crate::{self as ceres_launchpad}; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::Balance; -pub use common::TechAssetId as Tas; -pub use common::TechPurpose::*; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, @@ -11,14 +9,13 @@ use common::{ TBCD, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; use permissions::{Scope, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; @@ -30,8 +27,8 @@ pub type Amount = i128; pub type AssetId = common::AssetId32; pub type TechAssetId = common::TechAssetId; pub type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; +type Moment = u64; construct_runtime! { pub enum Runtime { @@ -93,7 +90,7 @@ parameter_types! { } impl crate::Config for Runtime { - const MILLISECONDS_PER_DAY: Self::Moment = 86_400_000; + const MILLISECONDS_PER_DAY: Moment = 86_400_000; type RuntimeEvent = RuntimeEvent; type TradingPairSourceManager = trading_pair::Pallet; type WeightInfo = (); diff --git a/pallets/ceres-liquidity-locker/src/lib.rs b/pallets/ceres-liquidity-locker/src/lib.rs index da40b85dbe..438fee079e 100644 --- a/pallets/ceres-liquidity-locker/src/lib.rs +++ b/pallets/ceres-liquidity-locker/src/lib.rs @@ -43,7 +43,7 @@ pub use pallet::*; pub mod pallet { use crate::{migrations, LockInfo, StorageVersion, WeightInfo}; use common::prelude::{Balance, FixedWrapper}; - use common::{balance, AssetIdOf, AssetManager, DemeterFarming, XykPool}; + use common::{balance, AccountIdOf, AssetIdOf, AssetManager, DemeterFarming, XykPool}; use frame_support::pallet_prelude::*; use frame_support::sp_runtime::traits::Zero; use frame_system::ensure_signed; @@ -74,7 +74,6 @@ pub mod pallet { } pub type Timestamp = timestamp::Pallet; - pub type AccountIdOf = ::AccountId; #[pallet::pallet] #[pallet::without_storage_info] diff --git a/pallets/ceres-liquidity-locker/src/mock.rs b/pallets/ceres-liquidity-locker/src/mock.rs index 6ccabe73dc..a2bcafa397 100644 --- a/pallets/ceres-liquidity-locker/src/mock.rs +++ b/pallets/ceres-liquidity-locker/src/mock.rs @@ -1,14 +1,14 @@ -use crate::pallet::AccountIdOf; use codec::Decode; use common::mock::GetTradingPairRestrictedFlag; use common::prelude::{Balance, Fixed}; +use common::AccountIdOf; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, mock_permissions_config, mock_technical_config, DEXId, DEXInfo, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -16,13 +16,9 @@ use hex_literal::hex; use orml_traits::parameter_type_with_key; use permissions::{Scope, MANAGE_DEX}; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill, Percent}; -pub use common::mock::*; -pub use common::TechAssetId as Tas; -pub use common::TechPurpose::*; use frame_system::pallet_prelude::BlockNumberFor; use sp_core::crypto::AccountId32; @@ -32,8 +28,8 @@ pub type Amount = i128; pub type AssetId = common::AssetId32; pub type TechAssetId = common::TechAssetId; pub type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; +type Moment = u64; pub const BLOCKS_PER_DAY: BlockNumberFor = 14_440; @@ -119,7 +115,6 @@ impl orml_tokens::Config for Runtime { parameter_types! { pub const GetBuyBackAssetId: AssetId = TBCD; - pub const Moment: u64 = u64; } impl demeter_farming_platform::Config for Runtime { diff --git a/pallets/ceres-liquidity-locker/src/tests.rs b/pallets/ceres-liquidity-locker/src/tests.rs index 36f35abf90..13437c1f35 100644 --- a/pallets/ceres-liquidity-locker/src/tests.rs +++ b/pallets/ceres-liquidity-locker/src/tests.rs @@ -7,7 +7,7 @@ use common::{ }; use frame_support::{assert_err, assert_ok, Identity}; -use crate::AccountIdOf; +use common::AccountIdOf; use frame_support::pallet_prelude::StorageMap; use frame_support::storage::types::ValueQuery; use frame_support::traits::Hooks; diff --git a/pallets/ceres-staking/src/mock.rs b/pallets/ceres-staking/src/mock.rs index 5302c19077..13aab07ad1 100644 --- a/pallets/ceres-staking/src/mock.rs +++ b/pallets/ceres-staking/src/mock.rs @@ -1,8 +1,6 @@ use crate::{self as ceres_staking}; use common::mock::ExistentialDeposits; use common::prelude::Balance; -pub use common::TechAssetId as Tas; -pub use common::TechPurpose::*; use common::{ balance, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, @@ -10,7 +8,7 @@ use common::{ ContentSource, DEXId, Description, CERES_ASSET_ID, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -18,11 +16,9 @@ use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, Perbill}; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const BLOCKS_PER_DAY: BlockNumberFor = 14_440; diff --git a/pallets/ceres-token-locker/src/mock.rs b/pallets/ceres-token-locker/src/mock.rs index bc42d5c156..7101e69dec 100644 --- a/pallets/ceres-token-locker/src/mock.rs +++ b/pallets/ceres-token-locker/src/mock.rs @@ -16,7 +16,6 @@ use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, Perbill, Percent}; @@ -24,7 +23,6 @@ pub type TechAccountId = common::TechAccountId; pub type Moment = u64; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { diff --git a/pallets/demeter-farming-platform/src/mock.rs b/pallets/demeter-farming-platform/src/mock.rs index d63d96c869..50ad1d4fe5 100644 --- a/pallets/demeter-farming-platform/src/mock.rs +++ b/pallets/demeter-farming-platform/src/mock.rs @@ -1,6 +1,5 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::Balance; -pub use common::TechAssetId as Tas; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, @@ -8,14 +7,13 @@ use common::{ CERES_ASSET_ID, DEMETER_ASSET_ID, PSWAP, TBCD, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; use frame_system::pallet_prelude::BlockNumberFor; use permissions::{Scope, MANAGE_DEX}; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::AccountId32; use sp_runtime::{BuildStorage, Perbill, Percent}; @@ -26,7 +24,6 @@ pub type Amount = i128; pub type AssetId = common::AssetId32; pub type TechAssetId = common::TechAssetId; pub type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index 651d1e84ac..3589cfad02 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -28,8 +28,6 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use core::marker::PhantomData; - use crate::{self as dex_api, Config}; use common::alt::DiscreteQuotation; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; @@ -43,7 +41,7 @@ use common::{ }; use currencies::BasicCurrencyAdapter; use frame_support::sp_runtime::DispatchError; -use frame_support::traits::{BuildGenesisConfig, Everything}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -51,13 +49,11 @@ use hex_literal::hex; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill, Percent}; pub type AccountId = AccountId32; pub type BlockNumber = u64; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type TechAssetId = common::TechAssetId; type TechAccountId = common::TechAccountId; @@ -497,24 +493,11 @@ impl ExtBuilder { .assimilate_storage(&mut t) .unwrap(); - // >::assimilate_storage( - // &crate::GenesisConfig { - // source_types: self.source_types, - // phantom: PhantomData - // }, - // &mut t, - // ) - // .unwrap(); - - // TODO: This change may be incorrect and will be noted - t.assimilate_storage( - &mut crate::GenesisConfig:: { - source_types: self.source_types, - phantom: Default::default(), - } - .build_storage() - .unwrap(), - ) + crate::GenesisConfig:: { + phantom: Default::default(), + source_types: self.source_types, + } + .assimilate_storage(&mut t) .unwrap(); t.into() diff --git a/pallets/dex-manager/src/mock.rs b/pallets/dex-manager/src/mock.rs index 6a3ce3540b..15dfb3729d 100644 --- a/pallets/dex-manager/src/mock.rs +++ b/pallets/dex-manager/src/mock.rs @@ -37,14 +37,13 @@ use common::{ mock_tokens_config, AssetId32, DEXId, DEXInfo, Fixed, DOT, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; use permissions::Scope; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill}; @@ -52,7 +51,6 @@ pub type AccountId = AccountId32; pub type BlockNumber = u64; pub type Amount = i128; type AssetId = AssetId32; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const ALICE: AccountId32 = AccountId32::new([1; 32]); diff --git a/pallets/eth-bridge/src/lib.rs b/pallets/eth-bridge/src/lib.rs index 5dfc5f7c36..254f86cf6d 100644 --- a/pallets/eth-bridge/src/lib.rs +++ b/pallets/eth-bridge/src/lib.rs @@ -342,7 +342,6 @@ pub mod pallet { use frame_support::traits::{GetCallMetadata, StorageVersion}; use frame_support::transactional; use frame_support::weights::WeightToFeePolynomial; - use frame_system::pallet_prelude::*; use frame_system::RawOrigin; use log; diff --git a/pallets/eth-bridge/src/offchain/handle.rs b/pallets/eth-bridge/src/offchain/handle.rs index 63bdf69e45..fe8f4996eb 100644 --- a/pallets/eth-bridge/src/offchain/handle.rs +++ b/pallets/eth-bridge/src/offchain/handle.rs @@ -55,7 +55,6 @@ use frame_support::{ensure, fail}; use frame_system::offchain::{CreateSignedTransaction, Signer}; use frame_system::pallet_prelude::BlockNumberFor; use log::{debug, error, info, trace, warn}; -use sp_core::RuntimeDebug; use sp_core::H256; use sp_io::hashing::blake2_256; use sp_std::collections::btree_map::BTreeMap; diff --git a/pallets/eth-bridge/src/offchain/mod.rs b/pallets/eth-bridge/src/offchain/mod.rs index 26cd37e70e..1d7c37730d 100644 --- a/pallets/eth-bridge/src/offchain/mod.rs +++ b/pallets/eth-bridge/src/offchain/mod.rs @@ -57,9 +57,7 @@ use frame_support::sp_runtime::MultiSigner; use frame_support::traits::Get; use frame_support::{ensure, fail}; use frame_system::offchain::CreateSignedTransaction; -pub use handle::*; use hex_literal::hex; -pub use http::*; use rustc_hex::ToHex; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; diff --git a/pallets/eth-bridge/src/tests/asset.rs b/pallets/eth-bridge/src/tests/asset.rs index ee7adc90dd..e7f017b97c 100644 --- a/pallets/eth-bridge/src/tests/asset.rs +++ b/pallets/eth-bridge/src/tests/asset.rs @@ -118,9 +118,10 @@ fn should_not_burn_or_mint_sidechain_owned_asset() { #[track_caller] fn check_invariant() { + let total_existential_deposit = 7; assert_eq!( Assets::total_issuance(&XOR.into()).unwrap(), - balance!(350000) + balance!(350000) + total_existential_deposit ); } diff --git a/pallets/eth-bridge/src/tests/incoming_transfer.rs b/pallets/eth-bridge/src/tests/incoming_transfer.rs index 2f33362d8d..af31bdc4be 100644 --- a/pallets/eth-bridge/src/tests/incoming_transfer.rs +++ b/pallets/eth-bridge/src/tests/incoming_transfer.rs @@ -138,7 +138,7 @@ fn should_success_incoming_transfer() { to: alice.clone(), asset_id: XOR.into(), asset_kind: AssetKind::Thischain, - amount: 100u32.into(), + amount: 99u32.into(), author: alice.clone(), tx_hash, at_height: 1, @@ -146,7 +146,7 @@ fn should_success_incoming_transfer() { network_id: ETH_NETWORK_ID, should_take_fee: false, }); - assert_eq!(Assets::total_balance(&XOR.into(), &alice).unwrap(), 0); + assert_eq!(Assets::total_balance(&XOR.into(), &alice).unwrap(), 1); assert_incoming_request_done(&state, incoming_transfer.clone()).unwrap(); assert_eq!( Assets::total_balance(&XOR.into(), &alice).unwrap(), @@ -174,7 +174,7 @@ fn should_cancel_incoming_transfer() { ext.execute_with(|| { let bridge_acc_id = state.networks[&net_id].config.bridge_account_id.clone(); let alice = get_account_id_from_seed::("Alice"); - Assets::mint_to(&XOR.into(), &alice, &alice, 100000u32.into()).unwrap(); + Assets::mint_to(&XOR.into(), &alice, &alice, 99999u32.into()).unwrap(); let bob = get_account_id_from_seed::("Bob"); let tx_hash = request_incoming( alice.clone(), @@ -237,7 +237,7 @@ fn should_fail_incoming_transfer() { let net_id = ETH_NETWORK_ID; let bridge_acc_id = state.networks[&net_id].config.bridge_account_id.clone(); let alice = get_account_id_from_seed::("Alice"); - Assets::mint_to(&XOR.into(), &alice, &alice, 100000u32.into()).unwrap(); + Assets::mint_to(&XOR.into(), &alice, &alice, 99999u32.into()).unwrap(); let tx_hash = request_incoming( alice.clone(), H256::from_slice(&[1u8; 32]), @@ -312,7 +312,7 @@ fn should_take_fee_in_incoming_transfer() { to: alice.clone(), asset_id: PredefinedAssetId::XOR.into(), asset_kind: AssetKind::SidechainOwned, - amount: balance!(100), + amount: balance!(100) - 1, author: alice.clone(), tx_hash, at_height: 1, @@ -323,7 +323,7 @@ fn should_take_fee_in_incoming_transfer() { assert_eq!( assets::Pallet::::total_balance(&PredefinedAssetId::XOR.into(), &alice) .unwrap(), - 0 + 1 ); assert_incoming_request_done(&state, incoming_transfer.clone()).unwrap(); let fee_amount = crate::IncomingTransfer::::fee_amount(); diff --git a/pallets/eth-bridge/src/tests/mock.rs b/pallets/eth-bridge/src/tests/mock.rs index f1477efea1..8d9e80cac0 100644 --- a/pallets/eth-bridge/src/tests/mock.rs +++ b/pallets/eth-bridge/src/tests/mock.rs @@ -60,7 +60,6 @@ use frame_support::sp_runtime::offchain::testing::{ OffchainState, PoolState, TestOffchainExt, TestTransactionPoolExt, }; use frame_support::sp_runtime::serde::{Serialize, Serializer}; -use frame_support::sp_runtime::testing::Header; use frame_support::sp_runtime::traits::{ self, Applyable, BlakeTwo256, Checkable, DispatchInfoOf, Dispatchable, IdentifyAccount, IdentityLookup, PostDispatchInfoOf, SignedExtension, ValidateUnsigned, Verify, @@ -72,7 +71,7 @@ use frame_support::sp_runtime::{ self, ApplyExtrinsicResultWithInfo, MultiSignature, MultiSigner, Perbill, }; use frame_support::traits::UnfilteredDispatchable; -use frame_support::traits::{BuildGenesisConfig, Everything, Get, PrivilegeCmp}; +use frame_support::traits::{Everything, Get, PrivilegeCmp}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::offchain::{Account, SigningTypes}; @@ -106,7 +105,6 @@ pub type Signature = MultiSignature; /// to the public key of our transaction signing scheme. pub type AccountId = AccountId32; pub type AssetId = AssetId32; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; parameter_types! { @@ -837,11 +835,11 @@ impl ExtBuilder { .iter() .map(|(acc, ..)| acc) .chain(vec![&self.root_account_id, &authority_account_id]) - .map(|x| (x.clone(), Balance::from(0u32))) + .map(|x| (x.clone(), Balance::from(1u32))) .collect(); - balances.extend(bridge_accounts.iter().map(|(acc, _)| (acc.clone(), 0))); + balances.extend(bridge_accounts.iter().map(|(acc, _)| (acc.clone(), 1))); for (_net_id, ext_network) in &self.networks { - balances.extend(ext_network.ocw_keypairs.iter().map(|x| (x.1.clone(), 0))); + balances.extend(ext_network.ocw_keypairs.iter().map(|x| (x.1.clone(), 1))); } balances.sort_by_key(|x| x.0.clone()); balances.dedup_by_key(|x| x.0.clone()); diff --git a/pallets/eth-bridge/src/tests/outgoing_tranfser.rs b/pallets/eth-bridge/src/tests/outgoing_tranfser.rs index ac0168cf49..0016270747 100644 --- a/pallets/eth-bridge/src/tests/outgoing_tranfser.rs +++ b/pallets/eth-bridge/src/tests/outgoing_tranfser.rs @@ -50,7 +50,7 @@ fn should_approve_outgoing_transfer() { ext.execute_with(|| { let net_id = ETH_NETWORK_ID; let alice = get_account_id_from_seed::("Alice"); - Assets::mint_to(&XOR.into(), &alice, &alice, 100000u32.into()).unwrap(); + Assets::mint_to(&XOR.into(), &alice, &alice, 99999u32.into()).unwrap(); assert_eq!( Assets::total_balance(&XOR.into(), &alice).unwrap(), 100000u32.into() diff --git a/pallets/extended-assets/src/mock.rs b/pallets/extended-assets/src/mock.rs index ca5d674327..07fe0a320d 100644 --- a/pallets/extended-assets/src/mock.rs +++ b/pallets/extended-assets/src/mock.rs @@ -45,13 +45,12 @@ use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::traits::{IdentifyAccount, Verify}; -use sp_runtime::MultiSignature; +use sp_runtime::{BuildStorage, MultiSignature}; type AccountId = <::Signer as IdentifyAccount>::AccountId; type AssetId = AssetId32; type Balance = u128; type Signature = MultiSignature; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type TechAssetId = common::TechAssetId; type TechAccountId = common::TechAccountId; @@ -125,8 +124,8 @@ construct_runtime! { // Build genesis storage according to the mock runtime. pub fn new_test_ext() -> sp_io::TestExternalities { - frame_system::GenesisConfig::default() - .build_storage::() + frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into() } diff --git a/pallets/farming/src/mock.rs b/pallets/farming/src/mock.rs index 2d72c99a2e..46b02d4444 100644 --- a/pallets/farming/src/mock.rs +++ b/pallets/farming/src/mock.rs @@ -38,9 +38,7 @@ use common::{ DEXId, DEXInfo, Fixed, DEFAULT_BALANCE_PRECISION, DOT, PSWAP, TBCD, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{ - BuildGenesisConfig, Everything, OnFinalize, OnInitialize, PrivilegeCmp, -}; +use frame_support::traits::{Everything, OnFinalize, OnInitialize, PrivilegeCmp}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -48,23 +46,17 @@ use frame_system::EnsureRoot; use permissions::*; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill, Percent}; use sp_std::cmp::Ordering; use sp_std::marker::PhantomData; -pub use common::mock::*; -pub use common::TechAssetId as Tas; -pub use common::TechPurpose::*; - pub type BlockNumber = u64; pub type AccountId = AccountId32; pub type Amount = i128; pub type TechAssetId = common::TechAssetId; pub type AssetId = common::AssetId32; pub type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; diff --git a/pallets/faucet/src/mock.rs b/pallets/faucet/src/mock.rs index 275460a35c..0900f4ed54 100644 --- a/pallets/faucet/src/mock.rs +++ b/pallets/faucet/src/mock.rs @@ -32,19 +32,18 @@ use crate::{self as faucet, Config}; use common::mock::ExistentialDeposits; use common::prelude::{Balance, FixedWrapper}; use common::{ - self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, - mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, - TechPurpose, DEFAULT_BALANCE_PRECISION, USDT, VAL, XOR, XST, + self, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, + mock_pallet_balances_config, mock_permissions_config, mock_technical_config, + mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, TechPurpose, + DEFAULT_BALANCE_PRECISION, USDT, VAL, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use permissions::{Scope, BURN, MINT}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill, Percent}; @@ -146,7 +145,7 @@ impl ExtBuilder { account_id.clone(), (faucet::DEFAULT_LIMIT * FixedWrapper::from(1.5)).into_balance(), ), - (alice(), balance!(0)), + (alice(), 1), ], } .assimilate_storage(&mut t) @@ -170,7 +169,7 @@ impl ExtBuilder { AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, - Balance::from(0u32), + Balance::from(0_u32), true, None, None, diff --git a/pallets/faucet/src/tests.rs b/pallets/faucet/src/tests.rs index 84bbe17b8e..9807dfbfae 100644 --- a/pallets/faucet/src/tests.rs +++ b/pallets/faucet/src/tests.rs @@ -86,7 +86,7 @@ fn transfer_passes_native_currency() { Assets::free_balance(&XOR, &account_id()).unwrap(), (Pallet::transfer_limit() * FixedWrapper::from(0.5)).into_balance() ); - assert_eq!(Assets::free_balance(&XOR, &alice()).unwrap(), 0); + assert_eq!(Assets::free_balance(&XOR, &alice()).unwrap(), 1); assert_eq!( Assets::free_balance(&XOR, &bob()).unwrap(), Pallet::transfer_limit() @@ -107,7 +107,7 @@ fn transfer_passes_multiple_assets() { Assets::free_balance(&XOR, &account_id()).unwrap(), (Pallet::transfer_limit() * FixedWrapper::from(0.5)).into_balance() ); - assert_eq!(Assets::free_balance(&XOR, &alice()).unwrap(), 0); + assert_eq!(Assets::free_balance(&XOR, &alice()).unwrap(), 1); assert_eq!( Assets::free_balance(&XOR, &bob()).unwrap(), Pallet::transfer_limit() @@ -151,7 +151,7 @@ fn transfer_passes_after_limit_is_reset() { Assets::free_balance(&XOR, &account_id()).unwrap(), balance!(0) ); - assert_eq!(Assets::free_balance(&XOR, &alice()).unwrap(), 0); + assert_eq!(Assets::free_balance(&XOR, &alice()).unwrap(), 1); assert_eq!( Assets::free_balance(&XOR, &bob()).unwrap(), (Pallet::transfer_limit() * FixedWrapper::from(1.5)).into_balance() diff --git a/pallets/hermes-governance-platform/src/mock.rs b/pallets/hermes-governance-platform/src/mock.rs index 4f812b1179..bd44a7b0b9 100644 --- a/pallets/hermes-governance-platform/src/mock.rs +++ b/pallets/hermes-governance-platform/src/mock.rs @@ -10,7 +10,7 @@ use common::{ AssetSymbol, BalancePrecision, ContentSource, Description, Fixed, HERMES_ASSET_ID, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -18,7 +18,6 @@ use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, Perbill, Percent}; diff --git a/pallets/iroha-migration/src/mock.rs b/pallets/iroha-migration/src/mock.rs index 8f05813919..ea814f15c7 100644 --- a/pallets/iroha-migration/src/mock.rs +++ b/pallets/iroha-migration/src/mock.rs @@ -39,13 +39,12 @@ use common::{ PredefinedAssetId, DEFAULT_BALANCE_PRECISION, VAL, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use permissions::{Scope, MINT}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::BuildStorage; use sp_runtime::{self, Perbill}; @@ -56,7 +55,6 @@ type AssetId = AssetId32; type BlockNumber = u64; type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const XOR: PredefinedAssetId = PredefinedAssetId::XOR; @@ -139,9 +137,9 @@ pub fn test_ext(add_iroha_accounts: bool) -> sp_io::TestExternalities { pallet_balances::GenesisConfig:: { balances: vec![ - (ALICE, 0u128.into()), - (BOB, 0u128.into()), - (MINTING_ACCOUNT, 0u128.into()), + (ALICE, 1u128.into()), + (BOB, 1u128.into()), + (MINTING_ACCOUNT, 1u128.into()), ], } .assimilate_storage(&mut t) diff --git a/pallets/pool-xyk/Cargo.toml b/pallets/pool-xyk/Cargo.toml index 4b1adec9d1..cbeb96c42e 100644 --- a/pallets/pool-xyk/Cargo.toml +++ b/pallets/pool-xyk/Cargo.toml @@ -57,6 +57,7 @@ default = ['std'] std = [ 'codec/std', "scale-info/std", + "common/std", 'currencies/std', 'frame-support/std', 'frame-system/std', diff --git a/pallets/pool-xyk/src/utils.rs b/pallets/pool-xyk/src/utils.rs index b94ab665f9..601008f797 100644 --- a/pallets/pool-xyk/src/utils.rs +++ b/pallets/pool-xyk/src/utils.rs @@ -37,7 +37,7 @@ use common::{ TradingPair, }; use frame_support::dispatch::DispatchResult; -use frame_support::{ensure, fail}; +use frame_support::ensure; use orml_traits::GetByKey; use sp_runtime::DispatchError; diff --git a/pallets/vested-rewards/src/migrations.rs b/pallets/vested-rewards/src/migrations.rs index 71d9561947..40755b2477 100644 --- a/pallets/vested-rewards/src/migrations.rs +++ b/pallets/vested-rewards/src/migrations.rs @@ -8,7 +8,6 @@ use common::{Balance, Fixed, PSWAP, VAL, XSTUSD}; use frame_support::pallet_prelude::GetStorageVersion; use frame_support::traits::{Get, OnRuntimeUpgrade, StorageVersion}; use frame_support::weights::Weight; -use frame_system::pallet_prelude::BlockNumberFor; use serde::{Deserialize, Serialize}; use sp_io::MultiRemovalResults; use sp_runtime::traits::Zero; From 7e203440dbdc0d98a5873632d79e5cf30db17357 Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Thu, 18 Jul 2024 12:42:26 +0300 Subject: [PATCH 067/110] fix(pallets [apollo-platform..iroha-migration]): change to return error in migrations, fix zero in benchmark --- pallets/assets/src/migration/v2.rs | 4 ++-- pallets/band/src/migrations.rs | 8 ++++---- pallets/farming/src/migrations.rs | 8 ++++---- pallets/faucet/src/benchmarking.rs | 3 ++- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/pallets/assets/src/migration/v2.rs b/pallets/assets/src/migration/v2.rs index b5fb5d48bc..efed00660b 100644 --- a/pallets/assets/src/migration/v2.rs +++ b/pallets/assets/src/migration/v2.rs @@ -130,7 +130,7 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), "must upgrade linearly" @@ -139,7 +139,7 @@ where } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), "should be upgraded to version 1" diff --git a/pallets/band/src/migrations.rs b/pallets/band/src/migrations.rs index 8b3034c008..ad420d6050 100644 --- a/pallets/band/src/migrations.rs +++ b/pallets/band/src/migrations.rs @@ -133,7 +133,7 @@ pub mod v1 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(0), "must upgrade linearly" @@ -142,7 +142,7 @@ pub mod v1 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), "should be upgraded to version 1" @@ -239,7 +239,7 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), "must upgrade linearly" @@ -248,7 +248,7 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), "should be upgraded to version 1" diff --git a/pallets/farming/src/migrations.rs b/pallets/farming/src/migrations.rs index 4bae04167e..1ae6c1f8f8 100644 --- a/pallets/farming/src/migrations.rs +++ b/pallets/farming/src/migrations.rs @@ -68,7 +68,7 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), "Wrong storage version before upgrade" @@ -77,7 +77,7 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), "Wrong storage version after upgrade" @@ -146,7 +146,7 @@ pub mod v3 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), "Wrong storage version before upgrade" @@ -155,7 +155,7 @@ pub mod v3 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(3), "Wrong storage version after upgrade" diff --git a/pallets/faucet/src/benchmarking.rs b/pallets/faucet/src/benchmarking.rs index 605e11ef3f..e68ed4ca13 100644 --- a/pallets/faucet/src/benchmarking.rs +++ b/pallets/faucet/src/benchmarking.rs @@ -35,9 +35,10 @@ use super::{Call, Config, Event, Pallet}; use codec::Decode; -use frame_benchmarking::{benchmarks, Zero}; +use frame_benchmarking::benchmarks; use frame_system::{EventRecord, RawOrigin}; use hex_literal::hex; +use sp_runtime::traits::Zero; use sp_std::prelude::*; use common::{balance, AssetManager, AssetName, AssetSymbol, Balance, XOR}; From 53f95e39fe1a5724686ec64a9e89ba96598d6e19 Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 18 Jul 2024 14:02:07 +0300 Subject: [PATCH 068/110] fix: upgrade more of mocks, migrations and benchmarking --- .../src/migrations/v1.rs | 7 +++--- .../src/migrations/v2.rs | 15 +++++++------ .../src/migrations/v3.rs | 9 ++++---- .../src/migrations/v4.rs | 22 ++++++++++--------- pallets/order-book/Cargo.toml | 1 + pallets/order-book/benchmarking/Cargo.toml | 5 ++++- pallets/order-book/benchmarking/src/lib.rs | 6 ++--- .../benchmarking/src/periphery/preparation.rs | 2 +- pallets/pool-xyk/src/migrations/v3.rs | 10 ++++----- pallets/pswap-distribution/Cargo.toml | 2 ++ pallets/pswap-distribution/src/migrations.rs | 9 ++++---- pallets/trading-pair/src/benchmarking.rs | 3 ++- pallets/xor-fee/src/migrations.rs | 16 +++++++------- pallets/xst/benchmarking/src/mock.rs | 2 +- pallets/xst/src/migrations/mod.rs | 9 ++++---- runtime/src/lib.rs | 3 ++- 16 files changed, 68 insertions(+), 53 deletions(-) diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs index c180e9b9d9..683d1a10ad 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs @@ -4,6 +4,7 @@ use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; use log::{error, info}; +use sp_runtime::TryRuntimeError; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; @@ -35,7 +36,7 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( Pallet::::on_chain_storage_version() == 0, "must upgrade linearly" @@ -44,10 +45,10 @@ where } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { frame_support::ensure!( Pallet::::on_chain_storage_version() == 1, - "should be upgraded to version 1" + TryRuntimeError::Other("should be upgraded to version 1") ); Ok(()) } diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs index e99d2bb0f0..7b9fe75ebb 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs @@ -9,6 +9,7 @@ use frame_support::traits::OnRuntimeUpgrade; use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; use log::{error, info}; use sp_runtime::traits::Zero; +use sp_runtime::TryRuntimeError; #[cfg(feature = "try-runtime")] use common::AssetInfoProvider; @@ -96,32 +97,32 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( ::AssetInfoProvider::ensure_asset_exists(&TBCD.into()).is_err(), - "TBCD asset already registered" + TryRuntimeError::Other("TBCD asset already registered") ); frame_support::ensure!( !crate::EnabledTargets::::get().contains(&TBCD.into()), - "TBCD pool already initialized" + TryRuntimeError::Other("TBCD pool already initialized") ); frame_support::ensure!( Pallet::::on_chain_storage_version() == 1, - "must upgrade linearly" + TryRuntimeError::Other("must upgrade linearly") ); Ok(Vec::new()) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { ::AssetInfoProvider::ensure_asset_exists(&TBCD.into())?; frame_support::ensure!( crate::EnabledTargets::::get().contains(&TBCD.into()), - "TBCD pool is not initialized" + TryRuntimeError::Other("TBCD pool is not initialized") ); frame_support::ensure!( Pallet::::on_chain_storage_version() == 2, - "should be upgraded to version 1" + TryRuntimeError::Other("should be upgraded to version 1") ); Ok(()) } diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs index 2366a57b0f..19c53215fb 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs @@ -7,6 +7,7 @@ use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; use log::{error, info}; +use sp_runtime::TryRuntimeError; #[cfg(feature = "try-runtime")] use sp_std::prelude::Vec; @@ -63,19 +64,19 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( Pallet::::on_chain_storage_version() == 2, - "must upgrade linearly" + TryRuntimeError::Other("must upgrade linearly") ); Ok(Vec::new()) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { frame_support::ensure!( Pallet::::on_chain_storage_version() == 3, - "should be upgraded to version 3" + TryRuntimeError::Other("should be upgraded to version 3") ); Ok(()) } diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs index b647c33163..61f748d3da 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs @@ -8,6 +8,7 @@ use frame_support::traits::OnRuntimeUpgrade; use frame_system::pallet_prelude::BlockNumberFor; use log::{error, info}; use sp_runtime::traits::One; +use sp_runtime::TryRuntimeError; use sp_std::collections::btree_map::BTreeMap; use sp_std::prelude::Vec; @@ -50,39 +51,40 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { let state = old_storage::PendingFreeReserves::::get().encode(); ensure!( Pallet::::on_chain_storage_version() == 3, - "must upgrade linearly" + TryRuntimeError::Other("must upgrade linearly") ); Ok(state) } #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), &'static str> { + fn post_upgrade(state: Vec) -> Result<(), TryRuntimeError> { ensure!( !old_storage::PendingFreeReserves::::exists(), - "Old storage value still present" + TryRuntimeError::Other("Old storage value still present") ); let pending_free_reserves = Vec::<(AssetIdOf, Balance)>::decode(&mut &state[..]) .map_err(|_| "Failed to decode state")?; if pending_free_reserves.is_empty() { ensure!( crate::PendingFreeReserves::::iter().count() == 0, - "Pending free reserves not empty" + TryRuntimeError::Other("Pending free reserves not empty") ); } else { ensure!( crate::PendingFreeReserves::::iter().count() == 1, - "Pending free reserves have more than one entry" + TryRuntimeError::Other("Pending free reserves have more than one entry") ); let (block_number, value) = crate::PendingFreeReserves::::iter() .next() .ok_or("Empty pending free reserves")?; ensure!( - block_number == frame_system::Pallet::::block_number() + T::BlockNumber::one(), - "Pending free reserves have wrong block number" + block_number + == frame_system::Pallet::::block_number() + BlockNumberFor::::one(), + TryRuntimeError::Other("Pending free reserves have wrong block number") ); ensure!( @@ -90,12 +92,12 @@ where == pending_free_reserves .into_iter() .collect::, Balance>>(), - "Pending free reserves have wrong value" + TryRuntimeError::Other("Pending free reserves have wrong value") ); } ensure!( Pallet::::on_chain_storage_version() == 4, - "should be upgraded to version 4" + TryRuntimeError::Other("should be upgraded to version 4") ); Ok(()) } diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index 4559cc9835..b94aa1dad5 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -59,6 +59,7 @@ std = [ runtime-benchmarks = [ "frame-system/runtime-benchmarks", "frame-support/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/order-book/benchmarking/Cargo.toml b/pallets/order-book/benchmarking/Cargo.toml index 34ab31cad1..d9e9fe5762 100644 --- a/pallets/order-book/benchmarking/Cargo.toml +++ b/pallets/order-book/benchmarking/Cargo.toml @@ -24,6 +24,7 @@ assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } order-book = { path = "..", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } +log = "0.4.20" [dev-dependencies] sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } @@ -35,6 +36,7 @@ framenode-runtime = { path = "../../../runtime", default-features = false, featu pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +log = "0.4.20" [features] default = ["std"] @@ -56,7 +58,8 @@ runtime-benchmarks = [ "frame-benchmarking", "frame-system/runtime-benchmarks", "frame-support/runtime-benchmarks", - "order-book/runtime-benchmarks" + "order-book/runtime-benchmarks", + "common/runtime-benchmarks" ] try-runtime = ["frame-support/try-runtime", "order-book/try-runtime"] diff --git a/pallets/order-book/benchmarking/src/lib.rs b/pallets/order-book/benchmarking/src/lib.rs index ea924a7953..7652f40d2f 100644 --- a/pallets/order-book/benchmarking/src/lib.rs +++ b/pallets/order-book/benchmarking/src/lib.rs @@ -138,7 +138,7 @@ mod benchmarks_inner { use common::prelude::{QuoteAmount, SwapAmount}; use common::{balance, AssetInfoProvider, AssetName, AssetSymbol, LiquiditySource, VAL, XOR}; use frame_benchmarking::benchmarks; - use frame_support::weights::WeightMeter; + use frame_support::weights::{Weight, WeightMeter}; use frame_system::RawOrigin; use sp_runtime::traits::UniqueSaturatedInto; use sp_std::vec::Vec; @@ -435,7 +435,7 @@ mod benchmarks_inner { } service_expiration_base { - let mut weight = WeightMeter::max_limit(); + let mut weight = WeightMeter::with_limit(Weight::MAX); let block_number = 0u32.unique_saturated_into(); }: { OrderBookPallet::::service_expiration(block_number, &mut weight); @@ -443,7 +443,7 @@ mod benchmarks_inner { verify {} service_expiration_block_base { - let mut weight = WeightMeter::max_limit(); + let mut weight = WeightMeter::with_limit(Weight::MAX); let block_number = 0u32.unique_saturated_into(); // should be the slower layer because cache is not // warmed up diff --git a/pallets/order-book/benchmarking/src/periphery/preparation.rs b/pallets/order-book/benchmarking/src/periphery/preparation.rs index 7855fc9622..0e4f7e4886 100644 --- a/pallets/order-book/benchmarking/src/periphery/preparation.rs +++ b/pallets/order-book/benchmarking/src/periphery/preparation.rs @@ -44,9 +44,9 @@ use framenode_runtime::order_book_benchmarking as order_book_benchmarking_import use common::prelude::{QuoteAmount, Scalar}; use common::{balance, AssetIdOf, AssetManager, Balance, PriceVariant, ETH, VAL, XOR}; -use frame_benchmarking::log::debug; use frame_support::traits::Time; use frame_system::RawOrigin; +use log::debug; use order_book_imported::test_utils::accounts; use order_book_imported::test_utils::fill_tools::{ bid_prices_iterator, fill_expiration_schedule, fill_order_book_side, diff --git a/pallets/pool-xyk/src/migrations/v3.rs b/pallets/pool-xyk/src/migrations/v3.rs index f3ea4a2d42..7f7c2e2630 100644 --- a/pallets/pool-xyk/src/migrations/v3.rs +++ b/pallets/pool-xyk/src/migrations/v3.rs @@ -35,7 +35,7 @@ use frame_support::pallet_prelude::{Get, StorageVersion}; use frame_support::traits::OnRuntimeUpgrade; use frame_support::weights::WeightMeter; use log::{error, info}; -use sp_runtime::DispatchResult; +use sp_runtime::{DispatchResult, TryRuntimeError}; use sp_std::prelude::Vec; use crate::{PoolProviders, Properties, Reserves, TotalIssuances, WeightInfo}; @@ -228,19 +228,19 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), - "must upgrade linearly" + TryRuntimeError::Other("must upgrade linearly") ); Ok(Vec::new()) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(3), - "should be upgraded to version 3" + TryRuntimeError::Other("should be upgraded to version 3") ); Ok(()) } diff --git a/pallets/pswap-distribution/Cargo.toml b/pallets/pswap-distribution/Cargo.toml index 8fd46f8264..9ae6af8615 100644 --- a/pallets/pswap-distribution/Cargo.toml +++ b/pallets/pswap-distribution/Cargo.toml @@ -30,6 +30,7 @@ sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -66,6 +67,7 @@ std = [ 'sp-core/std', 'sp-io/std', 'sp-std/std', + 'sp-runtime/std', 'tokens/std', 'traits/std', ] diff --git a/pallets/pswap-distribution/src/migrations.rs b/pallets/pswap-distribution/src/migrations.rs index c1589d8194..c072f9dda1 100644 --- a/pallets/pswap-distribution/src/migrations.rs +++ b/pallets/pswap-distribution/src/migrations.rs @@ -36,6 +36,7 @@ pub mod v2 { use common::AccountIdOf; use frame_support::traits::StorageVersion; use log::info; + use sp_runtime::TryRuntimeError; use sp_std::prelude::Vec; use super::*; @@ -73,19 +74,19 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), - "Wrong storage version before upgrade" + TryRuntimeError::Other("Wrong storage version before upgrade") ); Ok(Vec::new()) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), - "Wrong storage version after upgrade" + TryRuntimeError::Other("Wrong storage version after upgrade") ); let pools = &G::get(); diff --git a/pallets/trading-pair/src/benchmarking.rs b/pallets/trading-pair/src/benchmarking.rs index 8f38a56209..4dc013bee3 100644 --- a/pallets/trading-pair/src/benchmarking.rs +++ b/pallets/trading-pair/src/benchmarking.rs @@ -38,9 +38,10 @@ use codec::Decode; use common::{ AssetManager, AssetName, AssetSymbol, Balance, DEXId, DEFAULT_BALANCE_PRECISION, DOT, XOR, }; -use frame_benchmarking::{benchmarks, Zero}; +use frame_benchmarking::benchmarks; use frame_system::{EventRecord, RawOrigin}; use hex_literal::hex; +use sp_runtime::traits::Zero; use sp_std::prelude::*; pub const DEX: DEXId = DEXId::Polkaswap; diff --git a/pallets/xor-fee/src/migrations.rs b/pallets/xor-fee/src/migrations.rs index 51f13b086b..f90405400a 100644 --- a/pallets/xor-fee/src/migrations.rs +++ b/pallets/xor-fee/src/migrations.rs @@ -37,6 +37,7 @@ pub mod v2 { use frame_support::weights::Weight; use frame_system::pallet_prelude::BlockNumberFor; use log::info; + use sp_runtime::TryRuntimeError; use crate::*; @@ -68,30 +69,29 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), - "Wrong storage version before upgrade" + TryRuntimeError::Other("Wrong storage version before upgrade") ); Ok(Vec::new()) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { - let period = - ::BlockNumber::try_from(3600_u32).unwrap_or_default(); + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { + let period = BlockNumberFor::::try_from(3600_u32).unwrap_or_default(); let small_reference_amount = balance!(0.2); frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), - "Wrong storage version after upgrade" + TryRuntimeError::Other("Wrong storage version after upgrade") ); frame_support::ensure!( >::get() == period, - "Did not set right next update block" + TryRuntimeError::Other("Did not set right next update block") ); frame_support::ensure!( >::get() == small_reference_amount, - "Did not set right small reference amount" + TryRuntimeError::Other("Did not set right small reference amount") ); Ok(()) } diff --git a/pallets/xst/benchmarking/src/mock.rs b/pallets/xst/benchmarking/src/mock.rs index a8e2cc0187..5e9464b477 100644 --- a/pallets/xst/benchmarking/src/mock.rs +++ b/pallets/xst/benchmarking/src/mock.rs @@ -48,7 +48,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; pub type AccountId = AccountId32; pub type BlockNumber = u64; diff --git a/pallets/xst/src/migrations/mod.rs b/pallets/xst/src/migrations/mod.rs index c4ad49e1c7..831105e727 100644 --- a/pallets/xst/src/migrations/mod.rs +++ b/pallets/xst/src/migrations/mod.rs @@ -34,6 +34,7 @@ use frame_support::pallet_prelude::{Get, StorageVersion, ValueQuery}; use frame_support::traits::OnRuntimeUpgrade; use frame_support::{traits::GetStorageVersion as _, weights::Weight}; use log::info; +use sp_runtime::TryRuntimeError; use sp_std::collections::btree_set::BTreeSet; #[cfg(feature = "try-runtime")] @@ -93,19 +94,19 @@ where } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { frame_support::ensure!( Pallet::::on_chain_storage_version() == 1, - "must upgrade linearly" + TryRuntimeError::Other("must upgrade linearly") ); Ok(Vec::new()) } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { frame_support::ensure!( Pallet::::on_chain_storage_version() == 2, - "should be upgraded to version 2" + TryRuntimeError::Other("should be upgraded to version 2") ); Ok(()) } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index feb0cdb54d..a4cd4d4352 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -3416,7 +3416,8 @@ impl_runtime_apis! { fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { - use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark, TrackedStorageKey}; + use frame_benchmarking::{Benchmarking, BenchmarkBatch, add_benchmark}; + use frame_support::traits::TrackedStorageKey; use kensetsu_benchmarking::Pallet as KensetsuBench; use liquidity_proxy_benchmarking::Pallet as LiquidityProxyBench; use pool_xyk_benchmarking::Pallet as XYKPoolBench; From 4be9a69109bb52629e51377e2f42a5cafb6b6bfc Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Fri, 19 Jul 2024 15:39:43 +0300 Subject: [PATCH 069/110] fix: build benchmarks/migrations for bridge-proxy, build node --- node/Cargo.toml | 2 ++ node/src/command.rs | 16 +++++++++------- pallets/bridge-proxy/Cargo.toml | 4 ++-- pallets/bridge-proxy/src/migrations.rs | 8 ++++---- .../benchmarking/src/lib.rs | 5 ++--- 5 files changed, 19 insertions(+), 16 deletions(-) diff --git a/node/Cargo.toml b/node/Cargo.toml index 3caf1a89e8..62684fb4ce 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -108,6 +108,7 @@ enum-as-inner = "=0.5.1" sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-statement-store = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } # TODO remove after toolchain is updated # newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` @@ -156,6 +157,7 @@ runtime-benchmarks = [ "frame-benchmarking-cli", "framenode-runtime/runtime-benchmarks", "sc-client-db/runtime-benchmarks", + "sc-service/runtime-benchmarks", ] try-runtime = [ diff --git a/node/src/command.rs b/node/src/command.rs index 00fb27c97f..f2a801e199 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -18,8 +18,15 @@ use crate::cli::{Cli, Subcommand}; use crate::service; use sc_cli::{ChainSpec, RuntimeVersion, SubstrateCli}; +use sc_executor::sp_wasm_interface::ExtendedHostFunctions; +use sc_executor::NativeExecutionDispatch; use sc_service::PartialComponents; +type HostFunctionsOf = ExtendedHostFunctions< + sp_io::SubstrateHostFunctions, + ::ExtendHostFunctions, +>; + fn set_default_ss58_version() { sp_core::crypto::set_default_ss58_version(sp_core::crypto::Ss58AddressFormat::from( framenode_runtime::SS58Prefix::get() as u16, @@ -202,7 +209,7 @@ pub fn run() -> sc_cli::Result<()> { } runner.sync_run(|config| { - cmd.run::(config) + cmd.run::>(config) }) } #[allow(unreachable_patterns)] @@ -211,11 +218,6 @@ pub fn run() -> sc_cli::Result<()> { } #[cfg(feature = "try-runtime")] Some(Subcommand::TryRuntime(cmd)) => { - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; - type HostFunctionsOf = ExtendedHostFunctions< - sp_io::SubstrateHostFunctions, - ::ExtendHostFunctions, - >; let runner = cli.create_runner(cmd)?; set_default_ss58_version(); @@ -230,7 +232,7 @@ pub fn run() -> sc_cli::Result<()> { runner.async_run(|_config| { Ok(( - cmd.run::>(), + cmd.try_run::>(), task_manager, )) }) diff --git a/pallets/bridge-proxy/Cargo.toml b/pallets/bridge-proxy/Cargo.toml index 10717b43ee..eb140e0f50 100644 --- a/pallets/bridge-proxy/Cargo.toml +++ b/pallets/bridge-proxy/Cargo.toml @@ -65,8 +65,8 @@ std = [ runtime-benchmarks = [ "frame-benchmarking", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", +# "frame-support/runtime-benchmarks", +# "frame-system/runtime-benchmarks", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/bridge-proxy/src/migrations.rs b/pallets/bridge-proxy/src/migrations.rs index 20a69a0274..3430e0f1bb 100644 --- a/pallets/bridge-proxy/src/migrations.rs +++ b/pallets/bridge-proxy/src/migrations.rs @@ -42,7 +42,7 @@ pub mod init { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(0), "Wrong storage version before upgrade" @@ -51,7 +51,7 @@ pub mod init { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), "Wrong storage version after upgrade" @@ -140,7 +140,7 @@ pub mod generic_account_v2 { } #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(1), "Wrong storage version before upgrade" @@ -149,7 +149,7 @@ pub mod generic_account_v2 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(_state: Vec) -> Result<(), &'static str> { + fn post_upgrade(_state: Vec) -> Result<(), DispatchError> { frame_support::ensure!( StorageVersion::get::>() == StorageVersion::new(2), "Wrong storage version after upgrade" diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs b/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs index 2836ec5e2c..8a3db59b3f 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs @@ -4,12 +4,11 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] -use ceres_liquidity_locker::AccountIdOf; use codec::Decode; use common::prelude::Balance; use common::{ - balance, AssetIdOf, AssetManager, AssetName, AssetSymbol, DEXId, TradingPairSourceManager, - DEFAULT_BALANCE_PRECISION, XOR, + balance, AccountIdOf, AssetIdOf, AssetManager, AssetName, AssetSymbol, DEXId, + TradingPairSourceManager, DEFAULT_BALANCE_PRECISION, XOR, }; use frame_benchmarking::{benchmarks, impl_benchmark_test_suite}; use frame_system::RawOrigin; From 0a1660a6fb4305e2fae64358c7c7fe59b86750da Mon Sep 17 00:00:00 2001 From: i3ima Date: Fri, 19 Jul 2024 20:31:49 +0300 Subject: [PATCH 070/110] Revert "bump: minimum version of a nightly compiler" This reverts commit d56cab59aeb6597af742fc9afd7bd34d1b86f136. --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index ae8272a06f..a6a523c61e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2023-12-28" +channel = "nightly-2024-06-25" targets = [ "wasm32-unknown-unknown" ] profile = "default" From e49bdd65a979f5a67f2a8fd8a8789f777d5869c3 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 21 Jul 2024 22:48:45 +0300 Subject: [PATCH 071/110] refactor(node): upgate genesis config of chain spec builder for mainnet --- node/chain_spec/src/lib.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 63a118928c..d3bc6dd170 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -1827,7 +1827,7 @@ fn mainnet_genesis( eth_bridge_params: EthBridgeParams, council_accounts: Vec, technical_committee_accounts: Vec, -) -> GenesisConfig { +) -> RuntimeGenesisConfig { // Minimum stake for an active validator let initial_staking = balance!(0.2); // XOR amount which already exists on Ethereum @@ -2223,7 +2223,7 @@ fn mainnet_genesis( None, ) })); - GenesisConfig { + RuntimeGenesisConfig { #[cfg(feature = "wip")] // EVM bridge evm_fungible_app: Default::default(), parachain_bridge_app: Default::default(), @@ -2239,6 +2239,7 @@ fn mainnet_genesis( system: SystemConfig { code: WASM_BINARY.unwrap_or_default().to_vec(), + ..Default::default() }, technical: TechnicalConfig { register_tech_accounts: tech_accounts, @@ -2246,9 +2247,11 @@ fn mainnet_genesis( babe: BabeConfig { authorities: vec![], epoch_config: Some(framenode_runtime::constants::BABE_GENESIS_EPOCH_CONFIG), + ..Default::default() }, grandpa: GrandpaConfig { authorities: vec![], + ..Default::default() }, session: SessionConfig { keys: initial_authorities @@ -2482,6 +2485,7 @@ fn mainnet_genesis( LiquiditySourceType::OrderBook, ] .into(), + ..Default::default() }, eth_bridge: EthBridgeConfig { authority_account: Some(eth_bridge_authority_account_id.clone()), @@ -2553,6 +2557,7 @@ fn mainnet_genesis( }, beefy: BeefyConfig { authorities: vec![], + genesis_block: None, }, } } From 5c7783cdc4fe2205e576357ee21850061f07f921 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 21 Jul 2024 22:49:49 +0300 Subject: [PATCH 072/110] fix(pool-xyk): make TechAccountId of `operations` private to not cause shadowing in other modules --- pallets/pool-xyk/src/operations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/pool-xyk/src/operations.rs b/pallets/pool-xyk/src/operations.rs index c0f6328003..22a83f07ed 100644 --- a/pallets/pool-xyk/src/operations.rs +++ b/pallets/pool-xyk/src/operations.rs @@ -38,7 +38,7 @@ type DEXId = common::DEXId; pub type AssetId = AssetId32; type TechAssetId = common::TechAssetId; pub type AccountId = AccountId32; -pub type TechAccountId = common::TechAccountId; +type TechAccountId = common::TechAccountId; use crate::bounds::*; From 0a355177afb13553ddab5c880e4395af6c0cee89 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 21 Jul 2024 22:51:57 +0300 Subject: [PATCH 073/110] fix: update imports, enable features for some pallets in runtime/Cargo.toml --- pallets/liquidity-proxy/src/mock.rs | 2 +- runtime/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pallets/liquidity-proxy/src/mock.rs b/pallets/liquidity-proxy/src/mock.rs index 19ca76289c..5fa3a95cff 100644 --- a/pallets/liquidity-proxy/src/mock.rs +++ b/pallets/liquidity-proxy/src/mock.rs @@ -54,7 +54,7 @@ use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::{ConstU32, H256}; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{AccountId32, BuildStorage, DispatchError, Perbill, Percent}; +use sp_runtime::{AccountId32, BuildStorage, DispatchError, Perbill, Percent, Permill}; use sp_std::str::FromStr; use std::collections::{BTreeSet, HashMap}; diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 594bf6fc7a..59ed53e4cc 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -256,6 +256,7 @@ std = [ "pallet-session/std", "pallet-staking/std", "pallet-sudo/std", + "pallet-aura/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", @@ -284,6 +285,7 @@ std = [ "sp-transaction-pool/std", "sp-version/std", "sp-npos-elections/std", + "sp-consensus-aura/std", "substrate-bridge-app/std", "technical/std", "trading-pair-runtime-api/std", @@ -360,6 +362,7 @@ runtime-benchmarks = [ "oracle-proxy/runtime-benchmarks", "order-book-benchmarking", "order-book-benchmarking/runtime-benchmarks", + "order-book/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pool-xyk-benchmarking", "pool-xyk-benchmarking/runtime-benchmarks", From ad58a31b0161048184054c9a2ac297b6233c420c Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Mon, 22 Jul 2024 20:46:40 +0300 Subject: [PATCH 074/110] TODO(decide where change rev): add commented patch for bandersnatch_vrfs --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d611c4ef02..1c3225caac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,6 +115,11 @@ orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-l orml-currencies = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } orml-utilities = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } +# TODO: Decide to stay with patch there or change at sdk repository +# patch check only url changes, not rev, so add to url ignored filter +#[patch."https://github.com/w3f/ring-vrf"] +#bandersnatch_vrfs = { git = "https://github.com/w3f/ring-vrf.git#4125212", rev = "4125212", default-features = false, optional = true } + [patch."https://github.com/sora-xor/polkadot-sdk.git"] frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } frame-benchmarking-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/benchmarking-cli" } From 50841a0ad5c98048f36087ab7c22d279b4275821 Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Mon, 22 Jul 2024 20:59:13 +0300 Subject: [PATCH 075/110] fix(benchmarkin): mint balance to solve NotEnoughLockedLiquidity --- pallets/eth-bridge/src/benchmarking.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pallets/eth-bridge/src/benchmarking.rs b/pallets/eth-bridge/src/benchmarking.rs index 8cdf1fe219..0e827c155c 100644 --- a/pallets/eth-bridge/src/benchmarking.rs +++ b/pallets/eth-bridge/src/benchmarking.rs @@ -104,6 +104,15 @@ benchmarks! { let caller = crate::BridgeAccount::::get(&net_id).unwrap(); let asset_id: T::AssetId = XOR.into(); let alice = alice::(); + Assets::::mint_to(&asset_id, &caller, &caller, balance!(100)).unwrap(); + let initial_base_balance = Assets::::free_balance(&asset_id, &caller).unwrap(); + frame_support::assert_ok!(crate::Pallet::::transfer_to_sidechain( + RawOrigin::Signed(caller.clone()).into(), + asset_id, + EthAddress::from(hex!("19E7E376E7C213B7E7e7e46cc70A5dD086DAff2A")), + balance!(100), + net_id + )); let inc_req = IncomingRequest::Transfer(IncomingTransfer:: { from: EthAddress::from([10u8; 20]), to: alice.clone(), @@ -132,6 +141,15 @@ benchmarks! { let asset_id: T::AssetId = XOR.into(); let req_hash = H256([1u8; 32]); let alice = alice::(); + Assets::::mint_to(&asset_id, &caller, &caller, balance!(100)).unwrap(); + let initial_base_balance = Assets::::free_balance(&asset_id, &caller).unwrap(); + frame_support::assert_ok!(crate::Pallet::::transfer_to_sidechain( + RawOrigin::Signed(caller.clone()).into(), + asset_id, + EthAddress::from(hex!("19E7E376E7C213B7E7e7e46cc70A5dD086DAff2A")), + balance!(100), + net_id + )); let inc_req = IncomingRequest::Transfer(IncomingTransfer:: { from: EthAddress::from([10u8; 20]), to: alice.clone(), From d81be7a3a59914d65cf282d9740a992bec3a727f Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 28 Jul 2024 19:52:35 +0300 Subject: [PATCH 076/110] fix(pallets::kensetsu)!: update mock runtime & replace expected error type in of tests This change should be noted, as I'm not sure that i've choosen correct error type --- pallets/kensetsu/src/mock.rs | 9 ++++++++- pallets/kensetsu/src/tests.rs | 5 +++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pallets/kensetsu/src/mock.rs b/pallets/kensetsu/src/mock.rs index 49cd36aab8..b127b53655 100644 --- a/pallets/kensetsu/src/mock.rs +++ b/pallets/kensetsu/src/mock.rs @@ -29,6 +29,7 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate as kensetsu; +use crate::test_utils::alice_account_id; use std::collections::BTreeSet; use common::mock::ExistentialDeposits; @@ -274,7 +275,7 @@ frame_support::construct_runtime!( pub enum TestRuntime { System: frame_system::{Pallet, Call, Storage, Event}, Assets: assets::{Pallet, Call, Storage, Config, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Event}, + Balances: pallet_balances::{Pallet, Call, Config, Storage, Event}, Technical: technical::{Pallet, Call, Config, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -377,6 +378,12 @@ pub fn new_test_ext() -> sp_io::TestExternalities { .assimilate_storage(&mut storage) .unwrap(); + BalancesConfig { + balances: vec![(assets_and_permissions_account_id.clone(), balance!(1))], + } + .assimilate_storage(&mut storage) + .unwrap(); + PermissionsConfig { initial_permission_owners: vec![ ( diff --git a/pallets/kensetsu/src/tests.rs b/pallets/kensetsu/src/tests.rs index 0bed353a1b..0a8cb3af2f 100644 --- a/pallets/kensetsu/src/tests.rs +++ b/pallets/kensetsu/src/tests.rs @@ -45,6 +45,7 @@ use sp_arithmetic::{ArithmeticError, Percent}; use sp_core::bounded::BoundedVec; use sp_runtime::traits::{One, Zero}; use sp_runtime::DispatchError::BadOrigin; +use sp_runtime::TokenError; type KensetsuError = Error; type KensetsuPallet = Pallet; @@ -404,7 +405,7 @@ fn test_close_cdp_outstanding_debt() { let debt = balance!(1); let more_than_debt = balance!(10); let cdp_id = create_cdp_for_xor(alice(), collateral, debt); - assert_balance(&alice_account_id(), &XOR, balance!(0)); + assert_balance(&alice_account_id(), &XOR, 0); add_balance(alice_account_id(), more_than_debt, KUSD); // close with transfer amount more than debt @@ -556,7 +557,7 @@ fn test_deposit_collateral_not_enough_balance() { assert_noop!( KensetsuPallet::deposit_collateral(alice(), cdp_id, balance!(1)), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); }); } From 4f70b04fa300a680d45185b5ffbdff0a7f990fd8 Mon Sep 17 00:00:00 2001 From: i3ima Date: Sun, 28 Jul 2024 19:57:21 +0300 Subject: [PATCH 077/110] build: update cargo.lock --- Cargo.lock | 55 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27853c1568..2485a9c42a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -354,24 +354,10 @@ dependencies = [ "parity-scale-codec", ] -[[package]] -name = "ark-scale" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "ark-secret-scalar" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-ec", "ark-ff", @@ -419,7 +405,7 @@ dependencies = [ [[package]] name = "ark-transcript" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-ff", "ark-serialize", @@ -860,13 +846,12 @@ dependencies = [ [[package]] name = "bandersnatch_vrfs" version = "0.0.1" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-bls12-381", "ark-ec", "ark-ed-on-bls12-381-bandersnatch", "ark-ff", - "ark-scale 0.0.12", "ark-serialize", "ark-std", "dleq_vrf", @@ -2650,11 +2635,11 @@ dependencies = [ [[package]] name = "dleq_vrf" version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=3119f51#3119f51b54b69308abfb0671f6176cb125ae1bf1" +source = "git+https://github.com/w3f/ring-vrf?rev=4125212#4125212332d46b3e0d636f0c3074f5c1b6c293e6" dependencies = [ "ark-ec", "ark-ff", - "ark-scale 0.0.10", + "ark-scale", "ark-secret-scalar", "ark-serialize", "ark-std", @@ -3828,6 +3813,7 @@ dependencies = [ "sp-keystore", "sp-mmr-primitives", "sp-runtime", + "sp-statement-store 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", "sp-timestamp", "sp-transaction-pool", "sp-transaction-storage-proof", @@ -6754,6 +6740,7 @@ dependencies = [ "frame-system", "framenode-chain-spec", "framenode-runtime", + "log", "order-book", "pallet-balances", "pallet-collective", @@ -9064,7 +9051,7 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-state-machine", - "sp-statement-store", + "sp-statement-store 4.0.0-dev", "sp-storage", "substrate-prometheus-endpoint", ] @@ -9675,7 +9662,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-session", - "sp-statement-store", + "sp-statement-store 4.0.0-dev", "sp-version", "tokio", ] @@ -10961,6 +10948,30 @@ dependencies = [ "x25519-dalek 2.0.1", ] +[[package]] +name = "sp-statement-store" +version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +dependencies = [ + "aes-gcm", + "curve25519-dalek 4.1.3", + "ed25519-dalek", + "hkdf", + "parity-scale-codec", + "rand 0.8.5", + "scale-info", + "sha2 0.10.8", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "thiserror", + "x25519-dalek 2.0.1", +] + [[package]] name = "sp-std" version = "8.0.0" From 5abddc05786c5e7f9f33cc4fc04c8248b6a83853 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 29 Jul 2024 06:19:29 +0300 Subject: [PATCH 078/110] test(multicollateral-bonding-curve-pool): fix tests after upgrade --- .../src/mock.rs | 8 +- .../src/tests.rs | 112 ++++++++++++------ 2 files changed, 82 insertions(+), 38 deletions(-) diff --git a/pallets/multicollateral-bonding-curve-pool/src/mock.rs b/pallets/multicollateral-bonding-curve-pool/src/mock.rs index 7f1306cd4e..b9231e2533 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/mock.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/mock.rs @@ -876,10 +876,10 @@ impl ExtBuilder { } }) .chain(vec![ - (bob(), 0), - (assets_owner(), 0), - (incentives_account(), 0), - (free_reserves_account(), 0), + (bob(), 1), + (assets_owner(), 1), + (incentives_account(), 1), + (free_reserves_account(), 1), ]) .collect(), } diff --git a/pallets/multicollateral-bonding-curve-pool/src/tests.rs b/pallets/multicollateral-bonding-curve-pool/src/tests.rs index 040564ba67..2cf35dc160 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/tests.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/tests.rs @@ -50,11 +50,18 @@ mod tests { GetStorageVersion, OnFinalize, OnInitialize, OnRuntimeUpgrade, StorageVersion, }; use sp_arithmetic::traits::Zero; + use sp_runtime::traits::Saturating; use sp_runtime::DispatchError; use sp_std::collections::vec_deque::VecDeque; type MBCPool = Pallet; + /// This constant is used in addition/subtraction of Balance/Supply and other places where + /// without accounting for existential deposit we will have broken asserts. Current number (4) + /// is choosen because that's how much accounts [`ExtBuilder::build()`] created with a balance + /// of 1 + pub const EXISTENTIAL_DEPOSITS_ACCOUNTING: u128 = 4; + pub fn run_to_block(n: u64) { while System::block_number() < n { System::on_finalize(System::block_number()); @@ -514,7 +521,7 @@ mod tests { ( alice(), XOR, - 0, + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -592,7 +599,7 @@ mod tests { ( alice(), XOR, - 0, + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -962,7 +969,7 @@ mod tests { ( alice(), XOR, - 0, + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -1317,7 +1324,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -1434,7 +1441,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -1491,7 +1498,10 @@ mod tests { let val_balance_a = Assets::free_balance(&VAL, &alice()).unwrap(); let xor_balance_a = Assets::free_balance(&XOR, &alice()).unwrap(); assert_eq!(quote_outcome_a.amount, exchange_outcome_a.amount); - assert_eq!(exchange_outcome_a.amount, xor_balance_a); + assert_eq!( + exchange_outcome_a.amount, + xor_balance_a - ::ExistentialDeposit::get() + ); assert_eq!(val_balance_a, amount_a.clone()); // Buy with desired output @@ -1577,7 +1587,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -1620,7 +1630,10 @@ mod tests { let tbcd_balance_a = Assets::free_balance(&TBCD, &alice()).unwrap(); let xor_balance_a = Assets::free_balance(&XOR, &alice()).unwrap(); assert_eq!(quote_outcome_a.amount, exchange_outcome_a.amount); - assert_eq!(exchange_outcome_a.amount, xor_balance_a); + assert_eq!( + exchange_outcome_a.amount, + xor_balance_a - ::ExistentialDeposit::get() + ); assert_eq!(tbcd_balance_a, amount_a.clone()); // Buy with desired output @@ -1810,7 +1823,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -1889,7 +1902,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -2038,7 +2051,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -2191,7 +2204,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -2239,6 +2252,8 @@ mod tests { ]) .build() .execute_with(|| { + let BALANCE_CORRECTION = EXISTENTIAL_DEPOSITS_ACCOUNTING + 1; + MockDEXApi::init().unwrap(); let _ = bonding_curve_pool_init(vec![]).unwrap(); TradingPair::register( @@ -2252,7 +2267,10 @@ mod tests { MBCPool::set_reference_asset(RuntimeOrigin::signed(alice()), DAI).unwrap(); let xor_supply = Assets::total_issuance(&XOR).unwrap(); - assert_eq!(xor_supply, balance!(100000)); + assert_eq!( + xor_supply, + balance!(100000).saturating_add(BALANCE_CORRECTION) + ); // Depositing collateral #1: under 5% collateralized MBCPool::exchange( @@ -2265,7 +2283,12 @@ mod tests { ) .unwrap(); let xor_supply = Assets::total_issuance(&XOR).unwrap(); - assert_eq!(xor_supply, balance!(100724.916324262414168899)); + assert_eq!( + xor_supply, + balance!(100724.916324262414168899) + // NOTE(i3ima): we have to add +1 to EXISTENTIAL_DEPOSITS_ACCOUNTING because of account creation in `bonding_curve_pool_init()`) + .saturating_add(BALANCE_CORRECTION) + ); let (sell_price, _) = MBCPool::quote( &DEXId::Polkaswap.into(), @@ -2288,7 +2311,12 @@ mod tests { ) .unwrap(); let xor_supply = Assets::total_issuance(&XOR).unwrap(); - assert_eq!(xor_supply, balance!(107896.889465954935399866)); + assert_eq!( + xor_supply, + balance!(107896.889465954935399866) + // NOTE(i3ima): we have to add +1 to EXISTENTIAL_DEPOSITS_ACCOUNTING because of account creation in `bonding_curve_pool_init()`) + .saturating_add(BALANCE_CORRECTION) + ); let (sell_price, _) = MBCPool::quote( &DEXId::Polkaswap.into(), @@ -2311,7 +2339,10 @@ mod tests { ) .unwrap(); let xor_supply = Assets::total_issuance(&XOR).unwrap(); - assert_eq!(xor_supply, balance!(114934.359190755661026458)); + assert_eq!( + xor_supply, + balance!(114934.359190755661026458).saturating_add(BALANCE_CORRECTION) + ); let (sell_price, _) = MBCPool::quote( &DEXId::Polkaswap.into(), @@ -2334,7 +2365,10 @@ mod tests { ) .unwrap(); let xor_supply = Assets::total_issuance(&XOR).unwrap(); - assert_eq!(xor_supply, balance!(128633.975165230400000080)); + assert_eq!( + xor_supply, + balance!(128633.975165230400000080).saturating_add(BALANCE_CORRECTION) + ); let (sell_price, _) = MBCPool::quote( &DEXId::Polkaswap.into(), @@ -2357,7 +2391,10 @@ mod tests { ) .unwrap(); let xor_supply = Assets::total_issuance(&XOR).unwrap(); - assert_eq!(xor_supply, balance!(151530.994236602104619871)); + assert_eq!( + xor_supply, + balance!(151530.994236602104619871).saturating_add(BALANCE_CORRECTION) + ); let (sell_price, _) = MBCPool::quote( &DEXId::Polkaswap.into(), @@ -2373,7 +2410,7 @@ mod tests { #[test] fn sequential_rewards_adequacy_check() { - ExtBuilder::new(vec![ + let endowed_accounts = vec![ ( alice(), XOR, @@ -2422,9 +2459,12 @@ mod tests { AssetName(b"SORA Synthetic USD".to_vec()), DEFAULT_BALANCE_PRECISION, ), - ]) - .build() - .execute_with(|| { + ]; + + let mut ext = ExtBuilder::new(endowed_accounts).build(); + + ext.execute_with(|| { + log::info!(target: "runtime", "Issuance: {:?}", Assets::total_issuance(&XOR).unwrap()); MockDEXApi::init().unwrap(); let _ = bonding_curve_pool_init(vec![]).unwrap(); TradingPair::register( @@ -2434,6 +2474,7 @@ mod tests { VAL, ) .expect("Failed to register trading pair."); + TradingPair::register( RuntimeOrigin::signed(alice()), DEXId::Polkaswap.into(), @@ -2445,7 +2486,10 @@ mod tests { MBCPool::initialize_pool_unchecked(DAI, false).expect("Failed to initialize pool."); // XOR total supply in network is 350000 - let xor_total_supply: FixedWrapper = Assets::total_issuance(&XOR).unwrap().into(); + let xor_total_supply: FixedWrapper = Assets::total_issuance(&XOR) + .unwrap() + .saturating_sub(EXISTENTIAL_DEPOSITS_ACCOUNTING) + .into(); assert_eq!(xor_total_supply.clone().into_balance(), balance!(350000)); // initial XOR price is $264 let xor_ideal_reserves: FixedWrapper = MBCPool::ideal_reserves_reference_price( @@ -2532,7 +2576,7 @@ mod tests { ( alice(), XOR, - 0, + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -2955,7 +2999,7 @@ mod tests { ( alice(), XOR, - 0, + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -3531,7 +3575,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -3726,7 +3770,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -3921,7 +3965,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -4036,7 +4080,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -4179,7 +4223,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -4510,7 +4554,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -4897,7 +4941,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -5016,7 +5060,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, @@ -5110,7 +5154,7 @@ mod tests { ( alice(), XOR, - balance!(0), + 1, AssetSymbol(b"XOR".to_vec()), AssetName(b"SORA".to_vec()), DEFAULT_BALANCE_PRECISION, From 85520d93bd1379a65f6be45c947bf1eb2c33a456 Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Wed, 31 Jul 2024 11:00:31 +0300 Subject: [PATCH 079/110] fix: set max holds to 2 in runtime --- runtime/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a4cd4d4352..678548c071 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -894,6 +894,7 @@ parameter_types! { pub const TransferFee: u128 = 0; pub const CreationFee: u128 = 0; pub const MaxLocks: u32 = 50; + pub const MaxHolds: u32 = 2; } impl pallet_balances::Config for Runtime { @@ -910,7 +911,7 @@ impl pallet_balances::Config for Runtime { type ReserveIdentifier = (); type RuntimeHoldReason = (); type FreezeIdentifier = (); - type MaxHolds = (); + type MaxHolds = MaxHolds; type MaxFreezes = (); } From bd400b46548128f88ada91681935fa71b8c08271 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 31 Jul 2024 16:13:14 +0300 Subject: [PATCH 080/110] test(pallets): update 6 more targets --- pallets/order-book/Cargo.toml | 5 +++-- pallets/permissions/Cargo.toml | 4 ++++ pallets/permissions/src/mock.rs | 23 +++-------------------- pallets/pool-xyk/src/tests.rs | 5 +++-- pallets/price-tools/src/mock.rs | 2 +- pallets/pswap-distribution/src/mock.rs | 18 +++++++++--------- pallets/referrals/src/mock.rs | 6 +++--- 7 files changed, 26 insertions(+), 37 deletions(-) diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index b94aa1dad5..76bac40e28 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -60,13 +60,14 @@ runtime-benchmarks = [ "frame-system/runtime-benchmarks", "frame-support/runtime-benchmarks", "pallet-collective/runtime-benchmarks", + "framenode-runtime/runtime-benchmarks" ] try-runtime = ["frame-support/try-runtime"] private-net = [ -# "framenode-chain-spec/private-net", -# "framenode-runtime/private-net", + "framenode-chain-spec/private-net", + "framenode-runtime/private-net", ] test = [] diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index d96811046a..7738cf2a5a 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -41,6 +41,10 @@ std = [ "sp-std/std", ] +test = [ + "common/test" +] + try-runtime = [ "frame-support/try-runtime", ] diff --git a/pallets/permissions/src/mock.rs b/pallets/permissions/src/mock.rs index 2971c95f26..0e756a5660 100644 --- a/pallets/permissions/src/mock.rs +++ b/pallets/permissions/src/mock.rs @@ -30,6 +30,7 @@ use crate::{self as permissions, Config, Scope, BURN, INIT_DEX, MINT, SLASH}; use common::prelude::Balance; +use common::{mock_frame_system_config, mock_pallet_balances_config}; use frame_support::traits::GenesisBuild; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; @@ -67,25 +68,7 @@ impl permissions::Config for Runtime { type RuntimeEvent = RuntimeEvent; } -parameter_types! { - pub const ExistentialDeposit: u128 = 0; -} - -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} +mock_pallet_balances_config!(Runtime); impl frame_system::Config for Runtime { type BaseCallFilter = frame_support::traits::Everything; @@ -142,7 +125,7 @@ impl ExtBuilder { .unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(ALICE, 0), (BOB, 0), (JOHN, 0)], + balances: vec![(ALICE, 1u128), (BOB, 1u128), (JOHN, 1u128)], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/pool-xyk/src/tests.rs b/pallets/pool-xyk/src/tests.rs index fc877fe03a..2c88974179 100644 --- a/pallets/pool-xyk/src/tests.rs +++ b/pallets/pool-xyk/src/tests.rs @@ -38,6 +38,7 @@ use common::{ }; use frame_support::assert_ok; use frame_support::{assert_err, assert_noop}; +use sp_runtime::TokenError; use crate::mock::*; use crate::{PoolProviders, TotalIssuances}; @@ -2634,7 +2635,7 @@ fn withdraw_all_liquidity_chameleon() { 1, 1 ), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); assert_noop!( @@ -2647,7 +2648,7 @@ fn withdraw_all_liquidity_chameleon() { 1, 1 ), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); assert_ok!(crate::Pallet::::withdraw_liquidity( diff --git a/pallets/price-tools/src/mock.rs b/pallets/price-tools/src/mock.rs index 1ee1081b19..462e3e61d7 100644 --- a/pallets/price-tools/src/mock.rs +++ b/pallets/price-tools/src/mock.rs @@ -403,7 +403,7 @@ impl ExtBuilder { None } }) - .chain(vec![(bob(), 0), (assets_owner(), 0)]) + .chain(vec![(bob(), 1), (assets_owner(), 1)]) .collect(), } .assimilate_storage(&mut t) diff --git a/pallets/pswap-distribution/src/mock.rs b/pallets/pswap-distribution/src/mock.rs index 9da7659caf..4a15c58730 100644 --- a/pallets/pswap-distribution/src/mock.rs +++ b/pallets/pswap-distribution/src/mock.rs @@ -360,16 +360,16 @@ impl ExtBuilder { let mut vec = self .endowed_accounts .iter() - .map(|(acc, ..)| (acc.clone(), 0)) + .map(|(acc, ..)| (acc.clone(), 1)) .chain(vec![ - (alice(), 0), - (fees_account_a(), 0), - (fees_account_b(), 0), - (liquidity_provider_a(), 0), - (liquidity_provider_b(), 0), - (liquidity_provider_c(), 0), - (GetPswapDistributionAccountId::get(), 0), - (GetParliamentAccountId::get(), 0), + (alice(), 1), + (fees_account_a(), 1), + (fees_account_b(), 1), + (liquidity_provider_a(), 1), + (liquidity_provider_b(), 1), + (liquidity_provider_c(), 1), + (GetPswapDistributionAccountId::get(), 1), + (GetParliamentAccountId::get(), 1), ]) .collect::>(); diff --git a/pallets/referrals/src/mock.rs b/pallets/referrals/src/mock.rs index e178203bd6..98e18588f3 100644 --- a/pallets/referrals/src/mock.rs +++ b/pallets/referrals/src/mock.rs @@ -114,9 +114,9 @@ pub fn test_ext() -> sp_io::TestExternalities { pallet_balances::GenesisConfig:: { balances: vec![ - (ALICE, 0u128.into()), - (BOB, 0u128.into()), - (MINTING_ACCOUNT, 0u128.into()), + (ALICE, 1u128.into()), + (BOB, 1u128.into()), + (MINTING_ACCOUNT, 1u128.into()), ], } .assimilate_storage(&mut t) From 54504adcd462f6801cae046ff10502a60d1b98aa Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 31 Jul 2024 19:33:58 +0300 Subject: [PATCH 081/110] test(pallets): upgrade rest of tests --- pallets/order-book/src/tests/pallet.rs | 5 ++-- pallets/vested-rewards/src/mock.rs | 2 +- pallets/vested-rewards/src/tests.rs | 38 ++++++++++++++++++++------ 3 files changed, 34 insertions(+), 11 deletions(-) diff --git a/pallets/order-book/src/tests/pallet.rs b/pallets/order-book/src/tests/pallet.rs index aab6e0c2ae..6bf57e18ed 100644 --- a/pallets/order-book/src/tests/pallet.rs +++ b/pallets/order-book/src/tests/pallet.rs @@ -46,6 +46,7 @@ use framenode_runtime::order_book::{ }; use framenode_runtime::{Runtime, RuntimeOrigin}; use sp_runtime::traits::UniqueSaturatedInto; +use sp_runtime::TokenError; use sp_std::collections::btree_map::BTreeMap; use sp_std::collections::vec_deque::VecDeque; @@ -403,7 +404,7 @@ fn should_not_lock_insufficient_base_asset() { &XOR, amount_to_lock.into() ), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); }); } @@ -512,7 +513,7 @@ fn should_not_unlock_more_base_that_tech_account_has() { &XOR, amount_to_try_unlock.into() ), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); }); } diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index 6a8b1006a8..5ca512f413 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -388,7 +388,7 @@ impl ExtBuilder { (alice(), 1), (bob(), 1), (eve(), 1), - (initial_assets_owner(), 1), + (initial_assets_owner(), 1400000000000000000), ], } .assimilate_storage(&mut t) diff --git a/pallets/vested-rewards/src/tests.rs b/pallets/vested-rewards/src/tests.rs index aa894c448d..77fd3eaf5d 100644 --- a/pallets/vested-rewards/src/tests.rs +++ b/pallets/vested-rewards/src/tests.rs @@ -38,6 +38,8 @@ use common::{ use frame_support::traits::{GetStorageVersion, OnRuntimeUpgrade, StorageVersion}; use frame_support::{assert_err, assert_noop, assert_ok}; use frame_system::RawOrigin; +use sp_runtime::traits::Saturating; +use sp_runtime::TokenError; use traits::currency::MultiCurrency; fn deposit_rewards_to_reserves(amount: Balance) { @@ -48,8 +50,8 @@ fn deposit_rewards_to_reserves(amount: Balance) { pub fn assert_balances(balances: Vec<(AccountId, AssetId32, Balance)>) { for (account, asset, balance) in balances { assert_eq!( - Assets::total_balance(&asset, &account), Ok(balance), + Assets::total_balance(&asset, &account), "balance assert failed, account: {}, asset: {}, balance: {}", account, asset, @@ -178,7 +180,7 @@ fn can_claim_crowdloan_reward() { // Empty crowdloan tech account assert_err!( VestedRewards::claim_crowdloan_rewards(RuntimeOrigin::signed(alice()), tag.clone()), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); assert_balances(vec![(alice(), XOR, ed), (alice(), PSWAP, balance!(0))]); assert_eq!( @@ -195,7 +197,11 @@ fn can_claim_crowdloan_reward() { tag.clone() ),); assert_balances(vec![ - (alice(), XOR, balance!(1.351351351351351350)), + ( + alice(), + XOR, + balance!(1.351351351351351350).saturating_add(ed), + ), (alice(), PSWAP, balance!(13.513513513513513500)), ]); assert_eq!( @@ -214,7 +220,11 @@ fn can_claim_crowdloan_reward() { tag.clone() ),); assert_balances(vec![ - (alice(), XOR, balance!(2.702702702702702700)), + ( + alice(), + XOR, + balance!(2.702702702702702700).saturating_add(ed), + ), (alice(), PSWAP, balance!(27.027027027027027000)), ]); assert_eq!( @@ -241,11 +251,23 @@ fn can_claim_crowdloan_reward() { tag.clone() ),); assert_balances(vec![ - (alice(), XOR, balance!(13.513513513513513500)), + ( + alice(), + XOR, + balance!(13.513513513513513500).saturating_add(ed), + ), (alice(), PSWAP, balance!(135.135135135135135000)), - (bob(), XOR, balance!(40.540540540540540500)), + ( + bob(), + XOR, + balance!(40.540540540540540500).saturating_add(ed), + ), (bob(), PSWAP, balance!(405.40540540540540500)), - (charlie(), XOR, balance!(45.945945945945945900)), + ( + charlie(), + XOR, + balance!(45.945945945945945900).saturating_add(ed), + ), (charlie(), PSWAP, balance!(459.45945945945945900)), // It's ok to have some dust after distribution because of calculations precision ( @@ -263,7 +285,7 @@ fn can_claim_crowdloan_reward() { Assets::total_balance(&XOR, &alice()).unwrap() + Assets::total_balance(&XOR, &bob()).unwrap() + Assets::total_balance(&XOR, &charlie()).unwrap(), - balance!(99.999999999999999900) + balance!(99.999999999999999900).saturating_add(ed * 3) ); assert_eq!( Assets::total_balance(&PSWAP, &alice()).unwrap() From d86aa0c0f5ebcfe43b4bcbf16d9b1d3d362857ce Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 31 Jul 2024 20:23:14 +0300 Subject: [PATCH 082/110] fix(chain_spec): incorrectly resolved merge conflict --- node/chain_spec/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index 8819024a44..63f71fb70a 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -53,5 +53,4 @@ private-net = ["faucet", "framenode-runtime/private-net"] wip = ["framenode-runtime/wip"] # wip = [] # ready-to-test = [] -ready-to-test = ["framenode-runtime/ready-to-test"] stage = ["framenode-runtime/stage"] From fd073a4fe2b215ea92e8b3ebaf4cf3a29c057b9d Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 1 Aug 2024 22:20:20 +0300 Subject: [PATCH 083/110] build: (WIP) getting rid of local paths in dependencies patch of workspace .toml --- Cargo.lock | 450 ++++++------ Cargo.toml | 673 +++++++++--------- common/Cargo.toml | 20 +- node/Cargo.toml | 122 ++-- node/chain_spec/Cargo.toml | 24 +- pallets/apollo-platform/Cargo.toml | 20 +- pallets/assets/Cargo.toml | 16 +- pallets/assets/rpc/Cargo.toml | 12 +- pallets/assets/runtime-api/Cargo.toml | 6 +- pallets/band/Cargo.toml | 18 +- pallets/bridge-proxy/Cargo.toml | 30 +- pallets/bridge-proxy/rpc/Cargo.toml | 14 +- pallets/bridge-proxy/runtime-api/Cargo.toml | 8 +- pallets/ceres-governance-platform/Cargo.toml | 20 +- pallets/ceres-launchpad/Cargo.toml | 18 +- pallets/ceres-liquidity-locker/Cargo.toml | 16 +- .../benchmarking/Cargo.toml | 18 +- pallets/ceres-staking/Cargo.toml | 16 +- pallets/ceres-token-locker/Cargo.toml | 18 +- pallets/demeter-farming-platform/Cargo.toml | 18 +- .../benchmarking/Cargo.toml | 20 +- pallets/dex-api/Cargo.toml | 20 +- pallets/dex-api/rpc/Cargo.toml | 12 +- pallets/dex-api/runtime-api/Cargo.toml | 6 +- pallets/dex-manager/Cargo.toml | 14 +- pallets/dex-manager/rpc/Cargo.toml | 12 +- pallets/dex-manager/runtime-api/Cargo.toml | 6 +- pallets/eth-bridge/Cargo.toml | 28 +- pallets/eth-bridge/rpc/Cargo.toml | 8 +- pallets/eth-bridge/runtime-api/Cargo.toml | 6 +- pallets/extended-assets/Cargo.toml | 18 +- pallets/farming/Cargo.toml | 24 +- pallets/farming/rpc/Cargo.toml | 6 +- pallets/farming/runtime-api/Cargo.toml | 4 +- pallets/faucet/Cargo.toml | 20 +- pallets/hermes-governance-platform/Cargo.toml | 18 +- pallets/iroha-migration/Cargo.toml | 18 +- pallets/iroha-migration/rpc/Cargo.toml | 8 +- .../iroha-migration/runtime-api/Cargo.toml | 2 +- pallets/kensetsu/Cargo.toml | 22 +- pallets/kensetsu/benchmarking/Cargo.toml | 14 +- pallets/liquidity-proxy/Cargo.toml | 18 +- .../liquidity-proxy/benchmarking/Cargo.toml | 18 +- pallets/liquidity-proxy/rpc/Cargo.toml | 12 +- .../liquidity-proxy/runtime-api/Cargo.toml | 6 +- pallets/mock-liquidity-source/Cargo.toml | 18 +- .../Cargo.toml | 20 +- pallets/oracle-proxy/Cargo.toml | 18 +- pallets/oracle-proxy/rpc/Cargo.toml | 8 +- pallets/oracle-proxy/runtime-api/Cargo.toml | 6 +- pallets/order-book/Cargo.toml | 22 +- pallets/order-book/benchmarking/Cargo.toml | 20 +- pallets/permissions/Cargo.toml | 14 +- pallets/pool-xyk/Cargo.toml | 16 +- pallets/pool-xyk/benchmarking/Cargo.toml | 18 +- pallets/price-tools/Cargo.toml | 18 +- pallets/pswap-distribution/Cargo.toml | 22 +- .../benchmarking/Cargo.toml | 24 +- pallets/pswap-distribution/rpc/Cargo.toml | 12 +- .../pswap-distribution/runtime-api/Cargo.toml | 6 +- pallets/qa-tools/Cargo.toml | 18 +- pallets/referrals/Cargo.toml | 16 +- pallets/rewards/Cargo.toml | 18 +- pallets/rewards/rpc/Cargo.toml | 12 +- pallets/rewards/runtime-api/Cargo.toml | 6 +- pallets/technical/Cargo.toml | 18 +- pallets/trading-pair/Cargo.toml | 16 +- pallets/trading-pair/rpc/Cargo.toml | 12 +- pallets/trading-pair/runtime-api/Cargo.toml | 6 +- pallets/vested-rewards/Cargo.toml | 18 +- pallets/vested-rewards/rpc/Cargo.toml | 12 +- pallets/vested-rewards/runtime-api/Cargo.toml | 6 +- pallets/xor-fee/Cargo.toml | 28 +- pallets/xst/Cargo.toml | 20 +- pallets/xst/benchmarking/Cargo.toml | 18 +- runtime/Cargo.toml | 139 ++-- utils/generate-bags/Cargo.toml | 10 +- utils/remote-ext/Cargo.toml | 16 +- utils/wasm-builder/Cargo.toml | 2 +- 79 files changed, 1246 insertions(+), 1264 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ec12a95047..7cc5e559ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -906,9 +906,10 @@ dependencies = [ [[package]] name = "beefy-light-client" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "anyhow", - "binary-merkle-tree 4.0.0-dev (git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0)", + "binary-merkle-tree", "bridge-common", "bridge-types", "ckb-merkle-mountain-range", @@ -929,6 +930,7 @@ dependencies = [ [[package]] name = "beefy-light-client-rpc" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "beefy-light-client-runtime-api", "jsonrpsee", @@ -944,6 +946,7 @@ dependencies = [ [[package]] name = "beefy-light-client-runtime-api" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "parity-scale-codec", @@ -957,15 +960,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "4.0.0-dev" -dependencies = [ - "hash-db", - "log", -] - -[[package]] -name = "binary-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=release-polkadot-v1.1.0#e51a91fcac27d2f95ad631989622848aa8043f9e" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "hash-db", "log", @@ -1154,6 +1149,7 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "ethabi", @@ -1177,6 +1173,7 @@ dependencies = [ [[package]] name = "bridge-common" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bitvec", "bridge-types", @@ -1195,6 +1192,7 @@ dependencies = [ [[package]] name = "bridge-data-signer" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-common", "bridge-types", @@ -1276,6 +1274,7 @@ dependencies = [ [[package]] name = "bridge-types" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "derivative", "ethabi", @@ -2607,6 +2606,7 @@ dependencies = [ [[package]] name = "dispatch" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "frame-benchmarking", @@ -3071,6 +3071,7 @@ dependencies = [ [[package]] name = "evm-fungible-app" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "dispatch", @@ -3402,6 +3403,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", ] @@ -3424,6 +3426,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-support-procedural", @@ -3448,6 +3451,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "Inflector", "array-bytes", @@ -3469,7 +3473,7 @@ dependencies = [ "sc-block-builder", "sc-cli", "sc-client-api", - "sc-client-db 0.10.0-dev", + "sc-client-db", "sc-executor", "sc-service", "sc-sysinfo", @@ -3495,6 +3499,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3505,6 +3510,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3521,10 +3527,11 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", - "frame-try-runtime 0.10.0-dev", + "frame-try-runtime", "log", "parity-scale-codec", "scale-info", @@ -3532,7 +3539,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "sp-tracing 10.0.0", + "sp-tracing", ] [[package]] @@ -3550,6 +3557,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-recursion", "futures", @@ -3563,29 +3571,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "spinners", - "substrate-rpc-client 0.10.0-dev", - "tokio", - "tokio-retry", -] - -[[package]] -name = "frame-remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" -dependencies = [ - "async-recursion", - "futures", - "indicatif", - "jsonrpsee", - "log", - "parity-scale-codec", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-state-machine", - "spinners", - "substrate-rpc-client 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "substrate-rpc-client", "tokio", "tokio-retry", ] @@ -3593,6 +3579,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3623,7 +3610,7 @@ dependencies = [ "sp-staking", "sp-state-machine", "sp-std", - "sp-tracing 10.0.0", + "sp-tracing", "sp-weights", "static_assertions", "tt-call", @@ -3632,6 +3619,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "Inflector", "cfg-expr", @@ -3649,6 +3637,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3660,6 +3649,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "proc-macro2", "quote", @@ -3669,6 +3659,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "cfg-if", "frame-support", @@ -3687,6 +3678,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -3701,6 +3693,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "sp-api", @@ -3709,18 +3702,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -dependencies = [ - "frame-support", - "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "frame-try-runtime" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "parity-scale-codec", @@ -3752,7 +3734,7 @@ dependencies = [ "farming-rpc", "frame-benchmarking", "frame-benchmarking-cli", - "frame-remote-externalities 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "frame-remote-externalities", "framenode-chain-spec", "framenode-runtime", "futures", @@ -3776,7 +3758,7 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-client-api", - "sc-client-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sc-client-db", "sc-consensus", "sc-consensus-aura", "sc-consensus-babe", @@ -3813,7 +3795,7 @@ dependencies = [ "sp-keystore", "sp-mmr-primitives", "sp-runtime", - "sp-statement-store 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sp-statement-store", "sp-timestamp", "sp-transaction-pool", "sp-transaction-storage-proof", @@ -3844,7 +3826,7 @@ dependencies = [ "rewards", "sc-consensus-grandpa", "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sc-network-common", "sc-service", "serde", "serde_json", @@ -3897,12 +3879,12 @@ dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-remote-externalities 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "frame-remote-externalities", "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", - "frame-try-runtime 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "frame-try-runtime", "framenode-chain-spec", "hermes-governance-platform", "hex-literal", @@ -3985,7 +3967,7 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", - "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sp-tracing", "sp-transaction-pool", "sp-version", "static_assertions", @@ -5213,6 +5195,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "leaf-provider" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "ethabi", @@ -5232,6 +5215,7 @@ dependencies = [ [[package]] name = "leaf-provider-rpc" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "jsonrpsee", "leaf-provider-runtime-api", @@ -5248,6 +5232,7 @@ dependencies = [ [[package]] name = "leaf-provider-runtime-api" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "parity-scale-codec", @@ -6160,7 +6145,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "log", @@ -6179,6 +6164,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "anyhow", "jsonrpsee", @@ -6351,6 +6337,7 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multisig-verifier" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-common", "bridge-types", @@ -6726,7 +6713,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "sp-tracing 10.0.0 (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sp-tracing", "technical", "trading-pair", ] @@ -6828,6 +6815,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -6844,6 +6832,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -6857,6 +6846,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -6880,6 +6870,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "aquamarine", "docify", @@ -6897,6 +6888,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -6911,6 +6903,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -6930,9 +6923,10 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", - "binary-merkle-tree 4.0.0-dev", + "binary-merkle-tree", "frame-support", "frame-system", "log", @@ -6954,6 +6948,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -6970,6 +6965,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -6987,6 +6983,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-election-provider-support", "frame-support", @@ -7005,6 +7002,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7023,6 +7021,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7033,7 +7032,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", - "sp-consensus-grandpa 4.0.0-dev", + "sp-consensus-grandpa", "sp-core", "sp-io", "sp-runtime", @@ -7045,6 +7044,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7060,6 +7060,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7079,6 +7080,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -7092,6 +7094,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7108,6 +7111,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7125,6 +7129,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.2.3" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "frame-support", "frame-system", @@ -7140,6 +7145,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7155,6 +7161,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -7171,6 +7178,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7187,6 +7195,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "docify", "frame-benchmarking", @@ -7204,6 +7213,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -7225,6 +7235,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7247,6 +7258,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7261,6 +7273,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7279,6 +7292,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-support", "frame-system", @@ -7294,6 +7308,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -7309,6 +7324,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7320,6 +7336,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-benchmarking", "frame-support", @@ -7335,6 +7352,7 @@ dependencies = [ [[package]] name = "parachain-bridge-app" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "ethabi", @@ -8926,6 +8944,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "log", "sp-core", @@ -8936,6 +8955,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "futures-timer", @@ -8958,6 +8978,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8972,6 +8993,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8990,6 +9012,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -9000,6 +9023,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "chrono", @@ -9014,13 +9038,13 @@ dependencies = [ "regex", "rpassword", "sc-client-api", - "sc-client-db 0.10.0-dev", + "sc-client-db", "sc-keystore", "sc-network", "sc-service", "sc-telemetry", "sc-tracing", - "sc-utils 4.0.0-dev", + "sc-utils", "serde", "serde_json", "sp-blockchain", @@ -9038,6 +9062,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "fnv", "futures", @@ -9046,7 +9071,7 @@ dependencies = [ "parking_lot 0.12.3", "sc-executor", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev", + "sc-utils", "sp-api", "sp-blockchain", "sp-consensus", @@ -9055,7 +9080,7 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-state-machine", - "sp-statement-store 4.0.0-dev", + "sp-statement-store", "sp-storage", "substrate-prometheus-endpoint", ] @@ -9063,6 +9088,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "hash-db", "kvdb", @@ -9074,32 +9100,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "sc-client-api", - "sc-state-db 0.10.0-dev", - "schnellru", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", -] - -[[package]] -name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" -dependencies = [ - "hash-db", - "kvdb", - "kvdb-memorydb", - "linked-hash-map", - "log", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api", - "sc-state-db 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sc-state-db", "schnellru", "sp-arithmetic", "sp-blockchain", @@ -9113,6 +9114,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "futures", @@ -9122,7 +9124,7 @@ dependencies = [ "mockall", "parking_lot 0.12.3", "sc-client-api", - "sc-utils 4.0.0-dev", + "sc-utils", "serde", "sp-api", "sp-blockchain", @@ -9137,6 +9139,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "futures", @@ -9165,6 +9168,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "fork-tree", @@ -9200,6 +9204,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "jsonrpsee", @@ -9221,6 +9226,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -9235,7 +9241,7 @@ dependencies = [ "sc-network", "sc-network-gossip", "sc-network-sync", - "sc-utils 4.0.0-dev", + "sc-utils", "sp-api", "sp-application-crypto", "sp-arithmetic", @@ -9254,7 +9260,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "jsonrpsee", @@ -9273,6 +9279,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9285,6 +9292,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ahash 0.8.7", "array-bytes", @@ -9303,18 +9311,18 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-network", - "sc-network-common 0.10.0-dev", + "sc-network-common", "sc-network-gossip", "sc-telemetry", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev", + "sc-utils", "serde_json", "sp-api", "sp-application-crypto", "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa 4.0.0-dev", + "sp-consensus-grandpa", "sp-core", "sp-keystore", "sp-runtime", @@ -9325,6 +9333,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "futures", @@ -9347,6 +9356,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -9368,6 +9378,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -9379,6 +9390,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "anyhow", "cfg-if", @@ -9395,6 +9407,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ansi_term", "futures", @@ -9402,7 +9415,7 @@ dependencies = [ "log", "sc-client-api", "sc-network", - "sc-network-common 0.10.0-dev", + "sc-network-common", "sp-blockchain", "sp-runtime", ] @@ -9410,6 +9423,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -9423,6 +9437,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -9444,8 +9459,8 @@ dependencies = [ "pin-project", "rand 0.8.5", "sc-client-api", - "sc-network-common 0.10.0-dev", - "sc-utils 4.0.0-dev", + "sc-network-common", + "sc-utils", "serde", "serde_json", "smallvec", @@ -9463,6 +9478,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-channel 1.9.0", "cid", @@ -9482,6 +9498,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -9491,30 +9508,14 @@ dependencies = [ "prost-build", "sc-consensus", "sp-consensus", - "sp-consensus-grandpa 4.0.0-dev", - "sp-runtime", -] - -[[package]] -name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "futures", - "libp2p-identity", - "parity-scale-codec", - "prost-build", - "sc-consensus", - "sp-consensus", - "sp-consensus-grandpa 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sp-consensus-grandpa", "sp-runtime", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ahash 0.8.7", "futures", @@ -9522,7 +9523,7 @@ dependencies = [ "libp2p", "log", "sc-network", - "sc-network-common 0.10.0-dev", + "sc-network-common", "schnellru", "sp-runtime", "substrate-prometheus-endpoint", @@ -9532,6 +9533,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -9552,6 +9554,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -9568,14 +9571,14 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-network", - "sc-network-common 0.10.0-dev", - "sc-utils 4.0.0-dev", + "sc-network-common", + "sc-utils", "schnellru", "smallvec", "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-consensus-grandpa 4.0.0-dev", + "sp-consensus-grandpa", "sp-core", "sp-runtime", "substrate-prometheus-endpoint", @@ -9585,6 +9588,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "futures", @@ -9592,8 +9596,8 @@ dependencies = [ "log", "parity-scale-codec", "sc-network", - "sc-network-common 0.10.0-dev", - "sc-utils 4.0.0-dev", + "sc-network-common", + "sc-utils", "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", @@ -9602,7 +9606,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "bytes", @@ -9620,9 +9624,9 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", - "sc-network-common 0.10.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sc-network-common", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev (git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits)", + "sc-utils", "sp-api", "sp-core", "sp-externalities", @@ -9636,6 +9640,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9644,6 +9649,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "jsonrpsee", @@ -9656,7 +9662,7 @@ dependencies = [ "sc-rpc-api", "sc-tracing", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev", + "sc-utils", "serde_json", "sp-api", "sp-blockchain", @@ -9666,7 +9672,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-session", - "sp-statement-store 4.0.0-dev", + "sp-statement-store", "sp-version", "tokio", ] @@ -9674,6 +9680,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9692,6 +9699,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "http", "jsonrpsee", @@ -9706,6 +9714,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "futures", @@ -9718,7 +9727,7 @@ dependencies = [ "sc-chain-spec", "sc-client-api", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev", + "sc-utils", "serde", "sp-api", "sp-blockchain", @@ -9733,6 +9742,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "directories", @@ -9748,14 +9758,14 @@ dependencies = [ "sc-block-builder", "sc-chain-spec", "sc-client-api", - "sc-client-db 0.10.0-dev", + "sc-client-db", "sc-consensus", "sc-executor", "sc-informant", "sc-keystore", "sc-network", "sc-network-bitswap", - "sc-network-common 0.10.0-dev", + "sc-network-common", "sc-network-light", "sc-network-sync", "sc-network-transactions", @@ -9767,7 +9777,7 @@ dependencies = [ "sc-tracing", "sc-transaction-pool", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev", + "sc-utils", "serde", "serde_json", "sp-api", @@ -9796,17 +9806,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sp-core", -] - -[[package]] -name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "log", "parity-scale-codec", @@ -9817,6 +9817,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "libc", @@ -9835,6 +9836,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "chrono", "futures", @@ -9843,7 +9845,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand 0.8.5", - "sc-utils 4.0.0-dev", + "sc-utils", "serde", "serde_json", "thiserror", @@ -9853,6 +9855,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ansi_term", "atty", @@ -9871,7 +9874,7 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing 10.0.0", + "sp-tracing", "thiserror", "tracing", "tracing-log", @@ -9881,6 +9884,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -9891,6 +9895,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "futures", @@ -9901,13 +9906,13 @@ dependencies = [ "parking_lot 0.12.3", "sc-client-api", "sc-transaction-pool-api", - "sc-utils 4.0.0-dev", + "sc-utils", "serde", "sp-api", "sp-blockchain", "sp-core", "sp-runtime", - "sp-tracing 10.0.0", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -9916,6 +9921,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "futures", @@ -9931,21 +9937,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -dependencies = [ - "async-channel 1.9.0", - "futures", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.3", - "prometheus", - "sp-arithmetic", -] - -[[package]] -name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-channel 1.9.0", "futures", @@ -10403,6 +10395,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "hash-db", "log", @@ -10423,6 +10416,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "Inflector", "blake2", @@ -10436,6 +10430,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "scale-info", @@ -10448,6 +10443,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "integer-sqrt", "num-traits", @@ -10461,6 +10457,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "sp-api", "sp-inherents", @@ -10471,6 +10468,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "futures", "log", @@ -10488,6 +10486,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "futures", @@ -10502,6 +10501,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "parity-scale-codec", @@ -10518,6 +10518,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "parity-scale-codec", @@ -10536,6 +10537,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "lazy_static", "parity-scale-codec", @@ -10554,24 +10556,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -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-consensus-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "finality-grandpa", "log", @@ -10589,6 +10574,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "scale-info", @@ -10600,6 +10586,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", "arrayvec 0.7.4", @@ -10646,6 +10633,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "blake2b_simd", "byteorder", @@ -10658,6 +10646,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "quote", "sp-core-hashing", @@ -10667,6 +10656,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -10675,6 +10665,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "proc-macro2", "quote", @@ -10684,6 +10675,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "environmental", "parity-scale-codec", @@ -10694,6 +10686,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "serde_json", "sp-api", @@ -10704,6 +10697,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10717,6 +10711,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "bytes", "ed25519-dalek", @@ -10731,7 +10726,7 @@ dependencies = [ "sp-runtime-interface", "sp-state-machine", "sp-std", - "sp-tracing 10.0.0", + "sp-tracing", "sp-trie", "tracing", "tracing-core", @@ -10740,6 +10735,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "lazy_static", "sp-core", @@ -10750,6 +10746,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -10761,6 +10758,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "thiserror", "zstd 0.12.4", @@ -10769,6 +10767,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -10779,6 +10778,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10796,6 +10796,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "scale-info", @@ -10809,6 +10810,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "sp-api", "sp-core", @@ -10818,6 +10820,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "backtrace", "lazy_static", @@ -10827,6 +10830,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "rustc-hash", "serde", @@ -10836,6 +10840,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "either", "hash256-std-hasher", @@ -10857,6 +10862,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10866,7 +10872,7 @@ dependencies = [ "sp-runtime-interface-proc-macro", "sp-std", "sp-storage", - "sp-tracing 10.0.0", + "sp-tracing", "sp-wasm-interface", "static_assertions", ] @@ -10874,6 +10880,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -10885,6 +10892,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "scale-info", @@ -10899,6 +10907,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10912,6 +10921,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "hash-db", "log", @@ -10932,30 +10942,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -dependencies = [ - "aes-gcm", - "curve25519-dalek 4.1.3", - "ed25519-dalek", - "hkdf", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-externalities", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "thiserror", - "x25519-dalek 2.0.1", -] - -[[package]] -name = "sp-statement-store" -version = "4.0.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.3", @@ -10979,10 +10966,12 @@ dependencies = [ [[package]] name = "sp-std" version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" [[package]] name = "sp-storage" version = "13.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10995,6 +10984,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "parity-scale-codec", @@ -11007,18 +10997,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -dependencies = [ - "parity-scale-codec", - "sp-std", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "sp-std", @@ -11030,6 +11009,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "sp-api", "sp-runtime", @@ -11038,6 +11018,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "parity-scale-codec", @@ -11052,6 +11033,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ahash 0.8.7", "hash-db", @@ -11074,6 +11056,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11090,6 +11073,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -11100,6 +11084,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -11112,6 +11097,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "parity-scale-codec", "scale-info", @@ -11180,6 +11166,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-xcm" version = "1.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "bounded-collections", "derivative", @@ -11312,6 +11299,7 @@ dependencies = [ [[package]] name = "substrate-bridge-app" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "ethabi", @@ -11335,6 +11323,7 @@ dependencies = [ [[package]] name = "substrate-bridge-channel" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "bridge-types", "ethabi", @@ -11368,6 +11357,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11386,6 +11376,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "hyper", "log", @@ -11397,19 +11388,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -dependencies = [ - "async-trait", - "jsonrpsee", - "log", - "sc-rpc-api", - "serde", - "sp-runtime", -] - -[[package]] -name = "substrate-rpc-client" -version = "0.10.0-dev" -source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=add_sora_substrate_commits#d93c55cdce410557936c39d8eafc4e3cd6b1c1da" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "jsonrpsee", @@ -11422,6 +11401,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "ansi_term", "build-helper", @@ -12102,11 +12082,12 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "async-trait", "clap", - "frame-remote-externalities 0.10.0-dev", - "frame-try-runtime 0.10.0-dev", + "frame-remote-externalities", + "frame-try-runtime", "hex", "log", "parity-scale-codec", @@ -12130,7 +12111,7 @@ dependencies = [ "sp-transaction-storage-proof", "sp-version", "sp-weights", - "substrate-rpc-client 0.10.0-dev", + "substrate-rpc-client", "zstd 0.12.4", ] @@ -13136,6 +13117,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "1.0.0" +source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 1c3225caac..9ab9fe532a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,95 +4,95 @@ thread_local = { git = "https://github.com/sora-xor/thread_local-rs.git", branch = "patch-1.0.1" } # [patch.crates-io] -# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } #jsonrpc-core = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } #jsonrpc-ws-server = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } @@ -118,259 +118,258 @@ orml-utilities = { git = "https://github.com/open-web3-stack//open-runtime-modul # TODO: Decide to stay with patch there or change at sdk repository # patch check only url changes, not rev, so add to url ignored filter #[patch."https://github.com/w3f/ring-vrf"] -#bandersnatch_vrfs = { git = "https://github.com/w3f/ring-vrf.git#4125212", rev = "4125212", default-features = false, optional = true } +# bandersnatch_vrfs = { git = "https://github.com/w3f/ring-vrf.git", rev = "4125212" } -[patch."https://github.com/sora-xor/polkadot-sdk.git"] -frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } -frame-benchmarking-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/benchmarking-cli" } -frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } -frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } -frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } -frame-system-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/system/benchmarking" } -frame-system-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/system/rpc/runtime-api" } -frame-election-provider-support = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-support" } -pallet-aura = { path = "../sora-polkadot-sdk/substrate/frame/aura" } -pallet-authorship = { path = "../sora-polkadot-sdk/substrate/frame/authorship" } -pallet-babe = { path = "../sora-polkadot-sdk/substrate/frame/babe" } -pallet-balances = { path = "../sora-polkadot-sdk/substrate/frame/balances" } -pallet-collective = { path = "../sora-polkadot-sdk/substrate/frame/collective" } -pallet-democracy = { path = "../sora-polkadot-sdk/substrate/frame/democracy" } -pallet-elections-phragmen = { path = "../sora-polkadot-sdk/substrate/frame/elections-phragmen" } -pallet-grandpa = { path = "../sora-polkadot-sdk/substrate/frame/grandpa" } -pallet-identity = { path = "../sora-polkadot-sdk/substrate/frame/identity" } -pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } -pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } -pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } -pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } -pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } -pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } -pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } -pallet-timestamp = { path = "../sora-polkadot-sdk/substrate/frame/timestamp" } -pallet-transaction-payment = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment" } -pallet-transaction-payment-rpc = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc" } -pallet-transaction-payment-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc/runtime-api" } -pallet-utility = { path = "../sora-polkadot-sdk/substrate/frame/utility" } -pallet-bags-list = { path = "../sora-polkadot-sdk/substrate/frame/bags-list" } -pallet-election-provider-multi-phase = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-multi-phase" } -sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-authorship" } -sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } -sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} -sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} -sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus/common"} -sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} -sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} -sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/beefy"} -sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} -sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} -sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} -sc-keystore = { path = "../sora-polkadot-sdk/substrate/client/keystore"} -# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} -sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} -sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} -sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} -sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} -sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} -sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} -sc-transaction-pool-api = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool/api"} -sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} -sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} -sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} -sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} -sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} -sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} -sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/common"} -sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} -sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} -sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} -sp-database = { path = "../sora-polkadot-sdk/substrate/primitives/database"} -# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} -sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} -sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} -sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} -sp-npos-elections = { path = "../sora-polkadot-sdk/substrate/primitives/npos-elections"} -sp-runtime = { path = "../sora-polkadot-sdk/substrate/primitives/runtime"} -sp-runtime-interface = { path = "../sora-polkadot-sdk/substrate/primitives/runtime-interface"} -sp-session = { path = "../sora-polkadot-sdk/substrate/primitives/session"} -sp-staking = { path = "../sora-polkadot-sdk/substrate/primitives/staking"} -sp-std = { path = "../sora-polkadot-sdk/substrate/primitives/std"} -sp-storage = { path = "../sora-polkadot-sdk/substrate/primitives/storage"} -sp-timestamp = { path = "../sora-polkadot-sdk/substrate/primitives/timestamp"} -sp-transaction-pool = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-pool"} -sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} -sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} -sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} -sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} -sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} -sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} -sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} -sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } -sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } -substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } -substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } -sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } -pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } -sc-consensus-babe-rpc = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe/rpc" } -sc-consensus-epochs = { path = "../sora-polkadot-sdk/substrate/client/consensus/epochs" } -pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } -substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } -try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } -staging-xcm = { path = "../sora-polkadot-sdk/polkadot/xcm" } -pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} -# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} -# sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} -# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -mmr-rpc = { path = "../sora-polkadot-sdk/substrate/client/merkle-mountain-range/rpc" } -pallet-beefy-mmr = { path = "../sora-polkadot-sdk/substrate/frame/beefy-mmr" } -pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/merkle-mountain-range" } -pallet-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip", package = "pallet-insecure-randomness-collective-flip" } +# [patch."https://github.com/sora-xor/polkadot-sdk.git"] +# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-database = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-state-machine = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-transaction-storage-proof = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# staging-xcm = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# # beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", package = "pallet-insecure-randomness-collective-flip" } [patch."https://github.com/paritytech/polkadot-sdk.git"] -frame-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/benchmarking" } -frame-benchmarking-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/benchmarking-cli" } -frame-executive = { path = "../sora-polkadot-sdk/substrate/frame/executive" } -frame-support = { path = "../sora-polkadot-sdk/substrate/frame/support" } -frame-system = { path = "../sora-polkadot-sdk/substrate/frame/system" } -frame-system-benchmarking = { path = "../sora-polkadot-sdk/substrate/frame/system/benchmarking" } -frame-system-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/system/rpc/runtime-api" } -frame-election-provider-support = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-support" } -pallet-aura = { path = "../sora-polkadot-sdk/substrate/frame/aura" } -pallet-authorship = { path = "../sora-polkadot-sdk/substrate/frame/authorship" } -pallet-babe = { path = "../sora-polkadot-sdk/substrate/frame/babe" } -pallet-balances = { path = "../sora-polkadot-sdk/substrate/frame/balances" } -pallet-collective = { path = "../sora-polkadot-sdk/substrate/frame/collective" } -pallet-democracy = { path = "../sora-polkadot-sdk/substrate/frame/democracy" } -pallet-elections-phragmen = { path = "../sora-polkadot-sdk/substrate/frame/elections-phragmen" } -pallet-grandpa = { path = "../sora-polkadot-sdk/substrate/frame/grandpa" } -pallet-identity = { path = "../sora-polkadot-sdk/substrate/frame/identity" } -pallet-im-online = { path = "../sora-polkadot-sdk/substrate/frame/im-online" } -pallet-membership = { path = "../sora-polkadot-sdk/substrate/frame/membership" } -pallet-multisig = { path = "../sora-polkadot-sdk/substrate/frame/multisig" } -pallet-offences = { path = "../sora-polkadot-sdk/substrate/frame/offences" } -pallet-scheduler = { path = "../sora-polkadot-sdk/substrate/frame/scheduler" } -pallet-session = { path = "../sora-polkadot-sdk/substrate/frame/session" } -pallet-sudo = { path = "../sora-polkadot-sdk/substrate/frame/sudo" } -pallet-timestamp = { path = "../sora-polkadot-sdk/substrate/frame/timestamp" } -pallet-transaction-payment = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment" } -pallet-transaction-payment-rpc = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc" } -pallet-transaction-payment-rpc-runtime-api = { path = "../sora-polkadot-sdk/substrate/frame/transaction-payment/rpc/runtime-api" } -pallet-utility = { path = "../sora-polkadot-sdk/substrate/frame/utility" } -pallet-bags-list = { path = "../sora-polkadot-sdk/substrate/frame/bags-list" } -pallet-election-provider-multi-phase = { path = "../sora-polkadot-sdk/substrate/frame/election-provider-multi-phase" } -sc-basic-authorship = { path = "../sora-polkadot-sdk/substrate/client/basic-authorship" } -sc-chain-spec = { path = "../sora-polkadot-sdk/substrate/client/chain-spec" } -sc-cli = { path = "../sora-polkadot-sdk/substrate/client/cli"} -sc-client-api = { path = "../sora-polkadot-sdk/substrate/client/api"} -sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus/common"} -sc-consensus-aura = { path = "../sora-polkadot-sdk/substrate/client/consensus/aura"} -sc-consensus-babe = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe"} -sc-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/client/consensus/beefy"} -sc-consensus-grandpa = { path = "../sora-polkadot-sdk/substrate/client/consensus/grandpa"} -sc-consensus-slots = { path = "../sora-polkadot-sdk/substrate/client/consensus/slots"} -sc-executor = { path = "../sora-polkadot-sdk/substrate/client/executor"} -sc-keystore = { path = "../sora-polkadot-sdk/substrate/client/keystore"} -# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} -sc-informant = { path = "../sora-polkadot-sdk/substrate/client/informant"} -sc-network = { path = "../sora-polkadot-sdk/substrate/client/network"} -sc-rpc = { path = "../sora-polkadot-sdk/substrate/client/rpc"} -sc-rpc-api = { path = "../sora-polkadot-sdk/substrate/client/rpc-api"} -sc-service = { path = "../sora-polkadot-sdk/substrate/client/service"} -sc-transaction-pool = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool"} -sc-transaction-pool-api = { path = "../sora-polkadot-sdk/substrate/client/transaction-pool/api"} -sc-telemetry = { path = "../sora-polkadot-sdk/substrate/client/telemetry"} -sp-api = { path = "../sora-polkadot-sdk/substrate/primitives/api"} -sp-application-crypto = { path = "../sora-polkadot-sdk/substrate/primitives/application-crypto"} -sp-arithmetic = { path = "../sora-polkadot-sdk/substrate/primitives/arithmetic"} -sp-block-builder = { path = "../sora-polkadot-sdk/substrate/primitives/block-builder"} -sp-blockchain = { path = "../sora-polkadot-sdk/substrate/primitives/blockchain"} -sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/common"} -sp-consensus-aura = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/aura"} -sp-consensus-babe = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/babe"} -sp-core = { path = "../sora-polkadot-sdk/substrate/primitives/core"} -sp-database = { path = "../sora-polkadot-sdk/substrate/primitives/database"} -# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -sp-inherents = { path = "../sora-polkadot-sdk/substrate/primitives/inherents"} -sp-io = { path = "../sora-polkadot-sdk/substrate/primitives/io"} -sp-keystore = { path = "../sora-polkadot-sdk/substrate/primitives/keystore"} -sp-offchain = { path = "../sora-polkadot-sdk/substrate/primitives/offchain"} -sp-npos-elections = { path = "../sora-polkadot-sdk/substrate/primitives/npos-elections"} -sp-runtime = { path = "../sora-polkadot-sdk/substrate/primitives/runtime"} -sp-runtime-interface = { path = "../sora-polkadot-sdk/substrate/primitives/runtime-interface"} -sp-session = { path = "../sora-polkadot-sdk/substrate/primitives/session"} -sp-staking = { path = "../sora-polkadot-sdk/substrate/primitives/staking"} -sp-std = { path = "../sora-polkadot-sdk/substrate/primitives/std"} -sp-storage = { path = "../sora-polkadot-sdk/substrate/primitives/storage"} -sp-timestamp = { path = "../sora-polkadot-sdk/substrate/primitives/timestamp"} -sp-transaction-pool = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-pool"} -sp-trie = { path = "../sora-polkadot-sdk/substrate/primitives/trie"} -sp-version = { path = "../sora-polkadot-sdk/substrate/primitives/version"} -sp-rpc = { path = "../sora-polkadot-sdk/substrate/primitives/rpc"} -sp-keyring = { path = "../sora-polkadot-sdk/substrate/primitives/keyring"} -sp-state-machine = { path = "../sora-polkadot-sdk/substrate/primitives/state-machine"} -sp-externalities = { path = "../sora-polkadot-sdk/substrate/primitives/externalities"} -sp-mmr-primitives = { path = "../sora-polkadot-sdk/substrate/primitives/merkle-mountain-range"} -sp-maybe-compressed-blob = { path = "../sora-polkadot-sdk/substrate/primitives/maybe-compressed-blob" } -sp-transaction-storage-proof = { path = "../sora-polkadot-sdk/substrate/primitives/transaction-storage-proof" } -substrate-frame-rpc-system = { path = "../sora-polkadot-sdk/substrate/utils/frame/rpc/system" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } -substrate-prometheus-endpoint = { path = "../sora-polkadot-sdk/substrate/utils/prometheus" } -sp-consensus-beefy = { path = "../sora-polkadot-sdk/substrate/primitives/consensus/beefy" } -pallet-beefy = { path = "../sora-polkadot-sdk/substrate/frame/beefy" } -sc-consensus-babe-rpc = { path = "../sora-polkadot-sdk/substrate/client/consensus/babe/rpc" } -sc-consensus-epochs = { path = "../sora-polkadot-sdk/substrate/client/consensus/epochs" } -pallet-preimage = { path = "../sora-polkadot-sdk/substrate/frame/preimage" } -substrate-wasm-builder = { path = "../sora-polkadot-sdk/substrate/utils/wasm-builder" } -try-runtime-cli = { path = "../sora-polkadot-sdk/substrate/utils/frame/try-runtime/cli" } -staging-xcm = { path = "../sora-polkadot-sdk/polkadot/xcm" } -pallet-staking = { path = "../sora-polkadot-sdk/substrate/frame/staking" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-consensus = { path = "../sora-polkadot-sdk/substrate/client/consensus"} -# sc-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/client/finality-grandpa"} -# sp-consensus = { path = "../sora-polkadot-sdk/substrate/primitives/consensus"} -# sp-finality-grandpa = { path = "../sora-polkadot-sdk/substrate/primitives/finality-grandpa"} -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/mmr" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -mmr-rpc = { path = "../sora-polkadot-sdk/substrate/client/merkle-mountain-range/rpc" } -pallet-beefy-mmr = { path = "../sora-polkadot-sdk/substrate/frame/beefy-mmr" } -pallet-mmr = { path = "../sora-polkadot-sdk/substrate/frame/merkle-mountain-range" } -pallet-randomness-collective-flip = { path = "../sora-polkadot-sdk/substrate/frame/insecure-randomness-collective-flip", package = "pallet-insecure-randomness-collective-flip" } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-database = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-state-machine = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-transaction-storage-proof = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +staging-xcm = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", package = "pallet-insecure-randomness-collective-flip" } - -[patch."https://github.com/sora-xor/sora2-common.git"] -beefy-light-client = { path = "../sora2-common/pallets/beefy-light-client" } -beefy-light-client-rpc = { path = "../sora2-common/pallets/beefy-light-client/rpc" } -beefy-light-client-runtime-api = { path = "../sora2-common/pallets/beefy-light-client/runtime-api" } -leaf-provider = { path = "../sora2-common/pallets/leaf-provider" } -leaf-provider-rpc = { path = "../sora2-common/pallets/leaf-provider/rpc" } -leaf-provider-runtime-api = { path = "../sora2-common/pallets/leaf-provider/runtime-api" } -bridge-common = { path = "../sora2-common/pallets/bridge-common" } -dispatch = { path = "../sora2-common/pallets/dispatch" } -parachain-bridge-app = { path = "../sora2-common/pallets/parachain-app" } -substrate-bridge-app = { path = "../sora2-common/pallets/substrate-app" } -substrate-bridge-channel = { path = "../sora2-common/pallets/substrate-channel" } -bridge-types = { path = "../sora2-common/pallets/types" } -bridge-data-signer = { path = "../sora2-common/pallets/data-signer" } -multisig-verifier = { path = "../sora2-common/pallets/multisig-verifier" } -pallet-multisig = { path = "../sora2-common/pallets/multisig" } -evm-fungible-app = { path = "../sora2-common/pallets/evm-fungible-app" } -bridge-channel = { path = "../sora2-common/pallets/channel" } - +# [patch."https://github.com/sora-xor/sora2-common.git"] +# beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# beefy-light-client-rpc = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# bridge-common = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# dispatch = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# pallet-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +# [workspace] members = [ "runtime", diff --git a/common/Cargo.toml b/common/Cargo.toml index 5093c0f36c..19a66f8de5 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -20,8 +20,8 @@ fixnum = { git = "https://github.com/sora-xor/fixnum", branch = "sora-v2.1.0", d "scale-info", "serde", ] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } secp256k1 = { version = "0.7", features = [ 'hmac', ], default-features = false, package = "libsecp256k1" } @@ -29,23 +29,23 @@ thiserror = "1.0" num-traits = { version = "0.2.12", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } paste = "1.0.0" -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } rustc-hex = { version = "2.1.0", default-features = false } serde = { version = "1.0", features = [ "derive", ], default-features = false } smallvec = "1.7.0" strum = { version = "0.25.0", features = ["derive"], default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } static_assertions = "1.1.0" hex-literal = "0.4.1" env_logger = { version = "0.10.0", optional = true } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } [dev-dependencies] serde_json = "1.0.41" diff --git a/node/Cargo.toml b/node/Cargo.toml index e4fb899605..82eaf03d18 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -23,7 +23,7 @@ ansi_term = "0.12.1" serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" jsonrpsee = { version = "0.16.2", features = ["server"] } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "add_sora_substrate_commits", package = "pallet-multisig" } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v1.1.0", package = "pallet-multisig" } secp256k1 = { version = "0.7", features = ["hmac"], package = "libsecp256k1" } framenode-chain-spec = { path = "chain_spec" } @@ -39,8 +39,8 @@ eth-bridge-rpc = { path = "../pallets/eth-bridge/rpc" } farming-rpc = { path = "../pallets/farming/rpc" } pswap-distribution-rpc = { path = "../pallets/pswap-distribution/rpc" } vested-rewards-rpc = { path = "../pallets/vested-rewards/rpc" } -beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", optional = true } -beefy-light-client-rpc = { git = "https://github.com/sora-xor/sora2-common.git", optional = true } +beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", optional = true } +beefy-light-client-rpc = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", optional = true } oracle-proxy-rpc = { path = "../pallets/oracle-proxy/rpc" } bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } @@ -51,64 +51,64 @@ framenode-runtime = { path = "../runtime" } # Substrate dependencies bridge-proxy-rpc = { path = "../pallets/bridge-proxy/rpc" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-client-db = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", optional = true } -sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-transaction-storage-proof = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", optional = true } -substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", package = "sp-consensus-beefy" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-beefy-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -mmr-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git" } -sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-client-db = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", optional = true } +sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +telemetry = { package = "sc-telemetry", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-transaction-storage-proof = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", optional = true } +substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", package = "sp-consensus-beefy" } +# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-beefy-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +mmr-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } enum-as-inner = "=0.5.1" -sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-statement-store = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-statement-store = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } # TODO remove after toolchain is updated # newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` @@ -127,7 +127,7 @@ assert_cmd = "=2.0.13" tokio = { version = "1.10.1", features = ["macros"] } # Substrate dependencies -pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } framenode-chain-spec = { path = "chain_spec", features = ["test"] } diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index 63f71fb70a..8897c17a7b 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -9,25 +9,25 @@ codec = { package = "parity-scale-codec", version = "3", features = [ "derive", "chain-error", ] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } hex-literal = "0.4.1" -sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", package = "finality-grandpa" } -sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-network-common = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", package = "finality-grandpa" } +sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-network-common = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } serde = { version = "1.0.101", features = ["derive"] } serde_json = "1.0.61" bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "add_sora_substrate_commits", package = "pallet-multisig" } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v1.1.0", package = "pallet-multisig" } common = { path = "../../common" } faucet = { path = "../../pallets/faucet", optional = true } diff --git a/pallets/apollo-platform/Cargo.toml b/pallets/apollo-platform/Cargo.toml index f825041323..8b664c0cd2 100644 --- a/pallets/apollo-platform/Cargo.toml +++ b/pallets/apollo-platform/Cargo.toml @@ -17,20 +17,20 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } price-tools = { path = "../price-tools", default-features = false } liquidity-proxy = { path = "../liquidity-proxy", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } @@ -43,8 +43,8 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } apollo-platform = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/assets/Cargo.toml b/pallets/assets/Cargo.toml index 02f86a492f..cdf0b20692 100644 --- a/pallets/assets/Cargo.toml +++ b/pallets/assets/Cargo.toml @@ -17,24 +17,24 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" serde = { version = "1.0.128", default-features = false, optional = true, features = [ "derive", ] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tiny-keccak = { version = "2.0.2", features = ["keccak"] } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } permissions = { path = "../permissions" } diff --git a/pallets/assets/rpc/Cargo.toml b/pallets/assets/rpc/Cargo.toml index 1fdada1804..07ed542aa0 100644 --- a/pallets/assets/rpc/Cargo.toml +++ b/pallets/assets/rpc/Cargo.toml @@ -10,11 +10,11 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } assets-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/assets/runtime-api/Cargo.toml b/pallets/assets/runtime-api/Cargo.toml index 53c8f57f6f..3ec98caa76 100644 --- a/pallets/assets/runtime-api/Cargo.toml +++ b/pallets/assets/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } [dev-dependencies] diff --git a/pallets/band/Cargo.toml b/pallets/band/Cargo.toml index 499f99c774..e16051068e 100644 --- a/pallets/band/Cargo.toml +++ b/pallets/band/Cargo.toml @@ -15,21 +15,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } hex-literal = "0.4.1" fallible-iterator = { version = "0.3.0", default-features = false } log = { version = "0.4.20" } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } xst = { path = "../xst", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } diff --git a/pallets/bridge-proxy/Cargo.toml b/pallets/bridge-proxy/Cargo.toml index eb140e0f50..68b9e733d1 100644 --- a/pallets/bridge-proxy/Cargo.toml +++ b/pallets/bridge-proxy/Cargo.toml @@ -11,33 +11,33 @@ codec = { version = "3", package = "parity-scale-codec", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } # delete after migration LiberlandGenericAccount pass -xcm = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, package = "staging-xcm" } +xcm = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, package = "staging-xcm" } [dev-dependencies] common = { path = "../../common", features = ["test"] } assets = { path = "../assets" } -dispatch = { git = "https://github.com/sora-xor/sora2-common.git" } -evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git" } -bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git" } +dispatch = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } +bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits" } diff --git a/pallets/bridge-proxy/rpc/Cargo.toml b/pallets/bridge-proxy/rpc/Cargo.toml index d6843391a2..4d04c49f2a 100644 --- a/pallets/bridge-proxy/rpc/Cargo.toml +++ b/pallets/bridge-proxy/rpc/Cargo.toml @@ -14,12 +14,12 @@ codec = { package = "parity-scale-codec", version = "3" } scale-info = { version = "2", default-features = false, features = ["derive"] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } bridge-proxy-runtime-api = { path = "../runtime-api" } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git" } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } diff --git a/pallets/bridge-proxy/runtime-api/Cargo.toml b/pallets/bridge-proxy/runtime-api/Cargo.toml index 1150c678e9..198de99d03 100644 --- a/pallets/bridge-proxy/runtime-api/Cargo.toml +++ b/pallets/bridge-proxy/runtime-api/Cargo.toml @@ -15,10 +15,10 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/ceres-governance-platform/Cargo.toml b/pallets/ceres-governance-platform/Cargo.toml index b57463df4d..d81533abce 100644 --- a/pallets/ceres-governance-platform/Cargo.toml +++ b/pallets/ceres-governance-platform/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] assets = { path = "../assets" } @@ -39,8 +39,8 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } ceres-governance-platform = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-launchpad/Cargo.toml b/pallets/ceres-launchpad/Cargo.toml index 6412a2d050..97f0df9a8d 100644 --- a/pallets/ceres-launchpad/Cargo.toml +++ b/pallets/ceres-launchpad/Cargo.toml @@ -20,14 +20,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } @@ -36,7 +36,7 @@ pswap-distribution = { path = "../pswap-distribution", default-features = false vested-rewards = { path = "../vested-rewards", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -44,9 +44,9 @@ assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../demeter-farming-platform" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } technical = { path = "../technical" } pswap-distribution = { path = "../pswap-distribution" } diff --git a/pallets/ceres-liquidity-locker/Cargo.toml b/pallets/ceres-liquidity-locker/Cargo.toml index 42354fed2e..5b38221aa6 100644 --- a/pallets/ceres-liquidity-locker/Cargo.toml +++ b/pallets/ceres-liquidity-locker/Cargo.toml @@ -19,16 +19,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" @@ -39,8 +39,8 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } ceres-liquidity-locker = { path = ".", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml b/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml index 1f5226f3aa..6031dec0a0 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml +++ b/pallets/ceres-liquidity-locker/benchmarking/Cargo.toml @@ -19,18 +19,18 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } permissions = { path = "../../permissions", default-features = false } pswap-distribution = { path = "../../pswap-distribution", default-features = false } hex-literal = "0.4.1" @@ -38,9 +38,9 @@ hex-literal = "0.4.1" [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker" } serde = { version = "1.0.101", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } dex-manager = { path = "../../dex-manager" } dex-api = { path = "../../dex-api" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } diff --git a/pallets/ceres-staking/Cargo.toml b/pallets/ceres-staking/Cargo.toml index eba2863fd6..af324fbbc3 100644 --- a/pallets/ceres-staking/Cargo.toml +++ b/pallets/ceres-staking/Cargo.toml @@ -16,14 +16,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } @@ -34,9 +34,9 @@ hex-literal = "0.4.1" assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } technical = { path = "../technical", default-features = false } diff --git a/pallets/ceres-token-locker/Cargo.toml b/pallets/ceres-token-locker/Cargo.toml index f371f34590..e204ff0fc8 100644 --- a/pallets/ceres-token-locker/Cargo.toml +++ b/pallets/ceres-token-locker/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -39,10 +39,10 @@ common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../demeter-farming-platform" } dex-manager = { path = "../dex-manager" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } pool-xyk = { path = "../pool-xyk" } pswap-distribution = { path = "../pswap-distribution" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } diff --git a/pallets/demeter-farming-platform/Cargo.toml b/pallets/demeter-farming-platform/Cargo.toml index ce390ff02f..5e419bac30 100644 --- a/pallets/demeter-farming-platform/Cargo.toml +++ b/pallets/demeter-farming-platform/Cargo.toml @@ -20,21 +20,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } pswap-distribution = { path = "../pswap-distribution", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" @@ -44,9 +44,9 @@ common = { path = "../../common", features = ["test"] } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = ".", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } permissions = { path = "../permissions" } technical = { path = "../technical" } pool-xyk = { path = "../pool-xyk" } diff --git a/pallets/demeter-farming-platform/benchmarking/Cargo.toml b/pallets/demeter-farming-platform/benchmarking/Cargo.toml index 99789a6b36..843ba4c867 100644 --- a/pallets/demeter-farming-platform/benchmarking/Cargo.toml +++ b/pallets/demeter-farming-platform/benchmarking/Cargo.toml @@ -18,13 +18,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } @@ -35,7 +35,7 @@ dex-manager = { path = "../../dex-manager", default-features = false } vested-rewards = { path = "../../vested-rewards", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } technical = { path = "../../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] @@ -43,8 +43,8 @@ assets = { path = "../../assets" } common = { path = "../../../common", features = ["test"] } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker" } serde = { version = "1.0.101", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } vested-rewards = { path = "../../vested-rewards" } diff --git a/pallets/dex-api/Cargo.toml b/pallets/dex-api/Cargo.toml index b8312a1f88..eb42d8c469 100644 --- a/pallets/dex-api/Cargo.toml +++ b/pallets/dex-api/Cargo.toml @@ -19,29 +19,29 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../common", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } mock-liquidity-source = { path = "../mock-liquidity-source", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } strum = { version = "0.25.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } log = "0.4.20" [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/dex-api/rpc/Cargo.toml b/pallets/dex-api/rpc/Cargo.toml index a3a5c43c35..e1e5a65f52 100644 --- a/pallets/dex-api/rpc/Cargo.toml +++ b/pallets/dex-api/rpc/Cargo.toml @@ -10,11 +10,11 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common" } dex-runtime-api = { path = "../runtime-api" } diff --git a/pallets/dex-api/runtime-api/Cargo.toml b/pallets/dex-api/runtime-api/Cargo.toml index 6dcc488e5f..5fa47b8f87 100644 --- a/pallets/dex-api/runtime-api/Cargo.toml +++ b/pallets/dex-api/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } diff --git a/pallets/dex-manager/Cargo.toml b/pallets/dex-manager/Cargo.toml index baaab567cb..6df5b6aa83 100644 --- a/pallets/dex-manager/Cargo.toml +++ b/pallets/dex-manager/Cargo.toml @@ -17,11 +17,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -32,8 +32,8 @@ permissions = { path = "../permissions", default-features = false } common = { path = "../../common", default-features = false, features = [ "test", ] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } [features] diff --git a/pallets/dex-manager/rpc/Cargo.toml b/pallets/dex-manager/rpc/Cargo.toml index 9cc07fe0ad..a60c404dd1 100644 --- a/pallets/dex-manager/rpc/Cargo.toml +++ b/pallets/dex-manager/rpc/Cargo.toml @@ -10,10 +10,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } dex-manager-runtime-api = { path = "../runtime-api" } diff --git a/pallets/dex-manager/runtime-api/Cargo.toml b/pallets/dex-manager/runtime-api/Cargo.toml index 61bdc62cf8..d8533d1f76 100644 --- a/pallets/dex-manager/runtime-api/Cargo.toml +++ b/pallets/dex-manager/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index d6473836f0..1b8c646255 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -14,9 +14,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } hex-literal = "0.4.1" secp256k1 = { version = "0.7", features = [ 'hmac', @@ -31,11 +31,11 @@ serde = { version = "1.0", features = [ "derive", ], default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } ethabi = { git = "https://github.com/sora-xor/ethabi.git", branch = "sora-v1.6.0", package = "ethabi", default-features = false } @@ -49,24 +49,24 @@ jsonrpc-core = { git = "https://github.com/sora-xor/jsonrpc.git", branch = "no-s assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "develop", default-features = false } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } [dev-dependencies] async-std = { version = "1.5", features = ["attributes", "unstable"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } env_logger = "0.10.0" -frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } parity-util-mem = { version = "0.12.0", default-features = false, features = [ "primitive-types", ] } parking_lot = "0.12.0" -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, features = [ "full_crypto", ] } -sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } tokio = { version = "1.10.1", default-features = false, features = ["macros"] } diff --git a/pallets/eth-bridge/rpc/Cargo.toml b/pallets/eth-bridge/rpc/Cargo.toml index 375711deb5..cb4944d88d 100644 --- a/pallets/eth-bridge/rpc/Cargo.toml +++ b/pallets/eth-bridge/rpc/Cargo.toml @@ -11,8 +11,8 @@ version = "0.1.0" [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } eth-bridge-runtime-api = { path = "../runtime-api" } diff --git a/pallets/eth-bridge/runtime-api/Cargo.toml b/pallets/eth-bridge/runtime-api/Cargo.toml index 196145f91e..7f93af2ae5 100644 --- a/pallets/eth-bridge/runtime-api/Cargo.toml +++ b/pallets/eth-bridge/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/extended-assets/Cargo.toml b/pallets/extended-assets/Cargo.toml index 6cac50c7a5..40495d7fc2 100644 --- a/pallets/extended-assets/Cargo.toml +++ b/pallets/extended-assets/Cargo.toml @@ -15,21 +15,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } common = { path = "../../common", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } hex-literal = { version = "0.4.1"} diff --git a/pallets/farming/Cargo.toml b/pallets/farming/Cargo.toml index 9cf96619d0..e4fddd96c7 100644 --- a/pallets/farming/Cargo.toml +++ b/pallets/farming/Cargo.toml @@ -17,16 +17,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } @@ -43,9 +43,9 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } env_logger = "0.10.0" hex-literal = { version = "0.4.1" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } log = "0.4.14" diff --git a/pallets/farming/rpc/Cargo.toml b/pallets/farming/rpc/Cargo.toml index 99a4acf609..63e5226147 100644 --- a/pallets/farming/rpc/Cargo.toml +++ b/pallets/farming/rpc/Cargo.toml @@ -10,9 +10,9 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } farming-runtime-api = { path = "../runtime-api" } [features] diff --git a/pallets/farming/runtime-api/Cargo.toml b/pallets/farming/runtime-api/Cargo.toml index cf8e453f1e..ea650629f9 100644 --- a/pallets/farming/runtime-api/Cargo.toml +++ b/pallets/farming/runtime-api/Cargo.toml @@ -8,8 +8,8 @@ homepage = 'https://sora.org' repository = 'https://github.com/sora-xor/sora2-network' [dependencies] -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", ] } diff --git a/pallets/faucet/Cargo.toml b/pallets/faucet/Cargo.toml index 973c6e12ca..16f92207e2 100644 --- a/pallets/faucet/Cargo.toml +++ b/pallets/faucet/Cargo.toml @@ -16,14 +16,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } rewards = { path = "../rewards", default-features = false } @@ -31,9 +31,9 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } assets = { path = "../assets" } diff --git a/pallets/hermes-governance-platform/Cargo.toml b/pallets/hermes-governance-platform/Cargo.toml index fb43260837..f57f9a5200 100644 --- a/pallets/hermes-governance-platform/Cargo.toml +++ b/pallets/hermes-governance-platform/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } permissions = { path = "../permissions", default-features = false } hex-literal = "0.4.1" -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] assets = { path = "../assets" } @@ -40,7 +40,7 @@ demeter-farming-platform = { path = "../demeter-farming-platform", default-featu currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } hermes-governance-platform = { path = ".", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } pool-xyk = { path = "../pool-xyk", default-features = false } diff --git a/pallets/iroha-migration/Cargo.toml b/pallets/iroha-migration/Cargo.toml index a933c36417..35caa757e5 100644 --- a/pallets/iroha-migration/Cargo.toml +++ b/pallets/iroha-migration/Cargo.toml @@ -16,17 +16,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex = { version = "0.4.2", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } sha3 = { version = "0.9.1", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } ed25519-dalek-iroha = { git = "https://github.com/soramitsu/sora2-ed25519-dalek-iroha.git", branch = "develop", default-features = false, features = [ "u64_backend", @@ -39,15 +39,15 @@ eth-bridge = { path = "../eth-bridge", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } parity-util-mem = { version = "0.12.0", default-features = false, features = [ "primitive-types", ] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, features = [ "full_crypto", ] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } diff --git a/pallets/iroha-migration/rpc/Cargo.toml b/pallets/iroha-migration/rpc/Cargo.toml index 7504175c50..a168892638 100644 --- a/pallets/iroha-migration/rpc/Cargo.toml +++ b/pallets/iroha-migration/rpc/Cargo.toml @@ -9,10 +9,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } # Path dependencies iroha-migration-runtime-api = { path = "../runtime-api" } diff --git a/pallets/iroha-migration/runtime-api/Cargo.toml b/pallets/iroha-migration/runtime-api/Cargo.toml index ff0524efd4..8df48fcd8c 100644 --- a/pallets/iroha-migration/runtime-api/Cargo.toml +++ b/pallets/iroha-migration/runtime-api/Cargo.toml @@ -8,7 +8,7 @@ homepage = 'https://sora.org' repository = 'https://github.com/sora-xor/sora2-network' [dependencies] -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/kensetsu/Cargo.toml b/pallets/kensetsu/Cargo.toml index e72671e6ed..01e0c94771 100644 --- a/pallets/kensetsu/Cargo.toml +++ b/pallets/kensetsu/Cargo.toml @@ -18,27 +18,27 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } common = { path = "../../common", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4", optional = true } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } permissions = { path = "../permissions", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", optional = true } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", optional = true } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } hex-literal = "0.4" -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits"} +# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0"} tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [features] diff --git a/pallets/kensetsu/benchmarking/Cargo.toml b/pallets/kensetsu/benchmarking/Cargo.toml index d51f3ea4e0..257cfce3d2 100644 --- a/pallets/kensetsu/benchmarking/Cargo.toml +++ b/pallets/kensetsu/benchmarking/Cargo.toml @@ -16,13 +16,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } common = { path = "../../../common", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } kensetsu = { path = "..", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } price-tools = { path = "../../price-tools", default-features = false } diff --git a/pallets/liquidity-proxy/Cargo.toml b/pallets/liquidity-proxy/Cargo.toml index 94770cedcb..bb30116507 100644 --- a/pallets/liquidity-proxy/Cargo.toml +++ b/pallets/liquidity-proxy/Cargo.toml @@ -18,17 +18,17 @@ scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } assets = { path = "../assets", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } itertools = { version = "0.10.5", default-features = false } fallible-iterator = { version = "0.2.0", default-features = false } log = "0.4.20" @@ -37,8 +37,8 @@ log = "0.4.20" ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } dex-api = { path = "../dex-api" } dex-manager = { path = "../dex-manager" } framenode-chain-spec = { path = "../../node/chain_spec", features = ["test", "private-net"] } diff --git a/pallets/liquidity-proxy/benchmarking/Cargo.toml b/pallets/liquidity-proxy/benchmarking/Cargo.toml index 53f81470c0..f9c77187ee 100644 --- a/pallets/liquidity-proxy/benchmarking/Cargo.toml +++ b/pallets/liquidity-proxy/benchmarking/Cargo.toml @@ -15,13 +15,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } liquidity-proxy = { path = "../../liquidity-proxy", default-features = false } @@ -38,12 +38,12 @@ dex-api = { path = "../../dex-api", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../../common", default-features = false, features = [ "test", diff --git a/pallets/liquidity-proxy/rpc/Cargo.toml b/pallets/liquidity-proxy/rpc/Cargo.toml index c3bc70d2bb..bb1925b784 100644 --- a/pallets/liquidity-proxy/rpc/Cargo.toml +++ b/pallets/liquidity-proxy/rpc/Cargo.toml @@ -10,12 +10,12 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } liquidity-proxy-runtime-api = { path = "../runtime-api" } common = { path = "../../../common" } diff --git a/pallets/liquidity-proxy/runtime-api/Cargo.toml b/pallets/liquidity-proxy/runtime-api/Cargo.toml index e92f97bab3..2f2e2ad41f 100644 --- a/pallets/liquidity-proxy/runtime-api/Cargo.toml +++ b/pallets/liquidity-proxy/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } [dev-dependencies] diff --git a/pallets/mock-liquidity-source/Cargo.toml b/pallets/mock-liquidity-source/Cargo.toml index 1d075f91d9..dd3eaa4819 100644 --- a/pallets/mock-liquidity-source/Cargo.toml +++ b/pallets/mock-liquidity-source/Cargo.toml @@ -16,15 +16,15 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -35,9 +35,9 @@ permissions = { path = "../permissions", default-features = false } technical = { path = "../technical", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" common = { path = "../../common", features = ["test"] } diff --git a/pallets/multicollateral-bonding-curve-pool/Cargo.toml b/pallets/multicollateral-bonding-curve-pool/Cargo.toml index b1f33a4b5f..b2ca4a104c 100644 --- a/pallets/multicollateral-bonding-curve-pool/Cargo.toml +++ b/pallets/multicollateral-bonding-curve-pool/Cargo.toml @@ -17,17 +17,17 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } hex-literal = "0.4.1" orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } serde = { version = "1.0.101", default-features = false, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false } @@ -36,15 +36,15 @@ technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } price-tools = { path = "../price-tools", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/oracle-proxy/Cargo.toml b/pallets/oracle-proxy/Cargo.toml index 5db3d474b7..b4db2b158a 100644 --- a/pallets/oracle-proxy/Cargo.toml +++ b/pallets/oracle-proxy/Cargo.toml @@ -12,25 +12,25 @@ repository = 'https://github.com/sora-xor/sora2-network' targets = ['x86_64-unknown-linux-gnu'] [dependencies] -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } common = { path = "../../common", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } codec = { package = "parity-scale-codec", version = "3", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } band = { path = "../band", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [features] default = ['std'] diff --git a/pallets/oracle-proxy/rpc/Cargo.toml b/pallets/oracle-proxy/rpc/Cargo.toml index ac92a5e26b..a4ca8d6618 100644 --- a/pallets/oracle-proxy/rpc/Cargo.toml +++ b/pallets/oracle-proxy/rpc/Cargo.toml @@ -13,7 +13,7 @@ repository = 'https://github.com/sora-xor/sora2-network' oracle-proxy-runtime-api = { path = "../runtime-api" } codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } diff --git a/pallets/oracle-proxy/runtime-api/Cargo.toml b/pallets/oracle-proxy/runtime-api/Cargo.toml index 009d12e60e..37fafedad7 100644 --- a/pallets/oracle-proxy/runtime-api/Cargo.toml +++ b/pallets/oracle-proxy/runtime-api/Cargo.toml @@ -15,9 +15,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } [features] diff --git a/pallets/order-book/Cargo.toml b/pallets/order-book/Cargo.toml index 76bac40e28..ca72425c7c 100644 --- a/pallets/order-book/Cargo.toml +++ b/pallets/order-book/Cargo.toml @@ -15,12 +15,12 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } common = { path = "../../common", default-features = false } technical = { path = "../technical", default-features = false } @@ -32,13 +32,13 @@ serde = { version = "1.0", features = [ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../runtime", default-features = false, features = ["std", "test"] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [features] default = ["std"] diff --git a/pallets/order-book/benchmarking/Cargo.toml b/pallets/order-book/benchmarking/Cargo.toml index d9e9fe5762..fd0f654658 100644 --- a/pallets/order-book/benchmarking/Cargo.toml +++ b/pallets/order-book/benchmarking/Cargo.toml @@ -15,11 +15,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../../assets", default-features = false } common = { path = "../../../common", default-features = false } order-book = { path = "..", default-features = false } @@ -27,15 +27,15 @@ trading-pair = { path = "../../trading-pair", default-features = false } log = "0.4.20" [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } framenode-chain-spec = { path = "../../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../../runtime", default-features = false, features = [ "std", ] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } log = "0.4.20" [features] diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 7738cf2a5a..c7d3d354a3 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -17,16 +17,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } common = { path = "../../common", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } [features] default = ["std"] diff --git a/pallets/pool-xyk/Cargo.toml b/pallets/pool-xyk/Cargo.toml index c0207cdb83..7f43600d01 100644 --- a/pallets/pool-xyk/Cargo.toml +++ b/pallets/pool-xyk/Cargo.toml @@ -18,14 +18,14 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } common = { path = "../../common", default-features = false } @@ -37,8 +37,8 @@ trading-pair = { path = "../trading-pair", default-features = false } [dev-dependencies] hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } permissions = { path = "../permissions" } diff --git a/pallets/pool-xyk/benchmarking/Cargo.toml b/pallets/pool-xyk/benchmarking/Cargo.toml index 232caf1929..823c4424c2 100644 --- a/pallets/pool-xyk/benchmarking/Cargo.toml +++ b/pallets/pool-xyk/benchmarking/Cargo.toml @@ -15,11 +15,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } @@ -27,16 +27,16 @@ technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } permissions = { path = "../../permissions", default-features = false } pswap-distribution = { path = "../../pswap-distribution", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = "0.4.1" [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } dex-manager = { path = "../../dex-manager", default-features = false } dex-api = { path = "../../dex-api", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } diff --git a/pallets/price-tools/Cargo.toml b/pallets/price-tools/Cargo.toml index bb14109441..fa6e386b2b 100644 --- a/pallets/price-tools/Cargo.toml +++ b/pallets/price-tools/Cargo.toml @@ -16,28 +16,28 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false } pswap-distribution = { path = "../pswap-distribution", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/pswap-distribution/Cargo.toml b/pallets/pswap-distribution/Cargo.toml index 9ae6af8615..a87d96725b 100644 --- a/pallets/pswap-distribution/Cargo.toml +++ b/pallets/pswap-distribution/Cargo.toml @@ -18,19 +18,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -38,13 +38,13 @@ common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } permissions = { path = "../permissions", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../demeter-farming-platform", default-features = false } hex-literal = { version = '0.4.1' } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } diff --git a/pallets/pswap-distribution/benchmarking/Cargo.toml b/pallets/pswap-distribution/benchmarking/Cargo.toml index f872fe0086..054b7dea99 100644 --- a/pallets/pswap-distribution/benchmarking/Cargo.toml +++ b/pallets/pswap-distribution/benchmarking/Cargo.toml @@ -16,13 +16,13 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -33,19 +33,19 @@ pool-xyk = { path = "../../pool-xyk", default-features = false } pswap-distribution = { path = "..", default-features = false } technical = { path = "../../technical", default-features = false } trading-pair = { path = "../../trading-pair", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } hex-literal = { version = '0.4.1' } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } serde = { version = "1.0.101", features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } common = { path = "../../../common", features = ["test"] } dex-manager = { path = "../../dex-manager" } diff --git a/pallets/pswap-distribution/rpc/Cargo.toml b/pallets/pswap-distribution/rpc/Cargo.toml index 37d7e6cd94..34a8460235 100644 --- a/pallets/pswap-distribution/rpc/Cargo.toml +++ b/pallets/pswap-distribution/rpc/Cargo.toml @@ -10,11 +10,11 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } pswap-distribution-runtime-api = { path = "../runtime-api" } diff --git a/pallets/pswap-distribution/runtime-api/Cargo.toml b/pallets/pswap-distribution/runtime-api/Cargo.toml index bb99d9e6a1..5cbe301faa 100644 --- a/pallets/pswap-distribution/runtime-api/Cargo.toml +++ b/pallets/pswap-distribution/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../../common", default-features = false } diff --git a/pallets/qa-tools/Cargo.toml b/pallets/qa-tools/Cargo.toml index 57e2efd2f5..ba8edd4048 100644 --- a/pallets/qa-tools/Cargo.toml +++ b/pallets/qa-tools/Cargo.toml @@ -19,11 +19,11 @@ common = { path = "../../common", default-features = false } rand = { version = "0.8.5", default-features = false } rand_chacha = { version = "0.3.1", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } band = { path = "../band", default-features = false } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } oracle-proxy = { path = "../oracle-proxy", default-features = false } @@ -38,10 +38,10 @@ framenode-chain-spec = { path = "../../node/chain_spec", features = ["test"] } framenode-runtime = { path = "../../runtime", default-features = false, features = [ "std", ] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets", default-features = false } [features] diff --git a/pallets/referrals/Cargo.toml b/pallets/referrals/Cargo.toml index b5690d08d3..dbeff7553d 100644 --- a/pallets/referrals/Cargo.toml +++ b/pallets/referrals/Cargo.toml @@ -16,21 +16,21 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", default-features = false } hex-literal = { version = "0.4.1", default-features = false, optional = true } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false, optional = true } [dev-dependencies] common = { path = "../../common", features = ["test"] } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } permissions = { path = "../permissions" } diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index e77eb826b9..ec58d40126 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", default-features = false } secp256k1 = { version = "0.7", features = [ "hmac", "static-context", ], default-features = false, package = "libsecp256k1" } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } @@ -37,8 +37,8 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } diff --git a/pallets/rewards/rpc/Cargo.toml b/pallets/rewards/rpc/Cargo.toml index e07fbf584b..e246aa5cc2 100644 --- a/pallets/rewards/rpc/Cargo.toml +++ b/pallets/rewards/rpc/Cargo.toml @@ -11,11 +11,11 @@ repository = 'https://github.com/sora-xor/sora2-network' codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } rewards-runtime-api = { path = "../runtime-api" } diff --git a/pallets/rewards/runtime-api/Cargo.toml b/pallets/rewards/runtime-api/Cargo.toml index 7ce0208890..6693026edc 100644 --- a/pallets/rewards/runtime-api/Cargo.toml +++ b/pallets/rewards/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } diff --git a/pallets/technical/Cargo.toml b/pallets/technical/Cargo.toml index 06799ec390..b4fbda6549 100644 --- a/pallets/technical/Cargo.toml +++ b/pallets/technical/Cargo.toml @@ -17,24 +17,24 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } twox-hash = { version = "1.5.0", default-features = false } common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false, optional = true } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } hex-literal = "0.4.1" assets = { path = "../assets" } diff --git a/pallets/trading-pair/Cargo.toml b/pallets/trading-pair/Cargo.toml index 0376286d1c..640161c076 100644 --- a/pallets/trading-pair/Cargo.toml +++ b/pallets/trading-pair/Cargo.toml @@ -16,16 +16,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1", optional = true } serde = { version = "1.0.101", optional = true, features = [ "derive", ], default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } @@ -33,8 +33,8 @@ common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/trading-pair/rpc/Cargo.toml b/pallets/trading-pair/rpc/Cargo.toml index f66b781876..1f236c3dcf 100644 --- a/pallets/trading-pair/rpc/Cargo.toml +++ b/pallets/trading-pair/rpc/Cargo.toml @@ -10,10 +10,10 @@ repository = 'https://github.com/sora-xor/sora2-network' [dependencies] codec = { package = "parity-scale-codec", version = "3" } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } trading-pair-runtime-api = { path = "../runtime-api" } diff --git a/pallets/trading-pair/runtime-api/Cargo.toml b/pallets/trading-pair/runtime-api/Cargo.toml index 90dbeba7c1..04146c4f12 100644 --- a/pallets/trading-pair/runtime-api/Cargo.toml +++ b/pallets/trading-pair/runtime-api/Cargo.toml @@ -13,9 +13,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } scale-info = { version = "2", default-features = false, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [features] diff --git a/pallets/vested-rewards/Cargo.toml b/pallets/vested-rewards/Cargo.toml index 7e36670db0..8f65d15a80 100644 --- a/pallets/vested-rewards/Cargo.toml +++ b/pallets/vested-rewards/Cargo.toml @@ -17,19 +17,19 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } hex-literal = { version = "0.4.1" } serde = { version = "1.0.101", features = ["derive"], default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } common = { path = "../../common", default-features = false } dex-manager = { path = "../dex-manager", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex = { version = "0.4", default-features = false, features = ["serde"] } multicollateral-bonding-curve-pool = { path = "../multicollateral-bonding-curve-pool", default-features = false } serde_bytes = { version = "0.11", default-features = false, features = [ @@ -37,11 +37,11 @@ serde_bytes = { version = "0.11", default-features = false, features = [ ] } serde_json = { version = "1.0", default-features = false } technical = { path = "../technical", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } itertools = { version = "0.10.5", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } diff --git a/pallets/vested-rewards/rpc/Cargo.toml b/pallets/vested-rewards/rpc/Cargo.toml index b2e50ec046..9908fd9e2b 100644 --- a/pallets/vested-rewards/rpc/Cargo.toml +++ b/pallets/vested-rewards/rpc/Cargo.toml @@ -13,11 +13,11 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } serde = { version = "1.0.101", features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } vested-rewards-runtime-api = { path = "../runtime-api" } diff --git a/pallets/vested-rewards/runtime-api/Cargo.toml b/pallets/vested-rewards/runtime-api/Cargo.toml index 588db0e45f..1fa0500277 100644 --- a/pallets/vested-rewards/runtime-api/Cargo.toml +++ b/pallets/vested-rewards/runtime-api/Cargo.toml @@ -12,9 +12,9 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } serde = { version = "1.0.101", optional = true, features = ["derive"] } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } scale-info = { version = "2", default-features = false, features = ["derive"] } common = { path = "../../../common", default-features = false } diff --git a/pallets/xor-fee/Cargo.toml b/pallets/xor-fee/Cargo.toml index ecf63b282e..01da5978d0 100644 --- a/pallets/xor-fee/Cargo.toml +++ b/pallets/xor-fee/Cargo.toml @@ -17,29 +17,29 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals ] } log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, features = [ "historical", ] } -pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } serde = { version = "1.0.101", features = ["derive"], optional = true } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } smallvec = "1.5.0" common = { path = "../../common", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } diff --git a/pallets/xst/Cargo.toml b/pallets/xst/Cargo.toml index cbe8d9565d..b0c6444096 100644 --- a/pallets/xst/Cargo.toml +++ b/pallets/xst/Cargo.toml @@ -18,16 +18,16 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals log = { version = "0.4.20" } scale-info = { version = "2", default-features = false, features = ["derive"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1" } serde = { version = "1.0.101", default-features = false, optional = true, features = [ "derive", ] } -sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } common = { path = "../../common", default-features = false } dex-api = { path = "../dex-api", default-features = false } @@ -37,15 +37,15 @@ technical = { path = "../technical", default-features = false } trading-pair = { path = "../trading-pair", default-features = false } pool-xyk = { path = "../pool-xyk", default-features = false } price-tools = { path = "../price-tools", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker" } demeter-farming-platform = { path = "../demeter-farming-platform" } hex-literal = "0.4.1" -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../common", features = ["test"] } dex-manager = { path = "../dex-manager" } mock-liquidity-source = { path = "../mock-liquidity-source" } diff --git a/pallets/xst/benchmarking/Cargo.toml b/pallets/xst/benchmarking/Cargo.toml index 90e9e1a95d..45cf27435d 100644 --- a/pallets/xst/benchmarking/Cargo.toml +++ b/pallets/xst/benchmarking/Cargo.toml @@ -13,13 +13,13 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4.1" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } common = { path = "../../../common", default-features = false } permissions = { path = "../../permissions", default-features = false } dex-manager = { path = "../../dex-manager", default-features = false } @@ -35,9 +35,9 @@ tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library price-tools = { path = "../../price-tools", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } dex-api = { path = "../../dex-api", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 2415a4ef2d..dc4c58ae95 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -11,7 +11,7 @@ version = "3.5.1" targets = ["x86_64-unknown-linux-gnu"] [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dependencies] codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ @@ -27,26 +27,26 @@ serde = { features = [ 'derive', ], default-features = false, optional = true, version = '1.0.101' } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "add_sora_substrate_commits", package = "pallet-multisig", default-features = false } +# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v1.1.0", package = "pallet-multisig", default-features = false } bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } -sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, package = "sp-consensus-beefy" } -sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, package = "sp-consensus-beefy" } +sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } +bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } -dispatch = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } +dispatch = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } bridge-proxy = { path = "../pallets/bridge-proxy", default-features = false } bridge-proxy-runtime-api = { path = "../pallets/bridge-proxy/runtime-api", default-features = false } -parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } +bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } apollo-platform = { path = "../pallets/apollo-platform", default-features = false } assets = { path = "../pallets/assets", default-features = false } @@ -106,73 +106,73 @@ xst = { path = "../pallets/xst", default-features = false } xst-benchmarking = { path = "../pallets/xst/benchmarking", default-features = false, optional = true } # Substrate dependencies -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = [ +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, features = [ "tuples-96", ] } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, optional = true } -pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, package = "pallet-insecure-randomness-collective-flip" } -pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false, features = ["historical"] } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-try-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, package = "pallet-insecure-randomness-collective-flip" } +pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } -sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } -frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits", default-features = false } +sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } # Other currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies", default-features = false } static_assertions = "1.1.0" tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } -bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } [dev-dependencies] env_logger = "0.10.0" framenode-chain-spec = { path = "../node/chain_spec", features = ["test"] } tokio = { version = "1.19.2", features = ["macros"] } -sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-tracing = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } [features] default = ["std", "build-wasm-binary"] @@ -390,6 +390,7 @@ build-wasm-binary = [] try-runtime = [ "frame-try-runtime", + "frame-try-runtime/try-runtime", "apollo-platform/try-runtime", "assets/try-runtime", "band/try-runtime", diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index e8c3e5277a..4fb3a8e010 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -8,11 +8,11 @@ edition = "2021" [dependencies] clap = { version = "=4.5.4", features = ["derive"] } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } chrono = { version = "0.4.19" } num-format = { version = "0.4.0" } diff --git a/utils/remote-ext/Cargo.toml b/utils/remote-ext/Cargo.toml index 30a71ec45d..a93a38fbbd 100644 --- a/utils/remote-ext/Cargo.toml +++ b/utils/remote-ext/Cargo.toml @@ -18,16 +18,16 @@ anyhow = "1.0.51" env_logger = "0.10.0" hex = "0.4.3" -frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-remote-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } -frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } +frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } framenode-runtime = { path = "../../runtime", default-features = false, features = [ "std", diff --git a/utils/wasm-builder/Cargo.toml b/utils/wasm-builder/Cargo.toml index 916646fa3a..5838a4958a 100644 --- a/utils/wasm-builder/Cargo.toml +++ b/utils/wasm-builder/Cargo.toml @@ -8,4 +8,4 @@ version = "0.1.0" edition = "2021" [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "add_sora_substrate_commits" } +substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } From 33c11a4e0080ad850c3b52da029dbf62d4be580f Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 6 Aug 2024 14:16:24 +0300 Subject: [PATCH 084/110] refactor(pallets): upgrade benchmarking runtime mocks --- .../benchmarking/src/mock.rs | 6 ++++-- .../liquidity-proxy/benchmarking/src/mock.rs | 21 +++++++++---------- pallets/pool-xyk/benchmarking/src/mock.rs | 10 ++++----- .../benchmarking/src/mock.rs | 12 ++++------- pallets/xst/benchmarking/src/mock.rs | 8 +++---- 5 files changed, 27 insertions(+), 30 deletions(-) diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index bdc99a9373..627b7ec3f2 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -7,7 +7,7 @@ use common::{ fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, DEXId, DEXInfo, - Fixed, PSWAP, TBCD, XST, + Fixed, PSWAP, TBCD, VAL, XST, }; use currencies::BasicCurrencyAdapter; @@ -30,6 +30,7 @@ pub type BlockNumber = u64; type TechAccountId = common::TechAccountId; type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; +type Moment = u64; pub fn alice() -> AccountId { AccountId32::from(hex!( @@ -89,7 +90,7 @@ parameter_types! { pub const GetBuyBackAccountId: AccountId = AccountId::new(hex!( "0000000000000000000000000000000000000000000000000000000000000023" )); - pub const GetBuyBackDexId: DEXId = 0; + pub const GetBuyBackDexId: DEXId = DEXId::Polkaswap; } impl assets::Config for Runtime { @@ -108,6 +109,7 @@ impl assets::Config for Runtime { type Currency = currencies::Pallet; type GetTotalBalance = (); type WeightInfo = (); + type AssetRegulator = (); } impl pallet_balances::Config for Runtime { diff --git a/pallets/liquidity-proxy/benchmarking/src/mock.rs b/pallets/liquidity-proxy/benchmarking/src/mock.rs index d39efe19bd..d1e0ae7132 100644 --- a/pallets/liquidity-proxy/benchmarking/src/mock.rs +++ b/pallets/liquidity-proxy/benchmarking/src/mock.rs @@ -56,7 +56,7 @@ use permissions::{Scope, BURN, MANAGE_DEX, MINT}; use sp_core::{ConstU32, H256}; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{AccountId32, DispatchError, DispatchResult, Percent, Permill}; +use sp_runtime::{AccountId32, BuildStorage, DispatchError, DispatchResult, Percent, Permill}; pub type AssetId = AssetId32; pub type TechAssetId = common::TechAssetId; @@ -113,7 +113,7 @@ construct_runtime! { NodeBlock = Block, UncheckedExtrinsic = UncheckedExtrinsic, { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + System: frame_system::{Pallet, Call, Config, Storage, Event}, LiquidityProxy: liquidity_proxy::{Pallet, Call, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -123,7 +123,7 @@ construct_runtime! { DexManager: dex_manager::{Pallet, Call, Config, Storage}, Technical: technical::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, - DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, + DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, PriceTools: price_tools::{Pallet, Storage, Event}, PoolXYK: pool_xyk::{Pallet, Call, Storage, Event}, @@ -603,8 +603,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); let accounts = bonding_curve_distribution_accounts(); @@ -667,12 +667,11 @@ impl ExtBuilder { .assimilate_storage(&mut t) .unwrap(); - >::assimilate_storage( - &dex_api::GenesisConfig { - source_types: self.source_types, - }, - &mut t, - ) + dex_api::GenesisConfig:: { + source_types: self.source_types, + phantom: Default::default(), + } + .assimilate_storage(&mut t) .unwrap(); trading_pair::GenesisConfig:: { diff --git a/pallets/pool-xyk/benchmarking/src/mock.rs b/pallets/pool-xyk/benchmarking/src/mock.rs index 020273d7be..4602ad212e 100644 --- a/pallets/pool-xyk/benchmarking/src/mock.rs +++ b/pallets/pool-xyk/benchmarking/src/mock.rs @@ -49,7 +49,7 @@ use permissions::{Scope, BURN, MANAGE_DEX, MINT}; use sp_core::{ConstU32, H256}; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{AccountId32, Percent}; +use sp_runtime::{AccountId32, BuildStorage, Percent}; pub type AssetId = common::AssetId32; pub type TechAssetId = common::TechAssetId; @@ -86,7 +86,7 @@ construct_runtime! { NodeBlock = Block, UncheckedExtrinsic = UncheckedExtrinsic, { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + System: frame_system::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, Currencies: currencies::{Pallet, Call, Storage}, @@ -95,7 +95,7 @@ construct_runtime! { DexManager: dex_manager::{Pallet, Call, Config, Storage}, TradingPair: trading_pair::{Pallet, Call, Config, Storage, Event}, Permissions: permissions::{Pallet, Call, Config, Storage, Event}, - DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, + DexApi: dex_api::{Pallet, Call, Config, Storage, Event}, Technical: technical::{Pallet, Call, Config, Storage, Event}, PoolXYK: pool_xyk::{Pallet, Call, Storage, Event}, PswapDistribution: pswap_distribution::{Pallet, Call, Config, Storage, Event}, @@ -259,8 +259,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/pswap-distribution/benchmarking/src/mock.rs b/pallets/pswap-distribution/benchmarking/src/mock.rs index 0e21c9176a..8484d23da1 100644 --- a/pallets/pswap-distribution/benchmarking/src/mock.rs +++ b/pallets/pswap-distribution/benchmarking/src/mock.rs @@ -46,7 +46,7 @@ use permissions::Scope; use sp_core::H256; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; -use sp_runtime::{AccountId32, Perbill, Percent}; +use sp_runtime::{AccountId32, BuildStorage, Perbill, Percent}; use sp_std::vec; use crate::Config; @@ -121,12 +121,8 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + pub enum Runtime { + System: frame_system::{Pallet, Call, Config, Storage, Event}, PswapDistribution: pswap_distribution::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -338,7 +334,7 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = SystemConfig::default().build_storage::().unwrap(); + let mut t = SystemConfig::default().build_storage().unwrap(); let mut vec = self .endowed_accounts diff --git a/pallets/xst/benchmarking/src/mock.rs b/pallets/xst/benchmarking/src/mock.rs index be32df2da9..4103ba76d8 100644 --- a/pallets/xst/benchmarking/src/mock.rs +++ b/pallets/xst/benchmarking/src/mock.rs @@ -120,7 +120,7 @@ construct_runtime! { NodeBlock = Block, UncheckedExtrinsic = UncheckedExtrinsic, { - System: frame_system::{Pallet, Call, Config, Storage, Event}, + System: frame_system::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Storage}, TradingPair: trading_pair::{Pallet, Call, Storage, Event}, MockLiquiditySource: mock_liquidity_source::::{Pallet, Call, Config, Storage}, @@ -134,7 +134,7 @@ construct_runtime! { PoolXYK: pool_xyk::{Pallet, Call, Storage, Event}, XSTPool: xst::{Pallet, Call, Storage, Event}, PswapDistribution: pswap_distribution::{Pallet, Call, Storage, Event}, - DEXApi: dex_api::{Pallet, Call, Storage, Config, Event}, + DEXApi: dex_api::{Pallet, Call, Storage, Config, Event}, Band: band::{Pallet, Call, Storage, Event}, OracleProxy: oracle_proxy::{Pallet, Call, Storage, Event}, CeresLiquidityLocker: ceres_liquidity_locker::{Pallet, Call, Storage, Event}, @@ -405,8 +405,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { From 9a97644eed55ed62f766daaa5485192bf816f5f7 Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 6 Aug 2024 14:17:37 +0300 Subject: [PATCH 085/110] refactor: cleanup package & workspace .toml files --- Cargo.lock | 453 ++++++++++++++++++++++++++------------------- Cargo.toml | 257 ------------------------- common/Cargo.toml | 1 + common/src/alt.rs | 6 +- runtime/Cargo.toml | 12 +- 5 files changed, 272 insertions(+), 457 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7cc5e559ce..dbad86af38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -130,9 +130,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", @@ -145,33 +145,33 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -423,9 +423,9 @@ checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" +checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" [[package]] name = "arrayvec" @@ -592,9 +592,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8828ec6e544c02b0d6691d21ed9f9218d0384a82542855073c2a3f58304aaf0" +checksum = "d7ebdfa2ebdab6b1760375fa7d6f382b9f486eac35fc994625a00e89280bdbb7" dependencies = [ "async-task", "concurrent-queue", @@ -702,14 +702,14 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] name = "async-signal" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "794f185324c2f00e771cd9f1ae8b5ac68be2ca7abb129a87afd6e86d228bc54d" +checksum = "dfb3634b73397aa844481f814fad23bbf07fdb0eabec10f2eb95e58944b1ec32" dependencies = [ "async-io 2.3.3", "async-lock 3.4.0", @@ -759,13 +759,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.80" +version = "0.1.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" +checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -815,7 +815,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.36.1", + "object 0.36.2", "rustc-demangle", ] @@ -906,7 +906,7 @@ dependencies = [ [[package]] name = "beefy-light-client" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "anyhow", "binary-merkle-tree", @@ -930,7 +930,7 @@ dependencies = [ [[package]] name = "beefy-light-client-rpc" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "beefy-light-client-runtime-api", "jsonrpsee", @@ -946,7 +946,7 @@ dependencies = [ [[package]] name = "beefy-light-client-runtime-api" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "parity-scale-codec", @@ -993,7 +993,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -1064,9 +1064,9 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.1" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" +checksum = "e9ec96fe9a81b5e365f9db71fe00edc4fe4ca2cc7dcb7861f0603012a7caa210" dependencies = [ "arrayref", "arrayvec 0.7.4", @@ -1149,7 +1149,7 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "ethabi", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "bridge-common" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bitvec", "bridge-types", @@ -1192,7 +1192,7 @@ dependencies = [ [[package]] name = "bridge-data-signer" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-common", "bridge-types", @@ -1217,7 +1217,7 @@ dependencies = [ "bridge-channel", "bridge-types", "common 0.1.0", - "dispatch", + "dispatch 0.1.1 (git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0)", "evm-fungible-app", "frame-benchmarking", "frame-support", @@ -1274,7 +1274,6 @@ dependencies = [ [[package]] name = "bridge-types" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" dependencies = [ "derivative", "ethabi", @@ -1357,9 +1356,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.1" +version = "1.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" +checksum = "102087e286b4677862ea56cf8fc58bb2cdfa8725c40ffb80fe3a008eb7f2fc83" [[package]] name = "byteorder" @@ -1369,9 +1368,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" +checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "bzip2-sys" @@ -1418,13 +1417,12 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.104" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74b6a57f98764a267ff415d50a25e6e166f3831a5071af4995296ea97d210490" +checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc" dependencies = [ "jobserver", "libc", - "once_cell", ] [[package]] @@ -1744,7 +1742,7 @@ checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.1", + "clap_lex 0.7.2", "strsim", ] @@ -1757,7 +1755,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -1768,9 +1766,9 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "clap_lex" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "codespan-reporting" @@ -1784,9 +1782,9 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "comfy-table" @@ -1811,6 +1809,7 @@ dependencies = [ "frame-system", "hex-literal", "libsecp256k1", + "log", "num-traits", "orml-currencies", "orml-traits", @@ -2196,7 +2195,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -2223,7 +2222,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -2240,7 +2239,7 @@ checksum = "4b2c1c1776b986979be68bb2285da855f8d8a35851a769fca8740df7c3d07877" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -2400,7 +2399,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -2411,7 +2410,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -2606,7 +2605,24 @@ dependencies = [ [[package]] name = "dispatch" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +dependencies = [ + "bridge-types", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "dispatch" +version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "frame-benchmarking", @@ -2629,7 +2645,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -2676,9 +2692,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.68", + "syn 2.0.72", "termcolor", - "toml 0.8.14", + "toml 0.8.19", "walkdir", ] @@ -2854,7 +2870,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -3071,10 +3087,10 @@ dependencies = [ [[package]] name = "evm-fungible-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", - "dispatch", + "dispatch 0.1.1 (git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0)", "ethabi", "frame-benchmarking", "frame-support", @@ -3114,7 +3130,7 @@ dependencies = [ "prettyplease 0.2.20", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -3376,9 +3392,9 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.30" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" dependencies = [ "crc32fast", "libz-sys", @@ -3504,7 +3520,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -3631,7 +3647,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -3643,7 +3659,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -3653,7 +3669,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1. dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -3722,6 +3738,7 @@ dependencies = [ "beefy-light-client", "beefy-light-client-rpc", "bridge-proxy-rpc", + "bstr", "bumpalo", "cargo-platform", "clap", @@ -3752,6 +3769,9 @@ dependencies = [ "pallet-sudo", "pallet-transaction-payment-rpc", "parity-scale-codec", + "predicates 3.1.0", + "predicates-core", + "predicates-tree", "pswap-distribution-rpc", "rewards-rpc", "sc-basic-authorship", @@ -3779,6 +3799,7 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", + "schnellru", "serde", "serde_json", "sp-api", @@ -3867,7 +3888,7 @@ dependencies = [ "dex-manager", "dex-manager-runtime-api", "dex-runtime-api", - "dispatch", + "dispatch 0.1.1 (git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0)", "env_logger", "eth-bridge", "eth-bridge-runtime-api", @@ -3890,6 +3911,7 @@ dependencies = [ "hex-literal", "iroha-migration", "iroha-migration-runtime-api", + "jetton-app", "kensetsu", "kensetsu-benchmarking", "leaf-provider", @@ -4095,7 +4117,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -4289,7 +4311,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.2.6", + "indexmap 2.3.0", "slab", "tokio", "tokio-util", @@ -4548,9 +4570,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.29" +version = "0.14.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33" +checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" dependencies = [ "bytes", "futures-channel", @@ -4598,7 +4620,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -4730,9 +4752,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0" dependencies = [ "equivalent", "hashbrown 0.14.5", @@ -4877,9 +4899,9 @@ dependencies = [ [[package]] name = "is_terminal_polyfill" -version = "1.70.0" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itertools" @@ -4896,11 +4918,33 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "jetton-app" +version = "0.1.1" +dependencies = [ + "bridge-types", + "dispatch 0.1.1", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-traits", + "parity-scale-codec", + "rustc-hex", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "jobserver" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" dependencies = [ "libc", ] @@ -5195,7 +5239,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "leaf-provider" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "ethabi", @@ -5215,7 +5259,7 @@ dependencies = [ [[package]] name = "leaf-provider-rpc" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "jsonrpsee", "leaf-provider-runtime-api", @@ -5232,7 +5276,7 @@ dependencies = [ [[package]] name = "leaf-provider-runtime-api" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "parity-scale-codec", @@ -5251,9 +5295,9 @@ checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libloading" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" +checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", "windows-targets 0.52.6", @@ -5938,9 +5982,9 @@ dependencies = [ [[package]] name = "lz4" -version = "1.25.0" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6eab492fe7f8651add23237ea56dbf11b3c4ff762ab83d40a47f11433421f91" +checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" dependencies = [ "libc", "lz4-sys", @@ -5948,9 +5992,9 @@ dependencies = [ [[package]] name = "lz4-sys" -version = "1.9.5" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9764018d143cc854c9f17f0b907de70f14393b1f502da6375dce70f00514eb3" +checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" dependencies = [ "cc", "libc", @@ -5974,7 +6018,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -5988,7 +6032,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -5999,7 +6043,7 @@ checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -6010,7 +6054,7 @@ checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -6042,9 +6086,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a" dependencies = [ "autocfg", "rawpointer", @@ -6133,13 +6177,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.11" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" dependencies = [ + "hermit-abi 0.3.9", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -6337,7 +6382,7 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multisig-verifier" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-common", "bridge-types", @@ -6392,7 +6437,7 @@ checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -6603,9 +6648,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.1" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce" +checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" dependencies = [ "memchr", ] @@ -7129,7 +7174,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.2.3" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "frame-support", "frame-system", @@ -7352,7 +7397,7 @@ dependencies = [ [[package]] name = "parachain-bridge-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "ethabi", @@ -7513,7 +7558,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.2", + "redox_syscall 0.5.3", "smallvec", "windows-targets 0.52.6", ] @@ -7617,7 +7662,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -7638,7 +7683,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.3.0", ] [[package]] @@ -7658,7 +7703,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -7836,9 +7881,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" +checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" [[package]] name = "powerfmt" @@ -7848,9 +7893,12 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "predicates" @@ -7874,7 +7922,10 @@ checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" dependencies = [ "anstyle", "difflib", + "float-cmp", + "normalize-line-endings", "predicates-core", + "regex", ] [[package]] @@ -7910,7 +7961,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -8009,7 +8060,7 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -8055,7 +8106,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -8455,9 +8506,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd" +checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" dependencies = [ "bitflags 2.6.0", ] @@ -8490,7 +8541,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -8531,9 +8582,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.5" +version = "1.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" dependencies = [ "aho-corasick", "memchr", @@ -9017,7 +9068,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -9889,7 +9940,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -9986,9 +10037,9 @@ dependencies = [ [[package]] name = "schnellru" -version = "0.2.3" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" +checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ "ahash 0.8.7", "cfg-if", @@ -10078,9 +10129,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ "bitflags 2.6.0", "core-foundation", @@ -10091,9 +10142,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" +checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" dependencies = [ "core-foundation-sys", "libc", @@ -10134,9 +10185,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.203" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" +checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" dependencies = [ "serde_derive", ] @@ -10152,31 +10203,32 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.203" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" +checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] name = "serde_json" -version = "1.0.120" +version = "1.0.122" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +checksum = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" dependencies = [ "serde", ] @@ -10424,7 +10476,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -10650,7 +10702,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1. dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -10669,7 +10721,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1. dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -10886,7 +10938,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -11078,7 +11130,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -11267,7 +11319,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -11280,7 +11332,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -11299,7 +11351,7 @@ dependencies = [ [[package]] name = "substrate-bridge-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "ethabi", @@ -11323,7 +11375,7 @@ dependencies = [ [[package]] name = "substrate-bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#5af21c33b3cf89175a6164288bb914888ecf2711" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" dependencies = [ "bridge-types", "ethabi", @@ -11435,9 +11487,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.68" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", @@ -11485,9 +11537,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.14" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "technical" @@ -11517,12 +11569,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.10.1" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "b8fcd239983515c23a32fb82099f97d0b11b8c72f654ed659363a95c3dad7a53" dependencies = [ "cfg-if", "fastrand 2.1.0", + "once_cell", "rustix 0.38.34", "windows-sys 0.52.0", ] @@ -11544,22 +11597,22 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -11656,9 +11709,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.1" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55115c6fbe2d2bef26eb09ad74bde02d8255476fc0c7b515ef09fbb35742d82" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -11671,32 +11724,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "daa4fb1bc778bd6f04cbfc4bb2d06a7396a8f299dc33ea1900cedaa316f467b1" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", "pin-project-lite 0.2.14", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -11769,21 +11821,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.14" +version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" +checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.14", + "toml_edit 0.22.20", ] [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" dependencies = [ "serde", ] @@ -11794,7 +11846,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.3.0", "serde", "serde_spanned", "toml_datetime", @@ -11807,22 +11859,22 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.3.0", "toml_datetime", "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.22.14" +version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" +checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.3.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.13", + "winnow 0.6.18", ] [[package]] @@ -11886,7 +11938,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -12261,9 +12313,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vested-rewards" @@ -12404,7 +12456,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", "wasm-bindgen-shared", ] @@ -12438,7 +12490,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -12767,9 +12819,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.25" +version = "0.7.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2caba658a80831539b30698ae9862a72db6697dfdd7151e46920f5f2755c3ce2" +checksum = "901e8597c777fa042e9e245bd56c0dc4418c5db3f845b6ff94fbac732c6a0692" dependencies = [ "bytemuck", "safe_arch", @@ -12799,11 +12851,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -12818,7 +12870,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -12831,6 +12883,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -12858,6 +12919,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -13047,9 +13117,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.13" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1" +checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" dependencies = [ "memchr", ] @@ -13122,7 +13192,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -13257,6 +13327,7 @@ version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ + "byteorder", "zerocopy-derive", ] @@ -13268,7 +13339,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -13288,7 +13359,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.68", + "syn 2.0.72", ] [[package]] @@ -13331,9 +13402,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.11+zstd.1.5.6" +version = "2.0.13+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75652c55c0b6f3e6f12eb786fe1bc960396bf05a1eb3bf1f3691c3610ac2e6d4" +checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index a952f85328..c910f0955c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,112 +3,6 @@ # The latest versions of thread_local (1.1.2) had a memory leak. This version doesn't have it. thread_local = { git = "https://github.com/sora-xor/thread_local-rs.git", branch = "patch-1.0.1" } -# [patch.crates-io] -# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } - -#jsonrpc-core = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } -#jsonrpc-ws-server = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } -#jsonrpc-server-utils = { git = "https://github.com/soramitsu/jsonrpc.git", branch = "new_fragment_capacity" } - -# fixed-hash = { git = "https://github.com/vmarkushin/parity-common.git", branch = "no-std" } - - -# impl-trait-for-tuples = { git = "https://github.com/sora-xor/impl-trait-for-tuples.git", branch = "sora-v1.6.0" } - -#parity-util-mem = { git = "https://github.com/paritytech/parity-common.git" } - -#orml-currencies = { git = "https://github.com/KalitaAlexey/open-runtime-module-library.git", branch = "use-master" } -#orml-traits = { git = "https://github.com/KalitaAlexey/open-runtime-module-library.git", branch = "use-master" } -#orml-tokens = { git = "https://github.com/KalitaAlexey/open-runtime-module-library.git", branch = "use-master" } - [patch."https://github.com/open-web3-stack/open-runtime-module-library.git"] orml-tokens = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } orml-traits = { git = "https://github.com/open-web3-stack//open-runtime-module-library.git", branch = "polkadot-v1.1.0" } @@ -120,121 +14,6 @@ orml-utilities = { git = "https://github.com/open-web3-stack//open-runtime-modul #[patch."https://github.com/w3f/ring-vrf"] # bandersnatch_vrfs = { git = "https://github.com/w3f/ring-vrf.git", rev = "4125212" } -# [patch."https://github.com/sora-xor/polkadot-sdk.git"] -# frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-executive = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-system-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-system-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# frame-election-provider-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-collective = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-democracy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-elections-phragmen = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-identity = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-im-online = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-membership = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-multisig = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-offences = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-scheduler = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-sudo = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-transaction-payment = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-transaction-payment-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-utility = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-bags-list = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-election-provider-multi-phase = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-basic-authorship = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-chain-spec = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-client-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-slots = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-executor = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-informant = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-network = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-rpc-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-service = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-transaction-pool-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-telemetry = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-api = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-application-crypto = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-block-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-blockchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus-aura = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus-babe = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-database = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-inherents = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-offchain = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-npos-elections = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-runtime-interface = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-session = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-storage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-transaction-pool = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-trie = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-version = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-keyring = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-state-machine = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-externalities = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-mmr-primitives = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-maybe-compressed-blob = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-transaction-storage-proof = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# substrate-frame-rpc-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# substrate-prometheus-endpoint = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sp-consensus-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-beefy = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-babe-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# sc-consensus-epochs = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-preimage = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# try-runtime-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# staging-xcm = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-staking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # sc-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # sc-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # sp-consensus = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # sp-finality-grandpa = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # beefy-gadget = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # beefy-gadget-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# # beefy-merkle-tree = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# mmr-rpc = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -# pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", package = "pallet-insecure-randomness-collective-flip" } - [patch."https://github.com/paritytech/polkadot-sdk.git"] frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } frame-benchmarking-cli = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } @@ -350,43 +129,7 @@ pallet-beefy-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branc pallet-mmr = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } pallet-randomness-collective-flip = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", package = "pallet-insecure-randomness-collective-flip" } -# [patch."https://github.com/sora-xor/sora2-common.git"] -# beefy-light-client = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# beefy-light-client-rpc = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# beefy-light-client-runtime-api = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# leaf-provider = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# leaf-provider-rpc = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# leaf-provider-runtime-api = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# bridge-common = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# dispatch = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# parachain-bridge-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# substrate-bridge-channel = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# bridge-types = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# bridge-data-signer = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# multisig-verifier = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# evm-fungible-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# bridge-channel = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# jetton-app = { git = "https://github.com/sora-xor//sora2-common.git", tag = "1.0.26" } -# [patch."https://github.com/sora-xor/sora2-common.git"] -# beefy-light-client = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# beefy-light-client-rpc = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# beefy-light-client-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# leaf-provider-rpc = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# bridge-common = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# dispatch = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# bridge-data-signer = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# multisig-verifier = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# pallet-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } -# [workspace] members = [ "runtime", diff --git a/common/Cargo.toml b/common/Cargo.toml index 19a66f8de5..25f2e4936d 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -46,6 +46,7 @@ static_assertions = "1.1.0" hex-literal = "0.4.1" env_logger = { version = "0.10.0", optional = true } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +log = "0.4.20" [dev-dependencies] serde_json = "1.0.41" diff --git a/common/src/alt.rs b/common/src/alt.rs index 9d9cd1a48c..4f969e1b0d 100644 --- a/common/src/alt.rs +++ b/common/src/alt.rs @@ -485,7 +485,7 @@ impl DiscreteQuotation { for chunk in &self.chunks { // chunk should not contain zeros if chunk.input.is_zero() || chunk.output.is_zero() { - frame_support::log::trace!( + log::trace!( "DiscreteQuotation verify failed: chunk has zero, input = {}, output = {}", chunk.input, chunk.output @@ -517,7 +517,7 @@ impl DiscreteQuotation { }; if chunk.input % input_precision != 0 || chunk.output % output_precision != 0 { - frame_support::log::trace!( + log::trace!( "DiscreteQuotation verify failed: chunk doesn't meet the precision requirements, input = {}, input precision = {input_precision}, output = {}, output precision = {output_precision}", chunk.input, chunk.output @@ -536,7 +536,7 @@ impl DiscreteQuotation { // chunks should go to reduce the price, from the best to the worst (or don't exceed the epsilon) if price > prev_price && price.abs_diff(prev_price) > price_epsilon * prev_price { - frame_support::log::trace!( + log::trace!( "DiscreteQuotation verify failed: price = {price}, prev_price = {prev_price}" ); return false; diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 01501f1822..ac02d5621d 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -42,12 +42,12 @@ leaf-provider = { git = "https://github.com/sora-xor/sora2-common.git", branch = leaf-provider-runtime-api = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } bridge-proxy = { path = "../pallets/bridge-proxy", default-features = false } bridge-proxy-runtime-api = { path = "../pallets/bridge-proxy/runtime-api", default-features = false } -parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false } -evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } -jetton-app = { git = "https://github.com/sora-xor/sora2-common.git", default-features = false, optional = true } +parachain-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +substrate-bridge-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +substrate-bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false } +evm-fungible-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } +bridge-channel = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } +jetton-app = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", default-features = false, optional = true } apollo-platform = { path = "../pallets/apollo-platform", default-features = false } assets = { path = "../pallets/assets", default-features = false } From 2f58be31c25a96b34df42e90949a66b33d85f8b5 Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 6 Aug 2024 22:58:50 +0300 Subject: [PATCH 086/110] fix(liquidity-proxy): upgrade mock --- pallets/liquidity-proxy/src/mock.rs | 12 +++++------- rust-analyzer.json | 7 +++++++ 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 rust-analyzer.json diff --git a/pallets/liquidity-proxy/src/mock.rs b/pallets/liquidity-proxy/src/mock.rs index 2677db4346..ca1c2e63c8 100644 --- a/pallets/liquidity-proxy/src/mock.rs +++ b/pallets/liquidity-proxy/src/mock.rs @@ -1024,13 +1024,11 @@ impl ExtBuilder { .assimilate_storage(&mut t) .unwrap(); - >::assimilate_storage( - &dex_api::GenesisConfig { - source_types: self.source_types, - phantom: PhantomData, - }, - &mut t, - ) + dex_api::GenesisConfig:: { + source_types: self.source_types, + phantom: PhantomData, + } + .assimilate_storage(&mut t) .unwrap(); assets::GenesisConfig:: { diff --git a/rust-analyzer.json b/rust-analyzer.json new file mode 100644 index 0000000000..4dc8a1ce64 --- /dev/null +++ b/rust-analyzer.json @@ -0,0 +1,7 @@ +{ + "rust-analyzer": { + "cargo": { + "features": "all" + } + } +} From c08b2fc146b33269629c7b9ef966558327e131a8 Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 6 Aug 2024 23:00:56 +0300 Subject: [PATCH 087/110] style: remove analyzer config --- rust-analyzer.json | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 rust-analyzer.json diff --git a/rust-analyzer.json b/rust-analyzer.json deleted file mode 100644 index 4dc8a1ce64..0000000000 --- a/rust-analyzer.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "rust-analyzer": { - "cargo": { - "features": "all" - } - } -} From c1b48a38721f3d760c60e90281f3da6a2bd777ad Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 12 Aug 2024 18:52:52 +0300 Subject: [PATCH 088/110] fix(pallets): correct ceres-liquidity-locker & xst benchmarks --- .../benchmarking/src/mock.rs | 19 ++----------------- pallets/xst/benchmarking/src/mock.rs | 8 ++------ 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index 627b7ec3f2..54c07c7788 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -53,7 +53,6 @@ parameter_types! { pub const GetNumSamples: usize = 40; pub const GetBaseAssetId: AssetId = XOR; pub const GetSyntheticBaseAssetId: AssetId = XST; - pub const ExistentialDeposit: u128 = 1; pub GetPswapDistributionAccountId: AccountId = AccountId32::from([3; 32]); pub const GetDefaultSubscriptionFrequency: BlockNumber = 10; pub const GetBurnUpdateFrequency: BlockNumber = 14400; @@ -112,21 +111,7 @@ impl assets::Config for Runtime { type AssetRegulator = (); } -impl pallet_balances::Config for Runtime { - type Balance = Balance; - type DustRemoval = (); - type RuntimeEvent = RuntimeEvent; - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = (); - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = (); - type RuntimeHoldReason = (); - type FreezeIdentifier = (); - type MaxHolds = (); - type MaxFreezes = (); -} +mock_pallet_balances_config!(Runtime); impl dex_manager::Config for Runtime {} @@ -258,7 +243,7 @@ impl ExtBuilder { .unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(alice(), 0)], + balances: vec![(alice(), 1)], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/xst/benchmarking/src/mock.rs b/pallets/xst/benchmarking/src/mock.rs index 4103ba76d8..f14ac8b453 100644 --- a/pallets/xst/benchmarking/src/mock.rs +++ b/pallets/xst/benchmarking/src/mock.rs @@ -115,11 +115,7 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Runtime { System: frame_system::{Pallet, Call, Config, Storage, Event}, DexManager: dex_manager::{Pallet, Call, Storage}, TradingPair: trading_pair::{Pallet, Call, Storage, Event}, @@ -421,7 +417,7 @@ impl ExtBuilder { None } }) - .chain(vec![(bob(), 0), (assets_owner(), 0)]) + .chain(vec![(bob(), 1), (assets_owner(), 1)]) .collect(), } .assimilate_storage(&mut t) From 7eabd2bb806085ed5875b0da6e23b132ad43986c Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 12 Aug 2024 21:09:10 +0300 Subject: [PATCH 089/110] fix(pool-xyk): correct benchmarks --- pallets/pool-xyk/benchmarking/Cargo.toml | 10 +++++++--- pallets/pool-xyk/benchmarking/src/mock.rs | 8 ++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pallets/pool-xyk/benchmarking/Cargo.toml b/pallets/pool-xyk/benchmarking/Cargo.toml index 823c4424c2..72222679b9 100644 --- a/pallets/pool-xyk/benchmarking/Cargo.toml +++ b/pallets/pool-xyk/benchmarking/Cargo.toml @@ -15,12 +15,12 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } -common = { path = "../../../common", default-features = false } +common = { path = "../../../common", features = ["test"], default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } technical = { path = "../../technical", default-features = false } @@ -59,9 +59,13 @@ std = [ 'trading-pair/std', 'permissions/std', 'pool-xyk/std', + 'dex-manager/std', + 'dex-api/std', + 'pswap-distribution/std' ] runtime-benchmarks = [ - "frame-system/runtime-benchmarks", + "frame-benchmarking", "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", ] diff --git a/pallets/pool-xyk/benchmarking/src/mock.rs b/pallets/pool-xyk/benchmarking/src/mock.rs index 4602ad212e..c1b35a8890 100644 --- a/pallets/pool-xyk/benchmarking/src/mock.rs +++ b/pallets/pool-xyk/benchmarking/src/mock.rs @@ -81,11 +81,7 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Runtime { System: frame_system::{Pallet, Call, Config, Storage, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, @@ -264,7 +260,7 @@ impl ExtBuilder { .unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(alice(), 0)], + balances: vec![(alice(), 1)], } .assimilate_storage(&mut t) .unwrap(); From 177cb8efbf06d9b646d2399c18710a6f81032c9c Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 12 Aug 2024 23:36:48 +0300 Subject: [PATCH 090/110] fix(pallets & runtime): change dependencies for pool-xyk benchmarking so framenode-runtime passes compilation --- pallets/pool-xyk/benchmarking/Cargo.toml | 7 ++++--- runtime/Cargo.toml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pallets/pool-xyk/benchmarking/Cargo.toml b/pallets/pool-xyk/benchmarking/Cargo.toml index 72222679b9..dd293f8ee3 100644 --- a/pallets/pool-xyk/benchmarking/Cargo.toml +++ b/pallets/pool-xyk/benchmarking/Cargo.toml @@ -15,12 +15,12 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } scale-info = { version = "2", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } -common = { path = "../../../common", features = ["test"], default-features = false } +common = { path = "../../../common", default-features = false } assets = { path = "../../assets", default-features = false } pool-xyk = { path = "../../pool-xyk", default-features = false } technical = { path = "../../technical", default-features = false } @@ -31,6 +31,7 @@ pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branc hex-literal = "0.4.1" [dev-dependencies] +common = { path = "../../../common", features = ["test"], default-features = false } ceres-liquidity-locker = { path = "../../ceres-liquidity-locker", default-features = false } demeter-farming-platform = { path = "../../demeter-farming-platform", default-features = false } serde = { version = "1.0.101", default-features = false, features = ["derive"] } @@ -65,7 +66,7 @@ std = [ ] runtime-benchmarks = [ - "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", ] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index ac02d5621d..ec2b54980a 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -234,6 +234,7 @@ std = [ "liquidity-proxy-runtime-api/std", "liquidity-proxy/std", "liquidity-proxy-benchmarking/std", + "pool-xyk-benchmarking/std", "mock-liquidity-source/std", "multicollateral-bonding-curve-pool/std", "oracle-proxy/std", From a5dc01709c126f195ee10ed97b563e643c497375 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 12 Aug 2024 23:37:34 +0300 Subject: [PATCH 091/110] fix(pswap-distribution): set balances to 1 in benchmarking mock runtume --- pallets/pswap-distribution/benchmarking/src/mock.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pallets/pswap-distribution/benchmarking/src/mock.rs b/pallets/pswap-distribution/benchmarking/src/mock.rs index 8484d23da1..a8cbad15b3 100644 --- a/pallets/pswap-distribution/benchmarking/src/mock.rs +++ b/pallets/pswap-distribution/benchmarking/src/mock.rs @@ -339,13 +339,13 @@ impl ExtBuilder { let mut vec = self .endowed_accounts .iter() - .map(|(acc, ..)| (acc.clone(), 0)) + .map(|(acc, ..)| (acc.clone(), 1)) .chain(vec![ - (alice(), 0), - (fees_account_a(), 0), - (fees_account_b(), 0), - (GetPswapDistributionAccountId::get(), 0), - (GetParliamentAccountId::get(), 0), + (alice(), 1), + (fees_account_a(), 1), + (fees_account_b(), 1), + (GetPswapDistributionAccountId::get(), 1), + (GetParliamentAccountId::get(), 1), ]) .collect::>(); From de10c0313d8c66e39503aa1fe885bb65638e168b Mon Sep 17 00:00:00 2001 From: i3ima Date: Tue, 13 Aug 2024 00:09:56 +0300 Subject: [PATCH 092/110] fix(liquidity-proxy): correct benchmarking runtime --- pallets/liquidity-proxy/benchmarking/src/mock.rs | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pallets/liquidity-proxy/benchmarking/src/mock.rs b/pallets/liquidity-proxy/benchmarking/src/mock.rs index d1e0ae7132..72107227fe 100644 --- a/pallets/liquidity-proxy/benchmarking/src/mock.rs +++ b/pallets/liquidity-proxy/benchmarking/src/mock.rs @@ -108,11 +108,7 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { + pub enum Runtime { System: frame_system::{Pallet, Call, Config, Storage, Event}, LiquidityProxy: liquidity_proxy::{Pallet, Call, Event}, Tokens: tokens::{Pallet, Call, Config, Storage, Event}, @@ -623,7 +619,7 @@ impl ExtBuilder { pallet_balances::GenesisConfig:: { balances: vec![ - (alice(), 0), + (alice(), 1), ( if let DistributionAccount::TechAccount(account_id) = &accounts.val_holders.account @@ -632,11 +628,11 @@ impl ExtBuilder { } else { panic!("not a tech account") }, - 0, + 1, ), - (GetMbcReservesAccountId::get(), 0), - (GetMbcRewardsAccountId::get(), 0), - (GetLiquidityProxyAccountId::get(), 0), + (GetMbcReservesAccountId::get(), 1), + (GetMbcRewardsAccountId::get(), 1), + (GetLiquidityProxyAccountId::get(), 1), ], } .assimilate_storage(&mut t) From 5cd623dffc44987ef5408b7087fc36ba8d09b472 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 14 Aug 2024 16:24:15 +0300 Subject: [PATCH 093/110] fix(framenode-runtime): correct couple of tests --- runtime/src/impls.rs | 2 +- runtime/src/tests/referrals.rs | 3 ++- runtime/src/tests/xor_fee.rs | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/runtime/src/impls.rs b/runtime/src/impls.rs index 3a8fbf8e35..a5e2ca8cc8 100644 --- a/runtime/src/impls.rs +++ b/runtime/src/impls.rs @@ -616,7 +616,7 @@ mod test { fn democracy_weight_info_should_overweight_for_huge_preimages() { fn t(bytes: u32) { let actual = PreimageWeightInfo::note_preimage(bytes); - assert_eq!(actual.ref_time(), 1_459_900_160_001_u64); + assert_eq!(actual.ref_time(), 1_459_875_586_001u64); assert!(actual.ref_time() > MAX_WEIGHT.ref_time()); } diff --git a/runtime/src/tests/referrals.rs b/runtime/src/tests/referrals.rs index e6a5a2bd10..d4d828562c 100644 --- a/runtime/src/tests/referrals.rs +++ b/runtime/src/tests/referrals.rs @@ -33,6 +33,7 @@ use common::prelude::constants::SMALL_FEE; use common::{AssetInfoProvider, XOR}; use frame_support::{assert_err, assert_ok}; use framenode_chain_spec::ext; +use sp_runtime::TokenError; use crate::{Assets, Currencies, Referrals, Runtime, RuntimeOrigin}; @@ -70,7 +71,7 @@ fn reserve_insufficient_balance() { ext().execute_with(|| { assert_err!( Referrals::reserve(RuntimeOrigin::signed(alice()), 1), - pallet_balances::Error::::InsufficientBalance + TokenError::FundsUnavailable ); }) } diff --git a/runtime/src/tests/xor_fee.rs b/runtime/src/tests/xor_fee.rs index 7a5bdd59e9..632ae7a348 100644 --- a/runtime/src/tests/xor_fee.rs +++ b/runtime/src/tests/xor_fee.rs @@ -518,7 +518,6 @@ fn refund_if_pays_no_works() { give_xor_initial_balance(alice()); let tech_account_id = GetXorFeeAccountId::get(); - assert_eq!(Balances::free_balance(&tech_account_id), 0_u128.into()); let len = 10; let dispatch_info = info_from_weight(MOCK_WEIGHT); @@ -553,7 +552,6 @@ fn refund_if_pays_no_works() { ) .is_ok()); assert_eq!(Balances::free_balance(alice()), INITIAL_BALANCE,); - assert_eq!(Balances::free_balance(tech_account_id), 0_u128.into()); }); } From 5f062c422a2d8ff17c1d36b2036667b5bad86f13 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 14 Aug 2024 19:04:44 +0300 Subject: [PATCH 094/110] fix(chain_spec): set initial balance of mainnet_genesis accounts to 1 --- node/chain_spec/src/lib.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index f668cd87a7..14b44923d7 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -2379,20 +2379,20 @@ fn mainnet_genesis( }, balances: BalancesConfig { balances: vec![ - (eth_bridge_account_id.clone(), 0), - (trustless_eth_bridge_account_id.clone(), 0), - (trustless_eth_bridge_fees_account_id.clone(), 0), - (assets_and_permissions_account_id.clone(), 0), - (xor_fee_account_id.clone(), 0), - (dex_root_account_id.clone(), 0), - (iroha_migration_account_id.clone(), 0), - (pswap_distribution_account_id.clone(), 0), - (mbc_reserves_account_id.clone(), 0), - (mbc_pool_rewards_account_id.clone(), 0), - (mbc_pool_free_reserves_account_id.clone(), 0), - (market_maker_rewards_account_id.clone(), 0), - (xst_pool_permissioned_account_id.clone(), 0), - (kensetsu_treasury_account_id.clone(), 0), + (eth_bridge_account_id.clone(), 1), + (trustless_eth_bridge_account_id.clone(), 1), + (trustless_eth_bridge_fees_account_id.clone(), 1), + (assets_and_permissions_account_id.clone(), 1), + (xor_fee_account_id.clone(), 1), + (dex_root_account_id.clone(), 1), + (iroha_migration_account_id.clone(), 1), + (pswap_distribution_account_id.clone(), 1), + (mbc_reserves_account_id.clone(), 1), + (mbc_pool_rewards_account_id.clone(), 1), + (mbc_pool_free_reserves_account_id.clone(), 1), + (market_maker_rewards_account_id.clone(), 1), + (xst_pool_permissioned_account_id.clone(), 1), + (kensetsu_treasury_account_id.clone(), 1), ] .into_iter() .chain( From 45b67aac1083b8f155f485f6170aec7c15387094 Mon Sep 17 00:00:00 2001 From: i3ima Date: Wed, 14 Aug 2024 21:32:33 +0300 Subject: [PATCH 095/110] fix(runtime::xor_fee): add existential deposit to accounts of test for postponed fees --- runtime/src/tests/xor_fee.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/runtime/src/tests/xor_fee.rs b/runtime/src/tests/xor_fee.rs index 632ae7a348..b1c066d093 100644 --- a/runtime/src/tests/xor_fee.rs +++ b/runtime/src/tests/xor_fee.rs @@ -44,7 +44,7 @@ use common::{ }; use frame_support::dispatch::{DispatchInfo, PostDispatchInfo}; use frame_support::pallet_prelude::{InvalidTransaction, Pays}; -use frame_support::traits::{OnFinalize, OnInitialize}; +use frame_support::traits::{Currency, OnFinalize, OnInitialize}; use frame_support::unsigned::TransactionValidityError; use frame_support::weights::WeightToFee as WeightToFeeTrait; use frame_support::{assert_err, assert_ok}; @@ -53,7 +53,7 @@ use framenode_chain_spec::ext; use pallet_balances::NegativeImbalance; use pallet_transaction_payment::OnChargeTransaction; use referrals::ReferrerBalances; -use sp_runtime::traits::{Dispatchable, SignedExtension}; +use sp_runtime::traits::{Dispatchable, Saturating, SignedExtension}; use sp_runtime::{AccountId32, FixedPointNumber, FixedU128}; use traits::MultiCurrency; use xor_fee::extension::ChargeTransactionPayment; @@ -1131,8 +1131,11 @@ fn withdraw_fee_place_limit_order_with_crossing_spread() { #[test] fn fee_payment_postponed_xorless_transfer() { ext().execute_with(|| { + let ed = pallet_balances::Pallet::::minimum_balance(); + set_weight_to_fee_multiplier(1); increase_balance(alice(), VAL.into(), balance!(1000)); + increase_balance(alice(), XOR.into(), ed); increase_balance(bob(), XOR.into(), balance!(1000)); increase_balance(bob(), VAL.into(), balance!(1000)); @@ -1193,10 +1196,8 @@ fn fee_payment_postponed_xorless_transfer() { assert_eq!(quoted_fee, LiquidityInfo::Postponed(alice())); - assert_eq!( - Assets::total_balance(&XOR.into(), &alice()).unwrap(), - balance!(0) - ); + assert_eq!(Assets::total_balance(&XOR.into(), &alice()).unwrap(), ed); + assert_eq!( Assets::total_balance(&VAL.into(), &alice()).unwrap(), balance!(1000) @@ -1206,7 +1207,7 @@ fn fee_payment_postponed_xorless_transfer() { assert_eq!( Assets::total_balance(&XOR.into(), &alice()).unwrap(), - SMALL_FEE + SMALL_FEE.saturating_add(ed) ); assert_eq!( Assets::total_balance(&VAL.into(), &alice()).unwrap(), @@ -1226,7 +1227,7 @@ fn fee_payment_postponed_xorless_transfer() { quoted_fee )); - assert_eq!(Assets::total_balance(&XOR.into(), &alice()).unwrap(), 0); + assert_eq!(Assets::total_balance(&XOR.into(), &alice()).unwrap(), ed); }); } From 956d49c36c95d701ebbd024052833753ffe74d39 Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 15 Aug 2024 02:40:17 +0300 Subject: [PATCH 096/110] fix(runtime::xor_fee,impls): update weights & add ED to alice/bob accounts in some tests --- runtime/src/impls.rs | 10 +++++----- runtime/src/tests/xor_fee.rs | 12 ++++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/runtime/src/impls.rs b/runtime/src/impls.rs index a5e2ca8cc8..fdf298ac43 100644 --- a/runtime/src/impls.rs +++ b/runtime/src/impls.rs @@ -601,13 +601,13 @@ mod test { assert!(actual.ref_time() <= MAX_WEIGHT.ref_time(), "{}", name); } - t(u32::MIN, Weight::from_parts(248_828_000, 0), "u32::MIN"); - t(1, Weight::from_parts(248_829_705, 0), "1"); - t(500_000, Weight::from_parts(1_101_328_000, 0), "500_000"); - t(1_000_000, Weight::from_parts(1_953_828_000, 0), "1_000_000"); + t(u32::MIN, Weight::from_parts(248_381_775, 0), "u32::MIN"); + t(1, Weight::from_parts(248_383_445, 0), "1"); + t(500_000, Weight::from_parts(1_083_381_775, 0), "500_000"); + t(1_000_000, Weight::from_parts(1_918_381_775, 0), "1_000_000"); t( 5 * MEBIBYTE, - Weight::from_parts(9_187_938_400, 0), + Weight::from_parts(9_003_991_375, 0), "5 * MEBIBYTE", ); } diff --git a/runtime/src/tests/xor_fee.rs b/runtime/src/tests/xor_fee.rs index b1c066d093..dad169924e 100644 --- a/runtime/src/tests/xor_fee.rs +++ b/runtime/src/tests/xor_fee.rs @@ -603,6 +603,12 @@ fn reminting_for_sora_parliament_works() { Balances::free_balance(sora_parliament_account()), 0_u128.into() ); + increase_balance( + alice(), + XOR.into(), + pallet_balances::Pallet::::minimum_balance(), + ); + let call: &::RuntimeCall = &RuntimeCall::Assets(assets::Call::register { symbol: AssetSymbol(b"ALIC".to_vec()), @@ -805,6 +811,12 @@ fn withdraw_fee_set_referrer() { set_weight_to_fee_multiplier(1); increase_balance(bob(), XOR.into(), balance!(1000)); + increase_balance( + crate::ReferralsReservesAcc::get(), + XOR.into(), + pallet_balances::Pallet::::minimum_balance(), + ); + Referrals::reserve(RuntimeOrigin::signed(bob()), SMALL_FEE).unwrap(); let dispatch_info = info_from_weight(Weight::from_parts(100_000_000, 0)); From bba633fa4700ffa87418dc697754e35642983d66 Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 15 Aug 2024 03:12:34 +0300 Subject: [PATCH 097/110] build(config): add personal rust-analyzer config to list of ignored objects --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 7c955d9978..8253d3ae1c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ local-test .idea .gradle +# Per-project configuration +rust-analyzer.json + tmp /ethereum/java-wrapper/build/libs/*.jar db-stg-chain* From 4895dd000e3d834548a04034603fb84b5fcff24c Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 15 Aug 2024 03:12:48 +0300 Subject: [PATCH 098/110] build: update cargo.lock --- Cargo.lock | 75 +++++++++++++++++++----------------------------------- 1 file changed, 26 insertions(+), 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dbad86af38..5261d414c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -906,7 +906,7 @@ dependencies = [ [[package]] name = "beefy-light-client" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "anyhow", "binary-merkle-tree", @@ -930,7 +930,7 @@ dependencies = [ [[package]] name = "beefy-light-client-rpc" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "beefy-light-client-runtime-api", "jsonrpsee", @@ -946,7 +946,7 @@ dependencies = [ [[package]] name = "beefy-light-client-runtime-api" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "parity-scale-codec", @@ -1149,7 +1149,7 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "ethabi", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "bridge-common" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bitvec", "bridge-types", @@ -1192,7 +1192,7 @@ dependencies = [ [[package]] name = "bridge-data-signer" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-common", "bridge-types", @@ -1217,7 +1217,7 @@ dependencies = [ "bridge-channel", "bridge-types", "common 0.1.0", - "dispatch 0.1.1 (git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0)", + "dispatch", "evm-fungible-app", "frame-benchmarking", "frame-support", @@ -1274,6 +1274,7 @@ dependencies = [ [[package]] name = "bridge-types" version = "0.1.0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "derivative", "ethabi", @@ -1293,6 +1294,7 @@ dependencies = [ "rustc-hex", "scale-info", "serde", + "serde_json", "sp-consensus-beefy", "sp-core", "sp-io", @@ -2605,24 +2607,7 @@ dependencies = [ [[package]] name = "dispatch" version = "0.1.1" -dependencies = [ - "bridge-types", - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "dispatch" -version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "frame-benchmarking", @@ -3087,10 +3072,10 @@ dependencies = [ [[package]] name = "evm-fungible-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", - "dispatch 0.1.1 (git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0)", + "dispatch", "ethabi", "frame-benchmarking", "frame-support", @@ -3888,7 +3873,7 @@ dependencies = [ "dex-manager", "dex-manager-runtime-api", "dex-runtime-api", - "dispatch 0.1.1 (git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0)", + "dispatch", "env_logger", "eth-bridge", "eth-bridge-runtime-api", @@ -4585,7 +4570,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.5.7", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -4620,7 +4605,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core 0.52.0", + "windows-core", ] [[package]] @@ -4921,9 +4906,10 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jetton-app" version = "0.1.1" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", - "dispatch 0.1.1", + "dispatch", "frame-benchmarking", "frame-support", "frame-system", @@ -5239,7 +5225,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "leaf-provider" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "ethabi", @@ -5259,7 +5245,7 @@ dependencies = [ [[package]] name = "leaf-provider-rpc" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "jsonrpsee", "leaf-provider-runtime-api", @@ -5276,7 +5262,7 @@ dependencies = [ [[package]] name = "leaf-provider-runtime-api" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "parity-scale-codec", @@ -6382,7 +6368,7 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multisig-verifier" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-common", "bridge-types", @@ -7174,7 +7160,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.2.3" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "frame-support", "frame-system", @@ -7397,7 +7383,7 @@ dependencies = [ [[package]] name = "parachain-bridge-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "ethabi", @@ -11351,7 +11337,7 @@ dependencies = [ [[package]] name = "substrate-bridge-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "ethabi", @@ -11375,7 +11361,7 @@ dependencies = [ [[package]] name = "substrate-bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#a0c06b2747c5e3bba6721eb57b4cfe8a464466d6" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" dependencies = [ "bridge-types", "ethabi", @@ -12870,7 +12856,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core 0.51.1", + "windows-core", "windows-targets 0.48.5", ] @@ -12883,15 +12869,6 @@ dependencies = [ "windows-targets 0.48.5", ] -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-sys" version = "0.45.0" From 076071e96f7de6da731715f0bd7cd96a6a5f546b Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 15 Aug 2024 03:27:06 +0300 Subject: [PATCH 099/110] build: bump cargo.lock again --- Cargo.lock | 99 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 59 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5261d414c7..51b2659339 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -92,7 +92,7 @@ dependencies = [ "getrandom 0.2.15", "once_cell", "version_check", - "zerocopy", + "zerocopy 0.7.35", ] [[package]] @@ -1370,9 +1370,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "fca2be1d5c43812bae364ee3f30b3afcb7877cf59f4aeb94c66f313a41d2fac9" [[package]] name = "bzip2-sys" @@ -3377,9 +3377,9 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.31" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", "libz-sys", @@ -4570,7 +4570,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -4605,7 +4605,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -6777,7 +6777,7 @@ dependencies = [ [[package]] name = "orml-currencies" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#2778a86fb12a1a61ca8ea9348f68b3c974f786e0" dependencies = [ "frame-support", "frame-system", @@ -6794,7 +6794,7 @@ dependencies = [ [[package]] name = "orml-tokens" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#2778a86fb12a1a61ca8ea9348f68b3c974f786e0" dependencies = [ "frame-support", "frame-system", @@ -6811,7 +6811,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#2778a86fb12a1a61ca8ea9348f68b3c974f786e0" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -6831,7 +6831,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#b3694e631df7f1ca16b1973122937753fcdee9d4" +source = "git+https://github.com/open-web3-stack//open-runtime-module-library.git?branch=polkadot-v1.1.0#2778a86fb12a1a61ca8ea9348f68b3c974f786e0" dependencies = [ "frame-support", "parity-scale-codec", @@ -7879,11 +7879,11 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "dee4364d9f3b902ef14fab8a1ddffb783a1cb6b4bba3bfc1fa3922732c7de97f" dependencies = [ - "zerocopy", + "zerocopy 0.6.6", ] [[package]] @@ -8568,9 +8568,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.6" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" dependencies = [ "aho-corasick", "memchr", @@ -10200,9 +10200,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.122" +version = "1.0.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da" +checksum = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609" dependencies = [ "itoa", "memchr", @@ -11555,13 +11555,12 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.11.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fcd239983515c23a32fb82099f97d0b11b8c72f654ed659363a95c3dad7a53" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", "fastrand 2.1.0", - "once_cell", "rustix 0.38.34", "windows-sys 0.52.0", ] @@ -12805,9 +12804,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.26" +version = "0.7.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "901e8597c777fa042e9e245bd56c0dc4418c5db3f845b6ff94fbac732c6a0692" +checksum = "b828f995bf1e9622031f8009f8481a85406ce1f4d4588ff746d872043e855690" dependencies = [ "bytemuck", "safe_arch", @@ -12837,11 +12836,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -12856,7 +12855,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -12869,6 +12868,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -12896,15 +12904,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-targets" version = "0.42.2" @@ -13298,14 +13297,34 @@ dependencies = [ "time", ] +[[package]] +name = "zerocopy" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "854e949ac82d619ee9a14c66a1b674ac730422372ccb759ce0c39cabcf2bf8e6" +dependencies = [ + "byteorder", + "zerocopy-derive 0.6.6", +] + [[package]] name = "zerocopy" version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ - "byteorder", - "zerocopy-derive", + "zerocopy-derive 0.7.35", +] + +[[package]] +name = "zerocopy-derive" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "125139de3f6b9d625c39e2efdd73d41bdac468ccd556556440e322be0e1bbd91" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.72", ] [[package]] @@ -13379,9 +13398,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.13+zstd.1.5.6" +version = "2.0.12+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" +checksum = "0a4e40c320c3cb459d9a9ff6de98cff88f4751ee9275d140e2be94a2b74e4c13" dependencies = [ "cc", "pkg-config", From db5799df23ad2179dcdb646da213e4b429216814 Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 15 Aug 2024 04:09:23 +0300 Subject: [PATCH 100/110] refactor: correct things that got broken after the merge with master --- .../benchmarking/src/mock.rs | 1 - pallets/ceres-liquidity-locker/src/mock.rs | 1 - pallets/dex-api/src/mock.rs | 1 - pallets/farming/src/lib.rs | 4 ++-- .../hermes-governance-platform/src/mock.rs | 7 ------- pallets/pool-xyk/src/lib.rs | 4 ++-- pallets/pool-xyk/src/mock.rs | 3 +-- pallets/pool-xyk/src/utils.rs | 2 -- pallets/soratopia/Cargo.toml | 20 +++++++++---------- pallets/soratopia/src/lib.rs | 2 +- pallets/soratopia/src/mock.rs | 5 +++-- pallets/vested-rewards/src/mock.rs | 1 - pallets/xst/src/mock.rs | 1 - 13 files changed, 19 insertions(+), 33 deletions(-) diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index 11823e882a..1b14348b4b 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -61,7 +61,6 @@ parameter_types! { pub GetXykFee: Fixed = fixed!(0.003); pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetXykMaxIssuanceRatio: Fixed = fixed!(1.5); - pub const MinimumPeriod: u64 = 5; } construct_runtime! { diff --git a/pallets/ceres-liquidity-locker/src/mock.rs b/pallets/ceres-liquidity-locker/src/mock.rs index 95fd28db44..d09f0f8457 100644 --- a/pallets/ceres-liquidity-locker/src/mock.rs +++ b/pallets/ceres-liquidity-locker/src/mock.rs @@ -52,7 +52,6 @@ parameter_types! { pub GetParliamentAccountId: AccountId = AccountId::new([8; 32]); pub GetFee: Fixed = fixed!(0.003); pub GetXykMaxIssuanceRatio: Fixed = fixed!(1.5); - pub const MinimumPeriod: u64 = 5; pub const CeresAssetId: AssetId = CERES_ASSET_ID; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } diff --git a/pallets/dex-api/src/mock.rs b/pallets/dex-api/src/mock.rs index b5aa057902..f6248d5df4 100644 --- a/pallets/dex-api/src/mock.rs +++ b/pallets/dex-api/src/mock.rs @@ -102,7 +102,6 @@ parameter_types! { pub GetParliamentAccountId: AccountId = AccountId32::from([8; 32]); pub GetXykFee: Fixed = fixed!(0.003); pub GetXykMaxIssuanceRatio: Fixed = fixed!(1.5); - pub const MinimumPeriod: u64 = 5; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } diff --git a/pallets/farming/src/lib.rs b/pallets/farming/src/lib.rs index 9f93d1cfc6..4fd1899825 100644 --- a/pallets/farming/src/lib.rs +++ b/pallets/farming/src/lib.rs @@ -136,7 +136,7 @@ impl Pallet { let old_farmers = PoolFarmers::::get(&pool); let mut new_farmers = Vec::new(); let Some(pool_total_liquidity) = pool_xyk::TotalIssuances::::get(&pool) else { - frame_support::log::warn!("Failed to get total issuance for pool {:?}", pool); + log::warn!("Failed to get total issuance for pool {:?}", pool); return 0; }; let Ok((pool_base_reserves, _, _)) = pool_xyk::Pallet::::get_actual_reserves( @@ -146,7 +146,7 @@ impl Pallet { &trading_pair.target_asset_id, ) .map_err(|e| { - frame_support::log::warn!("Failed to get base reserves for pool {:?}: {:?}", pool, e); + log::warn!("Failed to get base reserves for pool {:?}: {:?}", pool, e); e }) else { return 0; diff --git a/pallets/hermes-governance-platform/src/mock.rs b/pallets/hermes-governance-platform/src/mock.rs index 93b6e0c6ce..69ee0578bd 100644 --- a/pallets/hermes-governance-platform/src/mock.rs +++ b/pallets/hermes-governance-platform/src/mock.rs @@ -170,13 +170,6 @@ impl pool_xyk::Config for Runtime { type WeightInfo = (); } -impl pallet_timestamp::Config for Runtime { - type Moment = u64; - type OnTimestampSet = (); - type MinimumPeriod = MinimumPeriod; - type WeightInfo = (); -} - impl ceres_liquidity_locker::Config for Runtime { const BLOCKS_PER_ONE_DAY: BlockNumberFor = 14_440; type RuntimeEvent = RuntimeEvent; diff --git a/pallets/pool-xyk/src/lib.rs b/pallets/pool-xyk/src/lib.rs index 9c612ea67c..ab76364324 100644 --- a/pallets/pool-xyk/src/lib.rs +++ b/pallets/pool-xyk/src/lib.rs @@ -1022,7 +1022,7 @@ pub mod pallet { for dex_id in T::DexInfoProvider::list_dex_ids() { weight = weight.saturating_add(T::DbWeight::get().reads(2)); let Ok(dex_info) = T::DexInfoProvider::get_dex_info(&dex_id) else { - frame_support::log::warn!("Failed to get DEX info for {:?}", dex_id); + log::warn!("Failed to get DEX info for {:?}", dex_id); continue; }; let Some((_, targets)) = >::get( @@ -1037,7 +1037,7 @@ pub mod pallet { &target, &mut weight, ) { - frame_support::log::warn!( + log::warn!( "Failed to adjust liquidity for [{:?}] {:?} -> {:?}: {:?}", dex_id, dex_info.base_asset_id, diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index f56d2db46f..cc0d123b2f 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -48,7 +48,7 @@ use sp_core::crypto::AccountId32; use sp_core::{ConstU32, H256}; use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; -use sp_runtime::{Perbill, Percent}; +use sp_runtime::{BuildStorage, Perbill, Percent}; use sp_std::collections::btree_set::BTreeSet; pub use common::mock::ComicAssetId::*; @@ -81,7 +81,6 @@ parameter_types! { pub GetParliamentAccountId: AccountId = AccountId32::from([8; 32]); pub GetFee: Fixed = fixed!(0.003); pub GetMaxIssuanceRatio: Fixed = fixed!(1.5); - pub const MinimumPeriod: u64 = 5; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); } diff --git a/pallets/pool-xyk/src/utils.rs b/pallets/pool-xyk/src/utils.rs index b1e5201013..026357ac7e 100644 --- a/pallets/pool-xyk/src/utils.rs +++ b/pallets/pool-xyk/src/utils.rs @@ -29,7 +29,6 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use common::prelude::FixedWrapper; -use frame_support::dispatch::{DispatchError, DispatchResult}; use frame_support::ensure; use frame_support::weights::Weight; use sp_core::Get; @@ -43,7 +42,6 @@ use common::{ TradingPair, }; use frame_support::dispatch::DispatchResult; -use frame_support::ensure; use orml_traits::GetByKey; use sp_runtime::DispatchError; diff --git a/pallets/soratopia/Cargo.toml b/pallets/soratopia/Cargo.toml index 50cd814624..dcccae2eb7 100644 --- a/pallets/soratopia/Cargo.toml +++ b/pallets/soratopia/Cargo.toml @@ -16,25 +16,25 @@ codec = { package = "parity-scale-codec", version = "3", default-features = fals "derive", ] } common = { path = "../../common", default-features = false } -frame-benchmarking = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false, optional = true } -frame-support = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false, optional = true } +frame-support = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +frame-system = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } hex-literal = { version = "0.4", optional = true } scale-info = { version = "2", default-features = false, features = ["derive"] } -sp-arithmetic = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", optional = true } -sp-runtime = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38", default-features = false } +sp-arithmetic = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", optional = true } +sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dev-dependencies] assets = { path = "../assets", default-features = false } common = { path = "../../common", features = ["test"] } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } hex-literal = "0.4" -pallet-balances = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } -sp-io = { git = "https://github.com/sora-xor/substrate.git", branch = "polkadot-v0.9.38" } +sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } technical = { path = "../technical", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } diff --git a/pallets/soratopia/src/lib.rs b/pallets/soratopia/src/lib.rs index 3a265b17bf..692ec39994 100644 --- a/pallets/soratopia/src/lib.rs +++ b/pallets/soratopia/src/lib.rs @@ -80,7 +80,7 @@ pub mod pallet { pub enum Error {} #[pallet::hooks] - impl Hooks for Pallet {} + impl Hooks> for Pallet {} #[pallet::call] impl Pallet { diff --git a/pallets/soratopia/src/mock.rs b/pallets/soratopia/src/mock.rs index d3fac7c626..b8026157a0 100644 --- a/pallets/soratopia/src/mock.rs +++ b/pallets/soratopia/src/mock.rs @@ -48,6 +48,7 @@ use sp_runtime::MultiSignature; use sp_runtime::{ testing::{Header, TestXt}, traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}, + BuildStorage, }; type AccountId = <::Signer as IdentifyAccount>::AccountId; @@ -114,8 +115,8 @@ impl soratopia::Config for TestRuntime { // Builds testing externalities pub fn new_test_ext() -> sp_io::TestExternalities { - let mut ext: sp_io::TestExternalities = frame_system::GenesisConfig::default() - .build_storage::() + let mut ext: sp_io::TestExternalities = frame_system::GenesisConfig::::default() + .build_storage() .unwrap() .into(); ext.execute_with(|| { diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index afae24dd97..b5462e4fb9 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -154,7 +154,6 @@ parameter_types! { pub GetCrowdloanRewardsAccountId: AccountId = AccountId32::from([156; 32]); pub GetXykFee: Fixed = fixed!(0.003); pub GetXykMaxIssuanceRatio: Fixed = fixed!(1.5); - pub const MinimumPeriod: u64 = 5; pub const CrowdloanVestingPeriod: u64 = 14400; pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1); diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index 4c5b16071f..acbe4d123f 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -95,7 +95,6 @@ parameter_types! { pub GetParliamentAccountId: AccountId = AccountId32::from([152; 32]); pub GetXykFee: Fixed = fixed!(0.003); pub GetXykMaxIssuanceRatio: Fixed = fixed!(1.5); - pub const MinimumPeriod: u64 = 5; pub const GetBandRateStalePeriod: Moment = 60*5*1000; // 5 minutes pub const GetBandRateStaleBlockPeriod: u64 = 600; pub GetXSTPoolPermissionedTechAccountId: TechAccountId = { From 87a5efdccce117a34a7686ec324540e025bd7c53 Mon Sep 17 00:00:00 2001 From: i3ima Date: Thu, 15 Aug 2024 04:09:33 +0300 Subject: [PATCH 101/110] build: bump cargo.lock --- Cargo.lock | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 51b2659339..9afbc1cae0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3714,7 +3714,7 @@ dependencies = [ [[package]] name = "framenode" -version = "3.5.1" +version = "3.5.2" dependencies = [ "ahash 0.8.7", "ansi_term", @@ -3818,7 +3818,7 @@ dependencies = [ [[package]] name = "framenode-chain-spec" -version = "3.5.1" +version = "3.5.2" dependencies = [ "common 0.1.0", "faucet", @@ -3847,7 +3847,7 @@ dependencies = [ [[package]] name = "framenode-runtime" -version = "3.5.1" +version = "3.5.2" dependencies = [ "apollo-platform", "assets", @@ -3960,6 +3960,7 @@ dependencies = [ "rewards-runtime-api", "scale-info", "serde", + "soratopia", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -10430,6 +10431,30 @@ dependencies = [ "sha-1", ] +[[package]] +name = "soratopia" +version = "0.0.1" +dependencies = [ + "assets", + "common 0.1.0", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "orml-currencies", + "orml-tokens", + "pallet-balances", + "parity-scale-codec", + "permissions", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "technical", +] + [[package]] name = "sp-api" version = "4.0.0-dev" From 601667801f7016d965c66c7bc46befbc00cb980b Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 26 Aug 2024 18:44:43 +0300 Subject: [PATCH 102/110] fix(runtime): recursive trait bound regression https://github.com/rust-lang/rust/issues/117211 --- runtime/src/lib.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 14dfd57caf..dac42f63ba 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -446,8 +446,7 @@ impl pallet_babe::Config for Runtime { type ExpectedBlockTime = ExpectedBlockTime; type EpochChangeTrigger = pallet_babe::ExternalTrigger; type DisabledValidators = Session; - type KeyOwnerProof = - >::Proof; + type KeyOwnerProof = sp_session::MembershipProof; // type KeyOwnerIdentification = >::Proof; + type KeyOwnerProof = sp_session::MembershipProof; // type KeyOwnerIdentification = >::Proof; + type KeyOwnerProof = sp_session::MembershipProof; type EquivocationReportSystem = pallet_beefy::EquivocationReportSystem; } @@ -1908,7 +1907,7 @@ impl pallet_beefy::Config for Runtime { type MaxNominators = MaxNominatorRewardedPerValidator; type MaxSetIdSessionEntries = BeefySetIdSessionEntries; type WeightInfo = (); - type KeyOwnerProof = >::Proof; + type KeyOwnerProof = sp_session::MembershipProof; type EquivocationReportSystem = pallet_beefy::EquivocationReportSystem; } From 1261d15918291f44c68426a40330722d3d3bcb2f Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 26 Aug 2024 19:40:07 +0300 Subject: [PATCH 103/110] fix(kensetsu::migration): replace deprecated imports --- pallets/kensetsu/src/migrations.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index 59105c4bc5..7034279914 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -446,9 +446,8 @@ pub mod v1_to_v2 { pub mod v2_to_v3 { use crate::{CDPDepository, Config, Pallet}; use core::marker::PhantomData; - use frame_support::dispatch::Weight; - use frame_support::log::error; use frame_support::traits::{GetStorageVersion, OnRuntimeUpgrade, StorageVersion}; + use frame_support::weights::Weight; use sp_core::Get; pub struct UpgradeToV3(PhantomData); @@ -467,9 +466,10 @@ pub mod v2_to_v3 { ) { Ok(()) => ::DbWeight::get().writes(1), Err(err) => { - error!( + log::error!( "Failed to register technical account: {:?}, error: {:?}", - depository_acc, err + depository_acc, + err ); ::DbWeight::get().reads(1) } @@ -484,7 +484,7 @@ pub mod v2_to_v3 { cdp.collateral_amount, ) .unwrap_or_else(|err| { - error!("Error while transfer to depository tech acc: {:?}", err); + log::error!("Error while transfer to depository tech acc: {:?}", err); }); } From 76c4cf3714de1b7f1a8f4c578c15a3f2b9eee561 Mon Sep 17 00:00:00 2001 From: i3ima Date: Mon, 26 Aug 2024 19:40:29 +0300 Subject: [PATCH 104/110] fix(liquidity-proxy::tests): add existential deposits to test that need it --- pallets/liquidity-proxy/src/mock.rs | 7 ++++++- pallets/liquidity-proxy/src/tests.rs | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pallets/liquidity-proxy/src/mock.rs b/pallets/liquidity-proxy/src/mock.rs index a39f0de417..ae0343f980 100644 --- a/pallets/liquidity-proxy/src/mock.rs +++ b/pallets/liquidity-proxy/src/mock.rs @@ -971,7 +971,12 @@ impl ExtBuilder { .unwrap(); pallet_balances::GenesisConfig:: { - balances: vec![(alice(), self.total_supply)], + balances: vec![( + alice(), + self.total_supply.saturating_add( + ::ExistentialDeposit::get(), + ), + )], } .assimilate_storage(&mut t) .unwrap(); diff --git a/pallets/liquidity-proxy/src/tests.rs b/pallets/liquidity-proxy/src/tests.rs index a42973c81d..b9a720527d 100644 --- a/pallets/liquidity-proxy/src/tests.rs +++ b/pallets/liquidity-proxy/src/tests.rs @@ -3587,6 +3587,8 @@ fn test_batch_swap_asset_reuse_fails() { fn test_xorless_transfer_works() { let mut ext = ExtBuilder::default().with_xyk_pool().build(); ext.execute_with(|| { + let ed = ExistentialDeposit::get(); + assert_eq!(Assets::free_balance(&USDT, &bob()).unwrap(), balance!(0)); assert_eq!( Assets::free_balance(&USDT, &alice()).unwrap(), @@ -3594,7 +3596,7 @@ fn test_xorless_transfer_works() { ); assert_eq!( Assets::free_balance(&XOR, &alice()).unwrap(), - balance!(356400) + balance!(356400).saturating_add(ed) ); let filter_mode = FilterMode::AllowSelected; @@ -3636,6 +3638,8 @@ fn test_xorless_transfer_works() { fn test_xorless_transfer_without_swap_works() { let mut ext = ExtBuilder::default().with_xyk_pool().build(); ext.execute_with(|| { + let ed = ExistentialDeposit::get(); + assert_eq!(Assets::free_balance(&USDT, &bob()).unwrap(), balance!(0)); assert_eq!( Assets::free_balance(&USDT, &alice()).unwrap(), @@ -3643,7 +3647,7 @@ fn test_xorless_transfer_without_swap_works() { ); assert_eq!( Assets::free_balance(&XOR, &alice()).unwrap(), - balance!(356400) + balance!(356400).saturating_add(ed) ); let filter_mode = FilterMode::AllowSelected; From 5f120de7382f443094dd0249f990c12fc2920c05 Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Tue, 27 Aug 2024 10:43:27 +0300 Subject: [PATCH 105/110] build: bump perity-scale-codec version to max 3 and Cargo.lock --- Cargo.lock | 10 +++++----- runtime/Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 895a683b3a..c4d3230df2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7435,9 +7435,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.5" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -7450,11 +7450,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.5" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index ab9b841939..50862f6016 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -14,12 +14,12 @@ targets = ["x86_64-unknown-linux-gnu"] substrate-wasm-builder = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } [dependencies] -codec = { package = "parity-scale-codec", version = "=3.6.5", default-features = false, features = [ +codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", "chain-error", ] } # Does not compile with newer version -parity-scale-codec-derive = "=3.6.5" +parity-scale-codec-derive = "3" scale-info = { version = "2", default-features = false, features = ["derive"] } hex-literal = "0.4.1" log = { version = "0.4.14" } From 033697f248a5756e0f38845342445fa087e90ef4 Mon Sep 17 00:00:00 2001 From: Taras Rusakovich Date: Tue, 27 Aug 2024 12:14:50 +0300 Subject: [PATCH 106/110] fix: clippy issues --- common/Cargo.toml | 2 ++ common/src/balance_unit.rs | 10 +++++----- common/src/macros.rs | 2 +- common/src/primitives.rs | 7 ++++--- common/src/traits.rs | 2 +- common/src/utils.rs | 14 ++++++-------- node/chain_spec/Cargo.toml | 1 + node/chain_spec/src/lib.rs | 13 ++++++------- node/src/command.rs | 1 + node/src/data_feed_metrics.rs | 5 +---- node/src/fork_off.rs | 17 +++++++++++------ node/src/rpc.rs | 3 +-- node/src/service.rs | 2 +- pallets/apollo-platform/src/mock.rs | 1 + pallets/assets/rpc/src/lib.rs | 1 - pallets/band/src/mock.rs | 1 - pallets/bridge-proxy/rpc/Cargo.toml | 3 +++ pallets/bridge-proxy/rpc/src/lib.rs | 1 - pallets/bridge-proxy/src/mock.rs | 2 ++ .../benchmarking/src/mock.rs | 13 +++++-------- pallets/ceres-token-locker/src/mock.rs | 2 +- .../benchmarking/src/mock.rs | 5 +---- pallets/dex-api/rpc/src/lib.rs | 1 - pallets/dex-manager/rpc/src/lib.rs | 1 - pallets/dex-manager/src/migrations/tests.rs | 1 + pallets/dex-manager/src/tests.rs | 1 + pallets/eth-bridge/rpc/src/lib.rs | 1 - pallets/eth-bridge/src/tests/mock.rs | 1 + .../eth-bridge/src/tests/outgoing_tranfser.rs | 7 +++---- pallets/eth-bridge/src/types/uint.rs | 1 + pallets/extended-assets/src/lib.rs | 2 -- pallets/extended-assets/src/mock.rs | 6 +----- pallets/farming/rpc/src/lib.rs | 2 +- pallets/farming/src/utils.rs | 1 + pallets/iroha-migration/rpc/src/lib.rs | 1 - pallets/kensetsu/src/compounding.rs | 4 ++-- pallets/kensetsu/src/migrations.rs | 1 - pallets/kensetsu/src/mock.rs | 6 ++---- pallets/kensetsu/src/tests.rs | 1 + .../liquidity-proxy/benchmarking/src/mock.rs | 4 +--- pallets/liquidity-proxy/rpc/src/lib.rs | 1 - pallets/liquidity-proxy/src/mock.rs | 9 ++------- pallets/mock-liquidity-source/src/mock.rs | 8 +------- pallets/mock-liquidity-source/src/tests.rs | 1 + .../src/migrations/v1.rs | 1 + .../src/migrations/v2.rs | 1 + .../src/migrations/v3.rs | 1 + .../src/migrations/v4.rs | 1 + .../src/mock.rs | 4 +--- .../src/tests.rs | 3 ++- pallets/oracle-proxy/rpc/src/lib.rs | 1 - pallets/oracle-proxy/src/mock.rs | 7 ++----- pallets/order-book/benchmarking/src/lib.rs | 3 --- .../benchmarking/src/periphery/mod.rs | 2 ++ .../benchmarking/src/periphery/preparation.rs | 2 +- pallets/order-book/src/scheduler.rs | 18 ++++++++++++------ pallets/permissions/src/mock.rs | 7 ++----- pallets/pool-xyk/benchmarking/src/mock.rs | 4 +--- pallets/pool-xyk/src/migrations/v3.rs | 16 +++++++++------- pallets/pool-xyk/src/mock.rs | 7 +------ pallets/pool-xyk/src/utils.rs | 5 ++--- pallets/price-tools/src/mock.rs | 4 +--- .../benchmarking/src/mock.rs | 4 +--- pallets/pswap-distribution/rpc/src/lib.rs | 1 - pallets/pswap-distribution/src/migrations.rs | 1 + pallets/pswap-distribution/src/mock.rs | 4 +--- pallets/qa-tools/src/lib.rs | 1 - .../src/pallet_tools/liquidity_proxy.rs | 4 ++-- pallets/referrals/src/mock.rs | 3 +-- pallets/rewards/Cargo.toml | 2 ++ pallets/rewards/rpc/src/lib.rs | 1 - pallets/rewards/src/lib.rs | 2 -- pallets/rewards/src/mock.rs | 16 ++++++---------- pallets/soratopia/src/lib.rs | 1 - pallets/soratopia/src/mock.rs | 8 ++------ pallets/technical/src/mock.rs | 10 ++-------- pallets/trading-pair/rpc/src/lib.rs | 1 - pallets/trading-pair/src/mock.rs | 11 ++++------- pallets/vested-rewards/rpc/src/lib.rs | 1 - pallets/vested-rewards/src/mock.rs | 13 +++++-------- pallets/vested-rewards/src/tests.rs | 2 ++ pallets/xor-fee/src/migrations.rs | 3 ++- pallets/xor-fee/src/mock.rs | 12 ++++-------- pallets/xor-fee/src/tests.rs | 6 +----- pallets/xst/benchmarking/src/mock.rs | 4 +--- pallets/xst/src/migrations/mod.rs | 1 + pallets/xst/src/mock.rs | 6 ++---- runtime/src/impls.rs | 3 ++- runtime/src/lib.rs | 4 +++- runtime/src/tests/xor_fee.rs | 9 ++++----- 90 files changed, 163 insertions(+), 227 deletions(-) diff --git a/common/Cargo.toml b/common/Cargo.toml index 25f2e4936d..a4aebacef7 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -79,3 +79,5 @@ std = [ test = ["env_logger"] runtime-benchmarks = [] + +private-net = [] diff --git a/common/src/balance_unit.rs b/common/src/balance_unit.rs index e6171f0da6..280de9f819 100644 --- a/common/src/balance_unit.rs +++ b/common/src/balance_unit.rs @@ -56,11 +56,11 @@ const RATIO: u128 = 1_000_000_000_000_000_000; /// `Ord` (+ `PartialOrd`), and `Encode` (+ `Decode`) are not consistent with each other. /// /// - `Ord` compares numbers by mathematical values. So `{1, indivisible}` and -/// `{10^18, divisible}` will be `Ordering::Equal`. +/// `{10^18, divisible}` will be `Ordering::Equal`. /// - `Eq` compares them field-by-field, making divisible never equal to indivisible numbers. -/// So `{1, indivisible} != {10^18, divisible}`. +/// So `{1, indivisible} != {10^18, divisible}`. /// - `Encode` behaves the same way as `Eq`, concentrating on the fields rather than mathematical -/// value. +/// value. /// /// It was left this way because obtaining the following properties requires some major /// reconsiderations of implementation, possible migrations, and a lot of effort: @@ -71,9 +71,9 @@ const RATIO: u128 = 1_000_000_000_000_000_000; /// /// For example, this has the following implications for `a = {1, indivisible}` and `b = {10^18, divisible}`: /// - counterintuitively, `a > b == false`, `a < b == false`, and `(a == b) == false` -/// (first two use `PartialOrd`, the last one uses `PartialEq`) +/// (first two use `PartialOrd`, the last one uses `PartialEq`) /// - in `StorageMap` (that uses encoded values as keys) `a` and `b` are considered different -/// keys, but in `BTreeMap` (that uses `Ord`) they are unified. +/// keys, but in `BTreeMap` (that uses `Ord`) they are unified. #[derive( Encode, Decode, Copy, Clone, Debug, PartialEq, Eq, scale_info::TypeInfo, MaxEncodedLen, )] diff --git a/common/src/macros.rs b/common/src/macros.rs index a10d3977e9..1f20823ffb 100644 --- a/common/src/macros.rs +++ b/common/src/macros.rs @@ -47,7 +47,7 @@ macro_rules! balance { ($value:literal) => {{ use $crate::fixnum::_priv::parse_fixed; const VALUE_SIGNED: i128 = parse_fixed(stringify!($value), 1_000_000_000_000_000_000); - const VALUE: $crate::Balance = VALUE_SIGNED.abs() as u128; + const VALUE: $crate::Balance = VALUE_SIGNED.unsigned_abs() as u128; VALUE }}; ($e:expr) => {{ diff --git a/common/src/primitives.rs b/common/src/primitives.rs index c3643970cc..dc648ce9d9 100644 --- a/common/src/primitives.rs +++ b/common/src/primitives.rs @@ -240,17 +240,17 @@ pub const HERMES_ASSET_ID: AssetId32 = AssetId32::from_bytes( pub const APOLLO_ASSET_ID: AssetId32 = AssetId32::from_bytes(hex!( "00efe45135018136733be626b380a87ae663ccf6784a25fe9d9d2be64acecb9d" )); -#[cfg(not(feature = "private-net"))] + pub const DOT: AssetId32 = AssetId32::from_bytes(hex!( "0003b1dbee890acfb1b3bc12d1bb3b4295f52755423f84d1751b2545cebf000b" )); -#[cfg(not(feature = "private-net"))] + pub const KSM: AssetId32 = AssetId32::from_bytes(hex!( "00117b0fa73c4672e03a7d9d774e3b3f91beb893e93d9a8d0430295f44225db8" )); #[cfg(feature = "private-net")] pub const ROC: AssetId32 = AssetId32::from_bytes(hex!( - "0x00dc9b4341fde46c9ac80b623d0d43afd9ac205baabdc087cadaa06f92b309c7" + "00dc9b4341fde46c9ac80b623d0d43afd9ac205baabdc087cadaa06f92b309c7" )); // `private-net` is not used in prod #[allow(deprecated)] @@ -1325,6 +1325,7 @@ impl> TryFrom<&str> for BoundedString { } impl> PartialOrd for BoundedString { + #[allow(clippy::non_canonical_partial_ord_impl)] fn partial_cmp(&self, other: &Self) -> Option { self.0.partial_cmp(&other.0) } diff --git a/common/src/traits.rs b/common/src/traits.rs index f6bffdcac1..9ab21cc81f 100644 --- a/common/src/traits.rs +++ b/common/src/traits.rs @@ -607,7 +607,7 @@ pub trait Config: frame_system::Config { /// Definition of a pending atomic swap action. It contains the following three phrases: /// /// - **Reserve**: reserve the resources needed for a swap. This is to make sure that **Claim** -/// succeeds with best efforts. +/// succeeds with best efforts. /// - **Claim**: claim any resources reserved in the first phrase. /// - **Cancel**: cancel any resources reserved in the first phrase. pub trait SwapAction { diff --git a/common/src/utils.rs b/common/src/utils.rs index 09984f982e..0b2a164116 100644 --- a/common/src/utils.rs +++ b/common/src/utils.rs @@ -84,9 +84,7 @@ pub fn linspace(a: Fixed, b: Fixed, n: usize, endpoints: IntervalEndpoints) -> V } match endpoints { IntervalEndpoints::None => linspace_inner(a, b, n), - IntervalEndpoints::Left => once(a) - .chain(linspace_inner(a, b, n - 1).into_iter()) - .collect(), + IntervalEndpoints::Left => once(a).chain(linspace_inner(a, b, n - 1)).collect(), IntervalEndpoints::Right => linspace_inner(a, b, n - 1) .into_iter() .chain(once(b)) @@ -96,7 +94,7 @@ pub fn linspace(a: Fixed, b: Fixed, n: usize, endpoints: IntervalEndpoints) -> V once(b).collect() } else { once(a) - .chain(linspace_inner(a, b, n - 2).into_iter()) + .chain(linspace_inner(a, b, n - 2)) .chain(once(b)) .collect() } @@ -350,6 +348,10 @@ pub const fn pow(base: u32, mut exp: u32) -> FixedInner { n } +pub fn parse_hex_string(s: &str) -> Option> { + s.strip_prefix("0x").and_then(|x| x.from_hex().ok()) +} + #[cfg(test)] mod tests { use fixnum::ops::{Bounded, CheckedMul}; @@ -605,7 +607,3 @@ mod tests { ); } } - -pub fn parse_hex_string(s: &str) -> Option> { - s.strip_prefix("0x").and_then(|x| x.from_hex().ok()) -} diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index 5f99e3c060..d4b6475832 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -54,3 +54,4 @@ wip = ["framenode-runtime/wip"] # wip = [] # ready-to-test = [] stage = ["framenode-runtime/stage"] +runtime-benchmarks = [] diff --git a/node/chain_spec/src/lib.rs b/node/chain_spec/src/lib.rs index 3931829dc9..6c096572c8 100644 --- a/node/chain_spec/src/lib.rs +++ b/node/chain_spec/src/lib.rs @@ -49,18 +49,17 @@ use framenode_runtime::multicollateral_bonding_curve_pool::{ DistributionAccount, DistributionAccountData, DistributionAccounts, }; use framenode_runtime::opaque::SessionKeys; -use framenode_runtime::RuntimeGenesisConfig; #[cfg(feature = "wip")] use framenode_runtime::BridgeOutboundChannelConfig; use framenode_runtime::{ assets, eth_bridge, frame_system, AccountId, AssetId, AssetName, AssetSymbol, AssetsConfig, BabeConfig, BalancesConfig, BeefyConfig, BeefyId, BridgeMultisigConfig, CouncilConfig, - DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GenesisConfig, - GetBaseAssetId, GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, - GetValAssetId, GetXorAssetId, GrandpaConfig, ImOnlineId, IrohaMigrationConfig, KensetsuConfig, - LiquiditySourceType, MulticollateralBondingCurvePoolConfig, PermissionsConfig, - PswapDistributionConfig, RewardsConfig, Runtime, SS58Prefix, SessionConfig, Signature, + DEXAPIConfig, DEXManagerConfig, DemocracyConfig, EthBridgeConfig, GetBaseAssetId, + GetParliamentAccountId, GetPswapAssetId, GetSyntheticBaseAssetId, GetValAssetId, GetXorAssetId, + GrandpaConfig, ImOnlineId, IrohaMigrationConfig, KensetsuConfig, LiquiditySourceType, + MulticollateralBondingCurvePoolConfig, PermissionsConfig, PswapDistributionConfig, + RewardsConfig, Runtime, RuntimeGenesisConfig, SS58Prefix, SessionConfig, Signature, StakerStatus, StakingConfig, SystemConfig, TechAccountId, TechnicalCommitteeConfig, TechnicalConfig, TokensConfig, TradingPair, TradingPairConfig, XSTPoolConfig, WASM_BINARY, }; @@ -898,7 +897,7 @@ fn testnet_genesis( council_accounts: Vec, technical_committee_accounts: Vec, validator_count: u32, -) -> GenesisConfig { +) -> RuntimeGenesisConfig { use common::XSTUSD; // Initial balances let initial_staking = balance!(1000000000); diff --git a/node/src/command.rs b/node/src/command.rs index f2a801e199..7fbb8bf75a 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -17,6 +17,7 @@ use crate::cli::{Cli, Subcommand}; use crate::service; +#[allow(unused_imports)] use sc_cli::{ChainSpec, RuntimeVersion, SubstrateCli}; use sc_executor::sp_wasm_interface::ExtendedHostFunctions; use sc_executor::NativeExecutionDispatch; diff --git a/node/src/data_feed_metrics.rs b/node/src/data_feed_metrics.rs index a4386c1a20..16fcf42a88 100644 --- a/node/src/data_feed_metrics.rs +++ b/node/src/data_feed_metrics.rs @@ -1,7 +1,4 @@ -use framenode_runtime::{ - opaque::{Block, BlockId}, - ResolveTime, Symbol, -}; +use framenode_runtime::{opaque::Block, ResolveTime, Symbol}; use oracle_proxy_rpc::OracleProxyRuntimeApi; use prometheus_endpoint::{register, Gauge, Opts, PrometheusError, Registry, U64}; use sp_api::ProvideRuntimeApi; diff --git a/node/src/fork_off.rs b/node/src/fork_off.rs index 37360ab687..c9769a6873 100644 --- a/node/src/fork_off.rs +++ b/node/src/fork_off.rs @@ -28,15 +28,16 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use std::io::Write; - -use frame_remote_externalities::{ - Builder, Mode, OfflineConfig, OnlineConfig, RemoteExternalities, SnapshotConfig, Transport, -}; +// use std::io::Write; +// +// use frame_remote_externalities::{ +// Builder, Mode, OfflineConfig, OnlineConfig, RemoteExternalities, SnapshotConfig, Transport, +// }; use sc_cli::CliConfiguration; use sc_service::Configuration; -use sp_core::bytes::to_hex; +// use sp_core::bytes::to_hex; +#[allow(dead_code)] const SKIPPED_PALLETS: [&str; 7] = [ "System", "Session", @@ -47,6 +48,7 @@ const SKIPPED_PALLETS: [&str; 7] = [ "Sudo", ]; +#[allow(dead_code)] const INCLUDED_PREFIXES: [(&str, &str); 1] = [("System", "Accounts")]; #[derive(Debug, Clone, clap::Parser)] @@ -69,6 +71,7 @@ pub struct ForkOffCmd { raw: bool, } +#[allow(dead_code)] fn get_storage_prefix(pallet: &str, storage: &str) -> Vec { [ sp_core::twox_128(pallet.as_bytes()), @@ -77,11 +80,13 @@ fn get_storage_prefix(pallet: &str, storage: &str) -> Vec { .concat() } +#[allow(dead_code)] fn get_pallet_prefix(pallet: &str) -> Vec { sp_core::twox_128(pallet.as_bytes()).to_vec() } impl ForkOffCmd { + #[allow(warnings)] pub async fn run(&self, mut cfg: Configuration) -> Result<(), sc_cli::Error> { // let transport: Transport = self.url.clone().into(); // let maybe_state_snapshot: Option = self.snapshot.clone().map(|s| s.into()); diff --git a/node/src/rpc.rs b/node/src/rpc.rs index bfc1f7016f..9f9e809251 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -45,7 +45,6 @@ use sp_api::ProvideRuntimeApi; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_consensus::SelectChain; -use sp_core::H256 as Hash; use sp_keystore::KeystorePtr; use std::sync::Arc; @@ -116,6 +115,7 @@ pub fn add_stage_rpc( Ok(rpc) } +#[allow(unused_variables)] // chain_spec /// Instantiate full RPC extensions. pub fn create_full( deps: FullDeps, @@ -247,7 +247,6 @@ where keystore, babe_worker_handle, } = babe; - let properties = chain_spec.properties(); io.merge( Mmr::new( diff --git a/node/src/service.rs b/node/src/service.rs index b90fcba235..f41c0671d4 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -370,7 +370,7 @@ pub fn new_partial( let rpc_setup = shared_voter_state.clone(); let rpc_extensions_builder = { - let (_, grandpa_link, _, _) = &import_setup; + // let (_, grandpa_link, _, _) = &import_setup; let client = client.clone(); let pool = transaction_pool.clone(); let backend = backend.clone(); diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 6833ffe4d1..ad4a67e71a 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -297,6 +297,7 @@ impl PriceToolsProvider for MockPriceTools { false } + #[allow(unused)] fn get_average_price( input_asset_id: &AssetId, output_asset_id: &AssetId, diff --git a/pallets/assets/rpc/src/lib.rs b/pallets/assets/rpc/src/lib.rs index d7b7401d53..84af7bcf9d 100644 --- a/pallets/assets/rpc/src/lib.rs +++ b/pallets/assets/rpc/src/lib.rs @@ -37,7 +37,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::{Block as BlockT, MaybeDisplay, MaybeFromStr}; use std::sync::Arc; diff --git a/pallets/band/src/mock.rs b/pallets/band/src/mock.rs index 652eecef13..cb19eeda13 100644 --- a/pallets/band/src/mock.rs +++ b/pallets/band/src/mock.rs @@ -31,7 +31,6 @@ use crate::{self as band, Config}; use common::Balance; use frame_support::{parameter_types, traits::ConstU16}; -use frame_system; use sp_core::H256; use sp_runtime::{ traits::{BlakeTwo256, IdentityLookup}, diff --git a/pallets/bridge-proxy/rpc/Cargo.toml b/pallets/bridge-proxy/rpc/Cargo.toml index 4d04c49f2a..eed3939f37 100644 --- a/pallets/bridge-proxy/rpc/Cargo.toml +++ b/pallets/bridge-proxy/rpc/Cargo.toml @@ -23,3 +23,6 @@ sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polka bridge-proxy-runtime-api = { path = "../runtime-api" } bridge-types = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0" } + +[features] +std = [] diff --git a/pallets/bridge-proxy/rpc/src/lib.rs b/pallets/bridge-proxy/rpc/src/lib.rs index d6b49d60ff..a296e43ed9 100644 --- a/pallets/bridge-proxy/rpc/src/lib.rs +++ b/pallets/bridge-proxy/rpc/src/lib.rs @@ -42,7 +42,6 @@ use jsonrpsee::{ use serde::{Deserialize, Serialize}; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::Block as BlockT; use std::sync::Arc; diff --git a/pallets/bridge-proxy/src/mock.rs b/pallets/bridge-proxy/src/mock.rs index 91243068c3..f948768301 100644 --- a/pallets/bridge-proxy/src/mock.rs +++ b/pallets/bridge-proxy/src/mock.rs @@ -149,6 +149,8 @@ parameter_types! { pub const MaxMessagesPerCommit: u32 = 3; pub const Decimals: u32 = 12; } + +#[allow(dead_code)] pub struct FeeConverter; impl Convert for FeeConverter { fn convert(amount: U256) -> Balance { diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index 1b14348b4b..3f3d17f522 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -4,14 +4,14 @@ use crate::{Config, *}; #[cfg(test)] use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::{ - fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, - mock_permissions_config, mock_technical_config, mock_tokens_config, Amount, DEXId, DEXInfo, - Fixed, PSWAP, TBCD, VAL, XST, + fixed, hash, mock_common_config, mock_currencies_config, mock_frame_system_config, + mock_pallet_balances_config, mock_pallet_timestamp_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, Amount, DEXId, DEXInfo, Fixed, PSWAP, TBCD, VAL, + XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -19,7 +19,6 @@ use common::prelude::Balance; use frame_system::pallet_prelude::BlockNumberFor; use permissions::{Scope, BURN, MANAGE_DEX, MINT}; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{AccountId32, BuildStorage, Percent}; @@ -28,7 +27,6 @@ pub type TechAssetId = common::TechAssetId; pub type AccountId = AccountId32; pub type BlockNumber = u64; type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; @@ -46,7 +44,6 @@ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_permissions_config!(Runtime); -// mock_assets_config!(Runtime); parameter_types! { pub const BlockHashCount: u64 = 250; diff --git a/pallets/ceres-token-locker/src/mock.rs b/pallets/ceres-token-locker/src/mock.rs index 0c81c4aab2..b08a880c55 100644 --- a/pallets/ceres-token-locker/src/mock.rs +++ b/pallets/ceres-token-locker/src/mock.rs @@ -8,7 +8,7 @@ use common::{ AssetSymbol, BalancePrecision, ContentSource, Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{BuildGenesisConfig, Everything, Hooks}; +use frame_support::traits::{Everything, Hooks}; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; diff --git a/pallets/demeter-farming-platform/benchmarking/src/mock.rs b/pallets/demeter-farming-platform/benchmarking/src/mock.rs index 0795617430..d0ee549929 100644 --- a/pallets/demeter-farming-platform/benchmarking/src/mock.rs +++ b/pallets/demeter-farming-platform/benchmarking/src/mock.rs @@ -3,7 +3,6 @@ use crate::*; use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}; use common::prelude::Balance; -pub use common::TechAssetId as Tas; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, @@ -11,7 +10,7 @@ use common::{ XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -19,7 +18,6 @@ use frame_system::pallet_prelude::BlockNumberFor; use permissions::{Scope, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; @@ -30,7 +28,6 @@ pub type Amount = i128; pub type AssetId = common::AssetId32; pub type TechAssetId = common::TechAssetId; pub type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { diff --git a/pallets/dex-api/rpc/src/lib.rs b/pallets/dex-api/rpc/src/lib.rs index e7f57c4d7a..7ec8a799bf 100644 --- a/pallets/dex-api/rpc/src/lib.rs +++ b/pallets/dex-api/rpc/src/lib.rs @@ -40,7 +40,6 @@ use jsonrpsee::{ }; use sp_api::{ApiExt, ProvideRuntimeApi}; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::{Block as BlockT, MaybeDisplay, MaybeFromStr, Zero}; use std::sync::Arc; diff --git a/pallets/dex-manager/rpc/src/lib.rs b/pallets/dex-manager/rpc/src/lib.rs index 60a3af07ab..32cee6b147 100644 --- a/pallets/dex-manager/rpc/src/lib.rs +++ b/pallets/dex-manager/rpc/src/lib.rs @@ -36,7 +36,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::Block as BlockT; use sp_std::vec::Vec; use std::sync::Arc; diff --git a/pallets/dex-manager/src/migrations/tests.rs b/pallets/dex-manager/src/migrations/tests.rs index cc0d84e3dc..83c3aad37a 100644 --- a/pallets/dex-manager/src/migrations/tests.rs +++ b/pallets/dex-manager/src/migrations/tests.rs @@ -30,6 +30,7 @@ use super::XST; use crate::{mock::*, pallet::Pallet, DEXInfos}; +#[allow(unused_imports)] use frame_support::traits::{GetStorageVersion as _, StorageVersion}; #[test] diff --git a/pallets/dex-manager/src/tests.rs b/pallets/dex-manager/src/tests.rs index 31c9035c95..b4b1c5442a 100644 --- a/pallets/dex-manager/src/tests.rs +++ b/pallets/dex-manager/src/tests.rs @@ -31,6 +31,7 @@ use crate::mock::*; use crate::{Error, Pallet}; use common::prelude::DEXInfo; +#[allow(unused_imports)] use common::{hash, DexInfoProvider, EnsureDEXManager, ManagementMode, VAL, XOR, XST}; use frame_support::assert_noop; use frame_support::assert_ok; diff --git a/pallets/eth-bridge/rpc/src/lib.rs b/pallets/eth-bridge/rpc/src/lib.rs index eba9fabe68..00c8633721 100644 --- a/pallets/eth-bridge/rpc/src/lib.rs +++ b/pallets/eth-bridge/rpc/src/lib.rs @@ -40,7 +40,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::Block as BlockT; use sp_runtime::DispatchError; use sp_std::vec::Vec; diff --git a/pallets/eth-bridge/src/tests/mock.rs b/pallets/eth-bridge/src/tests/mock.rs index 8d9e80cac0..82d4d0b04b 100644 --- a/pallets/eth-bridge/src/tests/mock.rs +++ b/pallets/eth-bridge/src/tests/mock.rs @@ -265,6 +265,7 @@ parameter_types! { pub const SchedulerMaxWeight: Weight = Weight::from_parts(1024, 0); } +#[allow(dead_code)] pub struct RemoveTemporaryPeerAccountId; impl Get> for RemoveTemporaryPeerAccountId { fn get() -> Vec<(AccountId, H160)> { diff --git a/pallets/eth-bridge/src/tests/outgoing_tranfser.rs b/pallets/eth-bridge/src/tests/outgoing_tranfser.rs index 0016270747..1095c64ffc 100644 --- a/pallets/eth-bridge/src/tests/outgoing_tranfser.rs +++ b/pallets/eth-bridge/src/tests/outgoing_tranfser.rs @@ -29,15 +29,14 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use super::mock::*; -use super::Error; use crate::requests::{OffchainRequest, OutgoingRequest, OutgoingTransfer}; use crate::tests::{ approve_last_request, last_outgoing_request, last_request, Assets, ETH_NETWORK_ID, }; use crate::{AssetConfig, EthAddress}; use common::{AssetInfoProvider, DEFAULT_BALANCE_PRECISION, KSM, PSWAP, USDT, XOR}; +use frame_support::assert_ok; use frame_support::sp_runtime::app_crypto::sp_core::{self, sr25519}; -use frame_support::{assert_err, assert_ok}; use hex_literal::hex; use sp_core::H160; use sp_std::prelude::*; @@ -163,7 +162,7 @@ fn should_not_transfer() { ext.execute_with(|| { let net_id = ETH_NETWORK_ID; let alice = get_account_id_from_seed::("Alice"); - assert_err!( + frame_support::assert_err!( EthBridge::transfer_to_sidechain( RuntimeOrigin::signed(alice.clone()), KSM.into(), @@ -171,7 +170,7 @@ fn should_not_transfer() { 100_u32.into(), net_id, ), - Error::UnsupportedToken + super::Error::UnsupportedToken ); assert!(EthBridge::transfer_to_sidechain( RuntimeOrigin::signed(alice.clone()), diff --git a/pallets/eth-bridge/src/types/uint.rs b/pallets/eth-bridge/src/types/uint.rs index b39deaceea..f549bc32c7 100644 --- a/pallets/eth-bridge/src/types/uint.rs +++ b/pallets/eth-bridge/src/types/uint.rs @@ -28,6 +28,7 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#[allow(unused_imports)] pub use ethereum_types::{ BigEndianHash, Bloom as H2048, H128, H160, H256, H512, H520, H64, U128, U256, U64, }; diff --git a/pallets/extended-assets/src/lib.rs b/pallets/extended-assets/src/lib.rs index 62ec314622..1740d00206 100644 --- a/pallets/extended-assets/src/lib.rs +++ b/pallets/extended-assets/src/lib.rs @@ -37,7 +37,6 @@ #![allow(clippy::type_complexity)] #![allow(clippy::too_many_arguments)] -#[cfg(feature = "runtime-benchmarks")] mod benchmarking; #[cfg(test)] @@ -116,7 +115,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(PhantomData); diff --git a/pallets/extended-assets/src/mock.rs b/pallets/extended-assets/src/mock.rs index 94078000cd..49589f45f9 100644 --- a/pallets/extended-assets/src/mock.rs +++ b/pallets/extended-assets/src/mock.rs @@ -41,7 +41,6 @@ use frame_support::traits::Everything; use frame_support::{construct_runtime, parameter_types}; use hex_literal::hex; use sp_core::{ConstU32, H256}; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::traits::{IdentifyAccount, Verify}; @@ -108,10 +107,7 @@ impl extended_assets::Config for TestRuntime { } construct_runtime! { - pub enum TestRuntime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum TestRuntime { System: frame_system::{Pallet, Call, Storage, Event}, diff --git a/pallets/farming/rpc/src/lib.rs b/pallets/farming/rpc/src/lib.rs index ca4d8404fe..0e79c1bce5 100644 --- a/pallets/farming/rpc/src/lib.rs +++ b/pallets/farming/rpc/src/lib.rs @@ -37,7 +37,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; #[rpc(client, server)] diff --git a/pallets/farming/src/utils.rs b/pallets/farming/src/utils.rs index b13fb719a5..dffffcd1dc 100644 --- a/pallets/farming/src/utils.rs +++ b/pallets/farming/src/utils.rs @@ -3,6 +3,7 @@ use hex_literal::hex; use crate::Config; +#[allow(dead_code)] pub fn account(shift: u32) -> T::AccountId { let mut bytes = hex!("d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"); for _ in 0..shift { diff --git a/pallets/iroha-migration/rpc/src/lib.rs b/pallets/iroha-migration/rpc/src/lib.rs index 0fdbf15bc6..8a80f3e35d 100644 --- a/pallets/iroha-migration/rpc/src/lib.rs +++ b/pallets/iroha-migration/rpc/src/lib.rs @@ -35,7 +35,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::Block as BlockT; use std::sync::Arc; diff --git a/pallets/kensetsu/src/compounding.rs b/pallets/kensetsu/src/compounding.rs index 3619a5badb..3fa4d15cc1 100644 --- a/pallets/kensetsu/src/compounding.rs +++ b/pallets/kensetsu/src/compounding.rs @@ -41,9 +41,9 @@ use common::balance; /// `A = P * (1 + period_rate) ^ period`, where: /// - principal - (P) - initial balance /// - rate_per_second - (period_rate) - rate per second, where -/// rate_secondly = (1 + rate_annual)^(1/seconds_per_year) - 1 +/// rate_secondly = (1 + rate_annual)^(1/seconds_per_year) - 1 /// - period - time passed in seconds -/// Returns (A) - the new balance with interest over time +/// Returns (A) - the new balance with interest over time pub fn compound( principal: Balance, rate_per_second: FixedU128, diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index 7034279914..541fcca6dd 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -103,7 +103,6 @@ pub mod v1_to_v2 { use frame_support::weights::Weight; use log::error; use permissions::{Scope, BURN, MINT}; - use sp_arithmetic::traits::Zero; use sp_core::Get; mod v1 { diff --git a/pallets/kensetsu/src/mock.rs b/pallets/kensetsu/src/mock.rs index 2aa6bf0105..9cdb13fad7 100644 --- a/pallets/kensetsu/src/mock.rs +++ b/pallets/kensetsu/src/mock.rs @@ -29,7 +29,6 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate as kensetsu; -use crate::test_utils::alice_account_id; use std::collections::BTreeSet; use common::mock::ExistentialDeposits; @@ -46,14 +45,14 @@ use common::{ use currencies::BasicCurrencyAdapter; use frame_support::dispatch::DispatchResult; use frame_support::parameter_types; -use frame_support::traits::{ConstU64, Everything, GenesisBuild, Randomness}; +use frame_support::traits::{ConstU64, Everything, Randomness}; use frame_system::offchain::SendTransactionTypes; use permissions::Scope; use sp_arithmetic::Percent; use sp_core::crypto::AccountId32; use sp_core::{ConstU32, H256}; use sp_runtime::{ - testing::{Header, TestXt}, + testing::TestXt, traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}, }; use sp_runtime::{BuildStorage, DispatchError, MultiSignature}; @@ -68,7 +67,6 @@ type Moment = u64; type Signature = MultiSignature; type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; pub struct MockRandomness; diff --git a/pallets/kensetsu/src/tests.rs b/pallets/kensetsu/src/tests.rs index 04a2105a33..6da50d102a 100644 --- a/pallets/kensetsu/src/tests.rs +++ b/pallets/kensetsu/src/tests.rs @@ -1707,6 +1707,7 @@ fn test_liquidate_kusd_amount_eq_cdp_debt_and_penalty() { /// Liquidation results with revenue KUSD amount where /// - revenue KUSD amount > cdp.debt /// - revenue KUSD amount < cdp.debt + liquidation penalty +/// /// CDP debt is repaid, corresponding amount of collateral is sold /// Liquidation penalty is a protocol profit /// CDP has outstanding debt diff --git a/pallets/liquidity-proxy/benchmarking/src/mock.rs b/pallets/liquidity-proxy/benchmarking/src/mock.rs index 7040c22556..ded3c9119f 100644 --- a/pallets/liquidity-proxy/benchmarking/src/mock.rs +++ b/pallets/liquidity-proxy/benchmarking/src/mock.rs @@ -46,7 +46,7 @@ use common::{ use currencies::BasicCurrencyAdapter; use hex_literal::hex; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::{construct_runtime, parameter_types}; use frame_system::{pallet_prelude::BlockNumberFor, EnsureRoot}; use multicollateral_bonding_curve_pool::{ @@ -54,7 +54,6 @@ use multicollateral_bonding_curve_pool::{ }; use permissions::{Scope, BURN, MANAGE_DEX, MINT}; use sp_core::{ConstU32, H256}; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{AccountId32, BuildStorage, DispatchError, DispatchResult, Percent, Permill}; @@ -63,7 +62,6 @@ pub type TechAssetId = common::TechAssetId; pub type AccountId = AccountId32; pub type BlockNumber = u64; type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { diff --git a/pallets/liquidity-proxy/rpc/src/lib.rs b/pallets/liquidity-proxy/rpc/src/lib.rs index c7e8cc85bd..1c4362efac 100644 --- a/pallets/liquidity-proxy/rpc/src/lib.rs +++ b/pallets/liquidity-proxy/rpc/src/lib.rs @@ -40,7 +40,6 @@ use jsonrpsee::{ }; use sp_api::{ApiExt, ProvideRuntimeApi}; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::{Block as BlockT, MaybeDisplay, MaybeFromStr, Zero}; use std::sync::Arc; diff --git a/pallets/liquidity-proxy/src/mock.rs b/pallets/liquidity-proxy/src/mock.rs index ae0343f980..2607cef2b6 100644 --- a/pallets/liquidity-proxy/src/mock.rs +++ b/pallets/liquidity-proxy/src/mock.rs @@ -41,7 +41,7 @@ use common::{ }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, ensure, fail, parameter_types}; use frame_system; @@ -52,7 +52,6 @@ use core::marker::PhantomData; use frame_system::{pallet_prelude::BlockNumberFor, EnsureRoot}; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::{ConstU32, H256}; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{AccountId32, BuildStorage, DispatchError, Perbill, Percent, Permill}; use sp_std::str::FromStr; @@ -65,7 +64,6 @@ type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; pub type AssetId = AssetId32; type ReservesInit = Vec<(DEXId, AssetId, (Fixed, Fixed))>; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { @@ -138,10 +136,7 @@ parameter_types! { } construct_runtime! { - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Runtime { System: frame_system::{Pallet, Call, Config, Storage, Event}, LiquidityProxy: liquidity_proxy::{Pallet, Call, Event}, diff --git a/pallets/mock-liquidity-source/src/mock.rs b/pallets/mock-liquidity-source/src/mock.rs index 36f7cfd041..bf6611605e 100644 --- a/pallets/mock-liquidity-source/src/mock.rs +++ b/pallets/mock-liquidity-source/src/mock.rs @@ -38,11 +38,10 @@ use common::{ }; use currencies::BasicCurrencyAdapter; use frame_support::sp_runtime::AccountId32; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill}; @@ -51,13 +50,8 @@ pub type BlockNumber = u64; type AssetId = AssetId32; type TechAssetId = common::TechAssetId; type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; -pub fn alice() -> AccountId { - AccountId32::from([1u8; 32]) -} - pub const DEX_A_ID: DEXId = DEXId::Polkaswap; pub const DEX_B_ID: DEXId = DEXId::PolkaswapXSTUSD; diff --git a/pallets/mock-liquidity-source/src/tests.rs b/pallets/mock-liquidity-source/src/tests.rs index a3978a2304..3a0bb1ca03 100644 --- a/pallets/mock-liquidity-source/src/tests.rs +++ b/pallets/mock-liquidity-source/src/tests.rs @@ -29,6 +29,7 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use crate::mock::*; +use common::mock::alice; use common::prelude::*; use common::{balance, fixed}; diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs index 683d1a10ad..f11d7de859 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v1.rs @@ -4,6 +4,7 @@ use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; use log::{error, info}; +#[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs index 7b9fe75ebb..2a74256e98 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v2.rs @@ -9,6 +9,7 @@ use frame_support::traits::OnRuntimeUpgrade; use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; use log::{error, info}; use sp_runtime::traits::Zero; +#[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; #[cfg(feature = "try-runtime")] diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs index 19c53215fb..233b0df4c9 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v3.rs @@ -7,6 +7,7 @@ use frame_support::traits::Get; use frame_support::traits::OnRuntimeUpgrade; use frame_support::{pallet_prelude::StorageVersion, traits::GetStorageVersion as _}; use log::{error, info}; +#[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; #[cfg(feature = "try-runtime")] diff --git a/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs b/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs index 61f748d3da..82ffb6f21d 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/migrations/v4.rs @@ -8,6 +8,7 @@ use frame_support::traits::OnRuntimeUpgrade; use frame_system::pallet_prelude::BlockNumberFor; use log::{error, info}; use sp_runtime::traits::One; +#[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; use sp_std::collections::btree_map::BTreeMap; use sp_std::prelude::Vec; diff --git a/pallets/multicollateral-bonding-curve-pool/src/mock.rs b/pallets/multicollateral-bonding-curve-pool/src/mock.rs index 2fe328a76d..75decafa8b 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/mock.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/mock.rs @@ -44,7 +44,7 @@ use common::{ }; use currencies::BasicCurrencyAdapter; use frame_support::pallet_prelude::OptionQuery; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types, Blake2_128Concat}; use frame_system::pallet_prelude::BlockNumberFor; @@ -53,7 +53,6 @@ use orml_traits::MultiCurrency; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, DispatchError, DispatchResult, Perbill, Percent}; use std::collections::HashMap; @@ -66,7 +65,6 @@ pub type ReservesAccount = mock_liquidity_source::ReservesAcc; pub type AssetId = AssetId32; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { diff --git a/pallets/multicollateral-bonding-curve-pool/src/tests.rs b/pallets/multicollateral-bonding-curve-pool/src/tests.rs index 6361580d69..81232b77be 100644 --- a/pallets/multicollateral-bonding-curve-pool/src/tests.rs +++ b/pallets/multicollateral-bonding-curve-pool/src/tests.rs @@ -28,6 +28,8 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#![allow(non_snake_case)] + mod tests { use crate::{ mock::*, DistributionAccount, DistributionAccountData, DistributionAccounts, Error, Pallet, @@ -50,7 +52,6 @@ mod tests { GetStorageVersion, OnFinalize, OnInitialize, OnRuntimeUpgrade, StorageVersion, }; use sp_arithmetic::traits::Zero; - use sp_runtime::traits::Saturating; use sp_runtime::DispatchError; use sp_std::collections::vec_deque::VecDeque; diff --git a/pallets/oracle-proxy/rpc/src/lib.rs b/pallets/oracle-proxy/rpc/src/lib.rs index 0c371f0e8a..500a870692 100644 --- a/pallets/oracle-proxy/rpc/src/lib.rs +++ b/pallets/oracle-proxy/rpc/src/lib.rs @@ -36,7 +36,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::Block as BlockT; use sp_runtime::DispatchError; use std::sync::Arc; diff --git a/pallets/oracle-proxy/src/mock.rs b/pallets/oracle-proxy/src/mock.rs index ead0a59420..56a2b6607a 100644 --- a/pallets/oracle-proxy/src/mock.rs +++ b/pallets/oracle-proxy/src/mock.rs @@ -34,21 +34,18 @@ use frame_support::traits::{ConstU16, ConstU64}; use frame_system as system; use sp_core::H256; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, BuildStorage, }; +#[allow(dead_code)] type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; // Configure a mock runtime to test the pallet. frame_support::construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Runtime { System: frame_system, Band: band, diff --git a/pallets/order-book/benchmarking/src/lib.rs b/pallets/order-book/benchmarking/src/lib.rs index 7652f40d2f..add6855d58 100644 --- a/pallets/order-book/benchmarking/src/lib.rs +++ b/pallets/order-book/benchmarking/src/lib.rs @@ -128,9 +128,6 @@ pub fn assert_orders_numbers( } } -#[cfg(not(test))] -pub use benchmarks_inner::*; - // Separate module in order to disable tests (they do not work with current approach: using // runtime) #[cfg(not(test))] diff --git a/pallets/order-book/benchmarking/src/periphery/mod.rs b/pallets/order-book/benchmarking/src/periphery/mod.rs index 2242e33920..0355c59dc9 100644 --- a/pallets/order-book/benchmarking/src/periphery/mod.rs +++ b/pallets/order-book/benchmarking/src/periphery/mod.rs @@ -33,6 +33,8 @@ //! //! Separated for each benchmark. +#![allow(dead_code)] // fields never read warning + // TODO: rename to `order_book` after upgrading to nightly-2023-07-01+ #[cfg(test)] use framenode_runtime::order_book as order_book_imported; diff --git a/pallets/order-book/benchmarking/src/periphery/preparation.rs b/pallets/order-book/benchmarking/src/periphery/preparation.rs index 36d5b3a517..9a0b873431 100644 --- a/pallets/order-book/benchmarking/src/periphery/preparation.rs +++ b/pallets/order-book/benchmarking/src/periphery/preparation.rs @@ -496,7 +496,7 @@ pub fn quote( /// - `amount_variant` - setting for the amount of the market order. /// - `fill_settings` - settings for the benchmark; should be within storage constraints. /// - `author` - the account from which the order is going to be executed. It should not be from -/// `test_utils::generate_account`. +/// `test_utils::generate_account`. /// - `is_divisible` - controls the divisibility of order book base asset. /// /// Returns parameters necessary for the order execution. `OrderVolume` is in base asset. diff --git a/pallets/order-book/src/scheduler.rs b/pallets/order-book/src/scheduler.rs index 81195d68db..99ce382d6f 100644 --- a/pallets/order-book/src/scheduler.rs +++ b/pallets/order-book/src/scheduler.rs @@ -120,7 +120,10 @@ impl Pallet { block: BlockNumberFor, weight: &mut WeightMeter, ) -> bool { - if !weight.check_accrue(::WeightInfo::service_expiration_block_base()) { + if weight + .try_consume(::WeightInfo::service_expiration_block_base()) + .is_err() + { return false; } @@ -185,7 +188,10 @@ impl > for Pallet { fn service_expiration(current_block: BlockNumberFor, weight: &mut WeightMeter) { - if !weight.check_accrue(::WeightInfo::service_expiration_base()) { + if weight + .try_consume(::WeightInfo::service_expiration_base()) + .is_err() + { return; } @@ -194,7 +200,7 @@ impl let service_block_base_weight = ::WeightInfo::service_expiration_block_base(); let mut data_layer = CacheDataLayer::::new(); - while when <= current_block && weight.can_accrue(service_block_base_weight) { + while when <= current_block && weight.can_consume(service_block_base_weight) { if !Self::service_expiration_block(&mut data_layer, when, weight) { incomplete_since = incomplete_since.min(when); } @@ -240,7 +246,7 @@ impl impl AlignmentScheduler for Pallet { fn service_alignment(weight: &mut WeightMeter) { // return if it cannot align even 1 limit order - if !weight.can_accrue(::WeightInfo::align_single_order()) { + if !weight.can_consume(::WeightInfo::align_single_order()) { return; } @@ -251,7 +257,7 @@ impl AlignmentScheduler for Pallet { for (order_book_id, cursor) in >::iter() { // break if it cannot align even 1 limit order for the order-book - if !weight.can_accrue(::WeightInfo::align_single_order()) { + if !weight.can_consume(::WeightInfo::align_single_order()) { break; } @@ -284,7 +290,7 @@ impl AlignmentScheduler for Pallet { continue; }; - weight.defensive_saturating_accrue( + weight.consume( ::WeightInfo::align_single_order() .saturating_mul(limit_orders.len() as u64), ); diff --git a/pallets/permissions/src/mock.rs b/pallets/permissions/src/mock.rs index 0e756a5660..bc5b0644dc 100644 --- a/pallets/permissions/src/mock.rs +++ b/pallets/permissions/src/mock.rs @@ -28,20 +28,17 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use crate::{self as permissions, Config, Scope, BURN, INIT_DEX, MINT, SLASH}; +use crate::{self as permissions, Scope, BURN, INIT_DEX, MINT, SLASH}; +use common::mock_pallet_balances_config; use common::prelude::Balance; -use common::{mock_frame_system_config, mock_pallet_balances_config}; -use frame_support::traits::GenesisBuild; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill}; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { diff --git a/pallets/pool-xyk/benchmarking/src/mock.rs b/pallets/pool-xyk/benchmarking/src/mock.rs index 7263921cd3..4206c551e4 100644 --- a/pallets/pool-xyk/benchmarking/src/mock.rs +++ b/pallets/pool-xyk/benchmarking/src/mock.rs @@ -39,7 +39,7 @@ use common::{ }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -47,7 +47,6 @@ use common::prelude::Balance; use frame_system::pallet_prelude::BlockNumberFor; use permissions::{Scope, BURN, MANAGE_DEX, MINT}; use sp_core::{ConstU32, H256}; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{AccountId32, BuildStorage, Percent}; @@ -56,7 +55,6 @@ pub type TechAssetId = common::TechAssetId; pub type AccountId = AccountId32; pub type BlockNumber = u64; type TechAccountId = common::TechAccountId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { diff --git a/pallets/pool-xyk/src/migrations/v3.rs b/pallets/pool-xyk/src/migrations/v3.rs index 7f7c2e2630..c1c6e02c69 100644 --- a/pallets/pool-xyk/src/migrations/v3.rs +++ b/pallets/pool-xyk/src/migrations/v3.rs @@ -35,7 +35,9 @@ use frame_support::pallet_prelude::{Get, StorageVersion}; use frame_support::traits::OnRuntimeUpgrade; use frame_support::weights::WeightMeter; use log::{error, info}; -use sp_runtime::{DispatchResult, TryRuntimeError}; +use sp_runtime::DispatchResult; +#[cfg(feature = "try-runtime")] +use sp_runtime::TryRuntimeError; use sp_std::prelude::Vec; use crate::{PoolProviders, Properties, Reserves, TotalIssuances, WeightInfo}; @@ -60,7 +62,7 @@ where dex_id: T::DEXId, lp_tokens: u128, ) -> DispatchResult { - weight_meter.check_accrue( + let _ = weight_meter.try_consume( T::DbWeight::get() .reads_writes(2, 2) .saturating_add(::WeightInfo::withdraw_liquidity()), @@ -110,7 +112,7 @@ where target_asset: AssetIdOf, pool_account: T::AccountId, ) -> DispatchResult { - weight_meter.check_accrue(T::DbWeight::get().reads_writes(4, 8)); + let _ = weight_meter.try_consume(T::DbWeight::get().reads_writes(4, 8)); let (_, tech_acc_id) = Pallet::::tech_account_from_dex_and_asset_pair(dex_id, base_asset, target_asset)?; @@ -137,7 +139,7 @@ where } pub fn migrate(weight_meter: &mut WeightMeter) -> DispatchResult { - weight_meter.check_accrue(T::DbWeight::get().reads(1)); + let _ = weight_meter.try_consume(T::DbWeight::get().reads(1)); if StorageVersion::get::>() >= StorageVersion::new(3) { info!("Migration to version 3 has already been applied"); return Ok(()); @@ -148,7 +150,7 @@ where let swap_pairs_to_be_deleted: Vec<(AssetIdOf, AssetIdOf, T::DEXId)> = L::get(); for (base_asset, target_asset, dex_id) in swap_pairs_to_be_deleted { - weight_meter.check_accrue(T::DbWeight::get().reads(1)); + let _ = weight_meter.try_consume(T::DbWeight::get().reads(1)); let pool_account = if let Some(pool_property) = Properties::::get(&base_asset, &target_asset) { @@ -173,7 +175,7 @@ where let liquidity_holders: Vec<(T::AccountId, Balance)> = PoolProviders::::iter_prefix(&pool_account) .inspect(|_| { - weight_meter.check_accrue(T::DbWeight::get().reads(1)); + let _ = weight_meter.try_consume(T::DbWeight::get().reads(1)); }) .collect(); @@ -201,7 +203,7 @@ where Self::remove_pool(weight_meter, dex_id, base_asset, target_asset, pool_account)?; } - weight_meter.check_accrue(T::DbWeight::get().writes(1)); + let _ = weight_meter.try_consume(T::DbWeight::get().writes(1)); StorageVersion::new(3).put::>(); Ok(()) } diff --git a/pallets/pool-xyk/src/mock.rs b/pallets/pool-xyk/src/mock.rs index cc0d123b2f..ba3640afb2 100644 --- a/pallets/pool-xyk/src/mock.rs +++ b/pallets/pool-xyk/src/mock.rs @@ -37,7 +37,7 @@ use common::{ TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -46,15 +46,11 @@ use orml_traits::parameter_type_with_key; use permissions::{Scope, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::{ConstU32, H256}; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill, Percent}; use sp_std::collections::btree_set::BTreeSet; pub use common::mock::ComicAssetId::*; -pub use common::mock::*; -pub use common::TechAssetId as Tas; -pub use common::TechPurpose::*; use frame_system::pallet_prelude::BlockNumberFor; pub type DEXId = u32; @@ -65,7 +61,6 @@ pub type TechAssetId = common::TechAssetId; pub type AssetId = common::AssetId32; pub type TechAccountId = common::TechAccountId; pub type Moment = u64; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; parameter_types! { diff --git a/pallets/pool-xyk/src/utils.rs b/pallets/pool-xyk/src/utils.rs index 026357ac7e..17c07f0fa8 100644 --- a/pallets/pool-xyk/src/utils.rs +++ b/pallets/pool-xyk/src/utils.rs @@ -138,7 +138,7 @@ impl Pallet { pub fn ensure_trading_pair_is_not_restricted( tpair: &common::TradingPair>, ) -> Result<(), DispatchError> { - if >::get(tpair) { + if >::get(tpair) { Err(Error::::TargetAssetIsRestricted.into()) } else { Ok(()) @@ -231,8 +231,7 @@ impl Pallet { asset_b: &AssetIdOf, ) -> Result<(TradingPair>, Option>, bool), DispatchError> { ensure!(asset_a != asset_b, Error::::AssetsMustNotBeSame); - let chameleon_pools = - >::get(base_asset_id); + let chameleon_pools = >::get(base_asset_id); let ta = if base_asset_id == asset_a { asset_b } else if base_asset_id == asset_b { diff --git a/pallets/price-tools/src/mock.rs b/pallets/price-tools/src/mock.rs index 88e4217fe4..71ce3dc477 100644 --- a/pallets/price-tools/src/mock.rs +++ b/pallets/price-tools/src/mock.rs @@ -39,7 +39,7 @@ use common::{ ETH, PSWAP, TBCD, USDT, VAL, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -47,7 +47,6 @@ use hex_literal::hex; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, DispatchError, Perbill, Percent}; @@ -58,7 +57,6 @@ type TechAssetId = common::TechAssetId; pub type AssetId = AssetId32; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { diff --git a/pallets/pswap-distribution/benchmarking/src/mock.rs b/pallets/pswap-distribution/benchmarking/src/mock.rs index 653355b30c..fdda134a09 100644 --- a/pallets/pswap-distribution/benchmarking/src/mock.rs +++ b/pallets/pswap-distribution/benchmarking/src/mock.rs @@ -37,14 +37,13 @@ use common::{ Fixed, FromGenericPair, DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, XOR, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; use hex_literal::hex; use permissions::Scope; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{AccountId32, BuildStorage, Perbill, Percent}; use sp_std::vec; @@ -59,7 +58,6 @@ pub type AssetId = common::AssetId32; pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { diff --git a/pallets/pswap-distribution/rpc/src/lib.rs b/pallets/pswap-distribution/rpc/src/lib.rs index c735bc0d00..f14b7d6108 100644 --- a/pallets/pswap-distribution/rpc/src/lib.rs +++ b/pallets/pswap-distribution/rpc/src/lib.rs @@ -37,7 +37,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::{Block as BlockT, MaybeDisplay, MaybeFromStr}; use std::sync::Arc; diff --git a/pallets/pswap-distribution/src/migrations.rs b/pallets/pswap-distribution/src/migrations.rs index c072f9dda1..4918008333 100644 --- a/pallets/pswap-distribution/src/migrations.rs +++ b/pallets/pswap-distribution/src/migrations.rs @@ -36,6 +36,7 @@ pub mod v2 { use common::AccountIdOf; use frame_support::traits::StorageVersion; use log::info; + #[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; use sp_std::prelude::Vec; diff --git a/pallets/pswap-distribution/src/mock.rs b/pallets/pswap-distribution/src/mock.rs index 89ad5da0ec..5ce250d05a 100644 --- a/pallets/pswap-distribution/src/mock.rs +++ b/pallets/pswap-distribution/src/mock.rs @@ -38,7 +38,7 @@ use common::{ Fixed, FromGenericPair, DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; @@ -46,7 +46,6 @@ use frame_system::pallet_prelude::BlockNumberFor; use hex_literal::hex; use permissions::Scope; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{AccountId32, BuildStorage, Perbill, Percent}; @@ -57,7 +56,6 @@ pub type AssetId = common::AssetId32; pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId { diff --git a/pallets/qa-tools/src/lib.rs b/pallets/qa-tools/src/lib.rs index 6a74202415..98a6f8ef27 100644 --- a/pallets/qa-tools/src/lib.rs +++ b/pallets/qa-tools/src/lib.rs @@ -40,7 +40,6 @@ #![cfg_attr(not(feature = "std"), no_std)] #![allow(clippy::type_complexity)] #![allow(clippy::too_many_arguments)] -#![feature(is_some_and)] pub use pallet::*; pub use weights::WeightInfo; diff --git a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs index 1e1ce345fd..708673a1b6 100644 --- a/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs +++ b/pallets/qa-tools/src/pallet_tools/liquidity_proxy.rs @@ -50,7 +50,7 @@ pub mod liquidity_sources { /// /// Parameters: /// - `caller`: Some account to use during the initialization; assets are minted and extrinsics - /// are called with it. + /// are called with it. /// - `pairs`: Asset pairs to initialize. pub fn initialize_xyk( caller: T::AccountId, @@ -67,7 +67,7 @@ pub mod liquidity_sources { /// - `bids_owner`: Creator of the buy orders placed on the order books, /// - `asks_owner`: Creator of the sell orders placed on the order books, /// - `settings`: Parameters for creation of the order book and placing the orders in each - /// order book. + /// order book. pub fn create_and_fill_order_book_batch( bids_owner: T::AccountId, asks_owner: T::AccountId, diff --git a/pallets/referrals/src/mock.rs b/pallets/referrals/src/mock.rs index 98e18588f3..4d84924f66 100644 --- a/pallets/referrals/src/mock.rs +++ b/pallets/referrals/src/mock.rs @@ -37,12 +37,11 @@ use common::{ PredefinedAssetId, DEFAULT_BALANCE_PRECISION, VAL, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{self, BuildStorage, Perbill}; diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index ec58d40126..bc52a038e2 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -68,3 +68,5 @@ runtime-benchmarks = [ ] try-runtime = ["frame-support/try-runtime"] + +include-real-files = [] diff --git a/pallets/rewards/rpc/src/lib.rs b/pallets/rewards/rpc/src/lib.rs index e09eebc425..ce8d627198 100644 --- a/pallets/rewards/rpc/src/lib.rs +++ b/pallets/rewards/rpc/src/lib.rs @@ -37,7 +37,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::{Block as BlockT, MaybeDisplay, MaybeFromStr}; use std::sync::Arc; diff --git a/pallets/rewards/src/lib.rs b/pallets/rewards/src/lib.rs index 3bb8935533..d78f4c5197 100644 --- a/pallets/rewards/src/lib.rs +++ b/pallets/rewards/src/lib.rs @@ -49,8 +49,6 @@ use sp_runtime::DispatchError; use sp_runtime::{Perbill, Percent}; use sp_std::prelude::*; -#[cfg(feature = "std")] -use common::balance; use common::eth::EthAddress; use common::prelude::FixedWrapper; #[cfg(feature = "include-real-files")] diff --git a/pallets/rewards/src/mock.rs b/pallets/rewards/src/mock.rs index e4911a3e89..23c7edf87b 100644 --- a/pallets/rewards/src/mock.rs +++ b/pallets/rewards/src/mock.rs @@ -29,23 +29,22 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild, OnFinalize, OnInitialize}; +use frame_support::traits::{Everything, OnFinalize, OnInitialize}; use frame_support::weights::{RuntimeDbWeight, Weight}; use frame_support::{construct_runtime, parameter_types}; use hex_literal::hex; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; -use sp_runtime::traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}; -use sp_runtime::{BuildStorage, MultiSignature, Perbill, Percent}; +use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; +use sp_runtime::{BuildStorage, Perbill, Percent}; use common::mock::ExistentialDeposits; use common::prelude::{Balance, OnValBurned}; use common::{ self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, - mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, - TechPurpose, DEFAULT_BALANCE_PRECISION, PSWAP, VAL, XOR, XST, + mock_frame_system_config, mock_permissions_config, mock_technical_config, mock_tokens_config, + Amount, AssetId32, AssetName, AssetSymbol, TechPurpose, DEFAULT_BALANCE_PRECISION, PSWAP, VAL, + XOR, XST, }; use permissions::{Scope, BURN, MINT}; @@ -58,7 +57,6 @@ type BlockNumber = u64; type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; type AssetId = AssetId32; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub fn alice() -> AccountId32 { @@ -105,8 +103,6 @@ construct_runtime! { mock_technical_config!(Runtime); // Required by assets::Config mock_currencies_config!(Runtime); -// Required by currencies::Config -/* mock_pallet_balances_config!(Runtime); */ mock_frame_system_config!(Runtime); mock_common_config!(Runtime); mock_tokens_config!(Runtime); diff --git a/pallets/soratopia/src/lib.rs b/pallets/soratopia/src/lib.rs index 692ec39994..60bb7ce545 100644 --- a/pallets/soratopia/src/lib.rs +++ b/pallets/soratopia/src/lib.rs @@ -55,7 +55,6 @@ pub mod pallet { const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(PhantomData); diff --git a/pallets/soratopia/src/mock.rs b/pallets/soratopia/src/mock.rs index b8026157a0..32406132cb 100644 --- a/pallets/soratopia/src/mock.rs +++ b/pallets/soratopia/src/mock.rs @@ -46,7 +46,7 @@ use sp_core::crypto::AccountId32; use sp_core::H256; use sp_runtime::MultiSignature; use sp_runtime::{ - testing::{Header, TestXt}, + testing::TestXt, traits::{BlakeTwo256, IdentifyAccount, IdentityLookup, Verify}, BuildStorage, }; @@ -59,13 +59,9 @@ type BlockNumber = u64; type Signature = MultiSignature; type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; frame_support::construct_runtime!( - pub enum TestRuntime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum TestRuntime { System: frame_system::{Pallet, Call, Storage, Event}, Assets: assets::{Pallet, Call, Storage, Config, Event}, diff --git a/pallets/technical/src/mock.rs b/pallets/technical/src/mock.rs index 6912574199..dcddca8951 100644 --- a/pallets/technical/src/mock.rs +++ b/pallets/technical/src/mock.rs @@ -33,25 +33,22 @@ use codec::{Decode, Encode}; use common::prelude::Balance; use common::{ mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, DEXId, XST, + mock_permissions_config, mock_tokens_config, DEXId, XST, }; use currencies::BasicCurrencyAdapter; use dispatch::DispatchResult; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, dispatch, parameter_types}; use frame_system; use orml_traits::parameter_type_with_key; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill}; use sp_std::marker::PhantomData; use PolySwapActionExample::*; -pub use common::mock::*; -pub use common::TechAssetId::*; pub use common::TechPurpose::*; pub use common::TradingPair; @@ -63,8 +60,6 @@ type AssetId = common::AssetId32; type TechAssetId = common::TechAssetId; type TechAmount = Amount; type TechBalance = Balance; - -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; parameter_types! { @@ -88,7 +83,6 @@ construct_runtime! { } } -/* mock_pallet_balances_config!(Runtime); */ mock_currencies_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); diff --git a/pallets/trading-pair/rpc/src/lib.rs b/pallets/trading-pair/rpc/src/lib.rs index 8b86102477..0fb66b2988 100644 --- a/pallets/trading-pair/rpc/src/lib.rs +++ b/pallets/trading-pair/rpc/src/lib.rs @@ -36,7 +36,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::Block as BlockT; use sp_std::vec::Vec; use std::sync::Arc; diff --git a/pallets/trading-pair/src/mock.rs b/pallets/trading-pair/src/mock.rs index 7f9db5fe7d..4d83bc7e83 100644 --- a/pallets/trading-pair/src/mock.rs +++ b/pallets/trading-pair/src/mock.rs @@ -33,23 +33,21 @@ use common::mock::ExistentialDeposits; use common::prelude::{Balance, DEXInfo}; use common::{ hash, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_permissions_config, mock_tokens_config, AssetId32, AssetName, - AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, - DOT, KSM, XOR, XST, XSTUSD, + mock_permissions_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, + BalancePrecision, ContentSource, DEXId, Description, DEFAULT_BALANCE_PRECISION, DOT, KSM, XOR, + XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, Perbill}; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { @@ -80,7 +78,6 @@ parameter_types! { pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75); } -// mock_pallet_balances_config!(Runtime); mock_currencies_config!(Runtime); mock_frame_system_config!(Runtime); mock_permissions_config!(Runtime); diff --git a/pallets/vested-rewards/rpc/src/lib.rs b/pallets/vested-rewards/rpc/src/lib.rs index 3358b1e411..05e570f973 100644 --- a/pallets/vested-rewards/rpc/src/lib.rs +++ b/pallets/vested-rewards/rpc/src/lib.rs @@ -38,7 +38,6 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::generic::BlockId; use sp_runtime::traits::{Block as BlockT, MaybeDisplay, MaybeFromStr}; use std::sync::Arc; diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index b5462e4fb9..54bc09a1d9 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -34,25 +34,23 @@ use common::prelude::{Balance, DEXInfo}; use common::prelude::{LiquiditySourceType, QuoteAmount, SwapAmount, SwapOutcome}; use common::{ balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_pallet_timestamp_config, - mock_permissions_config, mock_technical_config, mock_tokens_config, AssetId32, AssetName, - AssetSymbol, BalancePrecision, ContentSource, DEXId, Description, Fixed, LiquidityProxyTrait, - LiquiditySourceFilter, DEFAULT_BALANCE_PRECISION, DOT, KSM, PSWAP, TBCD, XOR, XST, + mock_frame_system_config, mock_pallet_timestamp_config, mock_permissions_config, + mock_technical_config, mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, + ContentSource, DEXId, Description, Fixed, LiquidityProxyTrait, LiquiditySourceFilter, + DEFAULT_BALANCE_PRECISION, DOT, KSM, PSWAP, TBCD, XOR, XST, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, DispatchError, Perbill, Percent}; pub type Moment = u64; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime! { @@ -128,7 +126,6 @@ impl LiquidityProxyTrait for MockLiquidityProxy { } } -/* mock_pallet_balances_config!(Runtime); */ mock_technical_config!(Runtime, pool_xyk::PolySwapAction); mock_currencies_config!(Runtime); mock_frame_system_config!(Runtime); diff --git a/pallets/vested-rewards/src/tests.rs b/pallets/vested-rewards/src/tests.rs index 77fd3eaf5d..27d4f82ef4 100644 --- a/pallets/vested-rewards/src/tests.rs +++ b/pallets/vested-rewards/src/tests.rs @@ -28,6 +28,8 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#![allow(unused_imports)] + use crate::{mock::*, CrowdloanInfo, CrowdloanInfos, CrowdloanUserInfo, CrowdloanUserInfos}; use crate::{Error, RewardInfo}; use common::mock::charlie; diff --git a/pallets/xor-fee/src/migrations.rs b/pallets/xor-fee/src/migrations.rs index f90405400a..a4c5b96985 100644 --- a/pallets/xor-fee/src/migrations.rs +++ b/pallets/xor-fee/src/migrations.rs @@ -37,6 +37,7 @@ pub mod v2 { use frame_support::weights::Weight; use frame_system::pallet_prelude::BlockNumberFor; use log::info; + #[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; use crate::*; @@ -48,7 +49,7 @@ pub mod v2 { T: Config, { fn on_runtime_upgrade() -> Weight { - let period = BlockNumberFor::::try_from(3600_u32).unwrap_or_default(); + let period = BlockNumberFor::::from(3600_u32); // let period = // ::BlockNumberFor::try_from(3600_u32).unwrap_or_default(); diff --git a/pallets/xor-fee/src/mock.rs b/pallets/xor-fee/src/mock.rs index 96a8eb4138..f8575046d1 100644 --- a/pallets/xor-fee/src/mock.rs +++ b/pallets/xor-fee/src/mock.rs @@ -39,10 +39,9 @@ use common::weights::constants::SMALL_FEE; use common::DAI; use common::{ self, balance, mock_assets_config, mock_common_config, mock_currencies_config, - mock_frame_system_config, mock_pallet_balances_config, mock_permissions_config, - mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol, LiquidityProxyTrait, - LiquiditySourceFilter, LiquiditySourceType, OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, - VAL, XOR, + mock_frame_system_config, mock_permissions_config, mock_tokens_config, Amount, AssetId32, + AssetName, AssetSymbol, LiquidityProxyTrait, LiquiditySourceFilter, LiquiditySourceType, + OnValBurned, ReferrerAccountProvider, PSWAP, TBCD, VAL, XOR, }; #[cfg(feature = "wip")] // Dynamic fee use sp_arithmetic::FixedU128; @@ -51,14 +50,13 @@ use currencies::BasicCurrencyAdapter; use frame_support::dispatch::{DispatchInfo, Pays, PostDispatchInfo}; use frame_support::pallet_prelude::{Hooks, ValueQuery}; use frame_support::traits::{ - ConstU128, Currency, Everything, ExistenceRequirement, GenesisBuild, WithdrawReasons, + ConstU128, Currency, Everything, ExistenceRequirement, WithdrawReasons, }; use frame_support::weights::{ConstantMultiplier, IdentityFee, Weight}; use frame_support::{construct_runtime, parameter_types, storage_alias}; use frame_system::EnsureRoot; use permissions::{Scope, BURN, MINT}; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{AccountId32, BuildStorage, DispatchError, Percent}; use sp_staking::SessionIndex; @@ -73,7 +71,6 @@ pub type BlockNumber = u64; type AssetId = AssetId32; type TechAssetId = common::TechAssetId; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; pub const SMALL_REFERENCE_AMOUNT: Balance = balance!(0.7); @@ -131,7 +128,6 @@ impl pallet_balances::Config for Runtime { type MaxFreezes = (); } -/* mock_pallet_balances_config!(Runtime); */ mock_currencies_config!(Runtime); mock_frame_system_config!(Runtime); mock_common_config!(Runtime); diff --git a/pallets/xor-fee/src/tests.rs b/pallets/xor-fee/src/tests.rs index ecfdf10624..06bc91f1d5 100644 --- a/pallets/xor-fee/src/tests.rs +++ b/pallets/xor-fee/src/tests.rs @@ -31,8 +31,6 @@ // TODO #167: fix clippy warnings #![allow(clippy::all)] -use core::ops::Sub; - use crate::extension::ChargeTransactionPayment; use crate::{mock::*, LiquidityInfo, XorToVal}; #[cfg(feature = "wip")] // Dynamic fee @@ -45,12 +43,10 @@ use common::prelude::FixedWrapper; use common::weights::constants::SMALL_FEE; #[cfg(feature = "wip")] // Dynamic fee use frame_support::dispatch::{DispatchErrorWithPostInfo, Pays}; -use frame_support::error::BadOrigin; -use frame_support::traits::tokens::Balance; use frame_support::traits::{Currency, Imbalance}; use frame_support::weights::{Weight, WeightToFee}; use frame_support::{assert_noop, assert_ok}; -use sp_runtime::traits::{Saturating, SignedExtension}; +use sp_runtime::traits::{BadOrigin, SignedExtension}; use sp_runtime::transaction_validity::{InvalidTransaction, TransactionValidityError}; use sp_runtime::{FixedPointNumber, FixedU128}; diff --git a/pallets/xst/benchmarking/src/mock.rs b/pallets/xst/benchmarking/src/mock.rs index 9dccf50dc1..d885bcd924 100644 --- a/pallets/xst/benchmarking/src/mock.rs +++ b/pallets/xst/benchmarking/src/mock.rs @@ -38,7 +38,7 @@ use common::{ DAI, DEFAULT_BALANCE_PRECISION, PSWAP, USDT, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -46,7 +46,6 @@ use hex_literal::hex; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; use sp_runtime::{BuildStorage, Perbill, Percent}; @@ -56,7 +55,6 @@ pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; pub type AssetId = AssetId32; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; diff --git a/pallets/xst/src/migrations/mod.rs b/pallets/xst/src/migrations/mod.rs index 831105e727..0693b5885d 100644 --- a/pallets/xst/src/migrations/mod.rs +++ b/pallets/xst/src/migrations/mod.rs @@ -34,6 +34,7 @@ use frame_support::pallet_prelude::{Get, StorageVersion, ValueQuery}; use frame_support::traits::OnRuntimeUpgrade; use frame_support::{traits::GetStorageVersion as _, weights::Weight}; use log::info; +#[cfg(feature = "try-runtime")] use sp_runtime::TryRuntimeError; use sp_std::collections::btree_set::BTreeSet; diff --git a/pallets/xst/src/mock.rs b/pallets/xst/src/mock.rs index acbe4d123f..408e0c3e4a 100644 --- a/pallets/xst/src/mock.rs +++ b/pallets/xst/src/mock.rs @@ -39,7 +39,7 @@ use common::{ DEFAULT_BALANCE_PRECISION, PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD, }; use currencies::BasicCurrencyAdapter; -use frame_support::traits::{Everything, GenesisBuild}; +use frame_support::traits::Everything; use frame_support::weights::Weight; use frame_support::{construct_runtime, parameter_types}; use frame_system::pallet_prelude::BlockNumberFor; @@ -47,8 +47,7 @@ use hex_literal::hex; use permissions::{Scope, INIT_DEX, MANAGE_DEX}; use sp_core::crypto::AccountId32; use sp_core::H256; -use sp_runtime::testing::Header; -use sp_runtime::traits::{BlakeTwo256, IdentityLookup, Zero}; +use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::{BuildStorage, Perbill, Percent}; pub type AccountId = AccountId32; @@ -57,7 +56,6 @@ pub type TechAccountId = common::TechAccountId; type TechAssetId = common::TechAssetId; pub type AssetId = AssetId32; type DEXId = common::DEXId; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; type Moment = u64; diff --git a/runtime/src/impls.rs b/runtime/src/impls.rs index fdf298ac43..0c3dbfe6b7 100644 --- a/runtime/src/impls.rs +++ b/runtime/src/impls.rs @@ -44,7 +44,7 @@ use frame_support::{ use sp_runtime::traits::Dispatchable; use sp_runtime::RuntimeDebug; -pub use common::weights::{BlockLength, BlockWeights, TransactionByteFee}; +pub use common::weights::BlockWeights; use scale_info::TypeInfo; use sp_core::U256; use sp_runtime::traits::Convert; @@ -563,6 +563,7 @@ impl Contains for SubstrateBridgeCallFilter { } } +#[allow(dead_code)] #[cfg(feature = "wip")] // EVM bridge pub struct EVMBridgeCallFilter; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 93f1e8ec8a..c5ccf7b020 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -256,6 +256,7 @@ pub mod oracle_types { } pub use oracle_types::*; +#[deny(warnings)] /// This runtime version. #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { @@ -2782,7 +2783,7 @@ impl_runtime_apis! { impl sp_session::SessionKeys for Runtime { fn decode_session_keys( encoded: Vec, - ) -> Option, sp_core::crypto::KeyTypeId)>> { + ) -> Option, KeyTypeId)>> { opaque::SessionKeys::decode_into_raw_public_keys(&encoded) } @@ -3467,6 +3468,7 @@ impl_runtime_apis! { return (list, storage_info) } + #[allow(warnings)] // ignore non-local `impl` definition fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { diff --git a/runtime/src/tests/xor_fee.rs b/runtime/src/tests/xor_fee.rs index dad169924e..1df5714f49 100644 --- a/runtime/src/tests/xor_fee.rs +++ b/runtime/src/tests/xor_fee.rs @@ -32,9 +32,9 @@ use crate::mock::{ensure_pool_initialized, fill_spot_price}; use crate::order_book::OrderBookId; use crate::xor_fee_impls::{CustomFeeDetails, CustomFees}; use crate::{ - AccountId, AssetId, Assets, Balance, Balances, Currencies, GetXorFeeAccountId, PoolXYK, - Referrals, ReferrerWeight, Runtime, RuntimeCall, RuntimeOrigin, Staking, System, Tokens, - Weight, XorBurnedWeight, XorFee, XorIntoValBurnedWeight, + AccountId, AssetId, Assets, Balance, Balances, Currencies, PoolXYK, Referrals, ReferrerWeight, + Runtime, RuntimeCall, RuntimeOrigin, Staking, System, Tokens, Weight, XorBurnedWeight, XorFee, + XorIntoValBurnedWeight, }; use common::mock::{alice, bob, charlie}; use common::prelude::constants::{BIG_FEE, SMALL_FEE}; @@ -53,6 +53,7 @@ use framenode_chain_spec::ext; use pallet_balances::NegativeImbalance; use pallet_transaction_payment::OnChargeTransaction; use referrals::ReferrerBalances; +#[allow(unused_imports)] use sp_runtime::traits::{Dispatchable, Saturating, SignedExtension}; use sp_runtime::{AccountId32, FixedPointNumber, FixedU128}; use traits::MultiCurrency; @@ -517,8 +518,6 @@ fn refund_if_pays_no_works() { set_weight_to_fee_multiplier(1); give_xor_initial_balance(alice()); - let tech_account_id = GetXorFeeAccountId::get(); - let len = 10; let dispatch_info = info_from_weight(MOCK_WEIGHT); From 1f6120e85bf1167fe267f14f5679c7b3d3bb6fd1 Mon Sep 17 00:00:00 2001 From: Mikhail Tagirov Date: Tue, 15 Oct 2024 12:35:20 +0300 Subject: [PATCH 107/110] update Signed-off-by: Mikhail Tagirov --- Cargo.lock | 52 ++++++++----------- common/src/mock.rs | 4 +- pallets/apollo-platform/src/mock.rs | 6 +-- .../dex-manager/src/migrations/vxor_dex.rs | 3 +- pallets/kensetsu/src/migrations.rs | 4 +- pallets/price-tools/Cargo.toml | 1 + pallets/price-tools/src/lib.rs | 6 +-- pallets/price-tools/src/migrations/v2.rs | 3 +- pallets/price-tools/src/migrations/v3.rs | 5 +- pallets/vested-rewards/src/benchmarking.rs | 35 +++++++------ pallets/vested-rewards/src/lib.rs | 22 ++++---- .../vested-rewards/src/vesting_currencies.rs | 6 +-- runtime/src/weights/parachain_bridge_app.rs | 4 +- 13 files changed, 70 insertions(+), 81 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 390c1d3113..45e18d070e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -906,7 +906,7 @@ dependencies = [ [[package]] name = "beefy-light-client" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "anyhow", "binary-merkle-tree", @@ -930,7 +930,7 @@ dependencies = [ [[package]] name = "beefy-light-client-rpc" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "beefy-light-client-runtime-api", "jsonrpsee", @@ -946,7 +946,7 @@ dependencies = [ [[package]] name = "beefy-light-client-runtime-api" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "parity-scale-codec", @@ -1149,7 +1149,7 @@ dependencies = [ [[package]] name = "bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "ethabi", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "bridge-common" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bitvec", "bridge-types", @@ -1192,7 +1192,7 @@ dependencies = [ [[package]] name = "bridge-data-signer" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-common", "bridge-types", @@ -1274,7 +1274,7 @@ dependencies = [ [[package]] name = "bridge-types" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "derivative", "ethabi", @@ -2607,7 +2607,7 @@ dependencies = [ [[package]] name = "dispatch" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "frame-benchmarking", @@ -3072,7 +3072,7 @@ dependencies = [ [[package]] name = "evm-fungible-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "dispatch", @@ -4571,7 +4571,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.5.7", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -4606,7 +4606,7 @@ dependencies = [ "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core 0.52.0", + "windows-core", ] [[package]] @@ -4907,7 +4907,7 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jetton-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "dispatch", @@ -5226,7 +5226,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "leaf-provider" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "ethabi", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "leaf-provider-rpc" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "jsonrpsee", "leaf-provider-runtime-api", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "leaf-provider-runtime-api" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "parity-scale-codec", @@ -6369,7 +6369,7 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multisig-verifier" version = "0.1.0" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-common", "bridge-types", @@ -7161,7 +7161,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.2.3" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "frame-support", "frame-system", @@ -7384,7 +7384,7 @@ dependencies = [ [[package]] name = "parachain-bridge-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "ethabi", @@ -7964,6 +7964,7 @@ dependencies = [ "frame-support", "frame-system", "hex-literal", + "log", "mock-liquidity-source", "orml-currencies", "orml-tokens", @@ -11362,7 +11363,7 @@ dependencies = [ [[package]] name = "substrate-bridge-app" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "ethabi", @@ -11386,7 +11387,7 @@ dependencies = [ [[package]] name = "substrate-bridge-channel" version = "0.1.1" -source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#6ff1035078bea0b96fe88924f8fd4683b619a5e0" +source = "git+https://github.com/sora-xor/sora2-common.git?branch=polkadotsdk_1.1.0#8119cf1d5fb1db5a0c7dc7dc34b3dd2140d760fb" dependencies = [ "bridge-types", "ethabi", @@ -12880,7 +12881,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core 0.51.1", + "windows-core", "windows-targets 0.48.5", ] @@ -12893,15 +12894,6 @@ dependencies = [ "windows-targets 0.48.5", ] -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-sys" version = "0.45.0" diff --git a/common/src/mock.rs b/common/src/mock.rs index d174b47115..e7a0e246a6 100644 --- a/common/src/mock.rs +++ b/common/src/mock.rs @@ -405,14 +405,14 @@ macro_rules! mock_vested_rewards_config { pub const MaxVestingSchedules: u32 = 0; pub const MinVestedTransfer: Balance = 0; } - impl vested_rewards::Config for Runtime { + impl vested_rewards::Config for $runtime { const BLOCKS_PER_DAY: BlockNumberFor = 14400; type RuntimeEvent = RuntimeEvent; type GetMarketMakerRewardsAccountId = GetMarketMakerRewardsAccountId; type GetBondingCurveRewardsAccountId = GetBondingCurveRewardsAccountId; type GetFarmingRewardsAccountId = GetFarmingRewardsAccountId; type WeightInfo = (); - type AssetInfoProvider = assets::Pallet; + type AssetInfoProvider = assets::Pallet<$runtime>; type MaxVestingSchedules = MaxVestingSchedules; type Currency = Tokens; type MinVestedTransfer = MinVestedTransfer; diff --git a/pallets/apollo-platform/src/mock.rs b/pallets/apollo-platform/src/mock.rs index 76124393cf..964877df77 100644 --- a/pallets/apollo-platform/src/mock.rs +++ b/pallets/apollo-platform/src/mock.rs @@ -1,12 +1,11 @@ -use common::mock_pallet_timestamp_config; -use common::mock_vested_rewards_config; use { crate as apollo_platform, common::{ balance, fixed, hash, mock::{ExistentialDeposits, GetTradingPairRestrictedFlag}, mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config, - mock_pallet_balances_config, mock_technical_config, mock_tokens_config, + mock_pallet_balances_config, mock_pallet_timestamp_config, mock_technical_config, + mock_tokens_config, mock_vested_rewards_config, prelude::{Balance, SwapOutcome}, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId::Polkaswap, @@ -94,6 +93,7 @@ mock_common_config!(Runtime); mock_tokens_config!(Runtime); mock_assets_config!(Runtime); mock_pallet_timestamp_config!(Runtime); +mock_vested_rewards_config!(Runtime); impl SendTransactionTypes for Runtime where diff --git a/pallets/dex-manager/src/migrations/vxor_dex.rs b/pallets/dex-manager/src/migrations/vxor_dex.rs index dd323cd8db..43506f8385 100644 --- a/pallets/dex-manager/src/migrations/vxor_dex.rs +++ b/pallets/dex-manager/src/migrations/vxor_dex.rs @@ -34,7 +34,8 @@ use common::{DEXId, DEXInfo, DexIdOf, VXOR, XST}; use core::marker::PhantomData; use frame_support::pallet_prelude::Get; use frame_support::traits::OnRuntimeUpgrade; -use frame_support::{log::info, traits::GetStorageVersion as _, weights::Weight}; +use frame_support::{traits::GetStorageVersion as _, weights::Weight}; +use log::info; pub struct AddVxorBasedDex(PhantomData); diff --git a/pallets/kensetsu/src/migrations.rs b/pallets/kensetsu/src/migrations.rs index 3cbdc4845f..02f87b2d9f 100644 --- a/pallets/kensetsu/src/migrations.rs +++ b/pallets/kensetsu/src/migrations.rs @@ -502,10 +502,10 @@ pub mod v3_to_v4 { use common::permissions::{BURN, MINT}; use common::{balance, AssetIdOf, DAI, SB}; use core::marker::PhantomData; - use frame_support::dispatch::GetStorageVersion; - use frame_support::log::error; + use frame_support::traits::GetStorageVersion; use frame_support::traits::{OnRuntimeUpgrade, StorageVersion}; use frame_support::weights::Weight; + use log::error; use permissions::Scope; use sp_core::Get; diff --git a/pallets/price-tools/Cargo.toml b/pallets/price-tools/Cargo.toml index fa6e386b2b..0325551482 100644 --- a/pallets/price-tools/Cargo.toml +++ b/pallets/price-tools/Cargo.toml @@ -32,6 +32,7 @@ pswap-distribution = { path = "../pswap-distribution", default-features = false pool-xyk = { path = "../pool-xyk", default-features = false } technical = { path = "../technical", default-features = false } pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } +log = "0.4.20" [dev-dependencies] ceres-liquidity-locker = { path = "../ceres-liquidity-locker", default-features = false } diff --git a/pallets/price-tools/src/lib.rs b/pallets/price-tools/src/lib.rs index d5afbb2de7..e4de81c97d 100644 --- a/pallets/price-tools/src/lib.rs +++ b/pallets/price-tools/src/lib.rs @@ -298,7 +298,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { - fn on_initialize(_block_num: T::BlockNumber) -> Weight { + fn on_initialize(_block_num: BlockNumberFor) -> Weight { let (n, m) = Pallet::::average_prices_calculation_routine(); ::WeightInfo::on_initialize(n, m) } @@ -457,7 +457,7 @@ impl Pallet { count_updated += 1; let price = Self::spot_price(&asset_id) .map_err(|err| { - frame_support::log::warn!( + log::warn!( "Failed to get spot price for {asset_id:?}: {err:?}" ); err @@ -474,7 +474,7 @@ impl Pallet { if let Err(err) = price_info.incoming_spot_price(val, price_variant, adjust_params) { - frame_support::log::warn!("Failed to add spot price for {asset_id:?} with {price_variant:?} variant and {val} price: {err:?}"); + log::warn!("Failed to add spot price for {asset_id:?} with {price_variant:?} variant and {val} price: {err:?}"); } } else { price_info.incoming_spot_price_failure(); diff --git a/pallets/price-tools/src/migrations/v2.rs b/pallets/price-tools/src/migrations/v2.rs index 3d47b602ef..f22a914177 100644 --- a/pallets/price-tools/src/migrations/v2.rs +++ b/pallets/price-tools/src/migrations/v2.rs @@ -28,8 +28,7 @@ // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -use frame_support::dispatch::GetStorageVersion; -use frame_support::traits::StorageVersion; +use frame_support::traits::{GetStorageVersion, StorageVersion}; use crate::PriceInfos; use crate::{AggregatedPriceInfo, Pallet}; diff --git a/pallets/price-tools/src/migrations/v3.rs b/pallets/price-tools/src/migrations/v3.rs index e714efb01b..a4c43d4487 100644 --- a/pallets/price-tools/src/migrations/v3.rs +++ b/pallets/price-tools/src/migrations/v3.rs @@ -31,8 +31,7 @@ use core::marker::PhantomData; use crate::{AggregatedPriceInfo, Config, FastPriceInfos, Pallet, PriceInfos}; -use frame_support::dispatch::GetStorageVersion; -use frame_support::traits::{OnRuntimeUpgrade, StorageVersion}; +use frame_support::traits::{GetStorageVersion, OnRuntimeUpgrade, StorageVersion}; use sp_core::Get; #[cfg(feature = "try-runtime")] use sp_std::prelude::*; @@ -47,7 +46,7 @@ impl OnRuntimeUpgrade for AddFastPriceInfos { } StorageVersion::new(3).put::>() } else { - frame_support::log::error!( + log::error!( "Current version {:?}, expected 2", Pallet::::on_chain_storage_version() ); diff --git a/pallets/vested-rewards/src/benchmarking.rs b/pallets/vested-rewards/src/benchmarking.rs index a654b84be9..85623b27ee 100644 --- a/pallets/vested-rewards/src/benchmarking.rs +++ b/pallets/vested-rewards/src/benchmarking.rs @@ -36,6 +36,7 @@ use super::*; use codec::Decode; use frame_benchmarking::benchmarks; use frame_support::assert_ok; +use frame_system::pallet_prelude::BlockNumberFor; #[cfg(feature = "wip")] // ORML multi asset vesting use frame_system::EventRecord; use frame_system::RawOrigin; @@ -201,8 +202,8 @@ benchmarks! { let vesting_schedule = VestingScheduleOf::::LinearVestingSchedule(LinearVestingSchedule { asset_id, - start: T::BlockNumber::from(0_u32), - period: T::BlockNumber::from(1_u32), + start: BlockNumberFor::::from(0_u32), + period: BlockNumberFor::::from(1_u32), period_count: 2, per_period: balance!(1), remainder_amount: balance!(1), @@ -212,8 +213,8 @@ benchmarks! { let asset_id_temp: AssetIdOf = create_asset::("TEST", i.into()); let vesting_schedule = VestingScheduleOf::::LinearVestingSchedule(LinearVestingSchedule { asset_id: asset_id_temp, - start: T::BlockNumber::from(0_u32), - period: T::BlockNumber::from(1_u32), + start: BlockNumberFor::::from(0_u32), + period: BlockNumberFor::::from(1_u32), period_count: 2, per_period: balance!(1), remainder_amount: balance!(1), @@ -221,7 +222,7 @@ benchmarks! { schedules.try_push(vesting_schedule).expect("Error while push to BoundedVec"); } >::insert(caller.clone(), schedules); - frame_system::Pallet::::set_block_number(T::BlockNumber::from(2_u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(2_u32)); }: _(RawOrigin::Signed(caller.clone()), asset_id) verify { assert_eq!(VestingSchedules::::get(&caller).len(), (max_schedules - 1) as usize); @@ -240,8 +241,8 @@ benchmarks! { let asset_id_temp: AssetIdOf = create_asset::("TEST", i.into()); let vesting_schedule = VestingScheduleOf::::LinearVestingSchedule(LinearVestingSchedule { asset_id: asset_id_temp, - start: T::BlockNumber::from(0_u32), - period: T::BlockNumber::from(1_u32), + start: BlockNumberFor::::from(0_u32), + period: BlockNumberFor::::from(1_u32), period_count: 3, per_period: balance!(1), remainder_amount: balance!(1), @@ -253,8 +254,8 @@ benchmarks! { let asset_id: AssetIdOf = create_asset::("TEST", 0); let schedule = VestingScheduleOf::::LinearVestingSchedule(LinearVestingSchedule { asset_id, - start: T::BlockNumber::from(1_u32), - period: T::BlockNumber::from(1_u32), + start: BlockNumberFor::::from(1_u32), + period: BlockNumberFor::::from(1_u32), period_count: 3, per_period: balance!(1), remainder_amount: balance!(1), @@ -277,8 +278,8 @@ benchmarks! { let asset_id: AssetIdOf = create_asset::("TEST", i.into()); let vesting_schedule = VestingScheduleOf::::LinearVestingSchedule(LinearVestingSchedule { asset_id, - start: T::BlockNumber::from(1_u32), - period: T::BlockNumber::from(1_u32), + start: BlockNumberFor::::from(1_u32), + period: BlockNumberFor::::from(1_u32), period_count: 1, per_period: balance!(1), remainder_amount: balance!(0), @@ -286,8 +287,8 @@ benchmarks! { schedules.try_push(vesting_schedule).expect("Error while push to BoundedVec"); let vesting_schedule_update = VestingScheduleOf::::LinearVestingSchedule(LinearVestingSchedule { asset_id, - start: T::BlockNumber::from(0_u32), - period: T::BlockNumber::from(2_u32), + start: BlockNumberFor::::from(0_u32), + period: BlockNumberFor::::from(2_u32), period_count: 2, per_period: balance!(2), remainder_amount: balance!(1), @@ -315,7 +316,7 @@ benchmarks! { asset_id, manager_id: Some(caller.clone()), start: None, - period: T::BlockNumber::from(2_u32), + period: BlockNumberFor::::from(2_u32), period_count: 2, per_period: balance!(1), remainder_amount: balance!(1), @@ -326,17 +327,17 @@ benchmarks! { asset_id, manager_id: Some(caller.clone()), start: None, - period: T::BlockNumber::from(1_u32), + period: BlockNumberFor::::from(1_u32), period_count: 2, per_period: balance!(1), remainder_amount: balance!(1), }); schedules.try_push(vesting_schedule_locked.clone()).expect("Error while push to BoundedVec"); >::insert(caller.clone(), schedules); - frame_system::Pallet::::set_block_number(T::BlockNumber::from(2_u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(2_u32)); }: _(RawOrigin::Signed(caller.clone()), T::Lookup::unlookup(caller.clone()), None, vesting_schedule_locked) verify { - frame_system::Pallet::::set_block_number(T::BlockNumber::from(4_u32)); + frame_system::Pallet::::set_block_number(BlockNumberFor::::from(4_u32)); assert_ok!(VestedRewards::::claim_unlocked(RawOrigin::Signed(caller.clone()).into(), asset_id)); assert_eq!(VestingSchedules::::get(&caller).len(), (max_schedules - 1) as usize); } diff --git a/pallets/vested-rewards/src/lib.rs b/pallets/vested-rewards/src/lib.rs index 8906bbd06e..b9d9a5f013 100644 --- a/pallets/vested-rewards/src/lib.rs +++ b/pallets/vested-rewards/src/lib.rs @@ -44,9 +44,8 @@ use common::{ use frame_support::dispatch::DispatchResult; use frame_support::traits::{Defensive, Get, IsType, LockIdentifier}; use frame_support::weights::Weight; -use frame_support::{ensure, fail, log, BoundedVec}; +use frame_support::{ensure, fail, BoundedVec}; use frame_system::pallet_prelude::BlockNumberFor; -use log::error; use serde::{Deserialize, Serialize}; use sp_core::bounded::BoundedBTreeSet; use sp_runtime::traits::{ @@ -284,9 +283,9 @@ impl Pallet { #[cfg(feature = "wip")] // Pending Vesting fn do_unlock_pending_schedule_by_manager( - manager: T::AccountId, - dest: T::AccountId, - start: T::BlockNumber, + manager: AccountIdOf, + dest: AccountIdOf, + start: BlockNumberFor, filter_schedule: &mut VestingScheduleOf, ) -> DispatchResult { // Independent logic for some schedules, so implementation only there @@ -412,7 +411,7 @@ impl Pallet { .checked_div(claim_weight.proof_size()), ) .unwrap_or_else(|| { - log::log!(log::Level::Error, "Not correct claim weight"); + log::error!("Not correct claim weight"); 0 }) as usize; @@ -864,11 +863,8 @@ pub mod pallet { use sp_std::collections::btree_map::BTreeMap; use vesting_currencies::VestingScheduleVariant; - pub(crate) type VestingScheduleOf = VestingScheduleVariant< - ::BlockNumber, - AssetIdOf, - AccountIdOf, - >; + pub(crate) type VestingScheduleOf = + VestingScheduleVariant, AssetIdOf, AccountIdOf>; #[cfg(feature = "wip")] // Auto Vesting pub(crate) type ClaimOf = Claim, AccountIdOf>; @@ -903,7 +899,7 @@ pub mod pallet { type MaxVestingSchedules: Get; type Currency: MultiLockableCurrency< Self::AccountId, - Moment = Self::BlockNumber, + Moment = BlockNumberFor, CurrencyId = AssetIdOf, Balance = Balance, >; @@ -1103,7 +1099,7 @@ pub mod pallet { pub fn unlock_pending_schedule_by_manager( origin: OriginFor, dest: ::Source, - start: Option, + start: Option>, mut filter_schedule: VestingScheduleOf, ) -> DispatchResultWithPostInfo { let manager = ensure_signed(origin)?; diff --git a/pallets/vested-rewards/src/vesting_currencies.rs b/pallets/vested-rewards/src/vesting_currencies.rs index beacd19eb2..df513ba339 100644 --- a/pallets/vested-rewards/src/vesting_currencies.rs +++ b/pallets/vested-rewards/src/vesting_currencies.rs @@ -31,9 +31,9 @@ use crate::{Config, Error}; use codec::{Decode, Encode, MaxEncodedLen}; use common::prelude::Balance; -use frame_support::dispatch::TypeInfo; -use frame_support::{ensure, RuntimeDebug}; -use sp_core::Get; +use frame_support::ensure; +use scale_info::TypeInfo; +use sp_core::{Get, RuntimeDebug}; use sp_runtime::traits::{AtLeast32Bit, Zero}; use sp_runtime::DispatchError; diff --git a/runtime/src/weights/parachain_bridge_app.rs b/runtime/src/weights/parachain_bridge_app.rs index 9baecc9850..75b8c30b39 100644 --- a/runtime/src/weights/parachain_bridge_app.rs +++ b/runtime/src/weights/parachain_bridge_app.rs @@ -114,12 +114,12 @@ impl parachain_bridge_app::WeightInfo for WeightInfo // Minimum execution time: 68_373 nanoseconds. Weight::from_parts(66_646_938, 28522) // Standard Error: 1_731 - .saturating_add(Weight::from_ref_time(2_540_977).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(2_540_977, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_proof_size(2475).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(a.into())) } /// Storage: Technical TechAccounts (r:1 w:1) /// Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) From a8ac482ebcc97d78b29698f8d25c0e0315735679 Mon Sep 17 00:00:00 2001 From: Mikhail Tagirov Date: Wed, 16 Oct 2024 12:56:02 +0300 Subject: [PATCH 108/110] cargo update Signed-off-by: Mikhail Tagirov --- Cargo.lock | 1001 +++++++---------- node/Cargo.toml | 15 +- node/chain_spec/Cargo.toml | 6 - pallets/apollo-platform/Cargo.toml | 1 - pallets/ceres-governance-platform/Cargo.toml | 2 +- pallets/dex-api/Cargo.toml | 1 + pallets/eth-bridge/Cargo.toml | 1 + pallets/iroha-migration/Cargo.toml | 1 - pallets/kensetsu/Cargo.toml | 3 +- pallets/order-book/src/types.rs | 2 +- .../benchmarking/Cargo.toml | 6 +- pallets/rewards/Cargo.toml | 2 +- pallets/soratopia/Cargo.toml | 5 +- pallets/technical/Cargo.toml | 1 - pallets/xor-fee/Cargo.toml | 1 - 15 files changed, 438 insertions(+), 610 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 45e18d070e..7ed6ad91ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -23,18 +23,18 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli 0.29.0", + "gimli 0.31.1", ] [[package]] -name = "adler" -version = "1.0.2" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "aead" @@ -84,15 +84,15 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.7" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "getrandom 0.2.15", "once_cell", "version_check", - "zerocopy 0.7.35", + "zerocopy", ] [[package]] @@ -179,9 +179,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "apollo-platform" @@ -301,7 +301,7 @@ dependencies = [ "num-bigint", "num-traits", "paste", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "zeroize", ] @@ -423,9 +423,9 @@ checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -444,9 +444,9 @@ checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1-rs" @@ -487,21 +487,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "assert_cmd" -version = "2.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00ad3f3a942eee60335ab4342358c161ee296829e0d16ff42fc1d6cb07815467" -dependencies = [ - "anstyle", - "bstr", - "doc-comment", - "predicates 3.1.0", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - [[package]] name = "assets" version = "1.3.1" @@ -592,14 +577,14 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7ebdfa2ebdab6b1760375fa7d6f382b9f486eac35fc994625a00e89280bdbb7" +checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.1.0", - "futures-lite 2.3.0", + "fastrand", + "futures-lite", "slab", ] @@ -611,50 +596,30 @@ checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" dependencies = [ "async-channel 2.3.1", "async-executor", - "async-io 2.3.3", + "async-io", "async-lock 3.4.0", "blocking", - "futures-lite 2.3.0", + "futures-lite", "once_cell", ] [[package]] name = "async-io" -version = "1.13.0" +version = "2.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2 0.4.10", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" +checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8" dependencies = [ "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.3.0", + "futures-lite", "parking", - "polling 3.7.2", - "rustix 0.38.34", + "polling", + "rustix 0.38.37", "slab", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -679,19 +644,21 @@ dependencies = [ [[package]] name = "async-process" -version = "1.8.1" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" dependencies = [ - "async-io 1.13.0", - "async-lock 2.8.0", + "async-channel 2.3.1", + "async-io", + "async-lock 3.4.0", "async-signal", + "async-task", "blocking", "cfg-if", - "event-listener 3.1.0", - "futures-lite 1.13.0", - "rustix 0.38.34", - "windows-sys 0.48.0", + "event-listener 5.3.1", + "futures-lite", + "rustix 0.38.37", + "tracing", ] [[package]] @@ -702,44 +669,44 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "async-signal" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb3634b73397aa844481f814fad23bbf07fdb0eabec10f2eb95e58944b1ec32" +checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.3", + "async-io", "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.34", + "rustix 0.38.37", "signal-hook-registry", "slab", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "async-std" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" +checksum = "c634475f29802fde2b8f0b505b1bd00dfe4df7d4a000f0b36f7671197d5c3615" dependencies = [ "async-attributes", "async-channel 1.9.0", "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", + "async-io", + "async-lock 3.4.0", "async-process", "crossbeam-utils", "futures-channel", "futures-core", "futures-io", - "futures-lite 1.13.0", + "futures-lite", "gloo-timers", "kv-log-macro", "log", @@ -759,13 +726,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.81" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -800,23 +767,23 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "backtrace" -version = "0.3.73" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ - "addr2line 0.22.0", - "cc", + "addr2line 0.24.2", "cfg-if", "libc", "miniz_oxide", - "object 0.36.2", + "object 0.36.5", "rustc-demangle", + "windows-targets 0.52.6", ] [[package]] @@ -987,13 +954,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.20", + "prettyplease 0.2.22", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -1047,8 +1014,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] @@ -1058,21 +1025,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] name = "blake3" -version = "1.5.3" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9ec96fe9a81b5e365f9db71fe00edc4fe4ca2cc7dcb7861f0603012a7caa210" +checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "cc", "cfg-if", - "constant_time_eq 0.3.0", + "constant_time_eq 0.3.1", ] [[package]] @@ -1130,7 +1097,7 @@ dependencies = [ "async-channel 2.3.1", "async-task", "futures-io", - "futures-lite 2.3.0", + "futures-lite", "piper", ] @@ -1320,12 +1287,11 @@ dependencies = [ [[package]] name = "bstr" -version = "1.9.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", - "regex-automata 0.4.7", "serde", ] @@ -1340,9 +1306,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -1358,9 +1324,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.3" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "102087e286b4677862ea56cf8fc58bb2cdfa8725c40ffb80fe3a008eb7f2fc83" +checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d" [[package]] name = "byteorder" @@ -1370,9 +1336,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.0" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca2be1d5c43812bae364ee3f30b3afcb7877cf59f4aeb94c66f313a41d2fac9" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "bzip2-sys" @@ -1387,18 +1353,18 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.7" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -1419,12 +1385,13 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.7" +version = "1.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc" +checksum = "b16803a61b81d9eabb7eae2588776c4c1e584b738ede45fdbb4c972cec1e9945" dependencies = [ "jobserver", "libc", + "shlex", ] [[package]] @@ -1757,7 +1724,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -1910,9 +1877,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "core-foundation" @@ -1926,9 +1893,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core2" @@ -1950,9 +1917,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +checksum = "608697df725056feaccfa42cffdaeeec3fccc4ffc38358ecd19b243e716a78e0" dependencies = [ "libc", ] @@ -2184,7 +2151,7 @@ dependencies = [ "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "subtle", "zeroize", ] @@ -2197,14 +2164,14 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "cxx" -version = "1.0.124" +version = "1.0.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "273dcfd3acd4e1e276af13ed2a43eea7001318823e7a726a6b3ed39b4acc0b82" +checksum = "cbdc8cca144dce1c4981b5c9ab748761619979e515c3d53b5df385c677d1d007" dependencies = [ "cc", "cxxbridge-flags", @@ -2214,9 +2181,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.124" +version = "1.0.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b2766fbd92be34e9ed143898fce6c572dc009de39506ed6903e5a05b68914e" +checksum = "c5764c3142ab44fcf857101d12c0ddf09c34499900557c764f5ad0597159d1fc" dependencies = [ "cc", "codespan-reporting", @@ -2224,24 +2191,24 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "cxxbridge-flags" -version = "1.0.124" +version = "1.0.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "839fcd5e43464614ffaa989eaf1c139ef1f0c51672a1ed08023307fa1b909ccd" +checksum = "d422aff542b4fa28c2ce8e5cc202d42dbf24702345c1fba3087b2d3f8a1b90ff" [[package]] name = "cxxbridge-macro" -version = "1.0.124" +version = "1.0.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2c1c1776b986979be68bb2285da855f8d8a35851a769fca8740df7c3d07877" +checksum = "a1719100f31492cd6adeeab9a0f46cdbc846e615fdb66d7b398aa46ec7fdd06f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -2401,7 +2368,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -2412,7 +2379,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -2630,7 +2597,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -2645,17 +2612,11 @@ dependencies = [ "ark-serialize", "ark-std", "ark-transcript", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "rand_core 0.6.4", "zeroize", ] -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - [[package]] name = "docify" version = "0.2.8" @@ -2677,7 +2638,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.72", + "syn 2.0.79", "termcolor", "toml 0.8.19", "walkdir", @@ -2855,7 +2816,7 @@ checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -3037,17 +2998,6 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" -[[package]] -name = "event-listener" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite 0.2.14", -] - [[package]] name = "event-listener" version = "5.3.1" @@ -3112,10 +3062,10 @@ dependencies = [ "blake2", "file-guard", "fs-err", - "prettyplease 0.2.20", + "prettyplease 0.2.22", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -3220,18 +3170,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fastrand" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "faucet" @@ -3318,14 +3259,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.23" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", + "libredox", + "windows-sys 0.59.0", ] [[package]] @@ -3377,9 +3318,9 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.30" +version = "1.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" dependencies = [ "crc32fast", "libz-sys", @@ -3505,7 +3446,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -3632,7 +3573,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -3644,7 +3585,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -3654,7 +3595,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1. dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -3716,16 +3657,11 @@ dependencies = [ name = "framenode" version = "4.1.0" dependencies = [ - "ahash 0.8.7", "ansi_term", - "assert_cmd", "assets-rpc", "beefy-light-client", "beefy-light-client-rpc", "bridge-proxy-rpc", - "bstr", - "bumpalo", - "cargo-platform", "clap", "clap_lex 0.5.0", "common 0.1.0", @@ -3754,9 +3690,6 @@ dependencies = [ "pallet-sudo", "pallet-transaction-payment-rpc", "parity-scale-codec", - "predicates 3.1.0", - "predicates-core", - "predicates-tree", "pswap-distribution-rpc", "rewards-rpc", "sc-basic-authorship", @@ -3784,7 +3717,6 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-transaction-pool-api", - "schnellru", "serde", "serde_json", "sp-api", @@ -3806,7 +3738,6 @@ dependencies = [ "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", - "substrate-bip39", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", @@ -3814,6 +3745,7 @@ dependencies = [ "trading-pair-rpc", "try-runtime-cli", "vested-rewards-rpc", + "wasm-bindgen", ] [[package]] @@ -4020,9 +3952,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -4035,9 +3967,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -4045,15 +3977,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -4063,24 +3995,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite 0.2.14", - "waker-fn", -] +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -4088,7 +4005,7 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.1.0", + "fastrand", "futures-core", "futures-io", "parking", @@ -4097,13 +4014,13 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -4119,15 +4036,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-timer" @@ -4137,9 +4054,9 @@ checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-channel", "futures-core", @@ -4216,6 +4133,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand_core 0.6.4", +] + [[package]] name = "ghash" version = "0.5.1" @@ -4239,9 +4165,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "glob" @@ -4251,22 +4177,22 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "globset" -version = "0.4.14" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" +checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19" dependencies = [ "aho-corasick", "bstr", "log", - "regex-automata 0.4.7", - "regex-syntax 0.8.4", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] name = "gloo-timers" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" dependencies = [ "futures-channel", "futures-core", @@ -4297,7 +4223,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.3.0", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", @@ -4348,14 +4274,14 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.11", ] [[package]] name = "hashbrown" -version = "0.14.5" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" [[package]] name = "heck" @@ -4538,9 +4464,9 @@ checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" -version = "1.9.4" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" +checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" [[package]] name = "httpdate" @@ -4556,9 +4482,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.30" +version = "0.14.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" +checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85" dependencies = [ "bytes", "futures-channel", @@ -4571,7 +4497,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.14", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -4597,16 +4523,16 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -4655,7 +4581,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.3.3", + "async-io", "core-foundation", "fnv", "futures", @@ -4738,12 +4664,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.3.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0" +checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.15.0", ] [[package]] @@ -4817,9 +4743,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" [[package]] name = "iroha-migration" @@ -4874,11 +4800,11 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi 0.4.0", "libc", "windows-sys 0.52.0", ] @@ -5000,7 +4926,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" dependencies = [ "anyhow", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "async-lock 2.8.0", "async-trait", "beef", @@ -5103,9 +5029,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ "cfg-if", "ecdsa", @@ -5276,9 +5202,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.155" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libloading" @@ -5435,7 +5361,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "asynchronous-codec", "bytes", "either", @@ -5691,6 +5617,7 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ "bitflags 2.6.0", "libc", + "redox_syscall 0.5.7", ] [[package]] @@ -5758,9 +5685,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.18" +version = "1.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" +checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" dependencies = [ "cc", "pkg-config", @@ -5793,9 +5720,9 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "a9eda9dcf4f2a99787827661f312ac3219292549c2ee992bf9a6248ffb066bf7" dependencies = [ "nalgebra", ] @@ -5806,12 +5733,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -5969,19 +5890,18 @@ dependencies = [ [[package]] name = "lz4" -version = "1.26.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" +checksum = "4d1febb2b4a79ddd1980eede06a8f7902197960aa0383ffcfdd62fe723036725" dependencies = [ - "libc", "lz4-sys", ] [[package]] name = "lz4-sys" -version = "1.10.0" +version = "1.11.1+lz4-1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" +checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6" dependencies = [ "cc", "libc", @@ -6005,7 +5925,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -6019,7 +5939,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -6030,7 +5950,7 @@ checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -6041,7 +5961,7 @@ checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -6093,7 +6013,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.37", ] [[package]] @@ -6155,18 +6075,18 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" dependencies = [ - "adler", + "adler2", ] [[package]] name = "mio" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ "hermit-abi 0.3.9", "libc", @@ -6246,7 +6166,7 @@ dependencies = [ "fragile", "lazy_static", "mockall_derive", - "predicates 2.1.5", + "predicates", "predicates-tree", ] @@ -6402,13 +6322,12 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.6" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" +checksum = "3c4b5f057b303842cf3262c27e465f4c303572e7f6b0648f60e16248ac3397f4" dependencies = [ "approx", "matrixmultiply", - "nalgebra-macros", "num-complex", "num-rational", "num-traits", @@ -6416,17 +6335,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "nalgebra-macros" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - [[package]] name = "names" version = "0.13.0" @@ -6572,7 +6480,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "itoa", ] @@ -6635,9 +6543,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.2" +version = "0.36.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" +checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e" dependencies = [ "memchr", ] @@ -6653,9 +6561,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "opaque-debug" @@ -7439,7 +7347,7 @@ version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "byte-slice-cast", "bytes", @@ -7454,7 +7362,7 @@ version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -7498,9 +7406,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -7545,7 +7453,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.3", + "redox_syscall 0.5.7", "smallvec", "windows-targets 0.52.6", ] @@ -7620,9 +7528,9 @@ dependencies = [ [[package]] name = "pest" -version = "2.7.11" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" +checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", "thiserror", @@ -7631,9 +7539,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.11" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" +checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd" dependencies = [ "pest", "pest_generator", @@ -7641,22 +7549,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.11" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" +checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "pest_meta" -version = "2.7.11" +version = "2.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" +checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d" dependencies = [ "once_cell", "pest", @@ -7670,27 +7578,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.3.0", + "indexmap 2.6.0", ] [[package]] name = "pin-project" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +checksum = "baf123a161dde1e524adf36f90bc5d8d3462824a9c43553ad07a8183161189ec" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -7713,12 +7621,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1d5c74c9876f070d3e8fd503d748c7d974c3e48da8f41350fa5222ef9b4391" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.1.0", + "fastrand", "futures-io", ] @@ -7734,9 +7642,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "platforms" @@ -7746,33 +7654,17 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "polling" -version = "2.8.0" +version = "3.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite 0.2.14", - "windows-sys 0.48.0", -] - -[[package]] -name = "polling" -version = "3.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3ed00ed3fbf728b5816498ecd316d1716eecaced9c0c8d2c5a6740ca214985b" +checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite 0.2.14", - "rustix 0.38.34", + "rustix 0.38.37", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -7868,9 +7760,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.7.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" [[package]] name = "powerfmt" @@ -7880,11 +7772,11 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.18" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee4364d9f3b902ef14fab8a1ddffb783a1cb6b4bba3bfc1fa3922732c7de97f" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" dependencies = [ - "zerocopy 0.6.6", + "zerocopy", ] [[package]] @@ -7901,31 +7793,17 @@ dependencies = [ "regex", ] -[[package]] -name = "predicates" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" -dependencies = [ - "anstyle", - "difflib", - "float-cmp", - "normalize-line-endings", - "predicates-core", - "regex", -] - [[package]] name = "predicates-core" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" +checksum = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931" [[package]] name = "predicates-tree" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +checksum = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13" dependencies = [ "predicates-core", "termtree", @@ -7943,12 +7821,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.20" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" dependencies = [ "proc-macro2", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -8009,11 +7887,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.21.1", + "toml_edit 0.22.22", ] [[package]] @@ -8048,14 +7926,14 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" dependencies = [ "unicode-ident", ] @@ -8094,7 +7972,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -8153,9 +8031,9 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205" dependencies = [ "cc", ] @@ -8343,9 +8221,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -8485,27 +8363,18 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.3" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" +checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" dependencies = [ "bitflags 2.6.0", ] [[package]] name = "redox_users" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.15", "libredox", @@ -8529,7 +8398,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -8570,14 +8439,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.5" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.7", - "regex-syntax 0.8.4", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] @@ -8591,13 +8460,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" +checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.4", + "regex-syntax 0.8.5", ] [[package]] @@ -8608,9 +8477,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "resolv-conf" @@ -8818,9 +8687,9 @@ dependencies = [ [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver 1.0.23", ] @@ -8850,23 +8719,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.34" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags 2.6.0", "errno", @@ -8932,9 +8787,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" [[package]] name = "rw-stream-sink" @@ -9056,7 +8911,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -9333,7 +9188,7 @@ name = "sc-consensus-grandpa" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.11", "array-bytes", "async-trait", "dyn-clone", @@ -9556,7 +9411,7 @@ name = "sc-network-gossip" version = "0.10.0-dev" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.11", "futures", "futures-timer", "libp2p", @@ -9928,7 +9783,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -10008,7 +9863,7 @@ version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.2.0", "proc-macro2", "quote", "syn 1.0.109", @@ -10016,20 +9871,20 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -10052,6 +9907,23 @@ dependencies = [ "zeroize", ] +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "arrayref", + "arrayvec 0.7.6", + "curve25519-dalek 4.1.3", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_core 0.6.4", + "sha2 0.10.8", + "subtle", + "zeroize", +] + [[package]] name = "scopeguard" version = "1.2.0" @@ -10130,9 +10002,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.1" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" +checksum = "ea4a292869320c0272d7bc55a5a6aafaff59b4f63404a003887b679a2e05b4b6" dependencies = [ "core-foundation-sys", "libc", @@ -10173,9 +10045,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.204" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] @@ -10191,20 +10063,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.204" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "serde_json" -version = "1.0.121" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "itoa", "memchr", @@ -10214,9 +10086,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -10334,9 +10206,9 @@ dependencies = [ [[package]] name = "simba" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" +checksum = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" dependencies = [ "approx", "num-complex", @@ -10390,7 +10262,7 @@ dependencies = [ "curve25519-dalek 4.1.3", "rand_core 0.6.4", "ring 0.17.8", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "sha2 0.10.8", "subtle", ] @@ -10488,7 +10360,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -10653,7 +10525,7 @@ version = "21.0.0" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ "array-bytes", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bandersnatch_vrfs", "bitflags 1.3.2", "blake2", @@ -10676,7 +10548,7 @@ dependencies = [ "rand 0.8.5", "regex", "scale-info", - "schnorrkel", + "schnorrkel 0.9.1", "secp256k1", "secrecy", "serde", @@ -10714,7 +10586,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1. dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -10733,7 +10605,7 @@ source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1. dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -10950,7 +10822,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -11099,7 +10971,7 @@ name = "sp-trie" version = "22.0.0" source = "git+https://github.com/sora-xor/polkadot-sdk.git?branch=polkadot-v1.1.0#1c9ea6e889501ce4601a7b636c000e54d52e5d83" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.11", "hash-db", "hashbrown 0.13.2", "lazy_static", @@ -11142,7 +11014,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -11208,9 +11080,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.47.0" +version = "1.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +checksum = "19409f13998e55816d1c728395af0b52ec066206341d939e22e7766df9b494b8" dependencies = [ "Inflector", "num-format", @@ -11331,7 +11203,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -11344,18 +11216,18 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel", + "schnorrkel 0.11.4", "sha2 0.9.9", "zeroize", ] @@ -11499,9 +11371,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.72" +version = "2.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" +checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" dependencies = [ "proc-macro2", "quote", @@ -11581,14 +11453,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.10.1" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", - "fastrand 2.1.0", - "rustix 0.38.34", - "windows-sys 0.52.0", + "fastrand", + "once_cell", + "rustix 0.38.37", + "windows-sys 0.59.0", ] [[package]] @@ -11608,22 +11481,22 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -11735,9 +11608,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.39.2" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daa4fb1bc778bd6f04cbfc4bb2d06a7396a8f299dc33ea1900cedaa316f467b1" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", @@ -11759,7 +11632,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -11785,9 +11658,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite 0.2.14", @@ -11797,9 +11670,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", @@ -11839,7 +11712,7 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.20", + "toml_edit 0.22.22", ] [[package]] @@ -11857,7 +11730,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.3.0", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", @@ -11866,26 +11739,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" -dependencies = [ - "indexmap 2.3.0", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.22.20" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.3.0", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.18", + "winnow 0.6.20", ] [[package]] @@ -11919,15 +11781,15 @@ dependencies = [ [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" @@ -11949,7 +11811,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -12204,9 +12066,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" [[package]] name = "uint" @@ -12222,36 +12084,36 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.15" +version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" +checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" dependencies = [ "tinyvec", ] [[package]] name = "unicode-width" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "universal-hash" @@ -12400,21 +12262,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "waker-fn" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" - [[package]] name = "walkdir" version = "2.5.0" @@ -12467,7 +12314,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", "wasm-bindgen-shared", ] @@ -12501,7 +12348,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -12825,7 +12672,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.34", + "rustix 0.38.37", ] [[package]] @@ -12862,11 +12709,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -12881,7 +12728,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -12894,6 +12741,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -12921,6 +12777,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -13110,9 +12975,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.18" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] @@ -13185,7 +13050,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -13314,34 +13179,14 @@ dependencies = [ "time", ] -[[package]] -name = "zerocopy" -version = "0.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854e949ac82d619ee9a14c66a1b674ac730422372ccb759ce0c39cabcf2bf8e6" -dependencies = [ - "byteorder", - "zerocopy-derive 0.6.6", -] - [[package]] name = "zerocopy" version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ - "zerocopy-derive 0.7.35", -] - -[[package]] -name = "zerocopy-derive" -version = "0.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "125139de3f6b9d625c39e2efdd73d41bdac468ccd556556440e322be0e1bbd91" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", + "byteorder", + "zerocopy-derive", ] [[package]] @@ -13352,7 +13197,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -13372,7 +13217,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.79", ] [[package]] @@ -13415,9 +13260,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.12+zstd.1.5.6" +version = "2.0.13+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4e40c320c3cb459d9a9ff6de98cff88f4751ee9275d140e2be94a2b74e4c13" +checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" dependencies = [ "cc", "pkg-config", diff --git a/node/Cargo.toml b/node/Cargo.toml index e776b874d7..5056ebbea7 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -111,24 +111,13 @@ sp-keystore = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = " sp-statement-store = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } # TODO remove after toolchain is updated -# newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` -ahash = "=0.8.7" -bumpalo = "=3.14.0" -cargo-platform = "=0.1.7" -substrate-bip39 = "=0.4.5" -schnellru = "=0.2.1" -bstr = "=1.9.1" -predicates-tree = "=1.0.9" -predicates-core = "=1.0.6" -predicates = "=3.1.0" +# newer versions of librirary requires newer toolchain, current is `nightly-2024-06-25` +wasm-bindgen = "=0.2.92" [build-dependencies] substrate-build-script-utils = "3" [dev-dependencies] -# TODO remove after toolchain is updated -# newer versions of librirary requires newer toolchain, current is `nightly-2023-03-21` -assert_cmd = "=2.0.13" tokio = { version = "1.10.1", features = ["macros"] } # Substrate dependencies diff --git a/node/chain_spec/Cargo.toml b/node/chain_spec/Cargo.toml index f57de82435..37d61ba03c 100644 --- a/node/chain_spec/Cargo.toml +++ b/node/chain_spec/Cargo.toml @@ -27,8 +27,6 @@ serde_json = "1.0.61" bridge-multisig = { git = "https://github.com/sora-xor/sora2-common.git", branch = "polkadotsdk_1.1.0", package = "pallet-multisig", default-features = false } -# bridge-multisig = { git = "https://github.com/soramitsu/sora2-frame-pallets.git", branch = "polkadot-v1.1.0", package = "pallet-multisig" } - common = { path = "../../common" } faucet = { path = "../../pallets/faucet", optional = true } framenode-runtime = { path = "../../runtime" } @@ -45,13 +43,9 @@ common = { path = "../../common", features = ["test"] } include-real-files = [] main-net-coded = [] test = ["common/test"] -# test = [] private-net = ["faucet", "framenode-runtime/private-net"] -# private-net = [] wip = ["framenode-runtime/wip"] -# wip = [] -# ready-to-test = [] stage = ["framenode-runtime/stage"] runtime-benchmarks = [] diff --git a/pallets/apollo-platform/Cargo.toml b/pallets/apollo-platform/Cargo.toml index 8b664c0cd2..098b39da17 100644 --- a/pallets/apollo-platform/Cargo.toml +++ b/pallets/apollo-platform/Cargo.toml @@ -44,7 +44,6 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib dex-manager = { path = "../dex-manager", default-features = false } apollo-platform = { path = ".", default-features = false } pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } diff --git a/pallets/ceres-governance-platform/Cargo.toml b/pallets/ceres-governance-platform/Cargo.toml index d81533abce..f6d300abd5 100644 --- a/pallets/ceres-governance-platform/Cargo.toml +++ b/pallets/ceres-governance-platform/Cargo.toml @@ -40,7 +40,6 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib dex-manager = { path = "../dex-manager", default-features = false } ceres-governance-platform = { path = ".", default-features = false } pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-traits", default-features = false } permissions = { path = "../permissions" } @@ -60,6 +59,7 @@ std = [ "frame-system/std", "pallet-timestamp/std", "sp-core/std", + "sp-io/std", "sp-runtime/std", "sp-std/std", ] diff --git a/pallets/dex-api/Cargo.toml b/pallets/dex-api/Cargo.toml index eb42d8c469..fd4c60d4c2 100644 --- a/pallets/dex-api/Cargo.toml +++ b/pallets/dex-api/Cargo.toml @@ -63,6 +63,7 @@ std = [ "currencies/std", "tokens/std", "traits/std", + "sp-std/std", ] runtime-benchmarks = [ diff --git a/pallets/eth-bridge/Cargo.toml b/pallets/eth-bridge/Cargo.toml index 1b8c646255..bdda4086e4 100644 --- a/pallets/eth-bridge/Cargo.toml +++ b/pallets/eth-bridge/Cargo.toml @@ -84,6 +84,7 @@ std = [ 'frame-support/std', 'frame-system/std', 'jsonrpc-core/std', + 'once_cell/std', 'secp256k1/std', 'rustc-hex/std', 'serde_json/std', diff --git a/pallets/iroha-migration/Cargo.toml b/pallets/iroha-migration/Cargo.toml index 35caa757e5..280e413114 100644 --- a/pallets/iroha-migration/Cargo.toml +++ b/pallets/iroha-migration/Cargo.toml @@ -54,7 +54,6 @@ assets = { path = "../assets" } common = { path = "../../common", features = ["test"] } permissions = { path = "../permissions" } technical = { path = "../technical" } -eth-bridge = { path = "../eth-bridge" } [features] default = ["std"] diff --git a/pallets/kensetsu/Cargo.toml b/pallets/kensetsu/Cargo.toml index 01e0c94771..a187ed2075 100644 --- a/pallets/kensetsu/Cargo.toml +++ b/pallets/kensetsu/Cargo.toml @@ -37,8 +37,6 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } hex-literal = "0.4" -# sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0"} tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } [features] @@ -51,6 +49,7 @@ std = [ "permissions/std", "sp-std/std", "sp-core/std", + "sp-io/std", "sp-runtime/std", "sp-arithmetic/std", "scale-info/std", diff --git a/pallets/order-book/src/types.rs b/pallets/order-book/src/types.rs index 5cea3ef555..8d8fac6bfd 100644 --- a/pallets/order-book/src/types.rs +++ b/pallets/order-book/src/types.rs @@ -141,7 +141,7 @@ impl OrderAmount { pub fn associated_asset<'a, AssetId, DEXId>( &'a self, order_book_id: &'a OrderBookId, - ) -> &AssetId { + ) -> &'a AssetId { match self { Self::Base(..) => &order_book_id.base, Self::Quote(..) => &order_book_id.quote, diff --git a/pallets/pswap-distribution/benchmarking/Cargo.toml b/pallets/pswap-distribution/benchmarking/Cargo.toml index 054b7dea99..b5e1d64dfe 100644 --- a/pallets/pswap-distribution/benchmarking/Cargo.toml +++ b/pallets/pswap-distribution/benchmarking/Cargo.toml @@ -42,10 +42,7 @@ demeter-farming-platform = { path = "../../demeter-farming-platform", default-fe hex-literal = { version = '0.4.1' } pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } serde = { version = "1.0.101", features = ["derive"] } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -sp-std = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } common = { path = "../../../common", features = ["test"] } dex-manager = { path = "../../dex-manager" } @@ -65,6 +62,9 @@ std = [ "sp-std/std", "tokens/std", "traits/std", + "sp-core/std", + "sp-io/std", + "sp-std/std", ] runtime-benchmarks = [ diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index bc52a038e2..bbc066e2f5 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -38,7 +38,6 @@ technical = { path = "../technical", default-features = false } [dev-dependencies] currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -sp-runtime = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } @@ -57,6 +56,7 @@ std = [ 'serde/std', 'sp-core/std', 'sp-io/std', + 'sp-runtime/std', 'sp-std/std', 'secp256k1/std', ] diff --git a/pallets/soratopia/Cargo.toml b/pallets/soratopia/Cargo.toml index dcccae2eb7..50d68e7ef9 100644 --- a/pallets/soratopia/Cargo.toml +++ b/pallets/soratopia/Cargo.toml @@ -34,7 +34,6 @@ currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-lib hex-literal = "0.4" pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } permissions = { path = "../permissions" } -sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } technical = { path = "../technical", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } @@ -47,6 +46,10 @@ std = [ "frame-support/std", "frame-system/std", "scale-info/std", + "sp-arithmetic/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", "sp-std/std", "technical/std", ] diff --git a/pallets/technical/Cargo.toml b/pallets/technical/Cargo.toml index b4fbda6549..8219754481 100644 --- a/pallets/technical/Cargo.toml +++ b/pallets/technical/Cargo.toml @@ -33,7 +33,6 @@ common = { path = "../../common", default-features = false } permissions = { path = "../permissions", default-features = false, optional = true } [dev-dependencies] -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0", default-features = false } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens", default-features = false } hex-literal = "0.4.1" diff --git a/pallets/xor-fee/Cargo.toml b/pallets/xor-fee/Cargo.toml index 01da5978d0..f2581ff2f0 100644 --- a/pallets/xor-fee/Cargo.toml +++ b/pallets/xor-fee/Cargo.toml @@ -38,7 +38,6 @@ common = { path = "../../common", default-features = false } currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-currencies" } pallet-balances = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } pallet-timestamp = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } -sp-core = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } sp-io = { git = "https://github.com/sora-xor/polkadot-sdk.git", branch = "polkadot-v1.1.0" } tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library.git", package = "orml-tokens" } assets = { path = "../assets" } From a09823457a9937553912c7ac4c20a2a072fe7d7c Mon Sep 17 00:00:00 2001 From: Mikhail Tagirov Date: Wed, 16 Oct 2024 13:19:52 +0300 Subject: [PATCH 109/110] fix clippy Signed-off-by: Mikhail Tagirov --- node/src/command.rs | 8 ++++---- pallets/ceres-liquidity-locker/benchmarking/src/lib.rs | 1 + pallets/demeter-farming-platform/benchmarking/src/lib.rs | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 7fbb8bf75a..1fd02fd239 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -17,12 +17,12 @@ use crate::cli::{Cli, Subcommand}; use crate::service; -#[allow(unused_imports)] -use sc_cli::{ChainSpec, RuntimeVersion, SubstrateCli}; -use sc_executor::sp_wasm_interface::ExtendedHostFunctions; -use sc_executor::NativeExecutionDispatch; +use sc_cli::SubstrateCli; use sc_service::PartialComponents; +#[cfg(any(feature = "runtime-benchmarks", feature = "try-runtime"))] +use {sc_executor::sp_wasm_interface::ExtendedHostFunctions, sc_executor::NativeExecutionDispatch}; +#[cfg(any(feature = "runtime-benchmarks", feature = "try-runtime"))] type HostFunctionsOf = ExtendedHostFunctions< sp_io::SubstrateHostFunctions, ::ExtendHostFunctions, diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs b/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs index 8a3db59b3f..69e262e249 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/lib.rs @@ -1,6 +1,7 @@ //! Ceres liquidity locker module benchmarking. #![cfg_attr(not(feature = "std"), no_std)] +#![cfg(feature = "runtime-benchmarks")] // TODO #167: fix clippy warnings #![allow(clippy::all)] diff --git a/pallets/demeter-farming-platform/benchmarking/src/lib.rs b/pallets/demeter-farming-platform/benchmarking/src/lib.rs index 8d483044f7..a66aa957eb 100644 --- a/pallets/demeter-farming-platform/benchmarking/src/lib.rs +++ b/pallets/demeter-farming-platform/benchmarking/src/lib.rs @@ -1,6 +1,7 @@ //! Demeter farming platform module benchmarking. #![cfg_attr(not(feature = "std"), no_std)] +#![cfg(feature = "runtime-benchmarks")] // TODO #167: fix clippy warnings #![allow(clippy::all)] From 03dd42e8b0902cfbf3581eb0dc7d5336fcc0400c Mon Sep 17 00:00:00 2001 From: Mikhail Tagirov Date: Wed, 16 Oct 2024 18:48:17 +0300 Subject: [PATCH 110/110] fix Signed-off-by: Mikhail Tagirov --- pallets/ceres-liquidity-locker/benchmarking/src/mock.rs | 1 - pallets/ceres-liquidity-locker/src/mock.rs | 2 +- pallets/ceres-token-locker/src/mock.rs | 2 +- pallets/hermes-governance-platform/src/mock.rs | 2 +- pallets/vested-rewards/src/mock.rs | 7 ------- 5 files changed, 3 insertions(+), 11 deletions(-) diff --git a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs index f8a07b689d..150d014d9a 100644 --- a/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs +++ b/pallets/ceres-liquidity-locker/benchmarking/src/mock.rs @@ -57,7 +57,6 @@ parameter_types! { pub GetIncentiveAssetId: AssetId = PSWAP.into(); pub GetParliamentAccountId: AccountId = AccountId32::from([8; 32]); pub GetXykFee: Fixed = fixed!(0.003); - pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1); pub GetXykMaxIssuanceRatio: Fixed = fixed!(1.5); } diff --git a/pallets/ceres-liquidity-locker/src/mock.rs b/pallets/ceres-liquidity-locker/src/mock.rs index 8a5247b843..ae22cf3cb5 100644 --- a/pallets/ceres-liquidity-locker/src/mock.rs +++ b/pallets/ceres-liquidity-locker/src/mock.rs @@ -115,7 +115,7 @@ impl orml_tokens::Config for Runtime { } parameter_types! { - pub const GetBuyBackAssetId: AssetId = TBCD; + pub const GetBuyBackAssetId: AssetId = VXOR; } impl demeter_farming_platform::Config for Runtime { diff --git a/pallets/ceres-token-locker/src/mock.rs b/pallets/ceres-token-locker/src/mock.rs index e28a017482..d4eb7c33a9 100644 --- a/pallets/ceres-token-locker/src/mock.rs +++ b/pallets/ceres-token-locker/src/mock.rs @@ -94,7 +94,7 @@ impl crate::Config for Runtime { parameter_types! { pub const GetBaseAssetId: AssetId = CERES_ASSET_ID; - pub const GetBuyBackAssetId: AssetId = TBCD; + pub const GetBuyBackAssetId: AssetId = VXOR; } impl dex_manager::Config for Runtime {} diff --git a/pallets/hermes-governance-platform/src/mock.rs b/pallets/hermes-governance-platform/src/mock.rs index 068f344882..8f3a5d873a 100644 --- a/pallets/hermes-governance-platform/src/mock.rs +++ b/pallets/hermes-governance-platform/src/mock.rs @@ -120,7 +120,7 @@ impl crate::Config for Runtime { parameter_types! { pub const GetBaseAssetId: AssetId = HERMES_ASSET_ID; - pub const GetBuyBackAssetId: AssetId = TBCD; + pub const GetBuyBackAssetId: AssetId = VXOR; } impl dex_manager::Config for Runtime {} diff --git a/pallets/vested-rewards/src/mock.rs b/pallets/vested-rewards/src/mock.rs index c5817c70a8..d8e15eae43 100644 --- a/pallets/vested-rewards/src/mock.rs +++ b/pallets/vested-rewards/src/mock.rs @@ -257,13 +257,6 @@ impl multicollateral_bonding_curve_pool::Config for Runtime { type WeightInfo = (); } -parameter_types! { - pub const ExistentialDeposit: u128 = 1; - pub const TransferFee: u128 = 0; - pub const CreationFee: u128 = 0; - pub const TransactionByteFee: u128 = 1; -} - impl dex_manager::Config for Runtime {} impl ceres_liquidity_locker::Config for Runtime {