From c291287ac7d5bf7e943227b1c3e28c6d9fbe1765 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 3 Mar 2023 16:10:12 +0100 Subject: [PATCH] chore: remove unused deps and add missing feats for all tomls (#1223) * fix: add missing try-runtime feat to all tomls * fix: add missing std, bench feats to all tomls * fix: patch PureStake/Frontier * chore: bump nix * refactor: normalize apostrophes in toml * fmt: taplo * fix: typo * revert: frontier patch * refactor: remove unused deps * fix: investment toml boilerplate * refactor: fix uncaught stuff by taplo * chore: bump nix after merge --- Cargo.lock | 457 +++++++------------------- Cargo.toml | 104 +++--- flake.nix | 2 +- libs/primitives/Cargo.toml | 47 ++- libs/proofs/Cargo.toml | 17 +- libs/test-utils/Cargo.toml | 43 +-- libs/traits/Cargo.toml | 35 +- libs/types/Cargo.toml | 57 ++-- libs/utils/Cargo.toml | 43 ++- pallets/anchors/Cargo.toml | 51 ++- pallets/bridge-mapping/Cargo.toml | 27 +- pallets/bridge/Cargo.toml | 50 +-- pallets/claims/Cargo.toml | 47 +-- pallets/collator-allowlist/Cargo.toml | 39 ++- pallets/connectors/Cargo.toml | 87 +++-- pallets/crowdloan-claim/Cargo.toml | 62 ++-- pallets/crowdloan-reward/Cargo.toml | 58 ++-- pallets/fees/Cargo.toml | 49 ++- pallets/interest-accrual/Cargo.toml | 59 ++-- pallets/investments/Cargo.toml | 64 ++-- pallets/keystore/Cargo.toml | 40 ++- pallets/liquidity-rewards/Cargo.toml | 17 +- pallets/loans/Cargo.toml | 63 ++-- pallets/migration/Cargo.toml | 52 ++- pallets/nft-sales/Cargo.toml | 45 ++- pallets/nft/Cargo.toml | 74 +++-- pallets/permissions/Cargo.toml | 51 +-- pallets/pool-registry/Cargo.toml | 68 ++-- pallets/pool-system/Cargo.toml | 90 ++--- pallets/restricted-tokens/Cargo.toml | 64 ++-- pallets/rewards/Cargo.toml | 8 +- runtime/altair/Cargo.toml | 68 ++-- runtime/centrifuge/Cargo.toml | 66 ++-- runtime/common/Cargo.toml | 43 ++- runtime/development/Cargo.toml | 110 ++++--- runtime/integration-tests/Cargo.toml | 27 +- taplo.toml | 2 +- 37 files changed, 1195 insertions(+), 1091 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 718a20d0d9..4b34f9d533 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", @@ -1986,6 +1890,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", @@ -2042,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", @@ -2073,7 +1978,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.25", + "futures", "futures-timer", "polkadot-cli", "polkadot-client", @@ -2097,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", @@ -2286,10 +2191,9 @@ dependencies = [ "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex", "hex-literal 0.3.4", - "integer-sqrt", - "log", "orml-asset-registry", "orml-tokens", "orml-traits", @@ -2298,9 +2202,7 @@ dependencies = [ "orml-xtokens", "pallet-anchors", "pallet-aura", - "pallet-authority-discovery", "pallet-authorship", - "pallet-babe", "pallet-balances", "pallet-bridge", "pallet-claims", @@ -2313,21 +2215,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 +2235,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 +2250,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 +2714,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 +2836,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", @@ -3034,7 +2921,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?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "parity-scale-codec 3.2.1", @@ -3046,7 +2933,7 @@ 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?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -3061,7 +2948,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?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "evm", "frame-support", @@ -3074,7 +2961,7 @@ dependencies = [ [[package]] name = "fp-rpc" 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?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -3091,7 +2978,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" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "ethereum", "frame-support", @@ -3105,7 +2992,7 @@ dependencies = [ [[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?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "parity-scale-codec 3.2.1", "serde", @@ -3427,7 +3314,7 @@ dependencies = [ "frame-support", "frame-system", "fudge-companion", - "futures 0.3.25", + "futures", "lazy_static", "node-primitives", "pallet-babe", @@ -3488,12 +3375,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 +3485,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 +3919,7 @@ dependencies = [ "async-io", "core-foundation", "fnv", - "futures 0.3.25", + "futures", "if-addrs", "ipnet", "log", @@ -4582,7 +4462,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 +4500,7 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "instant", "lazy_static", @@ -4649,7 +4529,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 +4544,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 +4569,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4715,7 +4595,7 @@ dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.25", + "futures", "if-watch", "libp2p-core", "libp2p-swarm", @@ -4748,7 +4628,7 @@ checksum = "692664acfd98652de739a8acbb0a0d670f1d67190a49be6b4395e22c37337d89" dependencies = [ "asynchronous-codec", "bytes", - "futures 0.3.25", + "futures", "libp2p-core", "log", "nohash-hasher", @@ -4766,7 +4646,7 @@ checksum = "048155686bd81fe6cb5efdef0c6290f25ad32a0a42e8f4f72625cf6a505a206f" dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures 0.3.25", + "futures", "lazy_static", "libp2p-core", "log", @@ -4786,7 +4666,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 +4684,7 @@ checksum = "8827af16a017b65311a410bb626205a9ad92ec0473967618425039fa5231adc1" dependencies = [ "async-trait", "bytes", - "futures 0.3.25", + "futures", "instant", "libp2p-core", "libp2p-swarm", @@ -4822,7 +4702,7 @@ checksum = "46d13df7c37807965d82930c0e4b04a659efcb6cca237373b206043db5398ecf" dependencies = [ "either", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "instant", "libp2p-core", @@ -4852,7 +4732,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 +4747,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 +4762,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 +4780,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 +5100,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 +5241,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 +5337,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 +5353,7 @@ checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" dependencies = [ "async-io", "bytes", - "futures 0.3.25", + "futures", "libc", "log", ] @@ -5489,23 +5369,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 +5570,7 @@ checksum = "0aab54694ddaa8a9b703724c6ef04272b2d27bc32d2c855aae5cdd1857216b43" dependencies = [ "async-trait", "dyn-clonable", - "futures 0.3.25", + "futures", "futures-timer", "orchestra-proc-macro", "pin-project", @@ -5886,22 +5749,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 +5960,6 @@ version = "2.0.0" dependencies = [ "cfg-primitives", "cfg-types", - "frame-benchmarking", "frame-support", "frame-system", "pallet-balances", @@ -6194,7 +6040,6 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-ethereum", - "pallet-ethereum-xcm", "pallet-interest-accrual", "pallet-loans", "pallet-permissions", @@ -6247,7 +6092,6 @@ dependencies = [ "parity-scale-codec 3.2.1", "proofs", "scale-info", - "serde", "sp-core", "sp-io", "sp-keyring", @@ -6266,7 +6110,6 @@ dependencies = [ "frame-support", "frame-system", "pallet-balances", - "pallet-indices", "pallet-vesting", "parity-scale-codec 3.2.1", "scale-info", @@ -6353,8 +6196,9 @@ 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?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ + "environmental", "ethereum", "ethereum-types 0.14.1", "evm", @@ -6377,35 +6221,10 @@ 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" -source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#3568a86d0fe222db0c65218fc481907de602a35c" +source = "git+https://github.com/PureStake/frontier?branch=moonbeam-polkadot-v0.9.32#2b405d4fd5f81b2a4d398a0c3a03b79e39fd2bd5" dependencies = [ "environmental", "evm", @@ -6573,7 +6392,6 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-arithmetic", "sp-core", "sp-io", @@ -6618,7 +6436,6 @@ dependencies = [ "pallet-balances", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-core", "sp-io", "sp-runtime", @@ -6664,7 +6481,6 @@ dependencies = [ "pallet-pool-system", "pallet-timestamp", "pallet-uniques", - "parachain-info", "parity-scale-codec 3.2.1", "scale-info", "serde", @@ -6702,7 +6518,6 @@ dependencies = [ "frame-support", "frame-system", "hex", - "log", "pallet-balances", "pallet-proxy", "pallet-vesting", @@ -6713,7 +6528,6 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "sp-version", ] [[package]] @@ -6787,7 +6601,6 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "unique-assets", ] [[package]] @@ -6910,7 +6723,6 @@ dependencies = [ "frame-system", "parity-scale-codec 3.2.1", "scale-info", - "serde", "sp-runtime", "sp-std", ] @@ -6936,10 +6748,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", @@ -7806,7 +7616,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", @@ -7821,7 +7631,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", @@ -7837,7 +7647,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", @@ -7859,7 +7669,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", @@ -7881,7 +7691,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", @@ -7948,7 +7758,7 @@ dependencies = [ "always-assert", "bitvec 1.0.1", "fatality", - "futures 0.3.25", + "futures", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -7982,7 +7792,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", @@ -8019,7 +7829,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", @@ -8043,7 +7853,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", @@ -8063,7 +7873,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", @@ -8083,7 +7893,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", @@ -8111,7 +7921,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", @@ -8132,7 +7942,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", @@ -8149,7 +7959,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", @@ -8165,7 +7975,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", @@ -8182,7 +7992,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", @@ -8197,7 +8007,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", @@ -8215,7 +8025,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", @@ -8234,7 +8044,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", @@ -8252,7 +8062,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", @@ -8272,7 +8082,7 @@ dependencies = [ "assert_matches", "async-process", "async-std", - "futures 0.3.25", + "futures", "futures-timer", "parity-scale-codec 3.2.1", "pin-project", @@ -8300,7 +8110,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", @@ -8316,7 +8126,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", @@ -8351,7 +8161,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", @@ -8372,7 +8182,7 @@ dependencies = [ "async-trait", "derive_more", "fatality", - "futures 0.3.25", + "futures", "hex", "parity-scale-codec 3.2.1", "polkadot-node-jaeger", @@ -8393,7 +8203,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", @@ -8426,7 +8236,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", @@ -8450,7 +8260,7 @@ dependencies = [ "async-trait", "derive_more", "fatality", - "futures 0.3.25", + "futures", "itertools", "kvdb", "lru 0.8.1", @@ -8481,7 +8291,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", @@ -8807,7 +8617,7 @@ dependencies = [ "beefy-primitives", "frame-support", "frame-system-rpc-runtime-api", - "futures 0.3.25", + "futures", "hex-literal 0.3.4", "kusama-runtime", "kvdb", @@ -8908,7 +8718,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", @@ -9049,7 +8859,7 @@ dependencies = [ "coarsetime", "crossbeam-queue", "derive_more", - "futures 0.3.25", + "futures", "futures-timer", "nanorand", "thiserror", @@ -9704,7 +9514,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", @@ -9727,27 +9537,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", @@ -9778,15 +9581,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", @@ -9822,10 +9621,8 @@ dependencies = [ "sp-std", "sp-tracing", "tokio", - "tracing", "tracing-subscriber", "xcm", - "xcm-builder", "xcm-emulator", "xcm-executor", ] @@ -9939,7 +9736,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", ] @@ -9985,7 +9782,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", @@ -10011,7 +9808,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", @@ -10082,7 +9879,7 @@ dependencies = [ "chrono", "clap", "fdlimit", - "futures 0.3.25", + "futures", "libp2p", "log", "names", @@ -10119,7 +9916,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", @@ -10172,7 +9969,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", @@ -10196,7 +9993,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", @@ -10226,7 +10023,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", @@ -10266,7 +10063,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", @@ -10302,7 +10099,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", @@ -10420,7 +10217,7 @@ dependencies = [ "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.25", + "futures", "futures-timer", "log", "parity-scale-codec 3.2.1", @@ -10456,7 +10253,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", @@ -10477,7 +10274,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", @@ -10517,7 +10314,7 @@ dependencies = [ "either", "fnv", "fork-tree", - "futures 0.3.25", + "futures", "futures-timer", "ip_network", "libp2p", @@ -10556,7 +10353,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", @@ -10578,7 +10375,7 @@ dependencies = [ "async-trait", "bitflags", "bytes", - "futures 0.3.25", + "futures", "futures-timer", "libp2p", "linked_hash_set", @@ -10602,7 +10399,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", @@ -10620,7 +10417,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", @@ -10642,7 +10439,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", @@ -10671,7 +10468,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", @@ -10692,7 +10489,7 @@ dependencies = [ "array-bytes", "bytes", "fnv", - "futures 0.3.25", + "futures", "futures-timer", "hyper", "hyper-rustls", @@ -10719,7 +10516,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", @@ -10741,7 +10538,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", @@ -10771,7 +10568,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", @@ -10794,7 +10591,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", @@ -10807,7 +10604,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", @@ -10829,7 +10626,7 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.3.25", + "futures", "futures-timer", "hash-db", "jsonrpsee", @@ -10899,7 +10696,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", @@ -10967,7 +10764,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", @@ -10987,7 +10784,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", @@ -11047,7 +10844,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", @@ -11074,7 +10871,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", @@ -11087,7 +10884,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", @@ -11529,7 +11326,7 @@ dependencies = [ "base64", "bytes", "flate2", - "futures 0.3.25", + "futures", "httparse", "log", "rand 0.8.5", @@ -11636,7 +11433,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", @@ -11655,7 +11452,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", @@ -11748,7 +11545,7 @@ dependencies = [ "byteorder", "dyn-clonable", "ed25519-zebra", - "futures 0.3.25", + "futures", "hash-db", "hash256-std-hasher", "impl-serde", @@ -11875,7 +11672,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", @@ -11912,7 +11709,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", @@ -12434,7 +12231,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", @@ -12503,7 +12300,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", @@ -12571,7 +12368,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", @@ -13206,14 +13003,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" @@ -13283,7 +13072,7 @@ checksum = "e7141e445af09c8919f1d5f8a20dae0b20c3b57a45dee0d5823c6ed5d237f15a" dependencies = [ "bitflags", "chrono", - "rustc_version 0.2.3", + "rustc_version 0.4.0", ] [[package]] @@ -13435,7 +13224,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", @@ -14143,7 +13932,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 81a187a53f..a278b42e04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,76 +64,47 @@ 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" } - # 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" } +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 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 @@ -186,9 +154,37 @@ tempfile = "3.1.0" [features] default = ["std", "cli"] std = [ + "serde/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", + "log/std", + "pallet-anchors/std", + "pallet-pool-system/std", + "codec/std", + "polkadot-primitives/std", + "runtime-common/std", + "sc-executor/std", + "serde/std", + "sp-api/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-keystore/std", + "sp-offchain/std", + "sp-runtime/std", + "sp-session/std", + "sp-timestamp/std", + "sp-transaction-pool/std", + "xcm/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -198,18 +194,37 @@ 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-pool-system/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", + "runtime-integration-tests/runtime-benchmarks", + "sc-service/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] test-benchmarks = [ "runtime-benchmarks", "runtime-integration-tests/runtime-benchmarks", ] cli = [ - 'try-runtime-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-pool-system/try-runtime", + "polkadot-cli/try-runtime", + "polkadot-service/try-runtime", + "runtime-common/try-runtime", ] fast-runtime = [ @@ -236,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" } @@ -375,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" } @@ -414,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" } @@ -455,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" } @@ -625,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 533853cbdf..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-qFvobNDYPRfjHTyfF0KsqBCp+vhls0d8d6BcqKlhiek="; + cargoSha256 = "sha256-2+BxyO+CR3O4qjIcNj0ckEOZMxYjR2s3HNJqutMlSxw="; nativeBuildInputs = with pkgs; [ clang git-mock pkg-config ]; buildInputs = with pkgs; [ openssl ] ++ ( diff --git a/libs/primitives/Cargo.toml b/libs/primitives/Cargo.toml index 01eac29536..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,17 +30,28 @@ 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'] -runtime-benchmarks = [] +default = ["std"] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-collective/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] 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', + "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", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-collective/try-runtime", ] diff --git a/libs/proofs/Cargo.toml b/libs/proofs/Cargo.toml index d31b7fc108..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,8 +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 ae880ad9bf..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,20 +28,23 @@ 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 = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", @@ -50,4 +53,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..23f776e4d6 100644 --- a/libs/traits/Cargo.toml +++ b/libs/traits/Cargo.toml @@ -1,23 +1,21 @@ [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" } 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" } @@ -27,21 +25,28 @@ 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'] -runtime-benchmarks = [] +default = ["std"] +runtime-benchmarks = [ + "cfg-primitives/runtime-benchmarks", + "frame-support/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", +] +try-runtime = [ + "frame-support/try-runtime", + "cfg-primitives/try-runtime", ] diff --git a/libs/types/Cargo.toml b/libs/types/Cargo.toml index a0db1a5e1c..b25b81a97c 100644 --- a/libs/types/Cargo.toml +++ b/libs/types/Cargo.toml @@ -1,55 +1,64 @@ [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 } -rev_slice = { version = "0.1.5", 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" } # 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 -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", + "cfg-primitives/runtime-benchmarks", + "cfg-traits/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "sp-runtime/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", + "sp-runtime/std", + "sp-runtime/std", + "sp-std/std", + "orml-asset-registry/std", + "scale-info/std", + "serde/std", + "sp-arithmetic/std", + "xcm/std", +] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "orml-asset-registry/try-runtime", ] -try-runtime = ['frame-support/try-runtime'] diff --git a/libs/utils/Cargo.toml b/libs/utils/Cargo.toml index 7becd1e532..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,29 @@ 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", ] -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", + "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..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,22 +38,37 @@ 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", + "sp-runtime/runtime-benchmarks", +] +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", ] -try-runtime = ["frame-support/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", + "serde/std", ] diff --git a/pallets/bridge-mapping/Cargo.toml b/pallets/bridge-mapping/Cargo.toml index 76a9459575..d7589392cf 100644 --- a/pallets/bridge-mapping/Cargo.toml +++ b/pallets/bridge-mapping/Cargo.toml @@ -1,21 +1,19 @@ [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"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.32" } [dev-dependencies] cfg-primitives = { path = "../../libs/primitives" } @@ -23,11 +21,10 @@ 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", ] +try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/bridge/Cargo.toml b/pallets/bridge/Cargo.toml index 546143b3ec..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,17 +36,27 @@ 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'] -runtime-benchmarks = ["chainbridge/runtime-benchmarks", "frame-support/runtime-benchmarks"] +default = ["std"] +runtime-benchmarks = [ + "chainbridge/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "cfg-traits/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", + "frame-support/try-runtime", + "chainbridge/try-runtime", + "frame-system/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index cc336ad8ee..420292c63a 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 } @@ -21,25 +21,28 @@ 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 } +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", + "sp-runtime/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..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,14 +27,23 @@ 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'] -runtime-benchmarks = ["frame-benchmarking"] +default = ["std"] +runtime-benchmarks = [ + "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-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 = [ + "frame-support/try-runtime", + "frame-system/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/connectors/Cargo.toml b/pallets/connectors/Cargo.toml index f5c3937b77..c45bb4061f 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" } @@ -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" } @@ -70,34 +68,59 @@ 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", "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-xcm-transactor/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/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/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", +] +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-xcm-transactor/try-runtime", ] diff --git a/pallets/crowdloan-claim/Cargo.toml b/pallets/crowdloan-claim/Cargo.toml index 81b2033feb..3e3cc663f6 100644 --- a/pallets/crowdloan-claim/Cargo.toml +++ b/pallets/crowdloan-claim/Cargo.toml @@ -1,21 +1,20 @@ [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 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" } @@ -29,28 +28,47 @@ 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'] -runtime-benchmarks = ["frame-benchmarking"] +default = ["std"] +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', - '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", + "sp-core/std", + "sp-runtime/std", +] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/crowdloan-reward/Cargo.toml b/pallets/crowdloan-reward/Cargo.toml index 24b5781067..7dec025e9a 100644 --- a/pallets/crowdloan-reward/Cargo.toml +++ b/pallets/crowdloan-reward/Cargo.toml @@ -1,53 +1,65 @@ [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 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" } # 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'] -runtime-benchmarks = ["frame-benchmarking"] +default = ["std"] +runtime-benchmarks = [ + "frame-benchmarking", + "cfg-traits/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/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", + "sp-runtime/std", +] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/fees/Cargo.toml b/pallets/fees/Cargo.toml index e452bc01c3..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,17 +33,30 @@ 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'] -runtime-benchmarks = ["frame-benchmarking"] +default = ["std"] +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', - '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 = [ + + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-authorship/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/interest-accrual/Cargo.toml b/pallets/interest-accrual/Cargo.toml index c6000c8982..33c0c13138 100644 --- a/pallets/interest-accrual/Cargo.toml +++ b/pallets/interest-accrual/Cargo.toml @@ -1,20 +1,19 @@ [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" } 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" } @@ -34,23 +33,39 @@ cfg-types = { path = "../../libs/types", default-features = false } bitflags = "1.3" [features] -default = ['std'] +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', - '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", +] +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", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/investments/Cargo.toml b/pallets/investments/Cargo.toml index aae1e38824..8984cd4517 100644 --- a/pallets/investments/Cargo.toml +++ b/pallets/investments/Cargo.toml @@ -1,18 +1,17 @@ [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 = ["Centrifuge "] +description = "Provides orders for assests and allows user to collect these orders" +edition = "2021" +license = "LGPL-3.0" +name = "pallet-investments" +repository = "https://github.com/centrifuge/centrifuge-chain" +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,25 +40,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-system/try-runtime", ] -try-runtime = ['frame-support/try-runtime'] diff --git a/pallets/keystore/Cargo.toml b/pallets/keystore/Cargo.toml index 5afc63ce77..8eb140c151 100644 --- a/pallets/keystore/Cargo.toml +++ b/pallets/keystore/Cargo.toml @@ -1,19 +1,18 @@ [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" } 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" } @@ -27,14 +26,23 @@ 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'] -runtime-benchmarks = ['frame-benchmarking'] +default = ["std"] +runtime-benchmarks = [ + "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", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/liquidity-rewards/Cargo.toml b/pallets/liquidity-rewards/Cargo.toml index fad0f7d55b..23e65514d0 100644 --- a/pallets/liquidity-rewards/Cargo.toml +++ b/pallets/liquidity-rewards/Cargo.toml @@ -30,8 +30,18 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0 [features] default = ["std"] -try-runtime = ["frame-support/try-runtime"] -runtime-benchmarks = ["frame-benchmarking"] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", +] +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", @@ -39,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 731350bb66..545b65f20d 100644 --- a/pallets/loans/Cargo.toml +++ b/pallets/loans/Cargo.toml @@ -1,23 +1,22 @@ [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" } 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" } @@ -61,7 +60,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", @@ -76,22 +75,38 @@ 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', - '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", + "pallet-interest-accrual/std", + "cfg-traits/std", + "cfg-types/std", + "cfg-primitives/std", + "cfg-utils/std", + "frame-benchmarking/std", +] +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", + "cfg-utils/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/migration/Cargo.toml b/pallets/migration/Cargo.toml index fee2777358..3984f39c5b 100644 --- a/pallets/migration/Cargo.toml +++ b/pallets/migration/Cargo.toml @@ -1,18 +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 } -log = { version = "0.4.14", 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"] } frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false, optional = true, branch = "polkadot-v0.9.32" } @@ -25,21 +24,40 @@ 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" rand = "0.8.5" [features] -default = ['std'] -runtime-benchmarks = ["frame-benchmarking"] +default = ["std"] +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', - '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", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "pallet-proxy/try-runtime", + "pallet-vesting/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/nft-sales/Cargo.toml b/pallets/nft-sales/Cargo.toml index 8c7c77e271..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", @@ -52,17 +52,26 @@ runtime-benchmarks = [ "cfg-primitives", "orml-tokens", "orml-traits", + "frame-support/runtime-benchmarks", + "frame-system/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", +] +try-runtime = [ + "cfg-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/nft/Cargo.toml b/pallets/nft/Cargo.toml index 13b30c7f58..da0390ecb7 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,13 +25,12 @@ 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" } 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 @@ -45,23 +44,42 @@ 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'] -runtime-benchmarks = ["chainbridge/runtime-benchmarks", "frame-benchmarking"] +default = ["std"] +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', - '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", +] +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", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/permissions/Cargo.toml b/pallets/permissions/Cargo.toml index 778a83f505..c312585e4d 100644 --- a/pallets/permissions/Cargo.toml +++ b/pallets/permissions/Cargo.toml @@ -1,20 +1,19 @@ [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" } 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" } @@ -30,20 +29,30 @@ 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", + "sp-runtime/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", +] +try-runtime = [ + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "cfg-types/try-runtime", + "frame-system/try-runtime", ] -try-runtime = ['frame-support/try-runtime'] diff --git a/pallets/pool-registry/Cargo.toml b/pallets/pool-registry/Cargo.toml index fbc6629547..a210f7de14 100644 --- a/pallets/pool-registry/Cargo.toml +++ b/pallets/pool-registry/Cargo.toml @@ -1,30 +1,26 @@ [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" } 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,30 +41,48 @@ 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'] +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", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "orml-asset-registry/runtime-benchmarks", + "sp-runtime/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", + "orml-traits/std", + "orml-asset-registry/std", + "frame-benchmarking/std", + "pallet-investments/std", + "scale-info/std", +] +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", ] -try-runtime = ['frame-support/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 0eeb6a9e83..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,42 +49,54 @@ 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", + "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", ] -try-runtime = ['frame-support/try-runtime', "lazy_static/spin_no_std"] 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 c98ca3c958..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,24 +39,38 @@ 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", + "serde/std", +] +try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-permissions/try-runtime", ] -try-runtime = ['frame-support/try-runtime'] diff --git a/pallets/rewards/Cargo.toml b/pallets/rewards/Cargo.toml index 86e9b4c572..d6e23e3848 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", @@ -39,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 727997c4c4..1c61f0f1a8 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,28 +171,29 @@ 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", "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", + "polkadot-parachain/std", + "scale-info/std", ] runtime-benchmarks = [ "cfg-types/runtime-benchmarks", @@ -253,8 +226,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", @@ -263,9 +234,26 @@ 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", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] try-runtime = [ + "cfg-primitives/try-runtime", + "cfg-traits/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", @@ -307,9 +295,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 01728350ed..5791d74f80 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,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-bridge/std", "pallet-claims/std", @@ -168,22 +147,16 @@ 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,28 +168,26 @@ 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", "xcm-builder/std", "xcm-executor/std", "xcm/std", + "cumulus-primitives-core/std", + "cumulus-primitives-utility/std", + "frame-benchmarking/std", + "frame-system-benchmarking/std", + "scale-info/std", ] runtime-benchmarks = [ @@ -245,8 +216,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", @@ -254,9 +223,26 @@ 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-bridge/runtime-benchmarks", + "pallet-nft/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-executor/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", @@ -273,9 +259,7 @@ 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", @@ -287,22 +271,16 @@ 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 68f0f62d99..8c76226952 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -8,24 +8,19 @@ 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 -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" } 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,39 +43,54 @@ 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", + "scale-info/std", + "xcm/std", ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "cfg-primitives/runtime-benchmarks", + "cfg-types/runtime-benchmarks", + "pallet-anchors/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-pool-system/runtime-benchmarks", + "pallet-treasury/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm/runtime-benchmarks", ] on-chain-release-build = [ "sp-api/disable-logging", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "cfg-primitives/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-pool-system/try-runtime", + "pallet-treasury/try-runtime", + "cfg-primitives/try-runtime", +] diff --git a/runtime/development/Cargo.toml b/runtime/development/Cargo.toml index 7075991dd7..8836ad7f79 100644 --- a/runtime/development/Cargo.toml +++ b/runtime/development/Cargo.toml @@ -13,13 +13,8 @@ repository = "https://github.com/centrifuge/centrifuge-chain" codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive"] } hex = { version = "0.4.3", default_features = false } hex-literal = { version = "0.3.4", optional = true } -integer-sqrt = { version = "0.1.2" } -log = "0.4" -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 @@ -44,18 +39,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,29 +58,20 @@ 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" } -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" } @@ -163,14 +145,13 @@ 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", "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 +164,16 @@ 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 +183,6 @@ 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 +194,16 @@ 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", @@ -245,6 +212,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 = [ @@ -274,14 +252,59 @@ 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", "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-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", + "pallet-vesting/runtime-benchmarks", + "pallet-xcm-transactor/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/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-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", @@ -290,6 +313,8 @@ 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", @@ -298,6 +323,8 @@ try-runtime = [ "pallet-aura/try-runtime", "pallet-authorship/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", @@ -307,27 +334,18 @@ try-runtime = [ "pallet-elections-phragmen/try-runtime", "pallet-fees/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-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-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-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", diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 54a45db517..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 @@ -109,6 +103,27 @@ 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-balances/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", ] runtime-development = [] runtime-altair = [] 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.