From 0ec9bbb66de2e93811acf25dbd896942b2265a3d Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 14:21:06 +0100 Subject: [PATCH 01/12] fix: add missing try-runtime feat to all tomls --- Cargo.lock | 118 ++++++++++++++++++++++---- Cargo.toml | 52 ++++++++++++ libs/primitives/Cargo.toml | 5 ++ libs/test-utils/Cargo.toml | 4 +- libs/traits/Cargo.toml | 5 ++ libs/types/Cargo.toml | 8 +- libs/utils/Cargo.toml | 7 ++ pallets/anchors/Cargo.toml | 9 +- pallets/bridge-mapping/Cargo.toml | 1 + pallets/bridge/Cargo.toml | 7 +- pallets/claims/Cargo.toml | 7 +- pallets/collator-allowlist/Cargo.toml | 5 +- pallets/connectors/Cargo.toml | 15 +++- pallets/crowdloan-claim/Cargo.toml | 8 +- pallets/crowdloan-reward/Cargo.toml | 8 +- pallets/fees/Cargo.toml | 8 +- pallets/interest-accrual/Cargo.toml | 9 +- pallets/investments/Cargo.toml | 7 +- pallets/keystore/Cargo.toml | 5 +- pallets/liquidity-rewards/Cargo.toml | 6 +- pallets/loans/Cargo.toml | 12 ++- pallets/migration/Cargo.toml | 8 +- pallets/nft-sales/Cargo.toml | 6 +- pallets/nft/Cargo.toml | 10 ++- pallets/permissions/Cargo.toml | 7 +- pallets/pool-registry/Cargo.toml | 10 ++- pallets/pool-system/Cargo.toml | 12 ++- pallets/restricted-tokens/Cargo.toml | 8 +- pallets/rewards/Cargo.toml | 6 +- runtime/altair/Cargo.toml | 14 +++ runtime/centrifuge/Cargo.toml | 4 + runtime/common/Cargo.toml | 18 +++- runtime/development/Cargo.toml | 91 +++++++++++++++++--- 33 files changed, 450 insertions(+), 50 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d6e9f475b1..aecc03091a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1986,6 +1986,7 @@ version = "0.1.0" source = "git+https://github.com/paritytech//cumulus?rev=6abd385ce49f7feb882218646410feb063404b77#6abd385ce49f7feb882218646410feb063404b77" dependencies = [ "cumulus-primitives-core", + "frame-benchmarking", "frame-support", "frame-system", "log", @@ -2286,6 +2287,7 @@ dependencies = [ "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal 0.3.4", "integer-sqrt", "orml-asset-registry", @@ -3032,7 +3034,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "parity-scale-codec 3.2.1", @@ -3048,7 +3050,22 @@ source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0. dependencies = [ "ethereum", "ethereum-types 0.14.1", - "fp-evm", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "frame-support", + "num_enum", + "parity-scale-codec 3.2.1", + "sp-core", + "sp-std", +] + +[[package]] +name = "fp-ethereum" +version = "1.0.0-dev" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +dependencies = [ + "ethereum", + "ethereum-types 0.14.1", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", "frame-support", "num_enum", "parity-scale-codec 3.2.1", @@ -3069,6 +3086,19 @@ dependencies = [ "sp-std", ] +[[package]] +name = "fp-evm" +version = "3.0.0-dev" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +dependencies = [ + "evm", + "frame-support", + "parity-scale-codec 3.2.1", + "serde", + "sp-core", + "sp-std", +] + [[package]] name = "fp-rpc" version = "3.0.0-dev" @@ -3076,7 +3106,24 @@ source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0. dependencies = [ "ethereum", "ethereum-types 0.14.1", - "fp-evm", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "parity-scale-codec 3.2.1", + "scale-info", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "fp-rpc" +version = "3.0.0-dev" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +dependencies = [ + "ethereum", + "ethereum-types 0.14.1", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", "parity-scale-codec 3.2.1", "scale-info", "sp-api", @@ -3100,10 +3147,24 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "fp-self-contained" +version = "1.0.0-dev" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +dependencies = [ + "ethereum", + "frame-support", + "parity-scale-codec 3.2.1", + "parity-util-mem", + "scale-info", + "serde", + "sp-runtime", +] + [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "parity-scale-codec 3.2.1", "serde", @@ -6351,20 +6412,20 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "ethereum-types 0.14.1", "evm", "fp-consensus", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", + "fp-ethereum 1.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-rpc 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-self-contained 1.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", "fp-storage", "frame-support", "frame-system", - "pallet-evm", + "pallet-evm 6.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", "pallet-timestamp", "parity-scale-codec 3.2.1", "rlp", @@ -6382,13 +6443,13 @@ source = "git+https://github.com/PureStake/moonbeam?rev=621220fb0b7a491256b27d70 dependencies = [ "ethereum", "ethereum-types 0.14.1", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", + "fp-ethereum 1.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "fp-rpc 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "fp-self-contained 1.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", "frame-support", "frame-system", - "pallet-evm", + "pallet-evm 6.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", "pallet-timestamp", "parity-scale-codec 3.2.1", "rlp", @@ -6407,7 +6468,32 @@ source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0. dependencies = [ "environmental", "evm", - "fp-evm", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex", + "log", + "pallet-timestamp", + "parity-scale-codec 3.2.1", + "primitive-types 0.12.1", + "rlp", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-evm" +version = "6.0.0-dev" +source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +dependencies = [ + "environmental", + "evm", + "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", "frame-benchmarking", "frame-support", "frame-system", diff --git a/Cargo.toml b/Cargo.toml index 81a187a53f..485bcb92f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -189,6 +189,48 @@ std = [ "sc-service/rocksdb", "substrate-build-script-utils", "sp-consensus-babe/std", + "altair-runtime/std", + "centrifuge-runtime/std", + "cfg-primitives/std", + "cfg-types/std", + "clap/std", + "cumulus-primitives-core/std", + "cumulus-primitives-parachain-inherent/std", + "development-runtime/std", + "frame-benchmarking/std", + "futures/std", + "log/std", + "node-primitives/std", + "pallet-anchors/std", + "pallet-im-online/std", + "pallet-loans/std", + "pallet-pool-system/std", + "codec/std", + "polkadot-parachain/std", + "polkadot-primitives/std", + "runtime-common/std", + "sc-executor/std", + "serde/std", + "serde_json/std", + "sp-api/std", + "sp-authority-discovery/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "grandpa-primitives/std", + "sp-inherents/std", + "sp-io/std", + "sp-keystore/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-runtime-interface/std", + "sp-session/std", + "sp-std/std", + "sp-timestamp/std", + "sp-transaction-pool/std", + "sp-trie/std", + "tracing-core/std", + "xcm/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -207,9 +249,19 @@ cli = [ 'try-runtime-cli', ] try-runtime = [ + "cfg-primitives/try-runtime", "centrifuge-runtime/try-runtime", "altair-runtime/try-runtime", + "development-runtime/try-runtime", "try-runtime-cli", + "cfg-types/try-runtime", + "pallet-anchors/try-runtime", + "pallet-im-online/try-runtime", + "pallet-loans/try-runtime", + "pallet-pool-system/try-runtime", + "polkadot-cli/try-runtime", + "polkadot-service/try-runtime", + "runtime-common/try-runtime", ] fast-runtime = [ diff --git a/libs/primitives/Cargo.toml b/libs/primitives/Cargo.toml index 01eac29536..eb2ffaf5d6 100644 --- a/libs/primitives/Cargo.toml +++ b/libs/primitives/Cargo.toml @@ -44,3 +44,8 @@ std = [ 'sp-consensus-aura/std', 'cumulus-primitives-core/std', ] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-collective/try-runtime", +] diff --git a/libs/test-utils/Cargo.toml b/libs/test-utils/Cargo.toml index ae880ad9bf..339532c830 100644 --- a/libs/test-utils/Cargo.toml +++ b/libs/test-utils/Cargo.toml @@ -42,6 +42,8 @@ std = [ 'sp-std/std', ] runtime-benchmarks = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", @@ -50,4 +52,4 @@ runtime-benchmarks = [ "cfg-traits/runtime-benchmarks", "cfg-types/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime"] +try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime", "cfg-types/try-runtime"] diff --git a/libs/traits/Cargo.toml b/libs/traits/Cargo.toml index a8585f0bf7..08eb36df6b 100644 --- a/libs/traits/Cargo.toml +++ b/libs/traits/Cargo.toml @@ -45,3 +45,8 @@ std = [ "mockall", "lazy_static", ] +try-runtime = [ + "frame-support/try-runtime", + "cfg-primitives/try-runtime", + "orml-asset-registry/try-runtime", +] diff --git a/libs/types/Cargo.toml b/libs/types/Cargo.toml index a0db1a5e1c..f8b3d3bdfd 100644 --- a/libs/types/Cargo.toml +++ b/libs/types/Cargo.toml @@ -52,4 +52,10 @@ std = [ 'sp-runtime/std', 'sp-std/std', ] -try-runtime = ['frame-support/try-runtime'] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + 'frame-support/try-runtime', + 'frame-system/try-runtime', + 'orml-asset-registry/try-runtime', +] diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index 7becd1e532..d4e0a715e8 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -33,3 +33,10 @@ std = [ ] runtime-benchmarks = [] + +try-runtime = [ + 'frame-support/try-runtime', + 'frame-system/try-runtime', + 'pallet-aura/try-runtime', + 'pallet-timestamp/try-runtime', +] diff --git a/pallets/anchors/Cargo.toml b/pallets/anchors/Cargo.toml index a3b7fd8b24..8affdf2916 100644 --- a/pallets/anchors/Cargo.toml +++ b/pallets/anchors/Cargo.toml @@ -44,7 +44,14 @@ runtime-benchmarks = [ "pallet-timestamp/runtime-benchmarks", 'cfg-utils/runtime-benchmarks', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-utils/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-aura/try-runtime", + "pallet-timestamp/try-runtime", +] std = [ 'codec/std', 'sp-core/std', diff --git a/pallets/bridge-mapping/Cargo.toml b/pallets/bridge-mapping/Cargo.toml index 76a9459575..06fc160238 100644 --- a/pallets/bridge-mapping/Cargo.toml +++ b/pallets/bridge-mapping/Cargo.toml @@ -31,3 +31,4 @@ std = [ 'frame-system/std', 'sp-runtime/std', ] +try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/bridge/Cargo.toml b/pallets/bridge/Cargo.toml index 546143b3ec..a9e90017ac 100644 --- a/pallets/bridge/Cargo.toml +++ b/pallets/bridge/Cargo.toml @@ -49,4 +49,9 @@ std = [ 'chainbridge/std', 'cfg-traits/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "chainbridge/try-runtime", + "frame-system/try-runtime", +] diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index cc336ad8ee..f18feb07fe 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -42,4 +42,9 @@ std = [ 'sp-core/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", +] diff --git a/pallets/collator-allowlist/Cargo.toml b/pallets/collator-allowlist/Cargo.toml index 4a2b4eaa95..27ab55c95b 100644 --- a/pallets/collator-allowlist/Cargo.toml +++ b/pallets/collator-allowlist/Cargo.toml @@ -37,4 +37,7 @@ std = [ 'sp-std/std', 'sp-runtime/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/pallets/connectors/Cargo.toml b/pallets/connectors/Cargo.toml index f5c3937b77..70c2fd572d 100644 --- a/pallets/connectors/Cargo.toml +++ b/pallets/connectors/Cargo.toml @@ -40,7 +40,7 @@ runtime-common = { path = "../../runtime/common", default-features = false } # Polkadot xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } -pallet-ethereum = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.32" } +pallet-ethereum = { git = "https://github.com/PureStake/frontier", default-features = false, rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } pallet-ethereum-xcm = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } pallet-xcm-transactor = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } xcm-primitives = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } @@ -101,3 +101,16 @@ std = [ 'pallet-pool-system/std', 'pallet-uniques/std', ] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "cfg-types/try-runtime", + "cfg-utils/try-runtime", + "frame-system/try-runtime", + "pallet-ethereum/try-runtime", + "pallet-ethereum-xcm/try-runtime", + "pallet-xcm-transactor/try-runtime", +] diff --git a/pallets/crowdloan-claim/Cargo.toml b/pallets/crowdloan-claim/Cargo.toml index 81b2033feb..94ffd8c1fa 100644 --- a/pallets/crowdloan-claim/Cargo.toml +++ b/pallets/crowdloan-claim/Cargo.toml @@ -53,4 +53,10 @@ std = [ 'cfg-traits/std', 'proofs/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", +] diff --git a/pallets/crowdloan-reward/Cargo.toml b/pallets/crowdloan-reward/Cargo.toml index 24b5781067..3a6240c1f0 100644 --- a/pallets/crowdloan-reward/Cargo.toml +++ b/pallets/crowdloan-reward/Cargo.toml @@ -50,4 +50,10 @@ std = [ 'pallet-vesting/std', 'cfg-traits/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "pallet-indices/try-runtime", +] diff --git a/pallets/fees/Cargo.toml b/pallets/fees/Cargo.toml index e452bc01c3..7313a8c19e 100644 --- a/pallets/fees/Cargo.toml +++ b/pallets/fees/Cargo.toml @@ -46,4 +46,10 @@ std = [ 'pallet-authorship/std', 'pallet-treasury/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-authorship/try-runtime", +] diff --git a/pallets/interest-accrual/Cargo.toml b/pallets/interest-accrual/Cargo.toml index c6000c8982..33484cdded 100644 --- a/pallets/interest-accrual/Cargo.toml +++ b/pallets/interest-accrual/Cargo.toml @@ -53,4 +53,11 @@ std = [ 'cfg-traits/std', 'cfg-types/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "frame-system/try-runtime", + "pallet-timestamp/try-runtime", +] diff --git a/pallets/investments/Cargo.toml b/pallets/investments/Cargo.toml index aae1e38824..31f9489305 100644 --- a/pallets/investments/Cargo.toml +++ b/pallets/investments/Cargo.toml @@ -62,4 +62,9 @@ std = [ 'sp-runtime/std', 'sp-std/std', ] -try-runtime = ['frame-support/try-runtime'] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + 'frame-support/try-runtime', + "frame-system/try-runtime", +] diff --git a/pallets/keystore/Cargo.toml b/pallets/keystore/Cargo.toml index 5afc63ce77..a7f3ac9045 100644 --- a/pallets/keystore/Cargo.toml +++ b/pallets/keystore/Cargo.toml @@ -37,4 +37,7 @@ std = [ 'sp-runtime/std', 'sp-std/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/pallets/liquidity-rewards/Cargo.toml b/pallets/liquidity-rewards/Cargo.toml index fad0f7d55b..7254e89289 100644 --- a/pallets/liquidity-rewards/Cargo.toml +++ b/pallets/liquidity-rewards/Cargo.toml @@ -30,7 +30,11 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0 [features] default = ["std"] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", +] runtime-benchmarks = ["frame-benchmarking"] std = [ "codec/std", diff --git a/pallets/loans/Cargo.toml b/pallets/loans/Cargo.toml index 731350bb66..df468f9d35 100644 --- a/pallets/loans/Cargo.toml +++ b/pallets/loans/Cargo.toml @@ -94,4 +94,14 @@ std = [ 'cfg-types/std', 'cfg-primitives/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "frame-system/try-runtime", + "pallet-interest-accrual/try-runtime", + "pallet-permissions/try-runtime", + "parachain-info/try-runtime", + "cfg-utils/try-runtime", +] diff --git a/pallets/migration/Cargo.toml b/pallets/migration/Cargo.toml index fee2777358..ce85dc4fef 100644 --- a/pallets/migration/Cargo.toml +++ b/pallets/migration/Cargo.toml @@ -42,4 +42,10 @@ std = [ 'pallet-balances/std', 'pallet-proxy/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "pallet-proxy/try-runtime", + "pallet-vesting/try-runtime", +] diff --git a/pallets/nft-sales/Cargo.toml b/pallets/nft-sales/Cargo.toml index 8c7c77e271..925af6beac 100644 --- a/pallets/nft-sales/Cargo.toml +++ b/pallets/nft-sales/Cargo.toml @@ -65,4 +65,8 @@ std = [ 'pallet-balances/std', 'cfg-primitives/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 13b30c7f58..c485662702 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -64,4 +64,12 @@ std = [ 'cfg-traits/std', 'cfg-primitives/std', ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "chainbridge/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", +] diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 778a83f505..7fe39e98ea 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -46,4 +46,9 @@ std = [ 'sp-std/std', 'cfg-traits/std', ] -try-runtime = ['frame-support/try-runtime'] +try-runtime = [ + "cfg-traits/try-runtime", + 'frame-support/try-runtime', + "cfg-types/try-runtime", + "frame-system/try-runtime", +] diff --git a/pallets/pool-registry/Cargo.toml b/pallets/pool-registry/Cargo.toml index fbc6629547..45e2749d5a 100644 --- a/pallets/pool-registry/Cargo.toml +++ b/pallets/pool-registry/Cargo.toml @@ -68,7 +68,15 @@ std = [ 'orml-traits/std', 'orml-asset-registry/std', ] -try-runtime = ['frame-support/try-runtime'] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + 'frame-support/try-runtime', + "cfg-types/try-runtime", + "frame-system/try-runtime", + "orml-asset-registry/try-runtime", + "pallet-investments/try-runtime", +] test-benchmarks = [ 'frame-support/try-runtime', ] diff --git a/pallets/pool-system/Cargo.toml b/pallets/pool-system/Cargo.toml index 0eeb6a9e83..87f71b31ff 100644 --- a/pallets/pool-system/Cargo.toml +++ b/pallets/pool-system/Cargo.toml @@ -84,7 +84,17 @@ std = [ 'orml-asset-registry/std', 'xcm/std', ] -try-runtime = ['frame-support/try-runtime', "lazy_static/spin_no_std"] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + 'frame-support/try-runtime', + "lazy_static/spin_no_std", + "cfg-types/try-runtime", + "frame-system/try-runtime", + "orml-asset-registry/try-runtime", + "pallet-permissions/try-runtime", + "pallet-timestamp/try-runtime", +] test-benchmarks = [ 'frame-support/try-runtime', ] diff --git a/pallets/restricted-tokens/Cargo.toml b/pallets/restricted-tokens/Cargo.toml index c98ca3c958..d0d83ad4d3 100644 --- a/pallets/restricted-tokens/Cargo.toml +++ b/pallets/restricted-tokens/Cargo.toml @@ -59,4 +59,10 @@ std = [ 'cfg-types/std', 'cfg-traits/std', ] -try-runtime = ['frame-support/try-runtime'] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + 'frame-support/try-runtime', + "frame-system/try-runtime", + "pallet-permissions/try-runtime", +] diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index 86e9b4c572..e4e5cfaaf6 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -31,7 +31,11 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0 [features] default = ["std"] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", +] std = [ "codec/std", "frame-support/std", diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index 727997c4c4..6ad97b3c7f 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -266,6 +266,20 @@ runtime-benchmarks = [ ] try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "cfg-types/try-runtime", + "pallet-authority-discovery/try-runtime", + "pallet-babe/try-runtime", + "pallet-grandpa/try-runtime", + "pallet-im-online/try-runtime", + "pallet-indices/try-runtime", + "pallet-membership/try-runtime", + "pallet-offences/try-runtime", + "pallet-staking/try-runtime", + "polkadot-runtime-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-dmp-queue/try-runtime", "cumulus-pallet-parachain-system/try-runtime", diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index 01728350ed..0d018cee69 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -257,6 +257,10 @@ runtime-benchmarks = [ ] try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "cfg-types/try-runtime", + "polkadot-runtime-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-dmp-queue/try-runtime", "cumulus-pallet-parachain-system/try-runtime", diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 68f0f62d99..5561a5fbde 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -86,4 +86,20 @@ runtime-benchmarks = [ on-chain-release-build = [ "sp-api/disable-logging", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "frame-system/try-runtime", + "pallet-anchors/try-runtime", + "pallet-authorship/try-runtime", + "pallet-balances/try-runtime", + "pallet-collective/try-runtime", + "pallet-permissions/try-runtime", + "pallet-pool-system/try-runtime", + "pallet-rewards/try-runtime", + "pallet-treasury/try-runtime", + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", +] diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index 82d73a8610..0e8f509c46 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -65,6 +65,7 @@ frame-support = { git = "https://github.com/paritytech/substrate", default-featu frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -161,6 +162,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-system-benchmarking?/std", + "frame-try-runtime/std", "orml-asset-registry/std", "orml-tokens/std", "orml-xtokens/std", @@ -243,6 +245,17 @@ std = [ "xcm/std", "xcm-primitives/std", "pallet-xcm-transactor/std", + "cfg-traits/std", + "cumulus-pallet-dmp-queue/std", + "cumulus-primitives-core/std", + "cumulus-primitives-utility/std", + "frame-benchmarking/std", + "orml-traits/std", + "orml-xcm/std", + "orml-xcm-support/std", + "pallet-pool-system/std", + "polkadot-parachain/std", + "scale-info/std", ] runtime-benchmarks = [ @@ -277,9 +290,64 @@ runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", "runtime-common/runtime-benchmarks", "xcm-builder/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "orml-tokens/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-bridge/runtime-benchmarks", + "pallet-connectors/runtime-benchmarks", + "pallet-democracy/runtime-benchmarks", + "pallet-elections-phragmen/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-indices/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "pallet-staking/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "pallet-xcm-transactor/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", + "xcm-primitives/runtime-benchmarks", ] try-runtime = [ + "pallet-connectors/try-runtime", + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "cfg-types/try-runtime", + "pallet-interest-accrual/try-runtime", + "pallet-investments/try-runtime", + "pallet-keystore/try-runtime", + "pallet-liquidity-rewards/try-runtime", + "pallet-loans/try-runtime", + "pallet-nft-sales/try-runtime", + "pallet-permissions/try-runtime", + "pallet-pool-registry/try-runtime", + "pallet-pool-system/try-runtime", + "pallet-rewards/try-runtime", + "pallet-society/try-runtime", + "pallet-sudo/try-runtime", + "pallet-uniques/try-runtime", + "pallet-xcm-transactor/try-runtime", + "polkadot-runtime-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-dmp-queue/try-runtime", "cumulus-pallet-parachain-system/try-runtime", @@ -288,14 +356,20 @@ try-runtime = [ "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", + "frame-try-runtime", + "chainbridge/try-runtime", "orml-asset-registry/try-runtime", "orml-tokens/try-runtime", "orml-xcm/try-runtime", "orml-xtokens/try-runtime", "pallet-anchors/try-runtime", "pallet-aura/try-runtime", + "pallet-authority-discovery/try-runtime", "pallet-authorship/try-runtime", + "pallet-babe/try-runtime", "pallet-balances/try-runtime", + "pallet-bridge/try-runtime", + "pallet-claims/try-runtime", "pallet-collator-allowlist/try-runtime", "pallet-collator-selection/try-runtime", "pallet-collective/try-runtime", @@ -304,28 +378,25 @@ try-runtime = [ "pallet-democracy/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-fees/try-runtime", + "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", - "pallet-interest-accrual/try-runtime", - "pallet-investments/try-runtime", - "pallet-liquidity-rewards/try-runtime", - "pallet-loans/try-runtime", + "pallet-im-online/try-runtime", + "pallet-indices/try-runtime", + "pallet-membership/try-runtime", "pallet-migration-manager/try-runtime", "pallet-multisig/try-runtime", - "pallet-nft-sales/try-runtime", - "pallet-permissions/try-runtime", - "pallet-pool-system/try-runtime", - "pallet-pool-registry/try-runtime", + "pallet-nft/try-runtime", + "pallet-offences/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-randomness-collective-flip/try-runtime", "pallet-restricted-tokens/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", - "pallet-society/try-runtime", + "pallet-staking/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", - "pallet-uniques/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", "pallet-xcm/try-runtime", From d787ebf579b6d22513abf095cf5c5f09af4c1970 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 14:54:12 +0100 Subject: [PATCH 02/12] fix: add missing std, bench feats to all tomls --- Cargo.toml | 16 +++++++++++++++ libs/primitives/Cargo.toml | 8 +++++++- libs/proofs/Cargo.toml | 1 + libs/test-utils/Cargo.toml | 1 + libs/traits/Cargo.toml | 8 +++++++- libs/types/Cargo.toml | 14 +++++++++++++ libs/utils/Cargo.toml | 10 ++++++++- pallets/anchors/Cargo.toml | 8 ++++++++ pallets/bridge/Cargo.toml | 7 ++++++- pallets/claims/Cargo.toml | 2 ++ pallets/collator-allowlist/Cargo.toml | 8 +++++++- pallets/connectors/Cargo.toml | 15 ++++++++++++++ pallets/crowdloan-claim/Cargo.toml | 16 ++++++++++++++- pallets/crowdloan-reward/Cargo.toml | 13 +++++++++++- pallets/fees/Cargo.toml | 9 ++++++++- pallets/interest-accrual/Cargo.toml | 10 +++++++++ pallets/investments/Cargo.toml | 2 ++ pallets/keystore/Cargo.toml | 9 ++++++++- pallets/liquidity-rewards/Cargo.toml | 11 +++++++++- pallets/loans/Cargo.toml | 8 ++++++++ pallets/migration/Cargo.toml | 18 ++++++++++++++++- pallets/nft-sales/Cargo.toml | 5 +++++ pallets/nft/Cargo.toml | 14 ++++++++++++- pallets/permissions/Cargo.toml | 6 ++++++ pallets/pool-registry/Cargo.toml | 14 +++++++++++++ pallets/pool-system/Cargo.toml | 2 ++ pallets/restricted-tokens/Cargo.toml | 8 ++++++++ pallets/rewards/Cargo.toml | 2 ++ runtime/altair/Cargo.toml | 29 +++++++++++++++++++++++++++ runtime/centrifuge/Cargo.toml | 27 +++++++++++++++++++++++++ runtime/common/Cargo.toml | 16 +++++++++++++++ runtime/integration-tests/Cargo.toml | 24 ++++++++++++++++++++++ 32 files changed, 329 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 485bcb92f2..d7b71868f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -186,6 +186,7 @@ tempfile = "3.1.0" [features] default = ["std", "cli"] std = [ + "serde/std", "sc-service/rocksdb", "substrate-build-script-utils", "sp-consensus-babe/std", @@ -240,6 +241,21 @@ runtime-benchmarks = [ "development-runtime/runtime-benchmarks", "runtime-common/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "frame-benchmarking-cli/runtime-benchmarks", + "pallet-anchors/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-loans/runtime-benchmarks", + "pallet-pool-system/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", + "runtime-integration-tests/runtime-benchmarks", + "sc-client-db/runtime-benchmarks", + "sc-service/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] test-benchmarks = [ "runtime-benchmarks", diff --git a/libs/primitives/Cargo.toml b/libs/primitives/Cargo.toml index eb2ffaf5d6..42b64036e8 100644 --- a/libs/primitives/Cargo.toml +++ b/libs/primitives/Cargo.toml @@ -31,8 +31,14 @@ cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", defau [features] default = ['std'] -runtime-benchmarks = [] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ + "serde/std", 'codec/std', 'sp-std/std', 'scale-info/std', diff --git a/libs/proofs/Cargo.toml b/libs/proofs/Cargo.toml index d31b7fc108..79847500d9 100644 --- a/libs/proofs/Cargo.toml +++ b/libs/proofs/Cargo.toml @@ -23,4 +23,5 @@ default = ['std'] std = [ 'codec/std', "sp-std/std", + "scale-info/std", ] diff --git a/libs/test-utils/Cargo.toml b/libs/test-utils/Cargo.toml index 339532c830..b465eb4c59 100644 --- a/libs/test-utils/Cargo.toml +++ b/libs/test-utils/Cargo.toml @@ -40,6 +40,7 @@ std = [ 'frame-system/std', 'sp-runtime/std', 'sp-std/std', + "frame-benchmarking/std", ] runtime-benchmarks = [ "cfg-primitives/try-runtime", diff --git a/libs/traits/Cargo.toml b/libs/traits/Cargo.toml index 08eb36df6b..882fbb4193 100644 --- a/libs/traits/Cargo.toml +++ b/libs/traits/Cargo.toml @@ -32,7 +32,12 @@ orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-li [features] default = ['std'] -runtime-benchmarks = [] +runtime-benchmarks = [ + "cfg-primitives/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ "serde/std", "codec/std", @@ -44,6 +49,7 @@ std = [ "orml-asset-registry/std", "mockall", "lazy_static", + "scale-info/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/libs/types/Cargo.toml b/libs/types/Cargo.toml index f8b3d3bdfd..a8bdb4cf78 100644 --- a/libs/types/Cargo.toml +++ b/libs/types/Cargo.toml @@ -41,6 +41,12 @@ default = ['std'] runtime-benchmarks = [ 'frame-support/runtime-benchmarks', 'frame-system/runtime-benchmarks', + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] std = [ 'cfg-primitives/std', @@ -51,6 +57,14 @@ std = [ 'sp-runtime/std', 'sp-runtime/std', 'sp-std/std', + "orml-asset-registry/std", + "orml-traits/std", + "polkadot-parachain/std", + "rev_slice/std", + "scale-info/std", + "serde/std", + "sp-arithmetic/std", + "xcm/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index d4e0a715e8..065fe18ff0 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -30,9 +30,17 @@ std = [ 'sp-std/std', 'pallet-timestamp/std', 'pallet-aura/std', + "codec/std", + "scale-info/std", + "sp-consensus-aura/std", ] -runtime-benchmarks = [] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] try-runtime = [ 'frame-support/try-runtime', diff --git a/pallets/anchors/Cargo.toml b/pallets/anchors/Cargo.toml index 8affdf2916..0b970fcb24 100644 --- a/pallets/anchors/Cargo.toml +++ b/pallets/anchors/Cargo.toml @@ -43,6 +43,10 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", 'cfg-utils/runtime-benchmarks', + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ "cfg-utils/try-runtime", @@ -63,4 +67,8 @@ std = [ 'pallet-timestamp/std', 'cfg-traits/std', 'cfg-utils/std', + "frame-benchmarking/std", + "pallet-aura/std", + "scale-info/std", + "serde/std", ] diff --git a/pallets/bridge/Cargo.toml b/pallets/bridge/Cargo.toml index a9e90017ac..3ba0fc54db 100644 --- a/pallets/bridge/Cargo.toml +++ b/pallets/bridge/Cargo.toml @@ -37,7 +37,12 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkad [features] default = ['std'] -runtime-benchmarks = ["chainbridge/runtime-benchmarks", "frame-support/runtime-benchmarks"] +runtime-benchmarks = [ + "chainbridge/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "frame-system/runtime-benchmarks", +] std = [ 'codec/std', 'scale-info/std', diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index f18feb07fe..33a12beb37 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -40,6 +40,8 @@ std = [ 'pallet-balances/std', 'sp-std/std', 'sp-core/std', + "frame-benchmarking/std", + "sp-runtime/std", ] try-runtime = [ diff --git a/pallets/collator-allowlist/Cargo.toml b/pallets/collator-allowlist/Cargo.toml index 27ab55c95b..4e03483875 100644 --- a/pallets/collator-allowlist/Cargo.toml +++ b/pallets/collator-allowlist/Cargo.toml @@ -28,7 +28,12 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = tr [features] default = ['std'] -runtime-benchmarks = ["frame-benchmarking"] +runtime-benchmarks = [ + "frame-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ 'codec/std', 'scale-info/std', @@ -36,6 +41,7 @@ std = [ 'frame-system/std', 'sp-std/std', 'sp-runtime/std', + "frame-benchmarking/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/connectors/Cargo.toml b/pallets/connectors/Cargo.toml index 70c2fd572d..4eca2a3e6c 100644 --- a/pallets/connectors/Cargo.toml +++ b/pallets/connectors/Cargo.toml @@ -75,6 +75,18 @@ runtime-benchmarks = [ "frame-benchmarking", "pallet-balances", "orml-tokens", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "cfg-utils/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-ethereum/runtime-benchmarks", + "pallet-ethereum-xcm/runtime-benchmarks", + "pallet-xcm-transactor/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", + "xcm-primitives/runtime-benchmarks", ] std = [ 'codec/std', @@ -100,6 +112,9 @@ std = [ 'pallet-loans/std', 'pallet-pool-system/std', 'pallet-uniques/std', + "cfg-primitives/std", + "frame-benchmarking/std", + "scale-info/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/crowdloan-claim/Cargo.toml b/pallets/crowdloan-claim/Cargo.toml index 94ffd8c1fa..1868dc24f4 100644 --- a/pallets/crowdloan-claim/Cargo.toml +++ b/pallets/crowdloan-claim/Cargo.toml @@ -43,7 +43,15 @@ sp-trie = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ['std'] -runtime-benchmarks = ["frame-benchmarking"] +runtime-benchmarks = [ + "frame-benchmarking", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ 'codec/std', 'frame-support/std', @@ -52,6 +60,12 @@ std = [ 'sp-std/std', 'cfg-traits/std', 'proofs/std', + "cfg-types/std", + "frame-benchmarking/std", + "scale-info/std", + "serde/std", + "sp-core/std", + "sp-runtime/std", ] try-runtime = [ "cfg-traits/try-runtime", diff --git a/pallets/crowdloan-reward/Cargo.toml b/pallets/crowdloan-reward/Cargo.toml index 3a6240c1f0..dc91903374 100644 --- a/pallets/crowdloan-reward/Cargo.toml +++ b/pallets/crowdloan-reward/Cargo.toml @@ -39,7 +39,15 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = fa [features] default = ['std'] -runtime-benchmarks = ["frame-benchmarking"] +runtime-benchmarks = [ + "frame-benchmarking", + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-indices/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ 'codec/std', 'scale-info/std', @@ -49,6 +57,9 @@ std = [ 'pallet-balances/std', 'pallet-vesting/std', 'cfg-traits/std', + "frame-benchmarking/std", + "pallet-indices/std", + "sp-runtime/std", ] try-runtime = [ "cfg-traits/try-runtime", diff --git a/pallets/fees/Cargo.toml b/pallets/fees/Cargo.toml index 7313a8c19e..977e24dd41 100644 --- a/pallets/fees/Cargo.toml +++ b/pallets/fees/Cargo.toml @@ -34,7 +34,13 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = tr [features] default = ['std'] -runtime-benchmarks = ["frame-benchmarking"] +runtime-benchmarks = [ + "frame-benchmarking", + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ 'codec/std', 'scale-info/std', @@ -45,6 +51,7 @@ std = [ 'frame-system/std', 'pallet-authorship/std', 'pallet-treasury/std', + "frame-benchmarking/std", ] try-runtime = [ diff --git a/pallets/interest-accrual/Cargo.toml b/pallets/interest-accrual/Cargo.toml index 33484cdded..720b8d0e8e 100644 --- a/pallets/interest-accrual/Cargo.toml +++ b/pallets/interest-accrual/Cargo.toml @@ -37,6 +37,13 @@ bitflags = "1.3" default = ['std'] runtime-benchmarks = [ "frame-benchmarking", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ 'codec/std', @@ -52,6 +59,9 @@ std = [ 'pallet-timestamp/std', 'cfg-traits/std', 'cfg-types/std', + "cfg-primitives/std", + "log/std", + "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/investments/Cargo.toml b/pallets/investments/Cargo.toml index 31f9489305..d9b134cf2e 100644 --- a/pallets/investments/Cargo.toml +++ b/pallets/investments/Cargo.toml @@ -61,6 +61,8 @@ std = [ 'scale-info/std', 'sp-runtime/std', 'sp-std/std', + "frame-benchmarking/std", + "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/keystore/Cargo.toml b/pallets/keystore/Cargo.toml index a7f3ac9045..567c2b1b17 100644 --- a/pallets/keystore/Cargo.toml +++ b/pallets/keystore/Cargo.toml @@ -28,7 +28,12 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = tr [features] default = ['std'] -runtime-benchmarks = ['frame-benchmarking'] +runtime-benchmarks = [ + 'frame-benchmarking', + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ 'codec/std', 'scale-info/std', @@ -36,6 +41,8 @@ std = [ 'frame-system/std', 'sp-runtime/std', 'sp-std/std', + "frame-benchmarking/std", + "serde/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/liquidity-rewards/Cargo.toml b/pallets/liquidity-rewards/Cargo.toml index 7254e89289..23e65514d0 100644 --- a/pallets/liquidity-rewards/Cargo.toml +++ b/pallets/liquidity-rewards/Cargo.toml @@ -35,7 +35,13 @@ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", ] -runtime-benchmarks = ["frame-benchmarking"] +runtime-benchmarks = [ + "frame-benchmarking", + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ "codec/std", "frame-support/std", @@ -43,4 +49,7 @@ std = [ "sp-runtime/std", "sp-std/std", "cfg-traits/std", + "frame-benchmarking/std", + "num-traits/std", + "scale-info/std", ] diff --git a/pallets/loans/Cargo.toml b/pallets/loans/Cargo.toml index df468f9d35..81e373fb68 100644 --- a/pallets/loans/Cargo.toml +++ b/pallets/loans/Cargo.toml @@ -76,6 +76,12 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "cfg-test-utils/runtime-benchmarks", "cfg-utils/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "pallet-interest-accrual/runtime-benchmarks", + "pallet-permissions/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ 'serde/std', @@ -93,6 +99,8 @@ std = [ 'cfg-traits/std', 'cfg-types/std', 'cfg-primitives/std', + "cfg-utils/std", + "frame-benchmarking/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/migration/Cargo.toml b/pallets/migration/Cargo.toml index ce85dc4fef..6c007c33e3 100644 --- a/pallets/migration/Cargo.toml +++ b/pallets/migration/Cargo.toml @@ -33,7 +33,15 @@ rand = "0.8.5" [features] default = ['std'] -runtime-benchmarks = ["frame-benchmarking"] +runtime-benchmarks = [ + "frame-benchmarking", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] std = [ 'codec/std', 'frame-support/std', @@ -41,6 +49,14 @@ std = [ 'pallet-vesting/std', 'pallet-balances/std', 'pallet-proxy/std', + "frame-benchmarking/std", + "log/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", + "sp-version/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/nft-sales/Cargo.toml b/pallets/nft-sales/Cargo.toml index 925af6beac..fd03cd754c 100644 --- a/pallets/nft-sales/Cargo.toml +++ b/pallets/nft-sales/Cargo.toml @@ -52,6 +52,9 @@ runtime-benchmarks = [ "cfg-primitives", "orml-tokens", "orml-traits", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ 'codec/std', @@ -64,6 +67,8 @@ std = [ 'orml-traits/std', 'pallet-balances/std', 'cfg-primitives/std', + "frame-benchmarking/std", + "scale-info/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index c485662702..3d8955a918 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -46,7 +46,16 @@ sp-std = { git = "https://github.com/paritytech/substrate", default-features = t [features] default = ['std'] -runtime-benchmarks = ["chainbridge/runtime-benchmarks", "frame-benchmarking"] +runtime-benchmarks = [ + "chainbridge/runtime-benchmarks", + "frame-benchmarking", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", +] std = [ 'codec/std', 'scale-info/std', @@ -63,6 +72,9 @@ std = [ 'proofs/std', 'cfg-traits/std', 'cfg-primitives/std', + "cfg-types/std", + "frame-benchmarking/std", + "unique-assets/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 7fe39e98ea..fb94fbecf5 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -34,6 +34,10 @@ default = ['std'] runtime-benchmarks = [ 'frame-benchmarking', 'cfg-types', + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] std = [ @@ -45,6 +49,8 @@ std = [ 'sp-runtime/std', 'sp-std/std', 'cfg-traits/std', + "cfg-types/std", + "serde/std", ] try-runtime = [ "cfg-traits/try-runtime", diff --git a/pallets/pool-registry/Cargo.toml b/pallets/pool-registry/Cargo.toml index 45e2749d5a..3ca1289d99 100644 --- a/pallets/pool-registry/Cargo.toml +++ b/pallets/pool-registry/Cargo.toml @@ -53,6 +53,15 @@ default = ['std'] runtime-benchmarks = [ 'frame-benchmarking', 'pallet-investments/runtime-benchmarks', + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] std = [ 'codec/std', @@ -67,6 +76,11 @@ std = [ 'xcm/std', 'orml-traits/std', 'orml-asset-registry/std', + "frame-benchmarking/std", + "pallet-investments/std", + "scale-info/std", + "serde/std", + "sp-arithmetic/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/pool-system/Cargo.toml b/pallets/pool-system/Cargo.toml index 87f71b31ff..41b398447d 100644 --- a/pallets/pool-system/Cargo.toml +++ b/pallets/pool-system/Cargo.toml @@ -83,6 +83,8 @@ std = [ 'polkadot-parachain/std', 'orml-asset-registry/std', 'xcm/std', + "frame-benchmarking/std", + "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/restricted-tokens/Cargo.toml b/pallets/restricted-tokens/Cargo.toml index d0d83ad4d3..062c889f2d 100644 --- a/pallets/restricted-tokens/Cargo.toml +++ b/pallets/restricted-tokens/Cargo.toml @@ -48,6 +48,10 @@ runtime-benchmarks = [ 'orml-traits', 'pallet-permissions', 'cfg-types', + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", ] std = [ 'codec/std', @@ -58,6 +62,10 @@ std = [ 'sp-std/std', 'cfg-types/std', 'cfg-traits/std', + "cfg-primitives/std", + "frame-benchmarking/std", + "pallet-permissions/std", + "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index e4e5cfaaf6..d6e23e3848 100644 --- a/pallets/rewards/Cargo.toml +++ b/pallets/rewards/Cargo.toml @@ -43,4 +43,6 @@ std = [ "sp-runtime/std", "sp-std/std", "cfg-traits/std", + "num-traits/std", + "scale-info/std", ] diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index 6ad97b3c7f..babd05633a 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -221,6 +221,16 @@ std = [ "xcm-builder/std", "xcm-executor/std", "xcm/std", + "cfg-traits/std", + "cumulus-pallet-dmp-queue/std", + "cumulus-primitives-core/std", + "cumulus-primitives-utility/std", + "frame-benchmarking/std", + "frame-system-benchmarking/std", + "orml-traits/std", + "pallet-session-benchmarking/std", + "polkadot-parachain/std", + "scale-info/std", ] runtime-benchmarks = [ "cfg-types/runtime-benchmarks", @@ -263,6 +273,25 @@ runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", "runtime-common/runtime-benchmarks", "xcm-builder/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "orml-tokens/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-indices/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-staking/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] try-runtime = [ diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index 0d018cee69..af32c093c9 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -217,6 +217,12 @@ std = [ "xcm-builder/std", "xcm-executor/std", "xcm/std", + "cumulus-primitives-core/std", + "cumulus-primitives-utility/std", + "frame-benchmarking/std", + "frame-system-benchmarking/std", + "pallet-session-benchmarking/std", + "scale-info/std", ] runtime-benchmarks = [ @@ -254,6 +260,27 @@ runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", "runtime-common/runtime-benchmarks", "xcm-builder/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "orml-tokens/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-bridge/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-im-online/runtime-benchmarks", + "pallet-indices/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-nft/runtime-benchmarks", + "pallet-offences/runtime-benchmarks", + "pallet-staking/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] try-runtime = [ diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 5561a5fbde..fc72e9e694 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -77,10 +77,26 @@ std = [ "frame-system/std", "cfg-primitives/std", "cfg-types/std", + "orml-traits/std", + "pallet-pool-system/std", + "pallet-rewards/std", + "scale-info/std", + "xcm/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "pallet-anchors/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "pallet-permissions/runtime-benchmarks", + "pallet-pool-system/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] on-chain-release-build = [ diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 54a45db517..19162d9077 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -109,6 +109,30 @@ runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "kusama-runtime/runtime-benchmarks", "fudge/runtime-benchmarks", + "altair-runtime/runtime-benchmarks", + "centrifuge-runtime/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "orml-tokens/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-babe/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-uniques/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-runtime/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "polkadot-runtime-parachains/runtime-benchmarks", + "rococo-runtime/runtime-benchmarks", + "runtime-common/runtime-benchmarks", + "sc-service/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", ] runtime-development = [] runtime-altair = [] From f9165a2f0284add487429ec0f01b0d8f105524bd Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 20:55:01 +0100 Subject: [PATCH 03/12] fix: patch PureStake/Frontier --- Cargo.lock | 128 +++++++++-------------------------------------------- Cargo.toml | 11 +++++ 2 files changed, 33 insertions(+), 106 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index aecc03091a..12d4b9bcdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3034,7 +3034,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "parity-scale-codec 3.2.1", @@ -3046,26 +3046,11 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "ethereum-types 0.14.1", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", - "frame-support", - "num_enum", - "parity-scale-codec 3.2.1", - "sp-core", - "sp-std", -] - -[[package]] -name = "fp-ethereum" -version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" -dependencies = [ - "ethereum", - "ethereum-types 0.14.1", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-evm", "frame-support", "num_enum", "parity-scale-codec 3.2.1", @@ -3076,7 +3061,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "evm", "frame-support", @@ -3086,44 +3071,14 @@ dependencies = [ "sp-std", ] -[[package]] -name = "fp-evm" -version = "3.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" -dependencies = [ - "evm", - "frame-support", - "parity-scale-codec 3.2.1", - "serde", - "sp-core", - "sp-std", -] - -[[package]] -name = "fp-rpc" -version = "3.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" -dependencies = [ - "ethereum", - "ethereum-types 0.14.1", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", - "parity-scale-codec 3.2.1", - "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "ethereum-types 0.14.1", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-evm", "parity-scale-codec 3.2.1", "scale-info", "sp-api", @@ -3136,21 +3091,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" -dependencies = [ - "ethereum", - "frame-support", - "parity-scale-codec 3.2.1", - "parity-util-mem", - "scale-info", - "serde", - "sp-runtime", -] - -[[package]] -name = "fp-self-contained" -version = "1.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "frame-support", @@ -3164,7 +3105,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "parity-scale-codec 3.2.1", "serde", @@ -6412,20 +6353,20 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "ethereum", "ethereum-types 0.14.1", "evm", "fp-consensus", - "fp-ethereum 1.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", - "fp-rpc 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", - "fp-self-contained 1.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-ethereum", + "fp-evm", + "fp-rpc", + "fp-self-contained", "fp-storage", "frame-support", "frame-system", - "pallet-evm 6.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "pallet-evm", "pallet-timestamp", "parity-scale-codec 3.2.1", "rlp", @@ -6443,13 +6384,13 @@ source = "git+https://github.com/PureStake/moonbeam?rev=621220fb0b7a491256b27d70 dependencies = [ "ethereum", "ethereum-types 0.14.1", - "fp-ethereum 1.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", - "fp-rpc 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", - "fp-self-contained 1.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "fp-ethereum", + "fp-evm", + "fp-rpc", + "fp-self-contained", "frame-support", "frame-system", - "pallet-evm 6.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", + "pallet-evm", "pallet-timestamp", "parity-scale-codec 3.2.1", "rlp", @@ -6464,36 +6405,11 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" dependencies = [ "environmental", "evm", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32)", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex", - "log", - "pallet-timestamp", - "parity-scale-codec 3.2.1", - "primitive-types 0.12.1", - "rlp", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-evm" -version = "6.0.0-dev" -source = "git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" -dependencies = [ - "environmental", - "evm", - "fp-evm 3.0.0-dev (git+https://github.com/PureStake/frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0)", + "fp-evm", "frame-benchmarking", "frame-support", "frame-system", @@ -13218,7 +13134,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "digest 0.10.6", "rand 0.8.5", "static_assertions", diff --git a/Cargo.toml b/Cargo.toml index d7b71868f1..1f57d8d46f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -717,3 +717,14 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } + +# Cargo patch rules for all the PureStake/frontier crates +[patch."https://github.com/PureStake/frontier"] +fp-consensus = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-ethereum = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-evm = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-rpc = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-self-contained = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-storage = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +pallet-ethereum = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +pallet-evm = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } \ No newline at end of file From 8084efd6f0f1c5e87fa1eddeca80de3a3f68a9d6 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 20:55:21 +0100 Subject: [PATCH 04/12] chore: bump nix --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 8e8eb75f6a..e1ae473e0d 100644 --- a/flake.nix +++ b/flake.nix @@ -93,7 +93,7 @@ }; # This is a hash of all the Cargo dependencies, for reproducibility. - cargoSha256 = "sha256-FgnJKi1LfSw+JX/2dx7uXClb3hkdCwoWTefZ83x6Tf4="; + cargoSha256 = "sha256-exomenGuueIAObslhTW6NdP1zQJ8Xnl11P9PoeGl/kc="; nativeBuildInputs = with pkgs; [ clang git-mock pkg-config ]; buildInputs = with pkgs; [ openssl ] ++ ( From 5fedbe7cd6e3d066bfba4ac875dd2f211b3f70c4 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 20:59:38 +0100 Subject: [PATCH 05/12] refactor: normalize apostrophes in toml --- Cargo.toml | 6 +-- libs/primitives/Cargo.toml | 34 ++++++------ libs/proofs/Cargo.toml | 16 +++--- libs/test-utils/Cargo.toml | 38 ++++++------- libs/traits/Cargo.toml | 20 +++---- libs/types/Cargo.toml | 44 +++++++-------- libs/utils/Cargo.toml | 34 ++++++------ pallets/anchors/Cargo.toml | 34 ++++++------ pallets/bridge-mapping/Cargo.toml | 26 ++++----- pallets/bridge/Cargo.toml | 36 ++++++------- pallets/claims/Cargo.toml | 36 ++++++------- pallets/collator-allowlist/Cargo.toml | 26 ++++----- pallets/connectors/Cargo.toml | 60 ++++++++++----------- pallets/crowdloan-claim/Cargo.toml | 38 ++++++------- pallets/crowdloan-reward/Cargo.toml | 38 ++++++------- pallets/fees/Cargo.toml | 32 +++++------ pallets/interest-accrual/Cargo.toml | 40 +++++++------- pallets/investments/Cargo.toml | 58 ++++++++++---------- pallets/keystore/Cargo.toml | 28 +++++----- pallets/loans/Cargo.toml | 44 +++++++-------- pallets/migration/Cargo.toml | 26 ++++----- pallets/nft-sales/Cargo.toml | 34 ++++++------ pallets/nft/Cargo.toml | 50 ++++++++--------- pallets/permissions/Cargo.toml | 40 +++++++------- pallets/pool-registry/Cargo.toml | 46 ++++++++-------- pallets/pool-system/Cargo.toml | 78 +++++++++++++-------------- pallets/restricted-tokens/Cargo.toml | 50 ++++++++--------- runtime/common/Cargo.toml | 2 +- taplo.toml | 2 +- 29 files changed, 508 insertions(+), 508 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1f57d8d46f..bc6a3a1102 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -262,7 +262,7 @@ test-benchmarks = [ "runtime-integration-tests/runtime-benchmarks", ] cli = [ - 'try-runtime-cli', + "try-runtime-cli", ] try-runtime = [ "cfg-primitives/try-runtime", @@ -502,8 +502,8 @@ cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech # # Cargo patch for PureStake-based crates # -# PureStake maintains their own forks of Parity's Substrate, Polkadot, and Cumulus, -# and of open-web3-stack's ORML. By depending on crates from the Moonbeam repository, we are indirectly pulling crates +# PureStake maintains their own forks of Parity"s Substrate, Polkadot, and Cumulus, +# and of open-web3-stack"s ORML. By depending on crates from the Moonbeam repository, we are indirectly pulling crates # from these forked reposities, which lead to multiple cargo issues due to duplication versions of crates being found. # With the rules below, we tell cargo that whenever it finds a crate with source in `PureStake/`, that it should use # the specific official revision of the respective repository at hand. diff --git a/libs/primitives/Cargo.toml b/libs/primitives/Cargo.toml index 42b64036e8..d4d55f7a32 100644 --- a/libs/primitives/Cargo.toml +++ b/libs/primitives/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Primitive types for Centrifuge' -edition = '2021' +description = "Primitive types for Centrifuge" +edition = "2021" license = "LGPL-3.0" -name = 'cfg-primitives' +name = "cfg-primitives" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -30,7 +30,7 @@ pallet-collective = { git = "https://github.com/paritytech/substrate", default-f cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", @@ -39,16 +39,16 @@ runtime-benchmarks = [ ] std = [ "serde/std", - 'codec/std', - 'sp-std/std', - 'scale-info/std', - 'sp-core/std', - 'frame-support/std', - 'sp-runtime/std', - 'frame-system/std', - 'pallet-collective/std', - 'sp-consensus-aura/std', - 'cumulus-primitives-core/std', + "codec/std", + "sp-std/std", + "scale-info/std", + "sp-core/std", + "frame-support/std", + "sp-runtime/std", + "frame-system/std", + "pallet-collective/std", + "sp-consensus-aura/std", + "cumulus-primitives-core/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/libs/proofs/Cargo.toml b/libs/proofs/Cargo.toml index 79847500d9..3767430151 100644 --- a/libs/proofs/Cargo.toml +++ b/libs/proofs/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Proofs' -edition = '2021' +description = "Proofs" +edition = "2021" license = "LGPL-3.0" -name = 'proofs' +name = "proofs" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -19,9 +19,9 @@ sp-std = { git = "https://github.com/paritytech/substrate", default-features = f sp-core = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] std = [ - 'codec/std', + "codec/std", "sp-std/std", "scale-info/std", ] diff --git a/libs/test-utils/Cargo.toml b/libs/test-utils/Cargo.toml index b465eb4c59..9d6ceff80c 100644 --- a/libs/test-utils/Cargo.toml +++ b/libs/test-utils/Cargo.toml @@ -2,20 +2,20 @@ name = "cfg-test-utils" version = "0.1.0" edition = "2021" -authors = ['Centrifuge'] -homepage = 'https://centrifuge.io' +authors = ["Centrifuge"] +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' +repository = "https://github.com/centrifuge/centrifuge-chain" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -cfg-primitives = { path = '../primitives', default-features = false } -cfg-traits = { path = '../traits', default-features = false } -cfg-types = { path = '../types', default-features = false } +cfg-primitives = { path = "../primitives", default-features = false } +cfg-traits = { path = "../traits", default-features = false } +cfg-types = { path = "../types", default-features = false } -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119", default-features = false } @@ -28,18 +28,18 @@ sp-std = { git = "https://github.com/paritytech/substrate", default-features = f frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] std = [ - 'cfg-traits/std', - 'cfg-types/std', - 'cfg-primitives/std', - 'serde/std', - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-std/std', + "cfg-traits/std", + "cfg-types/std", + "cfg-primitives/std", + "serde/std", + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-std/std", "frame-benchmarking/std", ] runtime-benchmarks = [ diff --git a/libs/traits/Cargo.toml b/libs/traits/Cargo.toml index 882fbb4193..01cb8c992e 100644 --- a/libs/traits/Cargo.toml +++ b/libs/traits/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "cfg-traits" -authors = ['The Centrifugians Tribe'] -edition = '2021' -homepage = 'https://centrifuge.io' +authors = ["The Centrifugians Tribe"] +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '0.1.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -cfg-primitives = { path = '../primitives', default-features = false } -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +cfg-primitives = { path = "../primitives", default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } impl-trait-for-tuples = "0.2.1" orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } @@ -27,11 +27,11 @@ lazy_static = { version = "1.4", optional = true } mockall = { version = "0.11", optional = true } [dev-dependencies] -cfg-types = { path = '../types', default-features = true } +cfg-types = { path = "../types", default-features = true } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "cfg-primitives/runtime-benchmarks", "frame-support/runtime-benchmarks", diff --git a/libs/types/Cargo.toml b/libs/types/Cargo.toml index a8bdb4cf78..804d9c67cf 100644 --- a/libs/types/Cargo.toml +++ b/libs/types/Cargo.toml @@ -1,18 +1,18 @@ [package] authors = ["Centrifuge "] -description = 'Common types for Centrifuge runtime' -edition = '2021' +description = "Common types for Centrifuge runtime" +edition = "2021" license = "LGPL-3.0" -name = 'cfg-types' +name = "cfg-types" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] bitflags = { version = "1.3", default-features = false } -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } rev_slice = { version = "0.1.5", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -30,17 +30,17 @@ polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-f xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } # local dependencies -cfg-primitives = { path = '../primitives', default-features = false } -cfg-traits = { path = '../traits', default-features = false } +cfg-primitives = { path = "../primitives", default-features = false } +cfg-traits = { path = "../traits", default-features = false } [dev-dependencies] frame-support = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", "cfg-primitives/runtime-benchmarks", "cfg-traits/runtime-benchmarks", "orml-asset-registry/runtime-benchmarks", @@ -49,14 +49,14 @@ runtime-benchmarks = [ "xcm/runtime-benchmarks", ] std = [ - 'cfg-primitives/std', - 'cfg-traits/std', - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-runtime/std', - 'sp-std/std', + "cfg-primitives/std", + "cfg-traits/std", + "codec/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-runtime/std", + "sp-std/std", "orml-asset-registry/std", "orml-traits/std", "polkadot-parachain/std", @@ -69,7 +69,7 @@ std = [ try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'orml-asset-registry/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "orml-asset-registry/try-runtime", ] diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index 065fe18ff0..5178850f88 100644 --- a/libs/utils/Cargo.toml +++ b/libs/utils/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Utility functions for Centrifuge' -edition = '2021' +description = "Utility functions for Centrifuge" +edition = "2021" license = "LGPL-3.0" -name = 'cfg-utils' +name = "cfg-utils" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -22,14 +22,14 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", default-features sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] std = [ - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-std/std', - 'pallet-timestamp/std', - 'pallet-aura/std', + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-std/std", + "pallet-timestamp/std", + "pallet-aura/std", "codec/std", "scale-info/std", "sp-consensus-aura/std", @@ -43,8 +43,8 @@ runtime-benchmarks = [ ] try-runtime = [ - 'frame-support/try-runtime', - 'frame-system/try-runtime', - 'pallet-aura/try-runtime', - 'pallet-timestamp/try-runtime', + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-aura/try-runtime", + "pallet-timestamp/try-runtime", ] diff --git a/pallets/anchors/Cargo.toml b/pallets/anchors/Cargo.toml index 0b970fcb24..455661a0b0 100644 --- a/pallets/anchors/Cargo.toml +++ b/pallets/anchors/Cargo.toml @@ -1,17 +1,17 @@ [package] -name = 'pallet-anchors' +name = "pallet-anchors" authors = ["Centrifuge "] -description = 'Anchors pallet for runtime' -edition = '2021' +description = "Anchors pallet for runtime" +edition = "2021" license = "LGPL-3.0" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -38,11 +38,11 @@ sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-f sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", - 'cfg-utils/runtime-benchmarks', + "cfg-utils/runtime-benchmarks", "cfg-traits/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", @@ -57,16 +57,16 @@ try-runtime = [ "pallet-timestamp/try-runtime", ] std = [ - 'codec/std', - 'sp-core/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "sp-core/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-std/std", "sp-arithmetic/std", - 'pallet-timestamp/std', - 'cfg-traits/std', - 'cfg-utils/std', + "pallet-timestamp/std", + "cfg-traits/std", + "cfg-utils/std", "frame-benchmarking/std", "pallet-aura/std", "scale-info/std", diff --git a/pallets/bridge-mapping/Cargo.toml b/pallets/bridge-mapping/Cargo.toml index 06fc160238..05d58156e3 100644 --- a/pallets/bridge-mapping/Cargo.toml +++ b/pallets/bridge-mapping/Cargo.toml @@ -1,17 +1,17 @@ [package] -authors = ['buterajay@protonmail.com'] -description = 'Access control list for bridge paths across chains' -edition = '2021' +authors = ["buterajay@protonmail.com"] +description = "Access control list for bridge paths across chains" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-bridge-mapping' +name = "pallet-bridge-mapping" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } @@ -23,12 +23,12 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot- sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/bridge/Cargo.toml b/pallets/bridge/Cargo.toml index 3ba0fc54db..2f417ad3db 100644 --- a/pallets/bridge/Cargo.toml +++ b/pallets/bridge/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = 'pallet-bridge' -description = 'Bridge pallet' -authors = ['The Centrifugians Tribe'] -edition = '2021' -homepage = 'https://centrifuge.io' +name = "pallet-bridge" +description = "Bridge pallet" +authors = ["The Centrifugians Tribe"] +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '2.0.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0", default-features = false } @@ -36,7 +36,7 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0 sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "chainbridge/runtime-benchmarks", "frame-support/runtime-benchmarks", @@ -44,15 +44,15 @@ runtime-benchmarks = [ "frame-system/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'sp-core/std', - 'sp-runtime/std', - 'sp-std/std', - 'chainbridge/std', - 'cfg-traits/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "chainbridge/std", + "cfg-traits/std", ] try-runtime = [ "cfg-traits/try-runtime", diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index 33a12beb37..dcf783ac3d 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = 'pallet-claims' -description = 'Pallet for processing token claims for Tinlake investments.' -authors = ['The Centrifugians Tribe'] -edition = '2021' -homepage = 'https://centrifuge.io' +name = "pallet-claims" +description = "Pallet for processing token claims for Tinlake investments." +authors = ["The Centrifugians Tribe"] +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '2.0.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0", default-features = false } @@ -25,21 +25,21 @@ sp-std = { git = "https://github.com/paritytech/substrate", default-features = f frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } [dev-dependencies] -cfg-primitives = { path = '../../libs/primitives', default_features = true } -cfg-types = { path = '../../libs/types', default_features = true } +cfg-primitives = { path = "../../libs/primitives", default_features = true } +cfg-types = { path = "../../libs/types", default_features = true } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'sp-std/std', - 'sp-core/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "sp-std/std", + "sp-core/std", "frame-benchmarking/std", "sp-runtime/std", ] diff --git a/pallets/collator-allowlist/Cargo.toml b/pallets/collator-allowlist/Cargo.toml index 4e03483875..2644e072df 100644 --- a/pallets/collator-allowlist/Cargo.toml +++ b/pallets/collator-allowlist/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Collator allowlist pallet' -edition = '2021' +description = "Collator allowlist pallet" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-collator-allowlist' +name = "pallet-collator-allowlist" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } @@ -27,7 +27,7 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "frame-support/runtime-benchmarks", @@ -35,12 +35,12 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'sp-std/std', - 'sp-runtime/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "sp-std/std", + "sp-runtime/std", "frame-benchmarking/std", ] try-runtime = [ diff --git a/pallets/connectors/Cargo.toml b/pallets/connectors/Cargo.toml index 4eca2a3e6c..c1113ff899 100644 --- a/pallets/connectors/Cargo.toml +++ b/pallets/connectors/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Centrifuge Connectors Pallet' -edition = '2018' +description = "Centrifuge Connectors Pallet" +edition = "2018" license = "LGPL-3.0" -name = 'pallet-connectors' +name = "pallet-connectors" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '0.0.1' +version = "0.0.1" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } ethabi = { version = "16.0", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -70,7 +70,7 @@ orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-li runtime-common = { path = "../../runtime/common", default-features = true } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "pallet-balances", @@ -89,29 +89,29 @@ runtime-benchmarks = [ "xcm-primitives/runtime-benchmarks", ] std = [ - 'codec/std', - 'cfg-types/std', - 'cfg-traits/std', - 'cfg-utils/std', - 'frame-support/std', - 'frame-system/std', - 'sp-std/std', - 'sp-runtime/std', - 'orml-tokens/std', - 'orml-traits/std', - 'pallet-balances/std', - 'runtime-common/std', - 'xcm/std', - 'pallet-xcm-transactor/std', - 'pallet-ethereum-xcm/std', - 'pallet-ethereum/std', - 'xcm-primitives/std', - 'ethabi/std', - 'pallet-interest-accrual/std', - 'pallet-permissions/std', - 'pallet-loans/std', - 'pallet-pool-system/std', - 'pallet-uniques/std', + "codec/std", + "cfg-types/std", + "cfg-traits/std", + "cfg-utils/std", + "frame-support/std", + "frame-system/std", + "sp-std/std", + "sp-runtime/std", + "orml-tokens/std", + "orml-traits/std", + "pallet-balances/std", + "runtime-common/std", + "xcm/std", + "pallet-xcm-transactor/std", + "pallet-ethereum-xcm/std", + "pallet-ethereum/std", + "xcm-primitives/std", + "ethabi/std", + "pallet-interest-accrual/std", + "pallet-permissions/std", + "pallet-loans/std", + "pallet-pool-system/std", + "pallet-uniques/std", "cfg-primitives/std", "frame-benchmarking/std", "scale-info/std", diff --git a/pallets/crowdloan-claim/Cargo.toml b/pallets/crowdloan-claim/Cargo.toml index 1868dc24f4..9d192de249 100644 --- a/pallets/crowdloan-claim/Cargo.toml +++ b/pallets/crowdloan-claim/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = 'pallet-crowdloan-claim' -description = 'Module for processing crowdloan claim rewards.' -authors = ['The Centrifugians Tribe'] -edition = '2021' -homepage = 'https://centrifuge.io' +name = "pallet-crowdloan-claim" +description = "Module for processing crowdloan claim rewards." +authors = ["The Centrifugians Tribe"] +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '0.1.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] # General dependencies @@ -29,20 +29,20 @@ sp-std = { git = "https://github.com/paritytech/substrate", default-features = f frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } # Local dependencies -cfg-traits = { path = '../../libs/traits', default_features = false } +cfg-traits = { path = "../../libs/traits", default_features = false } cfg-types = { path = "../../libs/types", default-features = false } -proofs = { path = '../../libs/proofs', default_features = false } +proofs = { path = "../../libs/proofs", default_features = false } [dev-dependencies] hex = { version = "0.4.3", default_features = true } -pallet-crowdloan-reward = { path = '../crowdloan-reward', default_features = true } +pallet-crowdloan-reward = { path = "../crowdloan-reward", default_features = true } pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } sp-keyring = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } sp-trie = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "cfg-traits/runtime-benchmarks", @@ -53,13 +53,13 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'sp-std/std', - 'cfg-traits/std', - 'proofs/std', + "codec/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "sp-std/std", + "cfg-traits/std", + "proofs/std", "cfg-types/std", "frame-benchmarking/std", "scale-info/std", diff --git a/pallets/crowdloan-reward/Cargo.toml b/pallets/crowdloan-reward/Cargo.toml index dc91903374..94c8b10c7d 100644 --- a/pallets/crowdloan-reward/Cargo.toml +++ b/pallets/crowdloan-reward/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = 'pallet-crowdloan-reward' -description = 'Module for processing crowdloan claim rewards.' -authors = ['The Centrifugians Tribe'] -edition = '2021' -homepage = 'https://centrifuge.io' +name = "pallet-crowdloan-reward" +description = "Module for processing crowdloan claim rewards." +authors = ["The Centrifugians Tribe"] +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '0.1.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] # General dependencies @@ -28,17 +28,17 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", default-features sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } # Local dependencies -cfg-traits = { path = '../../libs/traits', default_features = false } +cfg-traits = { path = "../../libs/traits", default_features = false } [dev-dependencies] -cfg-types = { path = '../../libs/types', default_features = true } +cfg-types = { path = "../../libs/types", default_features = true } pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } serde = { version = "1.0.119" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "cfg-traits/runtime-benchmarks", @@ -49,14 +49,14 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'sp-std/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'pallet-vesting/std', - 'cfg-traits/std', + "codec/std", + "scale-info/std", + "sp-std/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "pallet-vesting/std", + "cfg-traits/std", "frame-benchmarking/std", "pallet-indices/std", "sp-runtime/std", diff --git a/pallets/fees/Cargo.toml b/pallets/fees/Cargo.toml index 977e24dd41..fc1b7b70a5 100644 --- a/pallets/fees/Cargo.toml +++ b/pallets/fees/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Fees pallet for runtime' -edition = '2021' +description = "Fees pallet for runtime" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-fees' +name = "pallet-fees" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } cfg-traits = { path = "../../libs/traits", default-features = false } @@ -33,7 +33,7 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "cfg-traits/runtime-benchmarks", @@ -42,15 +42,15 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'sp-runtime/std', - 'sp-std/std', - 'cfg-traits/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-authorship/std', - 'pallet-treasury/std', + "codec/std", + "scale-info/std", + "sp-runtime/std", + "sp-std/std", + "cfg-traits/std", + "frame-support/std", + "frame-system/std", + "pallet-authorship/std", + "pallet-treasury/std", "frame-benchmarking/std", ] try-runtime = [ diff --git a/pallets/interest-accrual/Cargo.toml b/pallets/interest-accrual/Cargo.toml index 720b8d0e8e..072ede4e19 100644 --- a/pallets/interest-accrual/Cargo.toml +++ b/pallets/interest-accrual/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Interest Accrual pallet' -edition = '2021' +description = "Interest Accrual pallet" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-interest-accrual' +name = "pallet-interest-accrual" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '0.1.0' +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } log = { version = "0.4.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -34,7 +34,7 @@ cfg-types = { path = "../../libs/types", default-features = false } bitflags = "1.3" [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "cfg-primitives/runtime-benchmarks", @@ -46,19 +46,19 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'frame-benchmarking/std', - 'sp-core/std', - 'sp-io/std', - 'sp-runtime/std', - 'sp-arithmetic/std', - 'sp-std/std', - 'pallet-timestamp/std', - 'cfg-traits/std', - 'cfg-types/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "frame-benchmarking/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-arithmetic/std", + "sp-std/std", + "pallet-timestamp/std", + "cfg-traits/std", + "cfg-types/std", "cfg-primitives/std", "log/std", "serde/std", diff --git a/pallets/investments/Cargo.toml b/pallets/investments/Cargo.toml index d9b134cf2e..c56c65719f 100644 --- a/pallets/investments/Cargo.toml +++ b/pallets/investments/Cargo.toml @@ -1,18 +1,18 @@ [package] -authors = ['Substrate DevHub '] -description = 'FRAME pallet template for defining custom runtime logic.' -edition = '2018' -homepage = 'https://substrate.dev' -license = 'Unlicense' -name = 'pallet-investments' -readme = 'README.md' -repository = 'https://github.com/substrate-developer-hub/substrate-node-template/' -version = '1.0.0' +authors = ["Substrate DevHub "] +description = "FRAME pallet template for defining custom runtime logic." +edition = "2018" +homepage = "https://substrate.dev" +license = "Unlicense" +name = "pallet-investments" +readme = "README.md" +repository = "https://github.com/substrate-developer-hub/substrate-node-template/" +version = "1.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -41,32 +41,32 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', - 'cfg-types/runtime-benchmarks', - 'cfg-traits/runtime-benchmarks', - 'cfg-primitives/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", ] std = [ - 'cfg-primitives/std', - 'cfg-traits/std', - 'cfg-types/std', - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'scale-info/std', - 'sp-runtime/std', - 'sp-std/std', + "cfg-primitives/std", + "cfg-traits/std", + "cfg-types/std", + "codec/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "sp-runtime/std", + "sp-std/std", "frame-benchmarking/std", "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", - 'frame-support/try-runtime', + "frame-support/try-runtime", "frame-system/try-runtime", ] diff --git a/pallets/keystore/Cargo.toml b/pallets/keystore/Cargo.toml index 567c2b1b17..3af7078fa4 100644 --- a/pallets/keystore/Cargo.toml +++ b/pallets/keystore/Cargo.toml @@ -1,17 +1,17 @@ [package] -name = 'pallet-keystore' +name = "pallet-keystore" authors = ["Centrifuge "] -description = 'Keystore pallet for runtime' -edition = '2021' +description = "Keystore pallet for runtime" +edition = "2021" license = "LGPL-3.0" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '1.0.0' +version = "1.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -27,20 +27,20 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-benchmarking', + "frame-benchmarking", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-std/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-std/std", "frame-benchmarking/std", "serde/std", ] diff --git a/pallets/loans/Cargo.toml b/pallets/loans/Cargo.toml index 81e373fb68..f8fdd198e2 100644 --- a/pallets/loans/Cargo.toml +++ b/pallets/loans/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Loans pallet for runtime' -edition = '2021' +description = "Loans pallet for runtime" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-loans' +name = "pallet-loans" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '1.0.0' +version = "1.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -61,7 +61,7 @@ cfg-test-utils = { path = "../../libs/test-utils", default-features = true } pallet-pool-system = { path = "../pool-system", default-features = true } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "frame-system/runtime-benchmarks", @@ -84,21 +84,21 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'serde/std', - 'scale-info/std', - 'pallet-permissions/std', - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'sp-core/std', - 'sp-runtime/std', - 'sp-std/std', - 'sp-arithmetic/std', - 'parachain-info/std', - 'pallet-interest-accrual/std', - 'cfg-traits/std', - 'cfg-types/std', - 'cfg-primitives/std', + "serde/std", + "scale-info/std", + "pallet-permissions/std", + "codec/std", + "frame-support/std", + "frame-system/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "sp-arithmetic/std", + "parachain-info/std", + "pallet-interest-accrual/std", + "cfg-traits/std", + "cfg-types/std", + "cfg-primitives/std", "cfg-utils/std", "frame-benchmarking/std", ] diff --git a/pallets/migration/Cargo.toml b/pallets/migration/Cargo.toml index 6c007c33e3..1fdccdea3a 100644 --- a/pallets/migration/Cargo.toml +++ b/pallets/migration/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Migration pallet for the runtime' -edition = '2021' +description = "Migration pallet for the runtime" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-migration-manager' +name = "pallet-migration-manager" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '0.1.0' +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } log = { version = "0.4.14", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } @@ -32,7 +32,7 @@ hex = "0.4.3" rand = "0.8.5" [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "frame-support/runtime-benchmarks", @@ -43,12 +43,12 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-vesting/std', - 'pallet-balances/std', - 'pallet-proxy/std', + "codec/std", + "frame-support/std", + "frame-system/std", + "pallet-vesting/std", + "pallet-balances/std", + "pallet-proxy/std", "frame-benchmarking/std", "log/std", "scale-info/std", diff --git a/pallets/nft-sales/Cargo.toml b/pallets/nft-sales/Cargo.toml index fd03cd754c..4bc2e4329c 100644 --- a/pallets/nft-sales/Cargo.toml +++ b/pallets/nft-sales/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'NFT Sales pallet' -edition = '2021' +description = "NFT Sales pallet" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-nft-sales' +name = "pallet-nft-sales" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '2.0.0' +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } @@ -43,7 +43,7 @@ cfg-primitives = { path = "../../libs/primitives", default-features = true } cfg-types = { path = "../../libs/types", default-features = true } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "frame-benchmarking", "pallet-balances", @@ -57,16 +57,16 @@ runtime-benchmarks = [ "sp-runtime/runtime-benchmarks", ] std = [ - 'codec/std', - 'cfg-types/std', - 'frame-support/std', - 'frame-system/std', - 'sp-std/std', - 'sp-runtime/std', - 'orml-tokens/std', - 'orml-traits/std', - 'pallet-balances/std', - 'cfg-primitives/std', + "codec/std", + "cfg-types/std", + "frame-support/std", + "frame-system/std", + "sp-std/std", + "sp-runtime/std", + "orml-tokens/std", + "orml-traits/std", + "pallet-balances/std", + "cfg-primitives/std", "frame-benchmarking/std", "scale-info/std", ] diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 3d8955a918..af6f0677c1 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = 'pallet-nft' -description = 'Pallet for non-fungible token (NFT) processing' -authors = ['The Centrifugians Tribe'] -edition = '2021' -homepage = 'https://centrifuge.io' +name = "pallet-nft" +description = "Pallet for non-fungible token (NFT) processing" +authors = ["The Centrifugians Tribe"] +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '2.0.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "2.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] # Substrate dependencies @@ -25,7 +25,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", default-features sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } # Centrifuge Chain dependencies -cfg-primitives = { path = '../../libs/primitives', default-features = false } +cfg-primitives = { path = "../../libs/primitives", default-features = false } cfg-traits = { path = "../../libs/traits", default-features = false } cfg-types = { path = "../../libs/types", default-features = false } chainbridge = { git = "https://github.com/centrifuge/chainbridge-substrate.git", default-features = false, branch = "polkadot-v0.9.32" } @@ -45,7 +45,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", default-features sp-std = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ "chainbridge/runtime-benchmarks", "frame-benchmarking", @@ -57,21 +57,21 @@ runtime-benchmarks = [ "pallet-balances/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-balances/std', - 'proofs/std', - 'sp-core/std', - 'sp-runtime/std', - 'sp-std/std', - 'sp-io/std', - 'chainbridge/std', - 'pallet-anchors/std', - 'proofs/std', - 'cfg-traits/std', - 'cfg-primitives/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "proofs/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "sp-io/std", + "chainbridge/std", + "pallet-anchors/std", + "proofs/std", + "cfg-traits/std", + "cfg-primitives/std", "cfg-types/std", "frame-benchmarking/std", "unique-assets/std", diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index fb94fbecf5..4f68719be5 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -1,18 +1,18 @@ [package] -name = 'pallet-permissions' -description = 'Pallet for storing and retrieving permissions of accounts.' +name = "pallet-permissions" +description = "Pallet for storing and retrieving permissions of accounts." authors = ["Centrifuge "] -edition = '2021' -homepage = 'https://centrifuge.io' +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '0.1.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -30,10 +30,10 @@ cfg-types = { path = "../../libs/types", default-features = false, optional = tr bitflags = "1.3" [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-benchmarking', - 'cfg-types', + "frame-benchmarking", + "cfg-types", "cfg-traits/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", @@ -41,20 +41,20 @@ runtime-benchmarks = [ ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'frame-benchmarking/std', - 'sp-runtime/std', - 'sp-std/std', - 'cfg-traits/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "frame-benchmarking/std", + "sp-runtime/std", + "sp-std/std", + "cfg-traits/std", "cfg-types/std", "serde/std", ] try-runtime = [ "cfg-traits/try-runtime", - 'frame-support/try-runtime', + "frame-support/try-runtime", "cfg-types/try-runtime", "frame-system/try-runtime", ] diff --git a/pallets/pool-registry/Cargo.toml b/pallets/pool-registry/Cargo.toml index 3ca1289d99..6d90898823 100644 --- a/pallets/pool-registry/Cargo.toml +++ b/pallets/pool-registry/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Pools Registration for runtime' -edition = '2021' +description = "Pools Registration for runtime" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-pool-registry' +name = "pallet-pool-registry" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '1.0.0' +version = "1.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.102" } @@ -49,10 +49,10 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-benchmarking', - 'pallet-investments/runtime-benchmarks', + "frame-benchmarking", + "pallet-investments/runtime-benchmarks", "cfg-primitives/runtime-benchmarks", "cfg-traits/runtime-benchmarks", "cfg-types/runtime-benchmarks", @@ -64,18 +64,18 @@ runtime-benchmarks = [ "xcm/runtime-benchmarks", ] std = [ - 'codec/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-std/std', - 'cfg-traits/std', - 'cfg-types/std', - 'cfg-primitives/std', - 'polkadot-parachain/std', - 'xcm/std', - 'orml-traits/std', - 'orml-asset-registry/std', + "codec/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-std/std", + "cfg-traits/std", + "cfg-types/std", + "cfg-primitives/std", + "polkadot-parachain/std", + "xcm/std", + "orml-traits/std", + "orml-asset-registry/std", "frame-benchmarking/std", "pallet-investments/std", "scale-info/std", @@ -85,12 +85,12 @@ std = [ try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", - 'frame-support/try-runtime', + "frame-support/try-runtime", "cfg-types/try-runtime", "frame-system/try-runtime", "orml-asset-registry/try-runtime", "pallet-investments/try-runtime", ] test-benchmarks = [ - 'frame-support/try-runtime', + "frame-support/try-runtime", ] diff --git a/pallets/pool-system/Cargo.toml b/pallets/pool-system/Cargo.toml index 41b398447d..5a96b8a14c 100644 --- a/pallets/pool-system/Cargo.toml +++ b/pallets/pool-system/Cargo.toml @@ -1,17 +1,17 @@ [package] authors = ["Centrifuge "] -description = 'Centrifuge Pool System pallet' -edition = '2021' +description = "Centrifuge Pool System pallet" +edition = "2021" license = "LGPL-3.0" -name = 'pallet-pool-system' +name = "pallet-pool-system" repository = "https://github.com/centrifuge/centrifuge-chain" -version = '3.0.0' +version = "3.0.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } lazy_static = { version = "1.4.0", optional = true, default-features = false } rev_slice = { version = "0.1.5", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } @@ -49,47 +49,47 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-benchmarking/runtime-benchmarks', - 'frame-support/runtime-benchmarks', - 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', - 'cfg-traits/runtime-benchmarks', - 'cfg-primitives/runtime-benchmarks', - 'cfg-types/runtime-benchmarks', - 'pallet-timestamp/runtime-benchmarks', - 'pallet-investments/runtime-benchmarks', - 'pallet-permissions/runtime-benchmarks', - 'xcm/runtime-benchmarks', - 'polkadot-parachain/runtime-benchmarks', - 'orml-asset-registry/runtime-benchmarks', + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "pallet-investments/runtime-benchmarks", + "pallet-permissions/runtime-benchmarks", + "xcm/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'rev_slice/std', - 'frame-support/std', - 'frame-system/std', - 'pallet-timestamp/std', - 'sp-arithmetic/std', - 'sp-runtime/std', - 'sp-std/std', - 'orml-traits/std', - 'cfg-traits/std', - 'cfg-types/std', - 'cfg-primitives/std', - 'pallet-permissions/std', - 'polkadot-parachain/std', - 'orml-asset-registry/std', - 'xcm/std', + "codec/std", + "scale-info/std", + "rev_slice/std", + "frame-support/std", + "frame-system/std", + "pallet-timestamp/std", + "sp-arithmetic/std", + "sp-runtime/std", + "sp-std/std", + "orml-traits/std", + "cfg-traits/std", + "cfg-types/std", + "cfg-primitives/std", + "pallet-permissions/std", + "polkadot-parachain/std", + "orml-asset-registry/std", + "xcm/std", "frame-benchmarking/std", "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", - 'frame-support/try-runtime', + "frame-support/try-runtime", "lazy_static/spin_no_std", "cfg-types/try-runtime", "frame-system/try-runtime", @@ -98,5 +98,5 @@ try-runtime = [ "pallet-timestamp/try-runtime", ] test-benchmarks = [ - 'frame-support/try-runtime', + "frame-support/try-runtime", ] diff --git a/pallets/restricted-tokens/Cargo.toml b/pallets/restricted-tokens/Cargo.toml index 062c889f2d..d53f86defe 100644 --- a/pallets/restricted-tokens/Cargo.toml +++ b/pallets/restricted-tokens/Cargo.toml @@ -1,18 +1,18 @@ [package] -name = 'pallet-restricted-tokens' -description = 'Pallet for handling token-transfers. Allows to restrict specific token usage to some users.' +name = "pallet-restricted-tokens" +description = "Pallet for handling token-transfers. Allows to restrict specific token usage to some users." authors = ["Centrifuge "] -edition = '2021' -homepage = 'https://centrifuge.io' +edition = "2021" +homepage = "https://centrifuge.io" license = "LGPL-3.0" -repository = 'https://github.com/centrifuge/centrifuge-chain' -version = '0.1.0' +repository = "https://github.com/centrifuge/centrifuge-chain" +version = "0.1.0" [package.metadata.docs.rs] -targets = ['x86_64-unknown-linux-gnu'] +targets = ["x86_64-unknown-linux-gnu"] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'], default-features = false } +codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } @@ -39,29 +39,29 @@ pallet-balances = { git = "https://github.com/paritytech/substrate", default-fea sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } [features] -default = ['std'] +default = ["std"] runtime-benchmarks = [ - 'frame-benchmarking', - 'pallet-balances', - 'sp-runtime', - 'orml-tokens', - 'orml-traits', - 'pallet-permissions', - 'cfg-types', + "frame-benchmarking", + "pallet-balances", + "sp-runtime", + "orml-tokens", + "orml-traits", + "pallet-permissions", + "cfg-types", "cfg-primitives/runtime-benchmarks", "cfg-traits/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", ] std = [ - 'codec/std', - 'scale-info/std', - 'frame-support/std', - 'frame-system/std', - 'sp-runtime/std', - 'sp-std/std', - 'cfg-types/std', - 'cfg-traits/std', + "codec/std", + "scale-info/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-std/std", + "cfg-types/std", + "cfg-traits/std", "cfg-primitives/std", "frame-benchmarking/std", "pallet-permissions/std", @@ -70,7 +70,7 @@ std = [ try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", - 'frame-support/try-runtime', + "frame-support/try-runtime", "frame-system/try-runtime", "pallet-permissions/try-runtime", ] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index fc72e9e694..d01d8016e1 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -13,7 +13,7 @@ serde = { version = "1.0.119", optional = true } smallvec = "1.6.1" # Substrate dependencies -codec = { package = 'parity-scale-codec', version = '3.0.0', default-features = false, features = ['derive'] } +codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } diff --git a/taplo.toml b/taplo.toml index c9dc9abe07..eb90a3d347 100644 --- a/taplo.toml +++ b/taplo.toml @@ -22,7 +22,7 @@ column_width = 160 # Indent based on tables and arrays of tables and their subtables, subtables out of order are not indented. indent_tables = false # The substring that is used for indentation, should be tabs or spaces (but technically can be anything). -indent_string = ' ' +indent_string = " " # Alphabetically reorder keys that are not separated by empty lines. reorder_keys = false # Add trailing newline at the end of the file if not present. From 53336bc9efc1873bae1f22bb0c0ef4f865a4bab6 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 21:20:32 +0100 Subject: [PATCH 06/12] fmt: taplo --- Cargo.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc6a3a1102..26f8f0f8fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -720,11 +720,11 @@ orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-l # Cargo patch rules for all the PureStake/frontier crates [patch."https://github.com/PureStake/frontier"] -fp-consensus = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-ethereum = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-evm = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-rpc = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-self-contained = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-storage = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -pallet-ethereum = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -pallet-evm = { git = "https://github.com/PureStake//frontier", rev="68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } \ No newline at end of file +fp-consensus = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-ethereum = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-evm = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-rpc = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-self-contained = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +fp-storage = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +pallet-ethereum = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +pallet-evm = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } From 53e41a2060fcc604730f9d6c3f8b60c0e2bb2db8 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Thu, 2 Mar 2023 21:23:19 +0100 Subject: [PATCH 07/12] fix: typo --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 26f8f0f8fe..39bd4d25b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -502,8 +502,8 @@ cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech # # Cargo patch for PureStake-based crates # -# PureStake maintains their own forks of Parity"s Substrate, Polkadot, and Cumulus, -# and of open-web3-stack"s ORML. By depending on crates from the Moonbeam repository, we are indirectly pulling crates +# PureStake maintains their own forks of Parity's Substrate, Polkadot, and Cumulus, +# and of open-web3-stack's ORML. By depending on crates from the Moonbeam repository, we are indirectly pulling crates # from these forked reposities, which lead to multiple cargo issues due to duplication versions of crates being found. # With the rules below, we tell cargo that whenever it finds a crate with source in `PureStake/`, that it should use # the specific official revision of the respective repository at hand. From 7c40fb26f823eeb88cd6b6facd450ccb8f1589d2 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 3 Mar 2023 10:31:18 +0100 Subject: [PATCH 08/12] revert: frontier patch --- Cargo.lock | 19 ++++++++++--------- Cargo.toml | 11 ----------- pallets/connectors/Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 12d4b9bcdf..ed2391e646 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3034,7 +3034,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "parity-scale-codec 3.2.1", @@ -3046,7 +3046,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -3061,7 +3061,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "evm", "frame-support", @@ -3074,7 +3074,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -3091,7 +3091,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "frame-support", @@ -3105,7 +3105,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "parity-scale-codec 3.2.1", "serde", @@ -6353,8 +6353,9 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ + "environmental", "ethereum", "ethereum-types 0.14.1", "evm", @@ -6405,7 +6406,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/PureStake//frontier?rev=68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0#68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "environmental", "evm", @@ -13134,7 +13135,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.6", "rand 0.8.5", "static_assertions", diff --git a/Cargo.toml b/Cargo.toml index 39bd4d25b9..0b089cde8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -717,14 +717,3 @@ orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-li orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } - -# Cargo patch rules for all the PureStake/frontier crates -[patch."https://github.com/PureStake/frontier"] -fp-consensus = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-ethereum = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-evm = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-rpc = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-self-contained = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -fp-storage = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -pallet-ethereum = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } -pallet-evm = { git = "https://github.com/PureStake//frontier", rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } diff --git a/pallets/connectors/Cargo.toml b/pallets/connectors/Cargo.toml index c1113ff899..d3cbf556d5 100644 --- a/pallets/connectors/Cargo.toml +++ b/pallets/connectors/Cargo.toml @@ -40,7 +40,7 @@ runtime-common = { path = "../../runtime/common", default-features = false } # Polkadot xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } -pallet-ethereum = { git = "https://github.com/PureStake/frontier", default-features = false, rev = "68ee8a260c0f2014dfd63fd2554fa9e1a32c22f0" } +pallet-ethereum = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.32" } pallet-ethereum-xcm = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } pallet-xcm-transactor = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } xcm-primitives = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } From d55443010e333d3141f0670b1ed21799ecd6ec35 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 3 Mar 2023 13:53:51 +0100 Subject: [PATCH 09/12] refactor: remove unused deps --- Cargo.lock | 437 +++++++-------------------- Cargo.toml | 60 +--- flake.nix | 2 +- libs/traits/Cargo.toml | 6 - libs/types/Cargo.toml | 11 - pallets/bridge-mapping/Cargo.toml | 4 - pallets/claims/Cargo.toml | 4 - pallets/connectors/Cargo.toml | 5 - pallets/crowdloan-claim/Cargo.toml | 2 - pallets/crowdloan-reward/Cargo.toml | 5 - pallets/interest-accrual/Cargo.toml | 2 - pallets/investments/Cargo.toml | 1 + pallets/keystore/Cargo.toml | 2 - pallets/loans/Cargo.toml | 3 - pallets/migration/Cargo.toml | 4 - pallets/nft/Cargo.toml | 2 - pallets/permissions/Cargo.toml | 2 - pallets/pool-registry/Cargo.toml | 12 +- runtime/altair/Cargo.toml | 60 +--- runtime/centrifuge/Cargo.toml | 72 ++--- runtime/common/Cargo.toml | 25 -- runtime/development/Cargo.toml | 76 ++--- runtime/integration-tests/Cargo.toml | 9 - 23 files changed, 162 insertions(+), 644 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed2391e646..36ad523313 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -105,7 +105,6 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", - "integer-sqrt", "orml-asset-registry", "orml-tokens", "orml-traits", @@ -114,9 +113,7 @@ dependencies = [ "orml-xtokens", "pallet-anchors", "pallet-aura", - "pallet-authority-discovery", "pallet-authorship", - "pallet-babe", "pallet-balances", "pallet-collator-allowlist", "pallet-collator-selection", @@ -126,18 +123,13 @@ dependencies = [ "pallet-democracy", "pallet-elections-phragmen", "pallet-fees", - "pallet-grandpa", "pallet-identity", - "pallet-im-online", - "pallet-indices", "pallet-interest-accrual", "pallet-investments", "pallet-loans", - "pallet-membership", "pallet-migration-manager", "pallet-multisig", "pallet-nft-sales", - "pallet-offences", "pallet-permissions", "pallet-pool-registry", "pallet-pool-system", @@ -147,10 +139,6 @@ dependencies = [ "pallet-restricted-tokens", "pallet-scheduler", "pallet-session", - "pallet-session-benchmarking", - "pallet-society", - "pallet-staking", - "pallet-staking-reward-curve", "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", @@ -164,24 +152,16 @@ dependencies = [ "polkadot-parachain", "polkadot-runtime-common", "runtime-common", - "rustc-hex", - "safe-mix", "scale-info", "serde", - "smallvec", "sp-api", - "sp-arithmetic", - "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", - "sp-consensus-babe", "sp-core", "sp-inherents", - "sp-io", "sp-offchain", "sp-runtime", "sp-session", - "sp-staking", "sp-std", "sp-transaction-pool", "sp-version", @@ -545,7 +525,7 @@ dependencies = [ "async-trait", "beefy-primitives", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -580,7 +560,7 @@ source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5 dependencies = [ "beefy-gadget", "beefy-primitives", - "futures 0.3.25", + "futures", "jsonrpsee", "log", "parity-scale-codec 3.2.1", @@ -919,7 +899,6 @@ dependencies = [ "cumulus-client-cli", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", - "cumulus-client-consensus-relay-chain", "cumulus-client-network", "cumulus-client-service", "cumulus-primitives-core", @@ -930,77 +909,50 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "frame-system", - "futures 0.3.25", "hex-literal 0.2.2", "jsonrpsee", "log", - "node-inspect", - "node-primitives", "pallet-anchors", - "pallet-im-online", - "pallet-loans", "pallet-pool-system", "pallet-transaction-payment", "pallet-transaction-payment-rpc", "parity-scale-codec 3.2.1", "polkadot-cli", - "polkadot-parachain", "polkadot-primitives", "polkadot-service", "runtime-common", "runtime-integration-tests", - "sc-authority-discovery", "sc-basic-authorship", "sc-chain-spec", "sc-cli", "sc-client-api", - "sc-client-db", "sc-consensus", - "sc-consensus-babe", - "sc-consensus-babe-rpc", - "sc-consensus-epochs", "sc-executor", "sc-finality-grandpa", - "sc-finality-grandpa-rpc", - "sc-keystore", "sc-network", - "sc-offchain", - "sc-rpc", "sc-rpc-api", "sc-service", "sc-service-test", - "sc-sync-state-rpc", "sc-telemetry", "sc-tracing", "sc-transaction-pool", "serde", - "serde_json", "sp-api", - "sp-authority-discovery", "sp-block-builder", "sp-blockchain", - "sp-consensus", "sp-consensus-aura", - "sp-consensus-babe", "sp-core", - "sp-finality-grandpa", - "sp-inherents", - "sp-io", "sp-keyring", "sp-keystore", "sp-offchain", "sp-runtime", - "sp-runtime-interface", "sp-session", - "sp-std", "sp-timestamp", "sp-transaction-pool", - "sp-trie", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "tempfile", - "tracing-core", "try-runtime-cli", "url", "vergen", @@ -1031,7 +983,6 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", - "integer-sqrt", "orml-asset-registry", "orml-tokens", "orml-traits", @@ -1040,9 +991,7 @@ dependencies = [ "orml-xtokens", "pallet-anchors", "pallet-aura", - "pallet-authority-discovery", "pallet-authorship", - "pallet-babe", "pallet-balances", "pallet-bridge", "pallet-claims", @@ -1054,24 +1003,16 @@ dependencies = [ "pallet-democracy", "pallet-elections-phragmen", "pallet-fees", - "pallet-grandpa", "pallet-identity", - "pallet-im-online", - "pallet-indices", - "pallet-membership", "pallet-migration-manager", "pallet-multisig", "pallet-nft", - "pallet-offences", "pallet-preimage", "pallet-proxy", "pallet-randomness-collective-flip", "pallet-restricted-tokens", "pallet-scheduler", "pallet-session", - "pallet-session-benchmarking", - "pallet-staking", - "pallet-staking-reward-curve", "pallet-timestamp", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", @@ -1084,24 +1025,16 @@ dependencies = [ "polkadot-parachain", "polkadot-runtime-common", "runtime-common", - "rustc-hex", - "safe-mix", "scale-info", - "serde", - "smallvec", "sp-api", - "sp-arithmetic", - "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", - "sp-consensus-babe", "sp-core", "sp-inherents", "sp-io", "sp-offchain", "sp-runtime", "sp-session", - "sp-staking", "sp-std", "sp-transaction-pool", "sp-version", @@ -1186,11 +1119,9 @@ dependencies = [ "impl-trait-for-tuples", "lazy_static", "mockall", - "orml-asset-registry", "orml-traits", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-arithmetic", "sp-runtime", "sp-std", @@ -1204,12 +1135,8 @@ dependencies = [ "cfg-primitives", "cfg-traits", "frame-support", - "frame-system", "orml-asset-registry", - "orml-traits", "parity-scale-codec 3.2.1", - "polkadot-parachain", - "rev_slice", "scale-info", "serde", "sp-arithmetic", @@ -1736,7 +1663,7 @@ dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", "cumulus-primitives-core", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "parking_lot 0.12.1", "polkadot-node-primitives", @@ -1759,7 +1686,7 @@ dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "sc-client-api", "sc-consensus", @@ -1788,7 +1715,7 @@ dependencies = [ "async-trait", "cumulus-relay-chain-interface", "dyn-clone", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "polkadot-primitives", "sc-client-api", @@ -1800,29 +1727,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "cumulus-client-consensus-relay-chain" -version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=6abd385ce49f7feb882218646410feb063404b77#6abd385ce49f7feb882218646410feb063404b77" -dependencies = [ - "async-trait", - "cumulus-client-consensus-common", - "cumulus-primitives-core", - "cumulus-relay-chain-interface", - "futures 0.3.25", - "parking_lot 0.12.1", - "sc-consensus", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "substrate-prometheus-endpoint", - "tracing", -] - [[package]] name = "cumulus-client-network" version = "0.1.0" @@ -1830,7 +1734,7 @@ source = "git+https://github.com/paritytech//cumulus?rev=6abd385ce49f7feb8822186 dependencies = [ "async-trait", "cumulus-relay-chain-interface", - "futures 0.3.25", + "futures", "futures-timer", "parity-scale-codec 3.2.1", "parking_lot 0.12.1", @@ -1853,7 +1757,7 @@ source = "git+https://github.com/paritytech//cumulus?rev=6abd385ce49f7feb8822186 dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.25", + "futures", "futures-timer", "parity-scale-codec 3.2.1", "polkadot-node-primitives", @@ -2043,7 +1947,7 @@ version = "0.1.0" source = "git+https://github.com/paritytech//cumulus?rev=6abd385ce49f7feb882218646410feb063404b77#6abd385ce49f7feb882218646410feb063404b77" dependencies = [ "cumulus-primitives-core", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "sp-inherents", "sp-std", @@ -2074,7 +1978,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.25", + "futures", "futures-timer", "polkadot-cli", "polkadot-client", @@ -2098,7 +2002,7 @@ source = "git+https://github.com/paritytech//cumulus?rev=6abd385ce49f7feb8822186 dependencies = [ "async-trait", "cumulus-primitives-core", - "futures 0.3.25", + "futures", "jsonrpsee-core", "parity-scale-codec 3.2.1", "polkadot-overseer", @@ -2289,7 +2193,6 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", - "integer-sqrt", "orml-asset-registry", "orml-tokens", "orml-traits", @@ -2298,9 +2201,7 @@ dependencies = [ "orml-xtokens", "pallet-anchors", "pallet-aura", - "pallet-authority-discovery", "pallet-authorship", - "pallet-babe", "pallet-balances", "pallet-bridge", "pallet-claims", @@ -2313,21 +2214,16 @@ dependencies = [ "pallet-democracy", "pallet-elections-phragmen", "pallet-fees", - "pallet-grandpa", "pallet-identity", - "pallet-im-online", - "pallet-indices", "pallet-interest-accrual", "pallet-investments", "pallet-keystore", "pallet-liquidity-rewards", "pallet-loans", - "pallet-membership", "pallet-migration-manager", "pallet-multisig", "pallet-nft", "pallet-nft-sales", - "pallet-offences", "pallet-permissions", "pallet-pool-registry", "pallet-pool-system", @@ -2338,9 +2234,6 @@ dependencies = [ "pallet-rewards", "pallet-scheduler", "pallet-session", - "pallet-society", - "pallet-staking", - "pallet-staking-reward-curve", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -2356,24 +2249,17 @@ dependencies = [ "polkadot-parachain", "polkadot-runtime-common", "runtime-common", - "rustc-hex", - "safe-mix", "scale-info", "serde", - "smallvec", "sp-api", - "sp-arithmetic", - "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", - "sp-consensus-babe", "sp-core", "sp-inherents", "sp-io", "sp-offchain", "sp-runtime", "sp-session", - "sp-staking", "sp-std", "sp-transaction-pool", "sp-version", @@ -2827,7 +2713,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.25", + "futures", ] [[package]] @@ -2949,7 +2835,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b22349c6a11563a202d95772a68e0fcf56119e74ea8a2a19cf2301460fcd0df5" dependencies = [ "either", - "futures 0.3.25", + "futures", "futures-timer", "log", "num-traits", @@ -3427,7 +3313,7 @@ dependencies = [ "frame-support", "frame-system", "fudge-companion", - "futures 0.3.25", + "futures", "lazy_static", "node-primitives", "pallet-babe", @@ -3488,12 +3374,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.25" @@ -3604,7 +3484,6 @@ version = "0.3.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6" dependencies = [ - "futures 0.1.31", "futures-channel", "futures-core", "futures-io", @@ -4039,7 +3918,7 @@ dependencies = [ "async-io", "core-foundation", "fnv", - "futures 0.3.25", + "futures", "if-addrs", "ipnet", "log", @@ -4582,7 +4461,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec878fda12ebec479186b3914ebc48ff180fa4c51847e11a1a68bf65249e02c1" dependencies = [ "bytes", - "futures 0.3.25", + "futures", "futures-timer", "getrandom 0.2.8", "instant", @@ -4620,7 +4499,7 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "instant", "lazy_static", @@ -4649,7 +4528,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2322c9fb40d99101def6a01612ee30500c89abbbecb6297b3cd252903a4c1720" dependencies = [ "async-std-resolver", - "futures 0.3.25", + "futures", "libp2p-core", "log", "parking_lot 0.12.1", @@ -4664,7 +4543,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcf9a121f699e8719bda2e6e9e9b6ddafc6cff4602471d6481c1067930ccb29b" dependencies = [ "asynchronous-codec", - "futures 0.3.25", + "futures", "futures-timer", "libp2p-core", "libp2p-swarm", @@ -4689,7 +4568,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4715,7 +4594,7 @@ dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.25", + "futures", "if-watch", "libp2p-core", "libp2p-swarm", @@ -4748,7 +4627,7 @@ checksum = "692664acfd98652de739a8acbb0a0d670f1d67190a49be6b4395e22c37337d89" dependencies = [ "asynchronous-codec", "bytes", - "futures 0.3.25", + "futures", "libp2p-core", "log", "nohash-hasher", @@ -4766,7 +4645,7 @@ checksum = "048155686bd81fe6cb5efdef0c6290f25ad32a0a42e8f4f72625cf6a505a206f" dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures 0.3.25", + "futures", "lazy_static", "libp2p-core", "log", @@ -4786,7 +4665,7 @@ version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7228b9318d34689521349a86eb39a3c3a802c9efc99a0568062ffb80913e3f91" dependencies = [ - "futures 0.3.25", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4804,7 +4683,7 @@ checksum = "8827af16a017b65311a410bb626205a9ad92ec0473967618425039fa5231adc1" dependencies = [ "async-trait", "bytes", - "futures 0.3.25", + "futures", "instant", "libp2p-core", "libp2p-swarm", @@ -4822,7 +4701,7 @@ checksum = "46d13df7c37807965d82930c0e4b04a659efcb6cca237373b206043db5398ecf" dependencies = [ "either", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4852,7 +4731,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9839d96761491c6d3e238e70554b856956fca0ab60feb9de2cd08eed4473fa92" dependencies = [ "async-io", - "futures 0.3.25", + "futures", "futures-timer", "if-watch", "libc", @@ -4867,7 +4746,7 @@ version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a17b5b8e7a73e379e47b1b77f8a82c4721e97eca01abcd18e9cd91a23ca6ce97" dependencies = [ - "futures 0.3.25", + "futures", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -4882,7 +4761,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3758ae6f89b2531a24b6d9f5776bda6a626b60a57600d7185d43dfa75ca5ecc4" dependencies = [ "either", - "futures 0.3.25", + "futures", "futures-rustls", "libp2p-core", "log", @@ -4900,7 +4779,7 @@ version = "0.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d6874d66543c4f7e26e3b8ca9a6bead351563a13ab4fafd43c7927f7c0d6c12" dependencies = [ - "futures 0.3.25", + "futures", "libp2p-core", "log", "parking_lot 0.12.1", @@ -5220,7 +5099,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ - "futures 0.3.25", + "futures", "rand 0.8.5", "thrift", ] @@ -5361,7 +5240,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" dependencies = [ "bytes", - "futures 0.3.25", + "futures", "log", "pin-project", "smallvec", @@ -5457,7 +5336,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", - "futures 0.3.25", + "futures", "log", "netlink-packet-core", "netlink-sys", @@ -5473,7 +5352,7 @@ checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" dependencies = [ "async-io", "bytes", - "futures 0.3.25", + "futures", "libc", "log", ] @@ -5489,23 +5368,6 @@ dependencies = [ "libc", ] -[[package]] -name = "node-inspect" -version = "0.9.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" -dependencies = [ - "clap", - "parity-scale-codec 3.2.1", - "sc-cli", - "sc-client-api", - "sc-executor", - "sc-service", - "sp-blockchain", - "sp-core", - "sp-runtime", - "thiserror", -] - [[package]] name = "node-primitives" version = "2.0.0" @@ -5707,7 +5569,7 @@ checksum = "0aab54694ddaa8a9b703724c6ef04272b2d27bc32d2c855aae5cdd1857216b43" dependencies = [ "async-trait", "dyn-clonable", - "futures 0.3.25", + "futures", "futures-timer", "orchestra-proc-macro", "pin-project", @@ -5886,22 +5748,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-asset-tx-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" -dependencies = [ - "frame-support", - "frame-system", - "pallet-transaction-payment", - "parity-scale-codec 3.2.1", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-aura" version = "4.0.0-dev" @@ -6113,7 +5959,6 @@ version = "2.0.0" dependencies = [ "cfg-primitives", "cfg-types", - "frame-benchmarking", "frame-support", "frame-system", "pallet-balances", @@ -6194,7 +6039,6 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-ethereum", - "pallet-ethereum-xcm", "pallet-interest-accrual", "pallet-loans", "pallet-permissions", @@ -6247,7 +6091,6 @@ dependencies = [ "parity-scale-codec 3.2.1", "proofs", "scale-info", - "serde", "sp-core", "sp-io", "sp-keyring", @@ -6266,7 +6109,6 @@ dependencies = [ "frame-support", "frame-system", "pallet-balances", - "pallet-indices", "pallet-vesting", "parity-scale-codec 3.2.1", "scale-info", @@ -6378,31 +6220,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-ethereum-xcm" -version = "1.0.0-dev" -source = "git+https://github.com/PureStake/moonbeam?rev=621220fb0b7a491256b27d70c93ac507ba6519ce#621220fb0b7a491256b27d70c93ac507ba6519ce" -dependencies = [ - "ethereum", - "ethereum-types 0.14.1", - "fp-ethereum", - "fp-evm", - "fp-rpc", - "fp-self-contained", - "frame-support", - "frame-system", - "pallet-evm", - "pallet-timestamp", - "parity-scale-codec 3.2.1", - "rlp", - "scale-info", - "serde", - "sp-io", - "sp-runtime", - "sp-std", - "xcm-primitives", -] - [[package]] name = "pallet-evm" version = "6.0.0-dev" @@ -6574,7 +6391,6 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-arithmetic", "sp-core", "sp-io", @@ -6619,7 +6435,6 @@ dependencies = [ "pallet-balances", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-core", "sp-io", "sp-runtime", @@ -6665,7 +6480,6 @@ dependencies = [ "pallet-pool-system", "pallet-timestamp", "pallet-uniques", - "parachain-info", "parity-scale-codec 3.2.1", "scale-info", "serde", @@ -6703,7 +6517,6 @@ dependencies = [ "frame-support", "frame-system", "hex", - "log", "pallet-balances", "pallet-proxy", "pallet-vesting", @@ -6714,7 +6527,6 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "sp-version", ] [[package]] @@ -6788,7 +6600,6 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "unique-assets", ] [[package]] @@ -6911,7 +6722,6 @@ dependencies = [ "frame-system", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-runtime", "sp-std", ] @@ -6937,10 +6747,8 @@ dependencies = [ "pallet-timestamp", "parachain-info", "parity-scale-codec 3.2.1", - "polkadot-parachain", "scale-info", "serde", - "sp-arithmetic", "sp-core", "sp-io", "sp-runtime", @@ -7807,7 +7615,7 @@ name = "polkadot-approval-distribution" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7822,7 +7630,7 @@ name = "polkadot-availability-bitfield-distribution" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -7838,7 +7646,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "derive_more", "fatality", - "futures 0.3.25", + "futures", "lru 0.8.1", "parity-scale-codec 3.2.1", "polkadot-erasure-coding", @@ -7860,7 +7668,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "fatality", - "futures 0.3.25", + "futures", "lru 0.8.1", "parity-scale-codec 3.2.1", "polkadot-erasure-coding", @@ -7882,7 +7690,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "clap", "frame-benchmarking-cli", - "futures 0.3.25", + "futures", "log", "polkadot-client", "polkadot-node-core-pvf", @@ -7949,7 +7757,7 @@ dependencies = [ "always-assert", "bitvec 1.0.1", "fatality", - "futures 0.3.25", + "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -7983,7 +7791,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "derive_more", "fatality", - "futures 0.3.25", + "futures", "futures-timer", "indexmap", "lru 0.8.1", @@ -8020,7 +7828,7 @@ name = "polkadot-gossip-support" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -8044,7 +7852,7 @@ dependencies = [ "async-trait", "bytes", "fatality", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "parking_lot 0.12.1", "polkadot-node-network-protocol", @@ -8064,7 +7872,7 @@ name = "polkadot-node-collation-generation" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -8084,7 +7892,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "bitvec 1.0.1", "derive_more", - "futures 0.3.25", + "futures", "futures-timer", "kvdb", "lru 0.8.1", @@ -8112,7 +7920,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "bitvec 1.0.1", - "futures 0.3.25", + "futures", "futures-timer", "kvdb", "parity-scale-codec 3.2.1", @@ -8133,7 +7941,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "bitvec 1.0.1", "fatality", - "futures 0.3.25", + "futures", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8150,7 +7958,7 @@ name = "polkadot-node-core-bitfield-signing" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -8166,7 +7974,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "polkadot-node-core-pvf", "polkadot-node-primitives", @@ -8183,7 +7991,7 @@ name = "polkadot-node-core-chain-api" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -8198,7 +8006,7 @@ name = "polkadot-node-core-chain-selection" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "futures-timer", "kvdb", "parity-scale-codec 3.2.1", @@ -8216,7 +8024,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "fatality", - "futures 0.3.25", + "futures", "kvdb", "lru 0.8.1", "parity-scale-codec 3.2.1", @@ -8235,7 +8043,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "polkadot-node-subsystem", "polkadot-primitives", @@ -8253,7 +8061,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "bitvec 1.0.1", "fatality", - "futures 0.3.25", + "futures", "futures-timer", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8273,7 +8081,7 @@ dependencies = [ "assert_matches", "async-process", "async-std", - "futures 0.3.25", + "futures", "futures-timer", "parity-scale-codec 3.2.1", "pin-project", @@ -8301,7 +8109,7 @@ name = "polkadot-node-core-pvf-checker" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -8317,7 +8125,7 @@ name = "polkadot-node-core-runtime-api" version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ - "futures 0.3.25", + "futures", "memory-lru", "parity-util-mem", "polkadot-node-subsystem", @@ -8352,7 +8160,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "bs58", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -8373,7 +8181,7 @@ dependencies = [ "async-trait", "derive_more", "fatality", - "futures 0.3.25", + "futures", "hex", "parity-scale-codec 3.2.1", "polkadot-node-jaeger", @@ -8394,7 +8202,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "bounded-vec", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "polkadot-parachain", "polkadot-primitives", @@ -8427,7 +8235,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "async-trait", "derive_more", - "futures 0.3.25", + "futures", "orchestra", "polkadot-node-jaeger", "polkadot-node-network-protocol", @@ -8451,7 +8259,7 @@ dependencies = [ "async-trait", "derive_more", "fatality", - "futures 0.3.25", + "futures", "itertools", "kvdb", "lru 0.8.1", @@ -8482,7 +8290,7 @@ version = "0.9.32" source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15ea4b2a74750c1ba647#c71e872afed296d1825b15ea4b2a74750c1ba647" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "lru 0.8.1", "orchestra", @@ -8808,7 +8616,7 @@ dependencies = [ "beefy-primitives", "frame-support", "frame-system-rpc-runtime-api", - "futures 0.3.25", + "futures", "hex-literal 0.3.4", "kusama-runtime", "kvdb", @@ -8909,7 +8717,7 @@ source = "git+https://github.com/paritytech//polkadot?rev=c71e872afed296d1825b15 dependencies = [ "arrayvec 0.5.2", "fatality", - "futures 0.3.25", + "futures", "indexmap", "parity-scale-codec 3.2.1", "polkadot-node-network-protocol", @@ -9050,7 +8858,7 @@ dependencies = [ "coarsetime", "crossbeam-queue", "derive_more", - "futures 0.3.25", + "futures", "futures-timer", "nanorand", "thiserror", @@ -9705,7 +9513,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ "async-global-executor", - "futures 0.3.25", + "futures", "log", "netlink-packet-route", "netlink-proto", @@ -9728,27 +9536,20 @@ name = "runtime-common" version = "1.0.0" dependencies = [ "cfg-primitives", - "cfg-traits", "cfg-types", "frame-support", "frame-system", - "node-primitives", "orml-traits", "pallet-anchors", "pallet-authorship", "pallet-balances", - "pallet-collective", - "pallet-permissions", "pallet-pool-system", - "pallet-rewards", "pallet-treasury", "parity-scale-codec 3.2.1", "scale-info", - "serde", "smallvec", "sp-api", "sp-arithmetic", - "sp-consensus-aura", "sp-core", "sp-io", "sp-runtime", @@ -9779,15 +9580,11 @@ dependencies = [ "orml-asset-registry", "orml-tokens", "orml-traits", - "orml-xcm-support", "orml-xtokens", - "pallet-asset-tx-payment", "pallet-aura", - "pallet-babe", "pallet-balances", "pallet-connectors", "pallet-loans", - "pallet-multisig", "pallet-permissions", "pallet-pool-registry", "pallet-pool-system", @@ -9823,10 +9620,8 @@ dependencies = [ "sp-std", "sp-tracing", "tokio", - "tracing", "tracing-subscriber", "xcm", - "xcm-builder", "xcm-emulator", "xcm-executor", ] @@ -9940,7 +9735,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" dependencies = [ - "futures 0.3.25", + "futures", "pin-project", "static_assertions", ] @@ -9986,7 +9781,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "ip_network", "libp2p", @@ -10012,7 +9807,7 @@ name = "sc-basic-authorship" version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -10083,7 +9878,7 @@ dependencies = [ "chrono", "clap", "fdlimit", - "futures 0.3.25", + "futures", "libp2p", "log", "names", @@ -10120,7 +9915,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "fnv", - "futures 0.3.25", + "futures", "hash-db", "log", "parity-scale-codec 3.2.1", @@ -10173,7 +9968,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "libp2p", "log", @@ -10197,7 +9992,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "log", "parity-scale-codec 3.2.1", "sc-block-builder", @@ -10227,7 +10022,7 @@ source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5 dependencies = [ "async-trait", "fork-tree", - "futures 0.3.25", + "futures", "log", "merlin", "num-bigint 0.2.6", @@ -10267,7 +10062,7 @@ name = "sc-consensus-babe-rpc" version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", @@ -10303,7 +10098,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -10421,7 +10216,7 @@ dependencies = [ "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -10457,7 +10252,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "finality-grandpa", - "futures 0.3.25", + "futures", "jsonrpsee", "log", "parity-scale-codec 3.2.1", @@ -10478,7 +10273,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "ansi_term", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-util-mem", @@ -10518,7 +10313,7 @@ dependencies = [ "either", "fnv", "fork-tree", - "futures 0.3.25", + "futures", "futures-timer", "ip_network", "libp2p", @@ -10557,7 +10352,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "cid", - "futures 0.3.25", + "futures", "libp2p", "log", "prost", @@ -10579,7 +10374,7 @@ dependencies = [ "async-trait", "bitflags", "bytes", - "futures 0.3.25", + "futures", "futures-timer", "libp2p", "linked_hash_set", @@ -10603,7 +10398,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "ahash", - "futures 0.3.25", + "futures", "futures-timer", "libp2p", "log", @@ -10621,7 +10416,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "array-bytes", - "futures 0.3.25", + "futures", "libp2p", "log", "parity-scale-codec 3.2.1", @@ -10643,7 +10438,7 @@ source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5 dependencies = [ "array-bytes", "fork-tree", - "futures 0.3.25", + "futures", "libp2p", "log", "lru 0.7.8", @@ -10672,7 +10467,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "array-bytes", - "futures 0.3.25", + "futures", "hex", "libp2p", "log", @@ -10693,7 +10488,7 @@ dependencies = [ "array-bytes", "bytes", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "hyper", "hyper-rustls", @@ -10720,7 +10515,7 @@ name = "sc-peerset" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "libp2p", "log", "sc-utils", @@ -10742,7 +10537,7 @@ name = "sc-rpc" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "hash-db", "jsonrpsee", "log", @@ -10772,7 +10567,7 @@ name = "sc-rpc-api" version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "jsonrpsee", "log", "parity-scale-codec 3.2.1", @@ -10795,7 +10590,7 @@ name = "sc-rpc-server" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "jsonrpsee", "log", "serde_json", @@ -10808,7 +10603,7 @@ name = "sc-rpc-spec-v2" version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "hex", "jsonrpsee", "parity-scale-codec 3.2.1", @@ -10830,7 +10625,7 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.3.25", + "futures", "futures-timer", "hash-db", "jsonrpsee", @@ -10900,7 +10695,7 @@ source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5 dependencies = [ "array-bytes", "fdlimit", - "futures 0.3.25", + "futures", "log", "parity-scale-codec 3.2.1", "parking_lot 0.12.1", @@ -10968,7 +10763,7 @@ name = "sc-sysinfo" version = "6.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "libc", "log", "rand 0.7.3", @@ -10988,7 +10783,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "chrono", - "futures 0.3.25", + "futures", "libp2p", "log", "parking_lot 0.12.1", @@ -11048,7 +10843,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "linked-hash-map", "log", @@ -11075,7 +10870,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "log", "serde", "sp-blockchain", @@ -11088,7 +10883,7 @@ name = "sc-utils" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "futures-timer", "lazy_static", "log", @@ -11530,7 +11325,7 @@ dependencies = [ "base64", "bytes", "flate2", - "futures 0.3.25", + "futures", "httparse", "log", "rand 0.8.5", @@ -11637,7 +11432,7 @@ name = "sp-blockchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "log", "lru 0.7.8", "parity-scale-codec 3.2.1", @@ -11656,7 +11451,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -11749,7 +11544,7 @@ dependencies = [ "byteorder", "dyn-clonable", "ed25519-zebra", - "futures 0.3.25", + "futures", "hash-db", "hash256-std-hasher", "impl-serde", @@ -11876,7 +11671,7 @@ version = "6.0.0" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "bytes", - "futures 0.3.25", + "futures", "hash-db", "libsecp256k1", "log", @@ -11913,7 +11708,7 @@ version = "0.12.0" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "async-trait", - "futures 0.3.25", + "futures", "merlin", "parity-scale-codec 3.2.1", "parking_lot 0.12.1", @@ -12435,7 +12230,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.25", + "futures", "jsonrpsee", "log", "parity-scale-codec 3.2.1", @@ -12504,7 +12299,7 @@ source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5 dependencies = [ "array-bytes", "async-trait", - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "sc-client-api", "sc-client-db", @@ -12572,7 +12367,7 @@ name = "substrate-test-runtime-client" version = "2.0.0" source = "git+https://github.com/paritytech//substrate?rev=5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1#5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" dependencies = [ - "futures 0.3.25", + "futures", "parity-scale-codec 3.2.1", "sc-block-builder", "sc-client-api", @@ -13207,14 +13002,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" -[[package]] -name = "unique-assets" -version = "1.0.0" -source = "git+https://github.com/centrifuge/unique-assets?branch=polkadot-v0.9.32#add9952d779835b06ae5b59d97b70c28fa817a2b" -dependencies = [ - "frame-support", -] - [[package]] name = "universal-hash" version = "0.4.1" @@ -13284,7 +13071,7 @@ checksum = "e7141e445af09c8919f1d5f8a20dae0b20c3b57a45dee0d5823c6ed5d237f15a" dependencies = [ "bitflags", "chrono", - "rustc_version 0.2.3", + "rustc_version 0.4.0", ] [[package]] @@ -13436,7 +13223,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.25", + "futures", "js-sys", "parking_lot 0.11.2", "pin-utils", @@ -14144,7 +13931,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" dependencies = [ - "futures 0.3.25", + "futures", "log", "nohash-hasher", "parking_lot 0.12.1", diff --git a/Cargo.toml b/Cargo.toml index 0b089cde8c..e9ff7f77a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,55 +64,31 @@ members = [ # third-party dependencies clap = { version = "4.0.9", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0", default-features = false } -futures = { version = "0.3.21", features = ["compat"] } hex-literal = "0.2.1" jsonrpsee = { version = "0.15.1", features = ["server", "macros"] } log = "0.4.8" serde = { version = "1.0.119", features = ["derive"] } -serde_json = "1.0" -tracing-core = "0.1.29" -url = "2.2.2" - -# primitives -grandpa-primitives = { package = "sp-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-keystore = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-runtime-interface = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } +url = "2.2.2" # client dependencies grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-client-db = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-service = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } @@ -123,17 +99,12 @@ substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate # Cli specific frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -node-inspect = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } try-runtime-cli = { git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.32" } # Local dependencies cfg-types = { path = "./libs/types" } pallet-anchors = { path = "./pallets/anchors" } -pallet-loans = { path = "./pallets/loans" } pallet-pool-system = { path = "./pallets/pool-system" } - -# frame dependencies -pallet-im-online = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } @@ -141,7 +112,6 @@ substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } @@ -151,7 +121,6 @@ cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", # Polkadot dependencies polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } @@ -160,7 +129,6 @@ altair-runtime = { path = "runtime/altair" } centrifuge-runtime = { path = "runtime/centrifuge" } cfg-primitives = { path = "libs/primitives" } development-runtime = { path = "runtime/development" } -node-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } runtime-common = { path = "runtime/common" } # benchmarking @@ -189,7 +157,6 @@ std = [ "serde/std", "sc-service/rocksdb", "substrate-build-script-utils", - "sp-consensus-babe/std", "altair-runtime/std", "centrifuge-runtime/std", "cfg-primitives/std", @@ -199,38 +166,24 @@ std = [ "cumulus-primitives-parachain-inherent/std", "development-runtime/std", "frame-benchmarking/std", - "futures/std", "log/std", - "node-primitives/std", "pallet-anchors/std", - "pallet-im-online/std", - "pallet-loans/std", "pallet-pool-system/std", "codec/std", - "polkadot-parachain/std", "polkadot-primitives/std", "runtime-common/std", "sc-executor/std", "serde/std", - "serde_json/std", "sp-api/std", - "sp-authority-discovery/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", - "grandpa-primitives/std", - "sp-inherents/std", - "sp-io/std", "sp-keystore/std", "sp-offchain/std", "sp-runtime/std", - "sp-runtime-interface/std", "sp-session/std", - "sp-std/std", "sp-timestamp/std", "sp-transaction-pool/std", - "sp-trie/std", - "tracing-core/std", "xcm/std", ] runtime-benchmarks = [ @@ -245,14 +198,10 @@ runtime-benchmarks = [ "cfg-types/runtime-benchmarks", "frame-benchmarking-cli/runtime-benchmarks", "pallet-anchors/runtime-benchmarks", - "pallet-im-online/runtime-benchmarks", - "pallet-loans/runtime-benchmarks", "pallet-pool-system/runtime-benchmarks", - "polkadot-parachain/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "polkadot-service/runtime-benchmarks", "runtime-integration-tests/runtime-benchmarks", - "sc-client-db/runtime-benchmarks", "sc-service/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm/runtime-benchmarks", @@ -272,8 +221,6 @@ try-runtime = [ "try-runtime-cli", "cfg-types/try-runtime", "pallet-anchors/try-runtime", - "pallet-im-online/try-runtime", - "pallet-loans/try-runtime", "pallet-pool-system/try-runtime", "polkadot-cli/try-runtime", "polkadot-service/try-runtime", @@ -304,7 +251,6 @@ frame-system = { git = "https://github.com/paritytech//substrate", rev = "5ea6d9 frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } -pallet-asset-tx-payment = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } @@ -443,7 +389,6 @@ substrate-test-client = { git = "https://github.com/paritytech//substrate", rev try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } substrate-test-runtime = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } substrate-test-runtime-client = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } -node-inspect = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } node-primitives = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-nomination-pools = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-randomness-collective-flip = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } @@ -482,7 +427,6 @@ xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "c71e872 cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } @@ -523,7 +467,6 @@ frame-system = { git = "https://github.com/paritytech//substrate", rev = "5ea6d9 frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } -pallet-asset-tx-payment = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "5ea6d95309aaccfa399c5f72e5a14a4b7c6c4ca1" } @@ -693,7 +636,6 @@ xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "c71e872 cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "6abd385ce49f7feb882218646410feb063404b77" } diff --git a/flake.nix b/flake.nix index e1ae473e0d..b37d8cde44 100644 --- a/flake.nix +++ b/flake.nix @@ -93,7 +93,7 @@ }; # This is a hash of all the Cargo dependencies, for reproducibility. - cargoSha256 = "sha256-exomenGuueIAObslhTW6NdP1zQJ8Xnl11P9PoeGl/kc="; + cargoSha256 = "sha256-hTsNijiW8HMsS2qKoD/Cya+3bwlCvxFhvZd6k2B7M5E="; nativeBuildInputs = with pkgs; [ clang git-mock pkg-config ]; buildInputs = with pkgs; [ openssl ] ++ ( diff --git a/libs/traits/Cargo.toml b/libs/traits/Cargo.toml index 01cb8c992e..23f776e4d6 100644 --- a/libs/traits/Cargo.toml +++ b/libs/traits/Cargo.toml @@ -15,9 +15,7 @@ cfg-primitives = { path = "../primitives", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } impl-trait-for-tuples = "0.2.1" -orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -35,18 +33,15 @@ default = ["std"] runtime-benchmarks = [ "cfg-primitives/runtime-benchmarks", "frame-support/runtime-benchmarks", - "orml-asset-registry/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] std = [ - "serde/std", "codec/std", "frame-support/std", "sp-runtime/std", "sp-arithmetic/std", "sp-std/std", "cfg-primitives/std", - "orml-asset-registry/std", "mockall", "lazy_static", "scale-info/std", @@ -54,5 +49,4 @@ std = [ try-runtime = [ "frame-support/try-runtime", "cfg-primitives/try-runtime", - "orml-asset-registry/try-runtime", ] diff --git a/libs/types/Cargo.toml b/libs/types/Cargo.toml index 804d9c67cf..b25b81a97c 100644 --- a/libs/types/Cargo.toml +++ b/libs/types/Cargo.toml @@ -13,20 +13,16 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] bitflags = { version = "1.3", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } -rev_slice = { version = "0.1.5", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119" } # substrate dependencies frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } # local dependencies @@ -40,11 +36,9 @@ frame-support = { git = "https://github.com/paritytech/substrate", default-featu default = ["std"] runtime-benchmarks = [ "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", "cfg-primitives/runtime-benchmarks", "cfg-traits/runtime-benchmarks", "orml-asset-registry/runtime-benchmarks", - "polkadot-parachain/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm/runtime-benchmarks", ] @@ -53,14 +47,10 @@ std = [ "cfg-traits/std", "codec/std", "frame-support/std", - "frame-system/std", "sp-runtime/std", "sp-runtime/std", "sp-std/std", "orml-asset-registry/std", - "orml-traits/std", - "polkadot-parachain/std", - "rev_slice/std", "scale-info/std", "serde/std", "sp-arithmetic/std", @@ -70,6 +60,5 @@ try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", "frame-support/try-runtime", - "frame-system/try-runtime", "orml-asset-registry/try-runtime", ] diff --git a/pallets/bridge-mapping/Cargo.toml b/pallets/bridge-mapping/Cargo.toml index 05d58156e3..d7589392cf 100644 --- a/pallets/bridge-mapping/Cargo.toml +++ b/pallets/bridge-mapping/Cargo.toml @@ -13,9 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } [dev-dependencies] cfg-primitives = { path = "../../libs/primitives" } @@ -28,7 +26,5 @@ std = [ "codec/std", "scale-info/std", "frame-support/std", - "frame-system/std", - "sp-runtime/std", ] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index dcf783ac3d..420292c63a 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -21,9 +21,6 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -# optional dependencies for benchmarking -frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } - [dev-dependencies] cfg-primitives = { path = "../../libs/primitives", default_features = true } cfg-types = { path = "../../libs/types", default_features = true } @@ -40,7 +37,6 @@ std = [ "pallet-balances/std", "sp-std/std", "sp-core/std", - "frame-benchmarking/std", "sp-runtime/std", ] diff --git a/pallets/connectors/Cargo.toml b/pallets/connectors/Cargo.toml index d3cbf556d5..c45bb4061f 100644 --- a/pallets/connectors/Cargo.toml +++ b/pallets/connectors/Cargo.toml @@ -35,13 +35,11 @@ cfg-primitives = { path = "../../libs/primitives", default-features = false } cfg-traits = { path = "../../libs/traits", default-features = false } cfg-types = { path = "../../libs/types", default-features = false } cfg-utils = { path = "../../libs/utils", default-features = false } -runtime-common = { path = "../../runtime/common", default-features = false } # Polkadot xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } pallet-ethereum = { git = "https://github.com/PureStake/frontier", default-features = false, branch = "moonbeam-polkadot-v0.9.32" } -pallet-ethereum-xcm = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } pallet-xcm-transactor = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } xcm-primitives = { git = "https://github.com/PureStake/moonbeam", default-features = false, rev = "621220fb0b7a491256b27d70c93ac507ba6519ce" } @@ -82,7 +80,6 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-ethereum/runtime-benchmarks", - "pallet-ethereum-xcm/runtime-benchmarks", "pallet-xcm-transactor/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm/runtime-benchmarks", @@ -103,7 +100,6 @@ std = [ "runtime-common/std", "xcm/std", "pallet-xcm-transactor/std", - "pallet-ethereum-xcm/std", "pallet-ethereum/std", "xcm-primitives/std", "ethabi/std", @@ -126,6 +122,5 @@ try-runtime = [ "cfg-utils/try-runtime", "frame-system/try-runtime", "pallet-ethereum/try-runtime", - "pallet-ethereum-xcm/try-runtime", "pallet-xcm-transactor/try-runtime", ] diff --git a/pallets/crowdloan-claim/Cargo.toml b/pallets/crowdloan-claim/Cargo.toml index 9d192de249..3e3cc663f6 100644 --- a/pallets/crowdloan-claim/Cargo.toml +++ b/pallets/crowdloan-claim/Cargo.toml @@ -15,7 +15,6 @@ targets = ["x86_64-unknown-linux-gnu"] # General dependencies codec = { package = "parity-scale-codec", version = "3.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119" } # Substrate dependencies frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -63,7 +62,6 @@ std = [ "cfg-types/std", "frame-benchmarking/std", "scale-info/std", - "serde/std", "sp-core/std", "sp-runtime/std", ] diff --git a/pallets/crowdloan-reward/Cargo.toml b/pallets/crowdloan-reward/Cargo.toml index 94c8b10c7d..7dec025e9a 100644 --- a/pallets/crowdloan-reward/Cargo.toml +++ b/pallets/crowdloan-reward/Cargo.toml @@ -15,14 +15,12 @@ targets = ["x86_64-unknown-linux-gnu"] # General dependencies codec = { package = "parity-scale-codec", version = "3.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119" } # Substrae dependencies frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-vesting = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -45,7 +43,6 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "pallet-indices/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] std = [ @@ -58,7 +55,6 @@ std = [ "pallet-vesting/std", "cfg-traits/std", "frame-benchmarking/std", - "pallet-indices/std", "sp-runtime/std", ] try-runtime = [ @@ -66,5 +62,4 @@ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "pallet-balances/try-runtime", - "pallet-indices/try-runtime", ] diff --git a/pallets/interest-accrual/Cargo.toml b/pallets/interest-accrual/Cargo.toml index 072ede4e19..33c0c13138 100644 --- a/pallets/interest-accrual/Cargo.toml +++ b/pallets/interest-accrual/Cargo.toml @@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } log = { version = "0.4.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119" } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -61,7 +60,6 @@ std = [ "cfg-types/std", "cfg-primitives/std", "log/std", - "serde/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/investments/Cargo.toml b/pallets/investments/Cargo.toml index c56c65719f..657f5ee436 100644 --- a/pallets/investments/Cargo.toml +++ b/pallets/investments/Cargo.toml @@ -8,6 +8,7 @@ name = "pallet-investments" readme = "README.md" repository = "https://github.com/substrate-developer-hub/substrate-node-template/" version = "1.0.0" + [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/pallets/keystore/Cargo.toml b/pallets/keystore/Cargo.toml index 3af7078fa4..8eb140c151 100644 --- a/pallets/keystore/Cargo.toml +++ b/pallets/keystore/Cargo.toml @@ -13,7 +13,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119" } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -42,7 +41,6 @@ std = [ "sp-runtime/std", "sp-std/std", "frame-benchmarking/std", - "serde/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/loans/Cargo.toml b/pallets/loans/Cargo.toml index f8fdd198e2..545b65f20d 100644 --- a/pallets/loans/Cargo.toml +++ b/pallets/loans/Cargo.toml @@ -17,7 +17,6 @@ serde = { version = "1.0.119" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = false, branch = "polkadot-v0.9.32" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -94,7 +93,6 @@ std = [ "sp-runtime/std", "sp-std/std", "sp-arithmetic/std", - "parachain-info/std", "pallet-interest-accrual/std", "cfg-traits/std", "cfg-types/std", @@ -110,6 +108,5 @@ try-runtime = [ "frame-system/try-runtime", "pallet-interest-accrual/try-runtime", "pallet-permissions/try-runtime", - "parachain-info/try-runtime", "cfg-utils/try-runtime", ] diff --git a/pallets/migration/Cargo.toml b/pallets/migration/Cargo.toml index 1fdccdea3a..3984f39c5b 100644 --- a/pallets/migration/Cargo.toml +++ b/pallets/migration/Cargo.toml @@ -12,7 +12,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } -log = { version = "0.4.14", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } @@ -25,7 +24,6 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } [dev-dependencies] hex = "0.4.3" @@ -50,13 +48,11 @@ std = [ "pallet-balances/std", "pallet-proxy/std", "frame-benchmarking/std", - "log/std", "scale-info/std", "sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std", - "sp-version/std", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index af6f0677c1..da0390ecb7 100644 --- a/pallets/nft/Cargo.toml +++ b/pallets/nft/Cargo.toml @@ -31,7 +31,6 @@ cfg-types = { path = "../../libs/types", default-features = false } chainbridge = { git = "https://github.com/centrifuge/chainbridge-substrate.git", default-features = false, branch = "polkadot-v0.9.32" } pallet-anchors = { path = "../anchors", default-features = false } proofs = { path = "../../libs/proofs", default-features = false } -unique-assets = { git = "https://github.com/centrifuge/unique-assets", default-features = false, branch = "polkadot-v0.9.32" } [dev-dependencies] # Testing and mocking dependencies @@ -74,7 +73,6 @@ std = [ "cfg-primitives/std", "cfg-types/std", "frame-benchmarking/std", - "unique-assets/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 4f68719be5..c312585e4d 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -14,7 +14,6 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119" } cfg-traits = { path = "../../libs/traits", default-features = false } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } @@ -50,7 +49,6 @@ std = [ "sp-std/std", "cfg-traits/std", "cfg-types/std", - "serde/std", ] try-runtime = [ "cfg-traits/try-runtime", diff --git a/pallets/pool-registry/Cargo.toml b/pallets/pool-registry/Cargo.toml index 6d90898823..a210f7de14 100644 --- a/pallets/pool-registry/Cargo.toml +++ b/pallets/pool-registry/Cargo.toml @@ -13,18 +13,14 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.102" } frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } # Our own pallets pallet-pool-system = { path = "../pool-system", default-features = false } @@ -45,8 +41,10 @@ pallet-permissions = { path = "../../pallets/permissions", default-features = tr pallet-pool-system = { path = "../pool-system", default-features = true } pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } parachain-info = { git = "https://github.com/paritytech/cumulus", default-features = true, branch = "polkadot-v0.9.32" } +serde = { version = "1.0.102" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.32" } +xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.32" } [features] default = ["std"] @@ -59,9 +57,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "orml-asset-registry/runtime-benchmarks", - "polkadot-parachain/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "xcm/runtime-benchmarks", ] std = [ "codec/std", @@ -72,15 +68,11 @@ std = [ "cfg-traits/std", "cfg-types/std", "cfg-primitives/std", - "polkadot-parachain/std", - "xcm/std", "orml-traits/std", "orml-asset-registry/std", "frame-benchmarking/std", "pallet-investments/std", "scale-info/std", - "serde/std", - "sp-arithmetic/std", ] try-runtime = [ "cfg-primitives/try-runtime", diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index babd05633a..665f81803a 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -12,12 +12,8 @@ repository = "https://github.com/centrifuge/centrifuge-chain" # third-party dependencies codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive"] } hex-literal = { version = "0.3.4", optional = true } -integer-sqrt = { version = "0.1.2" } -rustc-hex = { version = "2.0", optional = true } -safe-mix = { version = "1.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119", optional = true } -smallvec = "1.6.1" static_assertions = "1.1.0" # parachain @@ -42,18 +38,13 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot", default-feature # primitives sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -67,29 +58,18 @@ frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", d frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["historical"], branch = "polkadot-v0.9.32" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } -pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -132,6 +112,7 @@ substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", bran [features] default = ["std"] std = [ + "serde/std", "cfg-primitives/std", "cfg-types/std", "codec/std", @@ -154,9 +135,7 @@ std = [ "orml-xtokens/std", "pallet-anchors/std", "pallet-aura/std", - "pallet-authority-discovery/std", "pallet-authorship/std", - "pallet-babe/std", "pallet-balances/std", "pallet-collator-allowlist/std", "pallet-collator-selection/std", @@ -166,18 +145,13 @@ std = [ "pallet-democracy/std", "pallet-elections-phragmen/std", "pallet-fees/std", - "pallet-grandpa/std", "pallet-identity/std", - "pallet-im-online/std", - "pallet-indices/std", "pallet-interest-accrual/std", "pallet-investments/std", "pallet-loans/std", - "pallet-membership/std", "pallet-migration-manager/std", "pallet-multisig/std", "pallet-nft-sales/std", - "pallet-offences/std", "pallet-permissions/std", "pallet-pool-system/std", "pallet-pool-registry/std", @@ -187,8 +161,6 @@ std = [ "pallet-restricted-tokens/std", "pallet-scheduler/std", "pallet-session/std", - "pallet-society/std", - "pallet-staking/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", @@ -199,22 +171,15 @@ std = [ "parachain-info/std", "polkadot-runtime-common/std", "runtime-common/std", - "rustc-hex", - "safe-mix/std", - "serde", "sp-api/std", - "sp-arithmetic/std", - "sp-authority-discovery/std", + "sp-block-builder/std", "sp-consensus-aura/std", - "sp-consensus-babe/std", "sp-core/std", "sp-inherents/std", - "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", - "sp-staking/std", "sp-std/std", "sp-transaction-pool/std", "sp-version/std", @@ -228,7 +193,6 @@ std = [ "frame-benchmarking/std", "frame-system-benchmarking/std", "orml-traits/std", - "pallet-session-benchmarking/std", "polkadot-parachain/std", "scale-info/std", ] @@ -263,8 +227,6 @@ runtime-benchmarks = [ "pallet-proxy/runtime-benchmarks", "pallet-restricted-tokens/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", - "pallet-session-benchmarking", - "pallet-society/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", @@ -280,17 +242,9 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "orml-tokens/runtime-benchmarks", "orml-xtokens/runtime-benchmarks", - "pallet-babe/runtime-benchmarks", - "pallet-grandpa/runtime-benchmarks", - "pallet-im-online/runtime-benchmarks", - "pallet-indices/runtime-benchmarks", - "pallet-membership/runtime-benchmarks", - "pallet-offences/runtime-benchmarks", - "pallet-staking/runtime-benchmarks", "polkadot-parachain/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "sp-staking/runtime-benchmarks", "xcm-executor/runtime-benchmarks", ] @@ -300,14 +254,6 @@ try-runtime = [ "cfg-primitives/try-runtime", "cfg-traits/try-runtime", "cfg-types/try-runtime", - "pallet-authority-discovery/try-runtime", - "pallet-babe/try-runtime", - "pallet-grandpa/try-runtime", - "pallet-im-online/try-runtime", - "pallet-indices/try-runtime", - "pallet-membership/try-runtime", - "pallet-offences/try-runtime", - "pallet-staking/try-runtime", "polkadot-runtime-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-dmp-queue/try-runtime", @@ -350,9 +296,7 @@ try-runtime = [ "pallet-restricted-tokens/try-runtime", "pallet-restricted-tokens/try-runtime", "pallet-scheduler/try-runtime", - "pallet-session-benchmarking", "pallet-session/try-runtime", - "pallet-society/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index af32c093c9..00ea3490ea 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -12,12 +12,7 @@ repository = "https://github.com/centrifuge/centrifuge-chain" # third-party dependencies codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive"] } hex-literal = { version = "0.3.4", optional = true } -integer-sqrt = { version = "0.1.2" } -rustc-hex = { version = "2.0", optional = true } -safe-mix = { version = "1.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.119", optional = true } -smallvec = "1.6.1" static_assertions = "1.1.0" # parachain @@ -42,18 +37,14 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot", default-feature # primitives sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -67,28 +58,18 @@ frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", d frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["historical"], branch = "polkadot-v0.9.32" } -pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -153,9 +134,9 @@ std = [ "orml-xtokens/std", "pallet-anchors/std", "pallet-aura/std", - "pallet-authority-discovery/std", + "pallet-authorship/std", - "pallet-babe/std", + "pallet-balances/std", "pallet-bridge/std", "pallet-claims/std", @@ -168,22 +149,20 @@ std = [ "pallet-elections-phragmen/std", "pallet-fees/std", "pallet-fees/std", - "pallet-grandpa/std", + "pallet-identity/std", - "pallet-im-online/std", - "pallet-indices/std", - "pallet-membership/std", + "pallet-migration-manager/std", "pallet-multisig/std", "pallet-nft/std", - "pallet-offences/std", + "pallet-preimage/std", "pallet-proxy/std", "pallet-randomness-collective-flip/std", "pallet-restricted-tokens/std", "pallet-scheduler/std", "pallet-session/std", - "pallet-staking/std", + "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", @@ -195,22 +174,18 @@ std = [ "polkadot-parachain/std", "polkadot-runtime-common/std", "runtime-common/std", - "rustc-hex", - "safe-mix/std", - "serde", "sp-api/std", - "sp-arithmetic/std", - "sp-authority-discovery/std", + "sp-block-builder/std", "sp-consensus-aura/std", - "sp-consensus-babe/std", + "sp-core/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", - "sp-staking/std", + "sp-std/std", "sp-transaction-pool/std", "sp-version/std", @@ -221,7 +196,6 @@ std = [ "cumulus-primitives-utility/std", "frame-benchmarking/std", "frame-system-benchmarking/std", - "pallet-session-benchmarking/std", "scale-info/std", ] @@ -251,8 +225,6 @@ runtime-benchmarks = [ "pallet-proxy/runtime-benchmarks", "pallet-restricted-tokens/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", - "pallet-session-benchmarking", - "pallet-session-benchmarking", "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", @@ -267,19 +239,15 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "orml-tokens/runtime-benchmarks", "orml-xtokens/runtime-benchmarks", - "pallet-babe/runtime-benchmarks", + "pallet-bridge/runtime-benchmarks", - "pallet-grandpa/runtime-benchmarks", - "pallet-im-online/runtime-benchmarks", - "pallet-indices/runtime-benchmarks", - "pallet-membership/runtime-benchmarks", + "pallet-nft/runtime-benchmarks", - "pallet-offences/runtime-benchmarks", - "pallet-staking/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "sp-staking/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] @@ -304,9 +272,9 @@ try-runtime = [ "orml-xtokens/try-runtime", "pallet-anchors/try-runtime", "pallet-aura/try-runtime", - "pallet-authority-discovery/try-runtime", + "pallet-authorship/try-runtime", - "pallet-babe/try-runtime", + "pallet-balances/try-runtime", "pallet-bridge/try-runtime", "pallet-claims/try-runtime", @@ -318,22 +286,20 @@ try-runtime = [ "pallet-democracy/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-fees/try-runtime", - "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", - "pallet-im-online/try-runtime", - "pallet-indices/try-runtime", - "pallet-membership/try-runtime", + "pallet-migration-manager/try-runtime", "pallet-multisig/try-runtime", "pallet-nft/try-runtime", - "pallet-offences/try-runtime", + "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-randomness-collective-flip/try-runtime", "pallet-restricted-tokens/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", - "pallet-staking/try-runtime", + "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index d01d8016e1..8c76226952 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -8,8 +8,6 @@ homepage = "https://centrifuge.io/" repository = "https://github.com/centrifuge/centrifuge-chain" [dependencies] -# third-party dependencies -serde = { version = "1.0.119", optional = true } smallvec = "1.6.1" # Substrate dependencies @@ -18,14 +16,11 @@ scale-info = { version = "2.3.0", default-features = false, features = ["derive" frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -node-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-treasury = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -38,12 +33,9 @@ orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-li # Local Dependencies cfg-primitives = { path = "../../libs/primitives", default-features = false } -cfg-traits = { path = "../../libs/traits", default-features = false } cfg-types = { path = "../../libs/types", default-features = false } pallet-anchors = { path = "../../pallets/anchors", default-features = false } -pallet-permissions = { path = "../../pallets/permissions", default-features = false } pallet-pool-system = { path = "../../pallets/pool-system", default-features = false } -pallet-rewards = { path = "../../pallets/rewards", default-features = false } [dev-dependencies] sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -51,35 +43,26 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = fa [features] default = ["std"] std = [ - "serde/std", "codec/std", - "serde/std", "frame-support/std", "frame-system/std", - "node-primitives/std", "pallet-authorship/std", "pallet-balances/std", - "pallet-collective/std", "pallet-treasury/std", - "pallet-permissions/std", - "serde", "sp-core/std", "sp-api/std", "sp-std/std", "sp-arithmetic/std", "sp-core/std", - "sp-consensus-aura/std", "sp-runtime/std", "cfg-types/std", "pallet-anchors/std", - "cfg-traits/std", "frame-support/std", "frame-system/std", "cfg-primitives/std", "cfg-types/std", "orml-traits/std", "pallet-pool-system/std", - "pallet-rewards/std", "scale-info/std", "xcm/std", ] @@ -87,12 +70,9 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "cfg-primitives/runtime-benchmarks", - "cfg-traits/runtime-benchmarks", "cfg-types/runtime-benchmarks", "pallet-anchors/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "pallet-collective/runtime-benchmarks", - "pallet-permissions/runtime-benchmarks", "pallet-pool-system/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "sp-runtime/runtime-benchmarks", @@ -104,18 +84,13 @@ on-chain-release-build = [ ] try-runtime = [ "cfg-primitives/try-runtime", - "cfg-traits/try-runtime", "frame-support/try-runtime", "cfg-types/try-runtime", "frame-system/try-runtime", "pallet-anchors/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", - "pallet-collective/try-runtime", - "pallet-permissions/try-runtime", "pallet-pool-system/try-runtime", - "pallet-rewards/try-runtime", "pallet-treasury/try-runtime", "cfg-primitives/try-runtime", - "cfg-traits/try-runtime", ] diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index 0e8f509c46..b106ead3b8 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -12,12 +12,8 @@ repository = "https://github.com/centrifuge/centrifuge-chain" # third-party dependencies codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive"] } hex-literal = { version = "0.3.4", optional = true } -integer-sqrt = { version = "0.1.2" } -rustc-hex = { version = "2.0", optional = true } -safe-mix = { version = "1.0", default-features = false } scale-info = { version = "2.3.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119", optional = true } -smallvec = "1.6.1" static_assertions = "1.1.0" # parachain @@ -42,18 +38,14 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot", default-feature # primitives sp-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-block-builder = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-consensus-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-inherents = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-offchain = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-version = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -67,28 +59,18 @@ frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", d frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } frame-try-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-democracy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-grandpa = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-identity = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-im-online = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-indices = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-membership = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-offences = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-preimage = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-proxy = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-session = { git = "https://github.com/paritytech/substrate", default-features = false, features = ["historical"], branch = "polkadot-v0.9.32" } -pallet-society = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } pallet-sudo = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -168,9 +150,9 @@ std = [ "orml-xtokens/std", "pallet-anchors/std", "pallet-aura/std", - "pallet-authority-discovery/std", + "pallet-authorship/std", - "pallet-babe/std", + "pallet-balances/std", "pallet-bridge/std", "pallet-claims/std", @@ -183,21 +165,20 @@ std = [ "pallet-democracy/std", "pallet-elections-phragmen/std", "pallet-fees/std", - "pallet-grandpa/std", + "pallet-identity/std", - "pallet-im-online/std", - "pallet-indices/std", + "pallet-interest-accrual/std", "pallet-investments/std", "pallet-keystore/std", "pallet-liquidity-rewards/std", "pallet-loans/std", - "pallet-membership/std", + "pallet-migration-manager/std", "pallet-multisig/std", "pallet-nft-sales/std", "pallet-nft/std", - "pallet-offences/std", + "pallet-permissions/std", "pallet-preimage/std", "pallet-proxy/std", @@ -207,9 +188,7 @@ std = [ "pallet-rewards/std", "pallet-scheduler/std", "pallet-session/std", - "pallet-society/std", - "pallet-society/std", - "pallet-staking/std", + "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", @@ -221,22 +200,19 @@ std = [ "parachain-info/std", "polkadot-runtime-common/std", "runtime-common/std", - "rustc-hex", - "safe-mix/std", "serde", "sp-api/std", - "sp-arithmetic/std", - "sp-authority-discovery/std", + "sp-block-builder/std", "sp-consensus-aura/std", - "sp-consensus-babe/std", + "sp-core/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", - "sp-staking/std", + "sp-std/std", "sp-transaction-pool/std", "sp-version/std", @@ -285,7 +261,7 @@ runtime-benchmarks = [ "pallet-pool-system/runtime-benchmarks", "pallet-pool-registry/runtime-benchmarks", "pallet-restricted-tokens/runtime-benchmarks", - "pallet-society/runtime-benchmarks", + "pallet-uniques/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "runtime-common/runtime-benchmarks", @@ -297,22 +273,20 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "orml-tokens/runtime-benchmarks", "orml-xtokens/runtime-benchmarks", - "pallet-babe/runtime-benchmarks", + "pallet-bridge/runtime-benchmarks", "pallet-connectors/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", - "pallet-grandpa/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", - "pallet-im-online/runtime-benchmarks", - "pallet-indices/runtime-benchmarks", - "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", - "pallet-offences/runtime-benchmarks", + "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", - "pallet-staking/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", @@ -321,7 +295,7 @@ runtime-benchmarks = [ "polkadot-parachain/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "sp-staking/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", "xcm-primitives/runtime-benchmarks", ] @@ -343,7 +317,7 @@ try-runtime = [ "pallet-pool-registry/try-runtime", "pallet-pool-system/try-runtime", "pallet-rewards/try-runtime", - "pallet-society/try-runtime", + "pallet-sudo/try-runtime", "pallet-uniques/try-runtime", "pallet-xcm-transactor/try-runtime", @@ -364,9 +338,9 @@ try-runtime = [ "orml-xtokens/try-runtime", "pallet-anchors/try-runtime", "pallet-aura/try-runtime", - "pallet-authority-discovery/try-runtime", + "pallet-authorship/try-runtime", - "pallet-babe/try-runtime", + "pallet-balances/try-runtime", "pallet-bridge/try-runtime", "pallet-claims/try-runtime", @@ -378,22 +352,20 @@ try-runtime = [ "pallet-democracy/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-fees/try-runtime", - "pallet-grandpa/try-runtime", + "pallet-identity/try-runtime", - "pallet-im-online/try-runtime", - "pallet-indices/try-runtime", - "pallet-membership/try-runtime", + "pallet-migration-manager/try-runtime", "pallet-multisig/try-runtime", "pallet-nft/try-runtime", - "pallet-offences/try-runtime", + "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-randomness-collective-flip/try-runtime", "pallet-restricted-tokens/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", - "pallet-staking/try-runtime", + "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 19162d9077..998e929193 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -14,7 +14,6 @@ lazy_static = "1.4.0" rand = "0.8.5" serde = { version = "1.0.119" } tokio = { version = "1.15", features = ["macros"] } -tracing = "0.1.37" tracing-subscriber = "0.2" # Substrate @@ -22,11 +21,8 @@ tracing-subscriber = "0.2" frame-benchmarking = { git = "https://github.com/paritytech/substrate", optional = true, branch = "polkadot-v0.9.32" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-aura = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -pallet-babe = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } pallet-uniques = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } @@ -60,7 +56,6 @@ polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", bran polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } rococo-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } # Cumulus cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } @@ -70,7 +65,6 @@ parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polk orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.32" } orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } -orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32" } # Misc @@ -117,9 +111,7 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "orml-tokens/runtime-benchmarks", "orml-xtokens/runtime-benchmarks", - "pallet-babe/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "pallet-multisig/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "polkadot-parachain/runtime-benchmarks", @@ -132,7 +124,6 @@ runtime-benchmarks = [ "sc-service/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", ] runtime-development = [] runtime-altair = [] From 9761390abe9028caed60f14a7ee0bcc2d5948239 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 3 Mar 2023 13:59:32 +0100 Subject: [PATCH 10/12] fix: investment toml boilerplate --- pallets/investments/Cargo.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pallets/investments/Cargo.toml b/pallets/investments/Cargo.toml index 657f5ee436..8984cd4517 100644 --- a/pallets/investments/Cargo.toml +++ b/pallets/investments/Cargo.toml @@ -1,12 +1,10 @@ [package] -authors = ["Substrate DevHub "] -description = "FRAME pallet template for defining custom runtime logic." -edition = "2018" -homepage = "https://substrate.dev" -license = "Unlicense" +authors = ["Centrifuge "] +description = "Provides orders for assests and allows user to collect these orders" +edition = "2021" +license = "LGPL-3.0" name = "pallet-investments" -readme = "README.md" -repository = "https://github.com/substrate-developer-hub/substrate-node-template/" +repository = "https://github.com/centrifuge/centrifuge-chain" version = "1.0.0" [package.metadata.docs.rs] From df24c908e9f3b90bba16e1fce0e3939e888de001 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 3 Mar 2023 14:14:50 +0100 Subject: [PATCH 11/12] refactor: fix uncaught stuff by taplo --- Cargo.toml | 16 ++++++++-------- runtime/altair/Cargo.toml | 1 - runtime/centrifuge/Cargo.toml | 19 ------------------- runtime/development/Cargo.toml | 24 ------------------------ 4 files changed, 8 insertions(+), 52 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e9ff7f77a1..a278b42e04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,14 +68,6 @@ hex-literal = "0.2.1" jsonrpsee = { version = "0.15.1", features = ["server", "macros"] } log = "0.4.8" serde = { version = "1.0.119", features = ["derive"] } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-keystore = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } url = "2.2.2" # client dependencies @@ -92,9 +84,17 @@ sc-service = { default-features = false, git = "https://github.com/paritytech/su sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-keystore = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } # Cli specific diff --git a/runtime/altair/Cargo.toml b/runtime/altair/Cargo.toml index 665f81803a..1c61f0f1a8 100644 --- a/runtime/altair/Cargo.toml +++ b/runtime/altair/Cargo.toml @@ -172,7 +172,6 @@ std = [ "polkadot-runtime-common/std", "runtime-common/std", "sp-api/std", - "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", diff --git a/runtime/centrifuge/Cargo.toml b/runtime/centrifuge/Cargo.toml index 00ea3490ea..5791d74f80 100644 --- a/runtime/centrifuge/Cargo.toml +++ b/runtime/centrifuge/Cargo.toml @@ -134,9 +134,7 @@ std = [ "orml-xtokens/std", "pallet-anchors/std", "pallet-aura/std", - "pallet-authorship/std", - "pallet-balances/std", "pallet-bridge/std", "pallet-claims/std", @@ -149,20 +147,16 @@ std = [ "pallet-elections-phragmen/std", "pallet-fees/std", "pallet-fees/std", - "pallet-identity/std", - "pallet-migration-manager/std", "pallet-multisig/std", "pallet-nft/std", - "pallet-preimage/std", "pallet-proxy/std", "pallet-randomness-collective-flip/std", "pallet-restricted-tokens/std", "pallet-scheduler/std", "pallet-session/std", - "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", @@ -175,17 +169,14 @@ std = [ "polkadot-runtime-common/std", "runtime-common/std", "sp-api/std", - "sp-block-builder/std", "sp-consensus-aura/std", - "sp-core/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", - "sp-std/std", "sp-transaction-pool/std", "sp-version/std", @@ -239,15 +230,11 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "orml-tokens/runtime-benchmarks", "orml-xtokens/runtime-benchmarks", - "pallet-bridge/runtime-benchmarks", - "pallet-nft/runtime-benchmarks", - "polkadot-parachain/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "xcm-executor/runtime-benchmarks", ] @@ -272,9 +259,7 @@ try-runtime = [ "orml-xtokens/try-runtime", "pallet-anchors/try-runtime", "pallet-aura/try-runtime", - "pallet-authorship/try-runtime", - "pallet-balances/try-runtime", "pallet-bridge/try-runtime", "pallet-claims/try-runtime", @@ -286,20 +271,16 @@ try-runtime = [ "pallet-democracy/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-fees/try-runtime", - "pallet-identity/try-runtime", - "pallet-migration-manager/try-runtime", "pallet-multisig/try-runtime", "pallet-nft/try-runtime", - "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-randomness-collective-flip/try-runtime", "pallet-restricted-tokens/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", - "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index b106ead3b8..7c0a470dfa 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -150,9 +150,7 @@ std = [ "orml-xtokens/std", "pallet-anchors/std", "pallet-aura/std", - "pallet-authorship/std", - "pallet-balances/std", "pallet-bridge/std", "pallet-claims/std", @@ -165,20 +163,16 @@ std = [ "pallet-democracy/std", "pallet-elections-phragmen/std", "pallet-fees/std", - "pallet-identity/std", - "pallet-interest-accrual/std", "pallet-investments/std", "pallet-keystore/std", "pallet-liquidity-rewards/std", "pallet-loans/std", - "pallet-migration-manager/std", "pallet-multisig/std", "pallet-nft-sales/std", "pallet-nft/std", - "pallet-permissions/std", "pallet-preimage/std", "pallet-proxy/std", @@ -188,7 +182,6 @@ std = [ "pallet-rewards/std", "pallet-scheduler/std", "pallet-session/std", - "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", @@ -202,17 +195,14 @@ std = [ "runtime-common/std", "serde", "sp-api/std", - "sp-block-builder/std", "sp-consensus-aura/std", - "sp-core/std", "sp-inherents/std", "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", - "sp-std/std", "sp-transaction-pool/std", "sp-version/std", @@ -261,7 +251,6 @@ runtime-benchmarks = [ "pallet-pool-system/runtime-benchmarks", "pallet-pool-registry/runtime-benchmarks", "pallet-restricted-tokens/runtime-benchmarks", - "pallet-uniques/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "runtime-common/runtime-benchmarks", @@ -273,20 +262,15 @@ runtime-benchmarks = [ "orml-asset-registry/runtime-benchmarks", "orml-tokens/runtime-benchmarks", "orml-xtokens/runtime-benchmarks", - "pallet-bridge/runtime-benchmarks", "pallet-connectors/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", - "pallet-identity/runtime-benchmarks", - "pallet-multisig/runtime-benchmarks", - "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", @@ -295,7 +279,6 @@ runtime-benchmarks = [ "polkadot-parachain/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "xcm-executor/runtime-benchmarks", "xcm-primitives/runtime-benchmarks", ] @@ -317,7 +300,6 @@ try-runtime = [ "pallet-pool-registry/try-runtime", "pallet-pool-system/try-runtime", "pallet-rewards/try-runtime", - "pallet-sudo/try-runtime", "pallet-uniques/try-runtime", "pallet-xcm-transactor/try-runtime", @@ -338,9 +320,7 @@ try-runtime = [ "orml-xtokens/try-runtime", "pallet-anchors/try-runtime", "pallet-aura/try-runtime", - "pallet-authorship/try-runtime", - "pallet-balances/try-runtime", "pallet-bridge/try-runtime", "pallet-claims/try-runtime", @@ -352,20 +332,16 @@ try-runtime = [ "pallet-democracy/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-fees/try-runtime", - "pallet-identity/try-runtime", - "pallet-migration-manager/try-runtime", "pallet-multisig/try-runtime", "pallet-nft/try-runtime", - "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-randomness-collective-flip/try-runtime", "pallet-restricted-tokens/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", - "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", From 887de3fb513ac489c85490c7927c4326a0e0511b Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 3 Mar 2023 14:32:14 +0100 Subject: [PATCH 12/12] chore: bump nix after merge --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b37d8cde44..9bdd38b6fa 100644 --- a/flake.nix +++ b/flake.nix @@ -93,7 +93,7 @@ }; # This is a hash of all the Cargo dependencies, for reproducibility. - cargoSha256 = "sha256-hTsNijiW8HMsS2qKoD/Cya+3bwlCvxFhvZd6k2B7M5E="; + cargoSha256 = "sha256-2+BxyO+CR3O4qjIcNj0ckEOZMxYjR2s3HNJqutMlSxw="; nativeBuildInputs = with pkgs; [ clang git-mock pkg-config ]; buildInputs = with pkgs; [ openssl ] ++ (