diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index e193a2a728..0f5dca7053 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -24,15 +24,6 @@ jobs: - name: Check fmt run: cargo fmt -- --check - - name: Check Cargo.toml format - run: | - if taplo --version &> /dev/null; then - echo "taplo-cli is already installed" - else - cargo install taplo-cli - fi - taplo fmt --check - clippy: if: github.event.pull_request.draft == false runs-on: [self-hosted, Linux, X64] diff --git a/bin/collator/Cargo.toml b/bin/collator/Cargo.toml index 75a043b652..98a64e6814 100644 --- a/bin/collator/Cargo.toml +++ b/bin/collator/Cargo.toml @@ -154,28 +154,58 @@ sc-service = { workspace = true, optional = true } substrate-build-script-utils = { workspace = true } [features] -default = ["sc-cli", "polkadot-cli", "sc-service", "sc-service/rocksdb"] +default = [ "polkadot-cli", "sc-cli", "sc-service", "sc-service/rocksdb" ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", + "astar-runtime/runtime-benchmarks", "frame-benchmarking-cli", + "frame-benchmarking-cli?/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", + "frame-system/runtime-benchmarks", "local-runtime/runtime-benchmarks", - "shibuya-runtime/runtime-benchmarks", - "shiden-runtime/runtime-benchmarks", - "astar-runtime/runtime-benchmarks", + "pallet-ethereum/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-runtime-common", "polkadot-runtime-common/std", + "polkadot-runtime-common?/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", + "sc-client-db/runtime-benchmarks", + "sc-service/runtime-benchmarks", + "shibuya-runtime/runtime-benchmarks", + "shiden-runtime/runtime-benchmarks", "sp-keyring", - "polkadot-runtime-common", - "astar-primitives/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +cli = [ "try-runtime-cli" ] +try-runtime = [ + "astar-primitives/try-runtime", + "astar-runtime/try-runtime", + "frame-system/try-runtime", + "frame-try-runtime/try-runtime", + "local-runtime/try-runtime", + "pallet-ethereum/try-runtime", + "pallet-evm/try-runtime", + "pallet-transaction-payment/try-runtime", + "polkadot-cli?/try-runtime", + "polkadot-runtime-common?/try-runtime", + "polkadot-service/try-runtime", + "shibuya-runtime/try-runtime", + "shiden-runtime/try-runtime", + "sp-runtime/try-runtime", + "try-runtime-cli/try-runtime", ] -cli = ["try-runtime-cli"] -try-runtime = ["local-runtime/try-runtime", "try-runtime-cli/try-runtime"] evm-tracing = [ + "astar-runtime/evm-tracing", + "local-runtime/evm-tracing", "moonbeam-rpc-debug", "moonbeam-rpc-primitives-debug", "moonbeam-rpc-primitives-txpool", "moonbeam-rpc-trace", "moonbeam-rpc-txpool", + "shibuya-runtime/evm-tracing", + "shiden-runtime/evm-tracing", ] -manual-seal = [ - "sc-consensus-manual-seal", -] +manual-seal = [ "sc-consensus-manual-seal" ] diff --git a/chain-extensions/pallet-assets/Cargo.toml b/chain-extensions/pallet-assets/Cargo.toml index 0bd86ecf95..93e3b76655 100644 --- a/chain-extensions/pallet-assets/Cargo.toml +++ b/chain-extensions/pallet-assets/Cargo.toml @@ -30,21 +30,34 @@ pallet-timestamp = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "assets-chain-extension-types/std", "frame-support/std", "frame-system/std", + "log/std", "num-traits/std", - "pallet-contracts/std", + "pallet-assets/std", + "pallet-balances/std", "pallet-contracts-primitives/std", + "pallet-contracts/std", + "parity-scale-codec/std", "scale-info/std", - "sp-std/std", "sp-core/std", "sp-runtime/std", - "pallet-assets/std", - "assets-chain-extension-types/std", - "pallet-balances/std", + "sp-std/std", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-assets/try-runtime", + "pallet-contracts/try-runtime", + "sp-runtime/try-runtime", +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime"] -runtime-benchmarks = ["pallet-assets/runtime-benchmarks"] diff --git a/chain-extensions/types/assets/Cargo.toml b/chain-extensions/types/assets/Cargo.toml index ddb1119268..e7bf6aa0a5 100644 --- a/chain-extensions/types/assets/Cargo.toml +++ b/chain-extensions/types/assets/Cargo.toml @@ -15,10 +15,10 @@ scale-info = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ "num_enum/std", - "scale-info/std", "parity-scale-codec/std", + "scale-info/std", "sp-runtime/std", ] diff --git a/chain-extensions/types/unified-accounts/Cargo.toml b/chain-extensions/types/unified-accounts/Cargo.toml index 340f7195ee..d16e282d82 100644 --- a/chain-extensions/types/unified-accounts/Cargo.toml +++ b/chain-extensions/types/unified-accounts/Cargo.toml @@ -17,7 +17,7 @@ sp-core = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ "num_enum/std", "parity-scale-codec/std", diff --git a/chain-extensions/types/xvm/Cargo.toml b/chain-extensions/types/xvm/Cargo.toml index e9888174c8..da09855f96 100644 --- a/chain-extensions/types/xvm/Cargo.toml +++ b/chain-extensions/types/xvm/Cargo.toml @@ -16,11 +16,11 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ + "astar-primitives/std", "parity-scale-codec/std", "scale-info/std", "sp-runtime/std", "sp-std/std", - "astar-primitives/std", ] diff --git a/chain-extensions/unified-accounts/Cargo.toml b/chain-extensions/unified-accounts/Cargo.toml index 5f6e4e4b8f..ac5b1be27b 100644 --- a/chain-extensions/unified-accounts/Cargo.toml +++ b/chain-extensions/unified-accounts/Cargo.toml @@ -27,21 +27,22 @@ pallet-unified-accounts = { workspace = true } unified-accounts-chain-extension-types = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + # Astar + "astar-primitives/std", "frame-support/std", "frame-system/std", + "log/std", "num-traits/std", + "pallet-contracts-primitives/std", "pallet-contracts/std", "pallet-evm/std", - "pallet-contracts-primitives/std", + "pallet-unified-accounts/std", + "parity-scale-codec/std", "scale-info/std", - "sp-std/std", "sp-core/std", "sp-runtime/std", - # Astar - "astar-primitives/std", - "pallet-unified-accounts/std", + "sp-std/std", "unified-accounts-chain-extension-types/std", ] diff --git a/chain-extensions/xvm/Cargo.toml b/chain-extensions/xvm/Cargo.toml index 11ac1ed5e1..a5463399e9 100644 --- a/chain-extensions/xvm/Cargo.toml +++ b/chain-extensions/xvm/Cargo.toml @@ -27,19 +27,21 @@ astar-primitives = { workspace = true } xvm-chain-extension-types = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + # Astar + "astar-primitives/std", "frame-support/std", "frame-system/std", + "log/std", "num-traits/std", - "pallet-contracts/std", "pallet-contracts-primitives/std", + "pallet-contracts/std", "pallet-unified-accounts/std", + "parity-scale-codec/std", "scale-info/std", - "sp-std/std", "sp-core/std", "sp-runtime/std", - # Astar - "astar-primitives/std", + "sp-std/std", + "xvm-chain-extension-types/std", ] diff --git a/pallets/astar-xcm-benchmarks/Cargo.toml b/pallets/astar-xcm-benchmarks/Cargo.toml index db29f90c9e..6dcaadac20 100644 --- a/pallets/astar-xcm-benchmarks/Cargo.toml +++ b/pallets/astar-xcm-benchmarks/Cargo.toml @@ -16,7 +16,9 @@ serde = { workspace = true, optional = true } # Substrate frame-support = { workspace = true } frame-system = { workspace = true } -parity-scale-codec = { workspace = true, optional = true, features = ["derive"] } +parity-scale-codec = { workspace = true, optional = true, features = [ + "derive", +] } scale-info = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } @@ -40,28 +42,40 @@ sp-io = { workspace = true, features = ["std"] } xcm-builder = { workspace = true, features = ["std"] } [features] -default = ["std"] +default = [ "std" ] std = [ "astar-primitives/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", + "log/std", "pallet-xcm-benchmarks/std", "parity-scale-codec/std", + "scale-info/std", "serde", - "sp-std/std", + "serde?/std", "sp-runtime/std", + "sp-std/std", + "xcm-executor/std", "xcm/std", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", - "frame-system/runtime-benchmarks", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "parity-scale-codec", + "sp-runtime/runtime-benchmarks", "xcm-executor/runtime-benchmarks", ] diff --git a/pallets/collator-selection/Cargo.toml b/pallets/collator-selection/Cargo.toml index a7807ed64c..ff71691cac 100644 --- a/pallets/collator-selection/Cargo.toml +++ b/pallets/collator-selection/Cargo.toml @@ -39,27 +39,37 @@ sp-io = { workspace = true } sp-tracing = { workspace = true } [features] -default = ["std"] +default = [ "std" ] runtime-benchmarks = [ "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "sp-staking/runtime-benchmarks", ] std = [ - "parity-scale-codec/std", + "frame-benchmarking/std", + "frame-support/std", + "frame-system/std", "log/std", - "scale-info/std", + "pallet-aura/std", + "pallet-authorship/std", + "pallet-balances/std", + "pallet-session/std", + "parity-scale-codec/std", "rand/std", + "scale-info/std", + "serde/std", "sp-runtime/std", "sp-staking/std", "sp-std/std", - "frame-support/std", - "frame-system/std", - "frame-benchmarking/std", - "pallet-authorship/std", - "pallet-session/std", - "pallet-aura/std", - "pallet-balances/std", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-authorship/try-runtime", + "pallet-session/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/dapp-staking-migration/Cargo.toml b/pallets/dapp-staking-migration/Cargo.toml index be2a13599a..d1064f852e 100644 --- a/pallets/dapp-staking-migration/Cargo.toml +++ b/pallets/dapp-staking-migration/Cargo.toml @@ -28,27 +28,35 @@ sp-arithmetic = { workspace = true } sp-core = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "scale-info/std", - "sp-std/std", - "sp-io/std", - "log/std", + "astar-primitives/std", + "frame-benchmarking/std", "frame-support/std", "frame-system/std", + "log/std", + "pallet-balances/std", "pallet-dapp-staking-v3/std", - "frame-benchmarking/std", - "astar-primitives/std", + "parity-scale-codec/std", + "scale-info/std", "sp-core/std", - "pallet-balances/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", "pallet-dapp-staking-v3/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-dapp-staking-v3/try-runtime", + "sp-runtime/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/dapp-staking-v3/Cargo.toml b/pallets/dapp-staking-v3/Cargo.toml index bd95087453..afeb0b4467 100644 --- a/pallets/dapp-staking-v3/Cargo.toml +++ b/pallets/dapp-staking-v3/Cargo.toml @@ -31,30 +31,36 @@ frame-benchmarking = { workspace = true, optional = true } pallet-balances = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "serde/std", + "astar-primitives/std", + "frame-benchmarking/std", + "frame-support/std", + "frame-system/std", "log/std", + "num-traits/std", + "pallet-balances/std", "parity-scale-codec/std", "scale-info/std", - "num-traits/std", - "sp-core/std", - "sp-runtime/std", + "serde/std", "sp-arithmetic/std", + "sp-core/std", "sp-io/std", + "sp-runtime/std", "sp-std/std", - "frame-support/std", - "frame-system/std", - "pallet-balances/std", - "astar-primitives/std", - "frame-benchmarking/std", ] runtime-benchmarks = [ + "assert_matches", + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", - "assert_matches", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/dapp-staking-v3/rpc/runtime-api/Cargo.toml b/pallets/dapp-staking-v3/rpc/runtime-api/Cargo.toml index 37b20002ab..283a219a1c 100644 --- a/pallets/dapp-staking-v3/rpc/runtime-api/Cargo.toml +++ b/pallets/dapp-staking-v3/rpc/runtime-api/Cargo.toml @@ -17,9 +17,5 @@ sp-std = { workspace = true } astar-primitives = { workspace = true } [features] -default = ["std"] -std = [ - "sp-api/std", - "sp-std/std", - "astar-primitives/std", -] +default = [ "std" ] +std = [ "astar-primitives/std", "sp-api/std", "sp-std/std" ] diff --git a/pallets/dynamic-evm-base-fee/Cargo.toml b/pallets/dynamic-evm-base-fee/Cargo.toml index c6ecb9208e..8a056ccaef 100644 --- a/pallets/dynamic-evm-base-fee/Cargo.toml +++ b/pallets/dynamic-evm-base-fee/Cargo.toml @@ -31,26 +31,27 @@ pallet-timestamp = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "scale-info/std", - "num-traits/std", + # Frontier + "fp-evm/std", + "frame-benchmarking/std", # Substrate "frame-support/std", "frame-system/std", + "num-traits/std", + "pallet-balances/std", + "pallet-timestamp/std", + "pallet-transaction-payment/std", + "parity-scale-codec/std", + "scale-info/std", "sp-core/std", "sp-runtime/std", "sp-std/std", - "pallet-transaction-payment/std", - "pallet-balances/std", - "pallet-timestamp/std", - "frame-benchmarking/std", - # Frontier - "fp-evm/std", ] runtime-benchmarks = [ "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", @@ -59,4 +60,5 @@ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "pallet-transaction-payment/try-runtime", + "sp-runtime/try-runtime", ] diff --git a/pallets/ethereum-checked/Cargo.toml b/pallets/ethereum-checked/Cargo.toml index e2538195fe..199bb12b48 100644 --- a/pallets/ethereum-checked/Cargo.toml +++ b/pallets/ethereum-checked/Cargo.toml @@ -35,34 +35,42 @@ pallet-timestamp = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "hex/std", - "parity-scale-codec/std", - "scale-info/std", - "ethereum/std", + "astar-primitives/std", "ethereum-types/std", + "ethereum/std", "fp-ethereum/std", "fp-evm/std", - "pallet-evm/std", - "sp-std/std", - "sp-runtime/std", - "sp-io/std", + "frame-benchmarking?/std", "frame-support/std", "frame-system/std", + "hex/std", "pallet-balances/std", - "pallet-timestamp/std", - "pallet-evm/std", "pallet-ethereum/std", - "astar-primitives/std", + "pallet-evm/std", + "pallet-timestamp/std", + "parity-scale-codec/std", + "scale-info/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", ] runtime-benchmarks = [ - "hex", + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", + "hex", "pallet-ethereum/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-evm/try-runtime", + "sp-runtime/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/inflation/Cargo.toml b/pallets/inflation/Cargo.toml index 0ba8a6fe92..64da1d660f 100644 --- a/pallets/inflation/Cargo.toml +++ b/pallets/inflation/Cargo.toml @@ -28,24 +28,32 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", "log/std", - "sp-core/std", + "pallet-balances/std", + "parity-scale-codec/std", "scale-info/std", "serde/std", + "sp-core/std", + "sp-runtime/std", "sp-std/std", - "frame-support/std", - "frame-system/std", - "pallet-balances/std", - "astar-primitives/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/oracle-benchmarks/Cargo.toml b/pallets/oracle-benchmarks/Cargo.toml index 534c34a2de..aa9144b002 100644 --- a/pallets/oracle-benchmarks/Cargo.toml +++ b/pallets/oracle-benchmarks/Cargo.toml @@ -28,25 +28,34 @@ astar-primitives = { workspace = true } frame-benchmarking = { workspace = true, optional = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", "log/std", + "orml-oracle/std", + "orml-traits/std", + "parity-scale-codec/std", "scale-info/std", "serde/std", - "sp-std/std", - "frame-support/std", - "frame-system/std", - "astar-primitives/std", "sp-arithmetic/std", - "orml-traits/std", - "orml-oracle/std", + "sp-runtime/std", + "sp-std/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "orml-oracle/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/price-aggregator/Cargo.toml b/pallets/price-aggregator/Cargo.toml index c90324eac0..3abd8904c6 100644 --- a/pallets/price-aggregator/Cargo.toml +++ b/pallets/price-aggregator/Cargo.toml @@ -32,26 +32,34 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "log/std", - "sp-core/std", - "scale-info/std", - "serde/std", - "sp-std/std", + "astar-primitives/std", + "frame-benchmarking?/std", "frame-support/std", "frame-system/std", + "log/std", + "orml-traits/std", "pallet-balances/std", - "astar-primitives/std", + "parity-scale-codec/std", + "scale-info/std", + "serde/std", "sp-arithmetic/std", - "orml-traits/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/static-price-provider/Cargo.toml b/pallets/static-price-provider/Cargo.toml index 061aaa8e38..dfa0143db9 100644 --- a/pallets/static-price-provider/Cargo.toml +++ b/pallets/static-price-provider/Cargo.toml @@ -29,25 +29,33 @@ sp-core = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "log/std", - "sp-core/std", - "scale-info/std", - "serde/std", - "sp-std/std", + "astar-primitives/std", + "frame-benchmarking?/std", "frame-support/std", "frame-system/std", + "log/std", "pallet-balances/std", - "astar-primitives/std", + "parity-scale-codec/std", + "scale-info/std", + "serde/std", "sp-arithmetic/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", ] -try-runtime = ["frame-support/try-runtime"] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/unified-accounts/Cargo.toml b/pallets/unified-accounts/Cargo.toml index c74c5ac954..cd3e7ea9ff 100644 --- a/pallets/unified-accounts/Cargo.toml +++ b/pallets/unified-accounts/Cargo.toml @@ -42,35 +42,43 @@ pallet-evm = { workspace = true } pallet-timestamp = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ + "astar-primitives/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", "hex/std", - "log/std", "libsecp256k1", "libsecp256k1/std", + "log/std", + "pallet-balances/std", + "pallet-ethereum/std", + "pallet-evm/std", + "pallet-timestamp/std", "parity-scale-codec/std", + "precompile-utils/std", "scale-info/std", - "sp-std/std", "sp-core/std", "sp-io/std", "sp-runtime/std", - "frame-support/std", - "frame-system/std", - "astar-primitives/std", - "precompile-utils/std", - "pallet-evm/std", - "pallet-balances/std", - "pallet-timestamp/std", - "pallet-ethereum/std", + "sp-std/std", ] runtime-benchmarks = [ - "libsecp256k1/hmac", + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", + "libsecp256k1/hmac", "pallet-ethereum/runtime-benchmarks", "pallet-evm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "astar-primitives/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-evm/try-runtime", + "sp-runtime/try-runtime", ] -try-runtime = ["frame-support/try-runtime", "pallet-evm/try-runtime"] diff --git a/pallets/xc-asset-config/Cargo.toml b/pallets/xc-asset-config/Cargo.toml index 3295f1221d..90d69f06c5 100644 --- a/pallets/xc-asset-config/Cargo.toml +++ b/pallets/xc-asset-config/Cargo.toml @@ -31,22 +31,32 @@ pallet-timestamp = { workspace = true } sp-core = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ + "frame-benchmarking?/std", "frame-support/std", "frame-system/std", + "log/std", + "pallet-balances/std", "parity-scale-codec/std", "scale-info/std", "serde", + "serde?/std", "sp-io/std", "sp-runtime/std", "sp-std/std", "xcm/std", - "pallet-balances/std", - "frame-benchmarking?/std", ] runtime-benchmarks = [ "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", ] -try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/xvm/Cargo.toml b/pallets/xvm/Cargo.toml index 0160aeb125..60ee4cb4fd 100644 --- a/pallets/xvm/Cargo.toml +++ b/pallets/xvm/Cargo.toml @@ -42,31 +42,43 @@ pallet-timestamp = { workspace = true, features = ["std"] } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ + "astar-primitives/std", "environmental/std", - "log/std", - "parity-scale-codec/std", "fp-evm/std", + "frame-benchmarking?/std", "frame-support/std", "frame-system/std", - "pallet-contracts/std", + "log/std", "pallet-contracts-primitives/std", + "pallet-contracts/std", "pallet-evm/std", "pallet-insecure-randomness-collective-flip/std", + "parity-scale-codec/std", "scale-info/std", "serde", + "serde?/std", "sp-core/std", "sp-runtime/std", "sp-std/std", - "astar-primitives/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ + "astar-primitives/try-runtime", "frame-support/try-runtime", + "frame-system/try-runtime", "pallet-contracts/try-runtime", "pallet-evm/try-runtime", + "sp-runtime/try-runtime", ] diff --git a/precompiles/assets-erc20/Cargo.toml b/precompiles/assets-erc20/Cargo.toml index a9cc8a9d68..ad35e49b6f 100644 --- a/precompiles/assets-erc20/Cargo.toml +++ b/precompiles/assets-erc20/Cargo.toml @@ -40,19 +40,28 @@ pallet-timestamp = { workspace = true } scale-info = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "fp-evm/std", "frame-support/std", "frame-system/std", + "log/std", + "num_enum/std", "pallet-assets/std", - "pallet-evm/std", "pallet-balances/std", + "pallet-evm/std", + "parity-scale-codec/std", "precompile-utils/std", "sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std", ] -runtime-benchmarks = ["pallet-assets/runtime-benchmarks"] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] diff --git a/precompiles/dapp-staking-v3/Cargo.toml b/precompiles/dapp-staking-v3/Cargo.toml index 5c40d95a5f..f7a2103139 100644 --- a/precompiles/dapp-staking-v3/Cargo.toml +++ b/precompiles/dapp-staking-v3/Cargo.toml @@ -42,21 +42,30 @@ sp-arithmetic = { workspace = true } sp-io = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "scale-info/std", "astar-primitives/std", - "sp-std/std", - "sp-core/std", - "sp-runtime/std", "fp-evm/std", "frame-support/std", "frame-system/std", + "log/std", + "num_enum/std", + "pallet-balances/std", "pallet-dapp-staking-v3/std", "pallet-evm/std", + "parity-scale-codec/std", "precompile-utils/std", - "pallet-balances/std", + "scale-info/std", "sp-arithmetic/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", +] +runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] -runtime-benchmarks = ["pallet-dapp-staking-v3/runtime-benchmarks"] diff --git a/precompiles/dispatch-lockdrop/Cargo.toml b/precompiles/dispatch-lockdrop/Cargo.toml index b2ca7f5e20..63f391f822 100644 --- a/precompiles/dispatch-lockdrop/Cargo.toml +++ b/precompiles/dispatch-lockdrop/Cargo.toml @@ -38,21 +38,23 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "log/std", + "astar-primitives/std", + "fp-evm/std", + "frame-support/std", + "frame-system/std", "libsecp256k1/std", + "log/std", + "pallet-balances/std", + "pallet-evm-precompile-dispatch/std", + "pallet-evm/std", + "pallet-timestamp/std", "parity-scale-codec/std", + "precompile-utils/std", "scale-info/std", - "sp-std/std", "sp-core/std", "sp-io/std", "sp-runtime/std", - "frame-support/std", - "frame-system/std", - "astar-primitives/std", - "precompile-utils/std", - "pallet-evm/std", - "pallet-balances/std", - "pallet-timestamp/std", + "sp-std/std", ] diff --git a/precompiles/sr25519/Cargo.toml b/precompiles/sr25519/Cargo.toml index a5abe88ec7..36c916d3fe 100644 --- a/precompiles/sr25519/Cargo.toml +++ b/precompiles/sr25519/Cargo.toml @@ -37,13 +37,15 @@ pallet-timestamp = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "fp-evm/std", + "log/std", + "num_enum/std", "pallet-evm/std", + "parity-scale-codec/std", "precompile-utils/std", "sp-core/std", - "sp-std/std", "sp-io/std", + "sp-std/std", ] diff --git a/precompiles/substrate-ecdsa/Cargo.toml b/precompiles/substrate-ecdsa/Cargo.toml index 388283b9e9..b9f60c63f4 100644 --- a/precompiles/substrate-ecdsa/Cargo.toml +++ b/precompiles/substrate-ecdsa/Cargo.toml @@ -38,14 +38,15 @@ pallet-timestamp = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "num_enum/std", - "parity-scale-codec/std", "fp-evm/std", + "log/std", + "num_enum/std", "pallet-evm/std", + "parity-scale-codec/std", "precompile-utils/std", "sp-core/std", - "sp-std/std", "sp-io/std", + "sp-std/std", ] diff --git a/precompiles/unified-accounts/Cargo.toml b/precompiles/unified-accounts/Cargo.toml index 30842e0651..0a5bae85de 100644 --- a/precompiles/unified-accounts/Cargo.toml +++ b/precompiles/unified-accounts/Cargo.toml @@ -45,18 +45,21 @@ pallet-timestamp = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "pallet-unified-accounts/std", + "astar-primitives/std", "fp-evm/std", "frame-support/std", "frame-system/std", + "hex/std", + "log/std", + "num_enum/std", "pallet-evm/std", + "pallet-unified-accounts/std", + "parity-scale-codec/std", "precompile-utils/std", "sp-core/std", - "sp-std/std", "sp-io/std", "sp-runtime/std", - "astar-primitives/std", + "sp-std/std", ] diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 9e7b1dc67f..57dfdfb9d6 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -42,18 +42,32 @@ hex-literal = { workspace = true } xcm = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ "environmental/std", + "evm/std", "fp-evm/std", "frame-support/std", "frame-system/std", + "hex/std", + "log/std", + "num_enum/std", "pallet-evm/std", "parity-scale-codec/std", + "scale-info?/std", + "serde?/std", "sp-core/std", "sp-io/std", + "sp-runtime/std", "sp-std/std", "xcm?/std", ] -codec-xcm = ["xcm"] -testing = ["derive_more", "hex-literal", "scale-info", "serde", "similar-asserts", "std"] +codec-xcm = [ "xcm" ] +testing = [ + "derive_more", + "hex-literal", + "scale-info", + "serde", + "similar-asserts", + "std", +] diff --git a/precompiles/utils/macro/Cargo.toml b/precompiles/utils/macro/Cargo.toml index c13219412a..3b8d85501b 100644 --- a/precompiles/utils/macro/Cargo.toml +++ b/precompiles/utils/macro/Cargo.toml @@ -33,10 +33,11 @@ sp-core-hashing = { workspace = true } sp-std = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ "fp-evm/std", "frame-support/std", + "num_enum/std", "sp-core-hashing/std", "sp-std/std", ] diff --git a/precompiles/xcm/Cargo.toml b/precompiles/xcm/Cargo.toml index a131fe9c52..9f8b054bb0 100644 --- a/precompiles/xcm/Cargo.toml +++ b/precompiles/xcm/Cargo.toml @@ -50,26 +50,40 @@ pallet-timestamp = { workspace = true } xcm-builder = { workspace = true, features = ["std"] } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", "fp-evm/std", "frame-support/std", "frame-system/std", + "log/std", + "num_enum/std", + "orml-traits/std", + "orml-xcm-support/std", + "orml-xtokens/std", "pallet-assets/std", + "pallet-evm-precompile-assets-erc20/std", "pallet-evm/std", "pallet-xcm/std", - "pallet-evm-precompile-assets-erc20/std", + "parity-scale-codec/std", "precompile-utils/std", "sp-core/std", - "sp-std/std", - "sp-runtime/std", "sp-io/std", - "xcm/std", + "sp-runtime/std", + "sp-std/std", "xcm-executor/std", - "orml-xtokens/std", - "orml-xcm-support/std", - "orml-traits/std", - "astar-primitives/std", + "xcm/std", +] +runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", + "pallet-evm-precompile-assets-erc20/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] -runtime-benchmarks = ["pallet-xcm/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "xcm-builder/runtime-benchmarks"] diff --git a/precompiles/xvm/Cargo.toml b/precompiles/xvm/Cargo.toml index c64e26b3b2..ee55b001c3 100644 --- a/precompiles/xvm/Cargo.toml +++ b/precompiles/xvm/Cargo.toml @@ -42,17 +42,20 @@ pallet-timestamp = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", "fp-evm/std", "frame-support/std", "frame-system/std", + "hex/std", + "log/std", + "num_enum/std", "pallet-evm/std", + "parity-scale-codec/std", "precompile-utils/std", "sp-core/std", - "sp-std/std", "sp-io/std", "sp-runtime/std", - "astar-primitives/std", + "sp-std/std", ] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index c3379c04ca..ba1651e564 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -48,33 +48,52 @@ pallet-evm-precompile-dispatch = { workspace = true } pallet-xc-asset-config = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "log/std", - "parity-scale-codec/std", - "scale-info/std", "ethereum-types/std", "ethereum/std", "fp-evm/std", "frame-support/std", "frame-system/std", - "sp-std/std", - "sp-runtime/std", - "sp-core/std", - "sp-io/std", - "xcm/std", - "xcm-builder/std", - "xcm-executor/std", + "log/std", "orml-oracle/std", "orml-traits/std", - "pallet-xc-asset-config/std", - "fp-evm/std", "pallet-assets/std", - "pallet-evm/std", "pallet-contracts/std", "pallet-evm-precompile-assets-erc20/std", "pallet-evm-precompile-dispatch/std", + "pallet-evm/std", + "pallet-xc-asset-config/std", + "parity-scale-codec/std", + "scale-info/std", "sp-arithmetic/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", + "xcm-builder/std", + "xcm-executor/std", + "xcm/std", +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", + "pallet-evm-precompile-assets-erc20/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-xc-asset-config/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "orml-oracle/try-runtime", + "pallet-assets/try-runtime", + "pallet-contracts/try-runtime", + "pallet-evm/try-runtime", + "pallet-xc-asset-config/try-runtime", + "sp-runtime/try-runtime", ] -runtime-benchmarks = ["xcm-builder/runtime-benchmarks", "pallet-assets/runtime-benchmarks"] -try-runtime = ["pallet-contracts/try-runtime"] diff --git a/runtime/astar/Cargo.toml b/runtime/astar/Cargo.toml index 16ba21ef2e..98985dd559 100644 --- a/runtime/astar/Cargo.toml +++ b/runtime/astar/Cargo.toml @@ -136,167 +136,198 @@ pallet-chain-extension-assets = { workspace = true } substrate-wasm-builder = { workspace = true, optional = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "sp-genesis-builder/std", + "astar-primitives/std", + "astar-xcm-benchmarks?/std", + "cumulus-pallet-aura-ext/std", + "cumulus-pallet-dmp-queue/std", + "cumulus-pallet-parachain-system/std", + "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-primitives-core/std", + "cumulus-primitives-timestamp/std", + "cumulus-primitives-utility/std", + "dapp-staking-v3-runtime-api/std", "fp-rpc/std", "fp-self-contained/std", - "sp-std/std", - "sp-api/std", - "sp-core/std", - "oracle-benchmarks/std", - "pallet-membership/std", - "pallet-price-aggregator/std", - "orml-oracle/std", - "sp-consensus-aura/std", - "sp-arithmetic/std", - "sp-io/std", - "sp-runtime/std", - "sp-runtime-interface/std", - "sp-version/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", + "frame-benchmarking/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", + "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", + "frame-system/std", "frame-try-runtime/std", + "log?/std", + "moonbeam-evm-tracer/std", + "moonbeam-rpc-primitives-debug/std", + "moonbeam-rpc-primitives-txpool/std", + "num_enum/std", + "oracle-benchmarks/std", + "orml-oracle/std", + "orml-xcm-support/std", + "orml-xtokens/std", "pallet-assets/std", - "pallet-authorship/std", "pallet-aura/std", + "pallet-authorship/std", "pallet-balances/std", - "pallet-proxy/std", - "pallet-dapp-staking-v3/std", + "pallet-chain-extension-assets/std", + "pallet-collator-selection/std", + "pallet-contracts-primitives/std", + "pallet-contracts/std", "pallet-dapp-staking-migration/std", - "dapp-staking-v3-runtime-api/std", - "pallet-inflation/std", - "pallet-evm-precompile-dapp-staking-v3/std", - "pallet-evm-precompile-sr25519/std", - "pallet-evm-precompile-assets-erc20/std", - "pallet-evm-precompile-substrate-ecdsa/std", - "pallet-evm-precompile-xcm/std", + "pallet-dapp-staking-v3/std", "pallet-dynamic-evm-base-fee/std", "pallet-ethereum/std", - "pallet-evm/std", + "pallet-evm-precompile-assets-erc20/std", "pallet-evm-precompile-blake2/std", - "pallet-evm-precompile-simple/std", "pallet-evm-precompile-bn128/std", - "pallet-evm-precompile-dispatch/std", + "pallet-evm-precompile-dapp-staking-v3/std", "pallet-evm-precompile-dispatch-lockdrop/std", + "pallet-evm-precompile-dispatch/std", "pallet-evm-precompile-ed25519/std", "pallet-evm-precompile-modexp/std", "pallet-evm-precompile-sha3fips/std", + "pallet-evm-precompile-simple/std", + "pallet-evm-precompile-sr25519/std", + "pallet-evm-precompile-substrate-ecdsa/std", + "pallet-evm-precompile-xcm/std", + "pallet-evm/std", "pallet-identity/std", + "pallet-inflation/std", + "pallet-membership/std", "pallet-multisig/std", + "pallet-price-aggregator/std", + "pallet-proxy/std", "pallet-session/std", - "pallet-utility/std", - "pallet-timestamp/std", - "pallet-vesting/std", - "sp-offchain/std", - "sp-session/std", "pallet-sudo/std", - "pallet-transaction-payment/std", + "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", + "pallet-utility/std", + "pallet-vesting/std", + "pallet-xc-asset-config/std", + "pallet-xcm-benchmarks?/std", "pallet-xcm/std", "parachain-info/std", + "parity-scale-codec/std", "polkadot-parachain/std", "polkadot-primitives/std", "polkadot-runtime-common/std", - "cumulus-primitives-core/std", - "cumulus-primitives-utility/std", - "cumulus-primitives-timestamp/std", - "cumulus-pallet-parachain-system/std", - "cumulus-pallet-aura-ext/std", - "cumulus-pallet-dmp-queue/std", - "cumulus-pallet-xcmp-queue/std", - "pallet-contracts/std", - "pallet-contracts-primitives/std", - "cumulus-pallet-xcm/std", - "pallet-collator-selection/std", - "frame-benchmarking/std", - "moonbeam-evm-tracer/std", - "moonbeam-rpc-primitives-debug/std", - "moonbeam-rpc-primitives-txpool/std", - "xcm/std", + "precompile-utils/std", + "scale-info/std", + "sp-api/std", + "sp-arithmetic/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-genesis-builder/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime-interface/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "substrate-wasm-builder", "xcm-builder/std", "xcm-executor/std", - "pallet-xc-asset-config/std", - "substrate-wasm-builder", - "pallet-chain-extension-assets/std", - "orml-xtokens/std", - "orml-xcm-support/std", - "astar-primitives/std", + "xcm/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", + "astar-xcm-benchmarks/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-utility/runtime-benchmarks", 'frame-benchmarking', + "frame-benchmarking/runtime-benchmarks", 'frame-support/runtime-benchmarks', 'frame-system-benchmarking/runtime-benchmarks', 'frame-system/runtime-benchmarks', - 'sp-runtime/runtime-benchmarks', + "oracle-benchmarks/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", 'pallet-balances/runtime-benchmarks', - "pallet-proxy/runtime-benchmarks", - 'pallet-timestamp/runtime-benchmarks', - "pallet-ethereum/runtime-benchmarks", - "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-chain-extension-assets/runtime-benchmarks", + "pallet-collator-selection/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", "pallet-dapp-staking-migration/runtime-benchmarks", - "pallet-price-aggregator/runtime-benchmarks", + "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-dynamic-evm-base-fee/runtime-benchmarks", + "pallet-ethereum/runtime-benchmarks", + "pallet-evm-precompile-assets-erc20/runtime-benchmarks", + "pallet-evm-precompile-dapp-staking-v3/runtime-benchmarks", + "pallet-evm-precompile-xcm/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", "pallet-inflation/runtime-benchmarks", "pallet-membership/runtime-benchmarks", - "pallet-xcm/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-price-aggregator/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + 'pallet-timestamp/runtime-benchmarks', + "pallet-utility/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", "pallet-xc-asset-config/runtime-benchmarks", - "pallet-collator-selection/runtime-benchmarks", - "orml-xtokens/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", - "pallet-assets/runtime-benchmarks", - "pallet-dynamic-evm-base-fee/runtime-benchmarks", - "cumulus-primitives-utility/runtime-benchmarks", - "astar-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + 'sp-runtime/runtime-benchmarks', + "xcm-builder/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] try-runtime = [ + "astar-primitives/try-runtime", + "astar-xcm-benchmarks?/try-runtime", + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", "fp-self-contained/try-runtime", - "log", - "frame-try-runtime/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", + "frame-try-runtime/try-runtime", + "log", + "oracle-benchmarks/try-runtime", + "orml-oracle/try-runtime", + "orml-xtokens/try-runtime", + "pallet-assets/try-runtime", "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", "pallet-balances/try-runtime", - "pallet-proxy/try-runtime", - "pallet-dapp-staking-v3/try-runtime", + "pallet-chain-extension-assets/try-runtime", + "pallet-collator-selection/try-runtime", + "pallet-contracts/try-runtime", "pallet-dapp-staking-migration/try-runtime", + "pallet-dapp-staking-v3/try-runtime", + "pallet-dynamic-evm-base-fee/try-runtime", + "pallet-ethereum/try-runtime", + "pallet-evm/try-runtime", + "pallet-identity/try-runtime", "pallet-inflation/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-price-aggregator/try-runtime", + "pallet-proxy/try-runtime", + "pallet-session/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", "pallet-xc-asset-config/try-runtime", - "pallet-ethereum/try-runtime", - "orml-oracle/try-runtime", - "pallet-price-aggregator/try-runtime", - "pallet-membership/try-runtime", - "oracle-benchmarks/try-runtime", - "pallet-assets/try-runtime", - "pallet-authorship/try-runtime", - "pallet-collator-selection/try-runtime", - "pallet-session/try-runtime", "pallet-xcm/try-runtime", - "pallet-identity/try-runtime", - "pallet-multisig/try-runtime", - "cumulus-pallet-aura-ext/try-runtime", - "cumulus-pallet-dmp-queue/try-runtime", - "cumulus-pallet-parachain-system/try-runtime", - "cumulus-pallet-xcm/try-runtime", - "cumulus-pallet-xcmp-queue/try-runtime", "parachain-info/try-runtime", - "pallet-dynamic-evm-base-fee/try-runtime", - "pallet-contracts/try-runtime", - "pallet-evm/try-runtime", - "orml-xtokens/try-runtime", + "polkadot-runtime-common/try-runtime", + "sp-runtime/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/runtime/local/Cargo.toml b/runtime/local/Cargo.toml index da7d526e38..a8fdf7ac4e 100644 --- a/runtime/local/Cargo.toml +++ b/runtime/local/Cargo.toml @@ -105,127 +105,150 @@ frame-try-runtime = { workspace = true, optional = true } substrate-wasm-builder = { workspace = true, optional = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", + "dapp-staking-v3-runtime-api/std", "fp-rpc/std", "fp-self-contained/std", + "frame-benchmarking/std", "frame-executive/std", "frame-support/std", + "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "frame-try-runtime/std", + "log?/std", + "moonbeam-evm-tracer/std", + "moonbeam-rpc-primitives-debug/std", + "moonbeam-rpc-primitives-txpool/std", + "num_enum/std", "pallet-assets/std", "pallet-aura/std", "pallet-balances/std", - "pallet-contracts/std", - "pallet-contracts-primitives/std", - "pallet-chain-extension-xvm/std", + "pallet-chain-extension-assets/std", "pallet-chain-extension-unified-accounts/std", + "pallet-chain-extension-xvm/std", + "pallet-contracts-primitives/std", + "pallet-contracts/std", "pallet-dapp-staking-v3/std", - "dapp-staking-v3-runtime-api/std", - "pallet-inflation/std", - "pallet-static-price-provider/std", "pallet-dynamic-evm-base-fee/std", + "pallet-ethereum-checked/std", "pallet-ethereum/std", - "pallet-evm/std", - "sp-genesis-builder/std", + "pallet-evm-precompile-assets-erc20/std", "pallet-evm-precompile-blake2/std", - "pallet-evm-precompile-simple/std", "pallet-evm-precompile-bn128/std", + "pallet-evm-precompile-dapp-staking-v3/std", + "pallet-evm-precompile-dispatch-lockdrop/std", "pallet-evm-precompile-dispatch/std", "pallet-evm-precompile-ed25519/std", "pallet-evm-precompile-modexp/std", "pallet-evm-precompile-sha3fips/std", - "pallet-evm-precompile-dapp-staking-v3/std", + "pallet-evm-precompile-simple/std", "pallet-evm-precompile-sr25519/std", "pallet-evm-precompile-substrate-ecdsa/std", "pallet-evm-precompile-unified-accounts/std", "pallet-evm-precompile-xvm/std", - "pallet-evm-precompile-dispatch-lockdrop/std", + "pallet-evm/std", "pallet-grandpa/std", + "pallet-inflation/std", "pallet-insecure-randomness-collective-flip/std", "pallet-preimage/std", + "pallet-proxy/std", + "pallet-scheduler/std", + "pallet-static-price-provider/std", "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", + "pallet-unified-accounts/std", "pallet-utility/std", "pallet-vesting/std", - "pallet-proxy/std", + "pallet-xvm/std", + "parity-scale-codec/std", + "precompile-utils/std", + "scale-info/std", "sp-api/std", + "sp-arithmetic/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", + "sp-genesis-builder/std", "sp-inherents/std", + "sp-io/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", - "sp-arithmetic/std", "sp-std/std", "sp-transaction-pool/std", "sp-version/std", - "sp-io/std", - "frame-benchmarking/std", - "frame-try-runtime/std", - "pallet-scheduler/std", - "pallet-xvm/std", - "pallet-unified-accounts/std", - "pallet-ethereum-checked/std", - "moonbeam-evm-tracer/std", - "moonbeam-rpc-primitives-debug/std", - "moonbeam-rpc-primitives-txpool/std", "substrate-wasm-builder", - "pallet-chain-extension-assets/std", - "astar-primitives/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", + "pallet-chain-extension-assets/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", + "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-dynamic-evm-base-fee/runtime-benchmarks", + "pallet-ethereum-checked/runtime-benchmarks", "pallet-ethereum/runtime-benchmarks", + "pallet-evm-precompile-assets-erc20/runtime-benchmarks", + "pallet-evm-precompile-dapp-staking-v3/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-grandpa/runtime-benchmarks", + "pallet-inflation/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", - "pallet-ethereum-checked/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "pallet-static-price-provider/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-unified-accounts/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", - "pallet-assets/runtime-benchmarks", - "pallet-dapp-staking-v3/runtime-benchmarks", - "pallet-inflation/runtime-benchmarks", - "pallet-dynamic-evm-base-fee/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "pallet-xvm/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", ] try-runtime = [ + "astar-primitives/try-runtime", "fp-self-contained/try-runtime", - "log", - "frame-try-runtime/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", + "frame-try-runtime/try-runtime", + "log", + "pallet-assets/try-runtime", "pallet-aura/try-runtime", "pallet-balances/try-runtime", + "pallet-chain-extension-assets/try-runtime", "pallet-contracts/try-runtime", "pallet-dapp-staking-v3/try-runtime", - "pallet-inflation/try-runtime", + "pallet-dynamic-evm-base-fee/try-runtime", + "pallet-ethereum-checked/try-runtime", + "pallet-ethereum/try-runtime", + "pallet-evm/try-runtime", "pallet-grandpa/try-runtime", + "pallet-inflation/try-runtime", "pallet-insecure-randomness-collective-flip/try-runtime", + "pallet-preimage/try-runtime", + "pallet-proxy/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-static-price-provider/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", + "pallet-unified-accounts/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", "pallet-xvm/try-runtime", - "pallet-unified-accounts/try-runtime", - "pallet-ethereum/try-runtime", - "pallet-assets/try-runtime", - "pallet-scheduler/try-runtime", - "pallet-proxy/try-runtime", - "pallet-preimage/try-runtime", - "pallet-dynamic-evm-base-fee/try-runtime", - "pallet-evm/try-runtime", - "pallet-ethereum-checked/try-runtime", - "pallet-static-price-provider/try-runtime", + "sp-runtime/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/runtime/shibuya/Cargo.toml b/runtime/shibuya/Cargo.toml index 7a90e95671..97a419266d 100644 --- a/runtime/shibuya/Cargo.toml +++ b/runtime/shibuya/Cargo.toml @@ -147,186 +147,218 @@ frame-try-runtime = { workspace = true, optional = true } substrate-wasm-builder = { workspace = true, optional = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", + "astar-xcm-benchmarks?/std", + "cumulus-pallet-aura-ext/std", + "cumulus-pallet-dmp-queue/std", + "cumulus-pallet-parachain-system/std", + "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-primitives-core/std", + "cumulus-primitives-timestamp/std", + "cumulus-primitives-utility/std", + "dapp-staking-v3-runtime-api/std", "fp-rpc/std", "fp-self-contained/std", - "sp-std/std", - "sp-api/std", - "sp-core/std", - "sp-genesis-builder/std", - "sp-consensus-aura/std", - "sp-io/std", - "sp-runtime/std", - "sp-runtime-interface/std", - "oracle-benchmarks/std", - "pallet-membership/std", - "sp-version/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "sp-arithmetic/std", - "frame-support/std", + "frame-benchmarking/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", + "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", - "pallet-authorship/std", - "pallet-aura/std", + "frame-system/std", + "frame-try-runtime/std", + "log?/std", + "moonbeam-evm-tracer/std", + "moonbeam-rpc-primitives-debug/std", + "moonbeam-rpc-primitives-txpool/std", + "num_enum/std", + "oracle-benchmarks/std", + "orml-oracle/std", + "orml-xcm-support/std", + "orml-xtokens/std", "pallet-assets/std", + "pallet-aura/std", + "pallet-authorship/std", "pallet-balances/std", - "pallet-contracts/std", - "pallet-contracts-primitives/std", - "pallet-chain-extension-xvm/std", + "pallet-chain-extension-assets/std", "pallet-chain-extension-unified-accounts/std", + "pallet-chain-extension-xvm/std", + "pallet-collator-selection/std", + "pallet-contracts-primitives/std", + "pallet-contracts/std", + "pallet-dapp-staking-v3/std", "pallet-dynamic-evm-base-fee/std", + "pallet-ethereum-checked/std", "pallet-ethereum/std", - "pallet-preimage/std", - "pallet-evm/std", "pallet-evm-chain-id/std", + "pallet-evm-precompile-assets-erc20/std", "pallet-evm-precompile-blake2/std", - "pallet-evm-precompile-simple/std", "pallet-evm-precompile-bn128/std", + "pallet-evm-precompile-dapp-staking-v3/std", + "pallet-evm-precompile-dispatch-lockdrop/std", "pallet-evm-precompile-dispatch/std", "pallet-evm-precompile-ed25519/std", "pallet-evm-precompile-modexp/std", "pallet-evm-precompile-sha3fips/std", - "pallet-evm-precompile-dapp-staking-v3/std", + "pallet-evm-precompile-simple/std", "pallet-evm-precompile-sr25519/std", "pallet-evm-precompile-substrate-ecdsa/std", - "pallet-evm-precompile-assets-erc20/std", + "pallet-evm-precompile-unified-accounts/std", "pallet-evm-precompile-xcm/std", "pallet-evm-precompile-xvm/std", - "pallet-evm-precompile-unified-accounts/std", - "pallet-evm-precompile-dispatch-lockdrop/std", - "pallet-dapp-staking-v3/std", - "orml-oracle/std", - "dapp-staking-v3-runtime-api/std", - "pallet-inflation/std", - "pallet-price-aggregator/std", + "pallet-evm/std", "pallet-identity/std", - "pallet-multisig/std", + "pallet-inflation/std", "pallet-insecure-randomness-collective-flip/std", - "pallet-session/std", - "pallet-utility/std", - "pallet-timestamp/std", - "pallet-vesting/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-preimage/std", + "pallet-price-aggregator/std", "pallet-proxy/std", - "sp-offchain/std", - "sp-session/std", + "pallet-scheduler/std", + "pallet-session/std", "pallet-sudo/std", - "pallet-transaction-payment/std", + "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", - "pallet-xcm/std", + "pallet-transaction-payment/std", + "pallet-unified-accounts/std", + "pallet-utility/std", + "pallet-vesting/std", "pallet-xc-asset-config/std", + "pallet-xcm-benchmarks?/std", + "pallet-xcm/std", "pallet-xvm/std", - "pallet-unified-accounts/std", - "pallet-ethereum-checked/std", - "pallet-scheduler/std", "parachain-info/std", + "parity-scale-codec/std", "polkadot-parachain/std", "polkadot-primitives/std", "polkadot-runtime-common/std", - "cumulus-primitives-core/std", - "cumulus-primitives-utility/std", - "cumulus-primitives-timestamp/std", - "cumulus-pallet-parachain-system/std", - "cumulus-pallet-aura-ext/std", - "cumulus-pallet-dmp-queue/std", - "cumulus-pallet-xcmp-queue/std", - "cumulus-pallet-xcm/std", - "pallet-collator-selection/std", - "frame-benchmarking/std", - "frame-try-runtime/std", - "moonbeam-evm-tracer/std", - "moonbeam-rpc-primitives-debug/std", - "moonbeam-rpc-primitives-txpool/std", - "xcm/std", + "precompile-utils/std", + "scale-info/std", + "sp-api/std", + "sp-arithmetic/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-genesis-builder/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime-interface/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "substrate-wasm-builder", "xcm-builder/std", "xcm-executor/std", - "substrate-wasm-builder", - "pallet-chain-extension-assets/std", - "orml-xtokens/std", - "orml-xcm-support/std", - "astar-primitives/std", + "xcm/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", "astar-xcm-benchmarks/runtime-benchmarks", - "oracle-benchmarks/runtime-benchmarks", - "pallet-xcm-benchmarks/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", + "oracle-benchmarks/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-chain-extension-assets/runtime-benchmarks", + "pallet-collator-selection/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-dynamic-evm-base-fee/runtime-benchmarks", + "pallet-ethereum-checked/runtime-benchmarks", + "pallet-ethereum/runtime-benchmarks", + "pallet-evm-precompile-assets-erc20/runtime-benchmarks", + "pallet-evm-precompile-dapp-staking-v3/runtime-benchmarks", + "pallet-evm-precompile-xcm/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", "pallet-inflation/runtime-benchmarks", - "pallet-balances/runtime-benchmarks", "pallet-membership/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", - "pallet-ethereum/runtime-benchmarks", - "pallet-xcm/runtime-benchmarks", - "pallet-xc-asset-config/runtime-benchmarks", - "pallet-price-aggregator/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", - "pallet-collator-selection/runtime-benchmarks", - "pallet-ethereum-checked/runtime-benchmarks", + "pallet-price-aggregator/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-unified-accounts/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "pallet-xc-asset-config/runtime-benchmarks", + "pallet-xcm-benchmarks/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", "pallet-xvm/runtime-benchmarks", - "orml-xtokens/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", - "pallet-assets/runtime-benchmarks", - "pallet-dynamic-evm-base-fee/runtime-benchmarks", - "cumulus-primitives-utility/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", + "xcm-builder/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] try-runtime = [ + "astar-primitives/try-runtime", + "astar-xcm-benchmarks?/try-runtime", + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", "fp-self-contained/try-runtime", - "log", - "frame-try-runtime/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", + "frame-try-runtime/try-runtime", + "log", + "oracle-benchmarks/try-runtime", + "orml-oracle/try-runtime", + "orml-xtokens/try-runtime", + "pallet-assets/try-runtime", "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", "pallet-balances/try-runtime", + "pallet-chain-extension-assets/try-runtime", + "pallet-collator-selection/try-runtime", + "pallet-contracts/try-runtime", "pallet-dapp-staking-v3/try-runtime", + "pallet-dynamic-evm-base-fee/try-runtime", + "pallet-ethereum-checked/try-runtime", + "pallet-ethereum/try-runtime", + "pallet-evm-chain-id/try-runtime", + "pallet-evm/try-runtime", + "pallet-identity/try-runtime", "pallet-inflation/try-runtime", + "pallet-insecure-randomness-collective-flip/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-preimage/try-runtime", + "pallet-price-aggregator/try-runtime", + "pallet-proxy/try-runtime", + "pallet-scheduler/try-runtime", + "pallet-session/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", - "orml-oracle/try-runtime", + "pallet-unified-accounts/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", - "pallet-price-aggregator/try-runtime", - "pallet-ethereum/try-runtime", - "pallet-membership/try-runtime", "pallet-xc-asset-config/try-runtime", - "pallet-assets/try-runtime", - "pallet-authorship/try-runtime", - "pallet-collator-selection/try-runtime", - "pallet-session/try-runtime", "pallet-xcm/try-runtime", - "pallet-identity/try-runtime", - "pallet-multisig/try-runtime", - "pallet-insecure-randomness-collective-flip/try-runtime", - "pallet-scheduler/try-runtime", - "pallet-proxy/try-runtime", - "pallet-contracts/try-runtime", - "oracle-benchmarks/try-runtime", - "pallet-evm-chain-id/try-runtime", - "cumulus-pallet-aura-ext/try-runtime", - "cumulus-pallet-dmp-queue/try-runtime", - "cumulus-pallet-parachain-system/try-runtime", - "cumulus-pallet-xcm/try-runtime", - "cumulus-pallet-xcmp-queue/try-runtime", - "parachain-info/try-runtime", "pallet-xvm/try-runtime", - "pallet-preimage/try-runtime", - "pallet-dynamic-evm-base-fee/try-runtime", - "pallet-evm/try-runtime", - "pallet-unified-accounts/try-runtime", - "pallet-ethereum-checked/try-runtime", - "orml-xtokens/try-runtime", + "parachain-info/try-runtime", + "polkadot-runtime-common/try-runtime", + "sp-runtime/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/runtime/shiden/Cargo.toml b/runtime/shiden/Cargo.toml index 486d8b00c8..6f125c658a 100644 --- a/runtime/shiden/Cargo.toml +++ b/runtime/shiden/Cargo.toml @@ -139,168 +139,200 @@ pallet-chain-extension-assets = { workspace = true } substrate-wasm-builder = { workspace = true, optional = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", + "astar-primitives/std", + "astar-xcm-benchmarks?/std", + "cumulus-pallet-aura-ext/std", + "cumulus-pallet-dmp-queue/std", + "cumulus-pallet-parachain-system/std", + "cumulus-pallet-xcm/std", + "cumulus-pallet-xcmp-queue/std", + "cumulus-primitives-core/std", + "cumulus-primitives-timestamp/std", + "cumulus-primitives-utility/std", + "dapp-staking-v3-runtime-api/std", "fp-rpc/std", "fp-self-contained/std", - "sp-std/std", - "sp-api/std", - "sp-core/std", - "sp-consensus-aura/std", - "sp-io/std", - "sp-runtime/std", - "sp-arithmetic/std", - "sp-runtime-interface/std", - "sp-version/std", - "sp-block-builder/std", - "sp-transaction-pool/std", - "sp-inherents/std", - "frame-support/std", + "frame-benchmarking/std", "frame-executive/std", - "frame-system/std", + "frame-support/std", + "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", - "pallet-authorship/std", - "pallet-aura/std", + "frame-system/std", + "frame-try-runtime/std", + "log?/std", + "moonbeam-evm-tracer/std", + "moonbeam-rpc-primitives-debug/std", + "moonbeam-rpc-primitives-txpool/std", + "num_enum/std", + "oracle-benchmarks/std", + "orml-oracle/std", + "orml-xcm-support/std", + "orml-xtokens/std", "pallet-assets/std", + "pallet-aura/std", + "pallet-authorship/std", "pallet-balances/std", - "pallet-contracts/std", - "oracle-benchmarks/std", + "pallet-chain-extension-assets/std", + "pallet-collator-selection/std", "pallet-contracts-primitives/std", + "pallet-contracts/std", + "pallet-dapp-staking-migration/std", + "pallet-dapp-staking-v3/std", "pallet-dynamic-evm-base-fee/std", "pallet-ethereum/std", - "pallet-evm/std", + "pallet-evm-precompile-assets-erc20/std", "pallet-evm-precompile-blake2/std", - "pallet-evm-precompile-simple/std", "pallet-evm-precompile-bn128/std", - "sp-genesis-builder/std", - "pallet-evm-precompile-dispatch/std", + "pallet-evm-precompile-dapp-staking-v3/std", "pallet-evm-precompile-dispatch-lockdrop/std", + "pallet-evm-precompile-dispatch/std", "pallet-evm-precompile-ed25519/std", "pallet-evm-precompile-modexp/std", "pallet-evm-precompile-sha3fips/std", - "pallet-dapp-staking-v3/std", - "pallet-dapp-staking-migration/std", - "dapp-staking-v3-runtime-api/std", - "pallet-inflation/std", - "pallet-evm-precompile-dapp-staking-v3/std", + "pallet-evm-precompile-simple/std", "pallet-evm-precompile-sr25519/std", - "pallet-evm-precompile-assets-erc20/std", "pallet-evm-precompile-substrate-ecdsa/std", "pallet-evm-precompile-xcm/std", + "pallet-evm/std", "pallet-identity/std", - "pallet-multisig/std", - "pallet-membership/std", + "pallet-inflation/std", "pallet-insecure-randomness-collective-flip/std", - "pallet-session/std", - "pallet-utility/std", + "pallet-membership/std", + "pallet-multisig/std", + "pallet-price-aggregator/std", "pallet-proxy/std", - "pallet-timestamp/std", - "pallet-vesting/std", - "orml-oracle/std", - "sp-offchain/std", - "sp-session/std", + "pallet-session/std", "pallet-sudo/std", - "pallet-transaction-payment/std", + "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", + "pallet-transaction-payment/std", + "pallet-utility/std", + "pallet-vesting/std", + "pallet-xc-asset-config/std", + "pallet-xcm-benchmarks?/std", "pallet-xcm/std", - "pallet-price-aggregator/std", "parachain-info/std", + "parity-scale-codec/std", "polkadot-parachain/std", "polkadot-primitives/std", "polkadot-runtime-common/std", - "cumulus-primitives-core/std", - "cumulus-primitives-utility/std", - "cumulus-primitives-timestamp/std", - "cumulus-pallet-parachain-system/std", - "cumulus-pallet-aura-ext/std", - "cumulus-pallet-dmp-queue/std", - "cumulus-pallet-xcmp-queue/std", - "cumulus-pallet-xcm/std", - "pallet-collator-selection/std", - "moonbeam-evm-tracer/std", - "moonbeam-rpc-primitives-debug/std", - "moonbeam-rpc-primitives-txpool/std", - "frame-benchmarking/std", - "frame-try-runtime/std", - "xcm/std", + "precompile-utils/std", + "scale-info/std", + "sp-api/std", + "sp-arithmetic/std", + "sp-block-builder/std", + "sp-consensus-aura/std", + "sp-core/std", + "sp-genesis-builder/std", + "sp-inherents/std", + "sp-io/std", + "sp-offchain/std", + "sp-runtime-interface/std", + "sp-runtime/std", + "sp-session/std", + "sp-std/std", + "sp-transaction-pool/std", + "sp-version/std", + "substrate-wasm-builder", "xcm-builder/std", "xcm-executor/std", - "pallet-xc-asset-config/std", - "substrate-wasm-builder", - "pallet-chain-extension-assets/std", - "orml-xtokens/std", - "orml-xcm-support/std", - "astar-primitives/std", + "xcm/std", ] runtime-benchmarks = [ + "astar-primitives/runtime-benchmarks", + "astar-xcm-benchmarks/runtime-benchmarks", + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-pallet-xcmp-queue/runtime-benchmarks", + "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking", + "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", + "oracle-benchmarks/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-chain-extension-assets/runtime-benchmarks", + "pallet-collator-selection/runtime-benchmarks", + "pallet-contracts/runtime-benchmarks", "pallet-dapp-staking-migration/runtime-benchmarks", + "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-dynamic-evm-base-fee/runtime-benchmarks", + "pallet-ethereum/runtime-benchmarks", + "pallet-evm-precompile-assets-erc20/runtime-benchmarks", + "pallet-evm-precompile-dapp-staking-v3/runtime-benchmarks", + "pallet-evm-precompile-xcm/runtime-benchmarks", + "pallet-evm/runtime-benchmarks", + "pallet-identity/runtime-benchmarks", "pallet-inflation/runtime-benchmarks", + "pallet-membership/runtime-benchmarks", + "pallet-multisig/runtime-benchmarks", + "pallet-price-aggregator/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", - "pallet-ethereum/runtime-benchmarks", - "pallet-xcm/runtime-benchmarks", + "pallet-utility/runtime-benchmarks", + "pallet-vesting/runtime-benchmarks", + "pallet-xc-asset-config/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", - "astar-xcm-benchmarks/runtime-benchmarks", - "pallet-membership/runtime-benchmarks", + "pallet-xcm/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", + "polkadot-runtime-common/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", - "pallet-xc-asset-config/runtime-benchmarks", - "pallet-collator-selection/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", - "pallet-assets/runtime-benchmarks", - "pallet-dynamic-evm-base-fee/runtime-benchmarks", - "pallet-price-aggregator/runtime-benchmarks", - "cumulus-primitives-utility/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", ] try-runtime = [ "astar-primitives/try-runtime", + "astar-xcm-benchmarks?/try-runtime", + "cumulus-pallet-aura-ext/try-runtime", + "cumulus-pallet-dmp-queue/try-runtime", + "cumulus-pallet-parachain-system/try-runtime", + "cumulus-pallet-xcm/try-runtime", + "cumulus-pallet-xcmp-queue/try-runtime", "fp-self-contained/try-runtime", - "log", - "frame-try-runtime/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", + "frame-try-runtime/try-runtime", + "log", + "oracle-benchmarks/try-runtime", + "orml-oracle/try-runtime", + "orml-xtokens/try-runtime", + "pallet-assets/try-runtime", "pallet-aura/try-runtime", + "pallet-authorship/try-runtime", "pallet-balances/try-runtime", - "orml-oracle/try-runtime", - "pallet-price-aggregator/try-runtime", - "pallet-membership/try-runtime", - "pallet-dapp-staking-v3/try-runtime", + "pallet-chain-extension-assets/try-runtime", + "pallet-collator-selection/try-runtime", + "pallet-contracts/try-runtime", "pallet-dapp-staking-migration/try-runtime", + "pallet-dapp-staking-v3/try-runtime", + "pallet-dynamic-evm-base-fee/try-runtime", + "pallet-ethereum/try-runtime", + "pallet-evm/try-runtime", + "pallet-identity/try-runtime", "pallet-inflation/try-runtime", + "pallet-insecure-randomness-collective-flip/try-runtime", + "pallet-membership/try-runtime", + "pallet-multisig/try-runtime", + "pallet-price-aggregator/try-runtime", + "pallet-proxy/try-runtime", + "pallet-session/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", - "pallet-ethereum/try-runtime", "pallet-xc-asset-config/try-runtime", - "pallet-assets/try-runtime", - "pallet-authorship/try-runtime", - "pallet-collator-selection/try-runtime", - "pallet-session/try-runtime", "pallet-xcm/try-runtime", - "pallet-identity/try-runtime", - "pallet-multisig/try-runtime", - "pallet-proxy/try-runtime", - "pallet-insecure-randomness-collective-flip/try-runtime", - "pallet-contracts/try-runtime", - "cumulus-pallet-aura-ext/try-runtime", - "cumulus-pallet-dmp-queue/try-runtime", - "cumulus-pallet-parachain-system/try-runtime", - "cumulus-pallet-xcm/try-runtime", - "cumulus-pallet-xcmp-queue/try-runtime", "parachain-info/try-runtime", - "pallet-dynamic-evm-base-fee/try-runtime", - "pallet-evm/try-runtime", - "orml-xtokens/try-runtime", - "oracle-benchmarks/try-runtime", + "polkadot-runtime-common/try-runtime", + "sp-runtime/try-runtime", ] evm-tracing = [ "moonbeam-evm-tracer", diff --git a/taplo.toml b/taplo.toml deleted file mode 100644 index 2a52dd783c..0000000000 --- a/taplo.toml +++ /dev/null @@ -1,37 +0,0 @@ -## https://taplo.tamasfe.dev/configuration/file.html - -include = ["**/Cargo.toml"] -exclude = [".maintain/**/Cargo.toml", "target/**/Cargo.toml"] - -[formatting] -# Align consecutive entries vertically. -align_entries = false -# Append trailing commas for multi-line arrays. -array_trailing_comma = true -# Expand arrays to multiple lines that exceed the maximum column width. -array_auto_expand = false -# Collapse arrays that don't exceed the maximum column width and don't contain comments. -array_auto_collapse = false -# Omit white space padding from single-line arrays -compact_arrays = true -# Omit white space padding from the start and end of inline tables. -compact_inline_tables = false -# Maximum column width in characters, affects array expansion and collapse, this doesn't take whitespace into account. -# Note that this is not set in stone, and works on a best-effort basis. -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 = ' ' -# Add trailing newline at the end of the file if not present. -trailing_newline = true -# Alphabetically reorder keys that are not separated by empty lines. -reorder_keys = false -# Maximum amount of allowed consecutive blank lines. This does not affect the whitespace at the end of the document, as it is always stripped. -allowed_blank_lines = 1 -# Use CRLF for line endings. -crlf = false - -[[rule]] -keys = ["dependencies", "dev-dependencies", "build-dependencies"] -formatting = { reorder_keys = true } diff --git a/tests/integration/Cargo.toml b/tests/integration/Cargo.toml index 14c2c008e2..97f68f1fa4 100644 --- a/tests/integration/Cargo.toml +++ b/tests/integration/Cargo.toml @@ -59,24 +59,58 @@ moonbeam-rpc-primitives-debug = { workspace = true, optional = true } pallet-ethereum = { workspace = true, optional = true } [features] -default = ["std"] +default = [ "std" ] std = [ + "assets-chain-extension-types/std", + "astar-primitives/std", "astar-runtime/std", + "astar-test-utils/std", + "ethereum?/std", + "fp-evm/std", + "fp-rpc?/std", + "frame-support/std", + "frame-system/std", + "hex/std", + "libsecp256k1/std", + "moonbeam-rpc-primitives-debug?/std", + "orml-oracle/std", + "pallet-assets/std", + "pallet-balances/std", + "pallet-collator-selection/std", + "pallet-contracts-primitives/std", + "pallet-contracts/std", + "pallet-dapp-staking-v3/std", + "pallet-ethereum-checked/std", + "pallet-ethereum?/std", + "pallet-evm-precompile-assets-erc20/std", + "pallet-evm-precompile-dispatch/std", + "pallet-evm/std", + "pallet-inflation/std", + "pallet-membership/std", + "pallet-price-aggregator/std", + "pallet-proxy/std", + "pallet-unified-accounts/std", + "pallet-utility/std", + "parity-scale-codec/std", + "precompile-utils/std", + "sha3/std", "shibuya-runtime/std", "shiden-runtime/std", - "astar-primitives/std", - "astar-test-utils/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "unified-accounts-chain-extension-types/std", ] -shibuya = ["shibuya-runtime"] -shiden = ["shiden-runtime"] -astar = ["astar-runtime"] +shibuya = [ "shibuya-runtime" ] +shiden = [ "shiden-runtime" ] +astar = [ "astar-runtime" ] evm-tracing = [ - "shibuya-runtime?/evm-tracing", - "shiden-runtime?/evm-tracing", "astar-runtime?/evm-tracing", "ethereum", - "pallet-ethereum", - "moonbeam-rpc-primitives-debug", "fp-rpc", + "moonbeam-rpc-primitives-debug", + "pallet-ethereum", + "shibuya-runtime?/evm-tracing", + "shiden-runtime?/evm-tracing", ] diff --git a/tests/utils/Cargo.toml b/tests/utils/Cargo.toml index 0421e99221..205adeafb7 100644 --- a/tests/utils/Cargo.toml +++ b/tests/utils/Cargo.toml @@ -19,11 +19,13 @@ pallet-contracts-primitives = { workspace = true } sp-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "frame-support/std", "frame-system/std", - "pallet-contracts/std", "pallet-contracts-primitives/std", + "pallet-contracts/std", + "parity-scale-codec/std", + "scale-info/std", + "sp-runtime/std", ] diff --git a/tests/xcm-simulator/Cargo.toml b/tests/xcm-simulator/Cargo.toml index b8bed7b801..fb9eb3de31 100644 --- a/tests/xcm-simulator/Cargo.toml +++ b/tests/xcm-simulator/Cargo.toml @@ -58,46 +58,46 @@ orml-xcm-support = { workspace = true } orml-xtokens = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", - "sp-std/std", - "sp-core/std", - "sp-io/std", - "sp-runtime/std", - "sp-tracing/std", + "cumulus-pallet-xcm/std", "frame-support/std", "frame-system/std", + "orml-traits/std", + "orml-xcm-support/std", + "orml-xtokens/std", + "pallet-assets/std", "pallet-balances/std", - "pallet-timestamp/std", - "pallet-contracts/std", "pallet-contracts-primitives/std", + "pallet-contracts/std", + "pallet-dapp-staking-v3/std", "pallet-insecure-randomness-collective-flip/std", - "pallet-xcm/std", - "cumulus-pallet-xcm/std", - "pallet-assets/std", - "polkadot-primitives/std", + "pallet-message-queue/std", "pallet-proxy/std", + "pallet-timestamp/std", "pallet-utility/std", - "pallet-message-queue/std", - "orml-xtokens/std", - "orml-traits/std", - "orml-xcm-support/std", - "pallet-dapp-staking-v3/std", + "pallet-xcm/std", + "parity-scale-codec/std", + "polkadot-primitives/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", + "sp-tracing/std", ] runtime-benchmarks = [ - "frame-system/runtime-benchmarks", + "astar-primitives/runtime-benchmarks", "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "orml-xtokens/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "pallet-timestamp/runtime-benchmarks", "pallet-contracts/runtime-benchmarks", + "pallet-dapp-staking-v3/runtime-benchmarks", + "pallet-message-queue/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "polkadot-parachain/runtime-benchmarks", + "polkadot-runtime-parachains/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", - "polkadot-runtime-parachains/runtime-benchmarks", - "polkadot-parachain/runtime-benchmarks", - "orml-xtokens/runtime-benchmarks", - "astar-primitives/runtime-benchmarks", - "pallet-message-queue/runtime-benchmarks", - "pallet-dapp-staking-v3/runtime-benchmarks", ] diff --git a/vendor/primitives/debug/Cargo.toml b/vendor/primitives/debug/Cargo.toml index 291c2fc16b..1ee86fa06c 100644 --- a/vendor/primitives/debug/Cargo.toml +++ b/vendor/primitives/debug/Cargo.toml @@ -24,14 +24,16 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "environmental/std", "ethereum-types/std", "ethereum/std", "hex", + "hex?/std", + "parity-scale-codec/std", "serde", + "serde?/std", "serde_json", "sp-api/std", "sp-core/std", diff --git a/vendor/primitives/evm-tracing-events/Cargo.toml b/vendor/primitives/evm-tracing-events/Cargo.toml index b8b219c31a..e4f6549d44 100644 --- a/vendor/primitives/evm-tracing-events/Cargo.toml +++ b/vendor/primitives/evm-tracing-events/Cargo.toml @@ -22,15 +22,15 @@ evm-gasometer = { workspace = true } evm-runtime = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "environmental/std", "ethereum-types/std", "ethereum/std", "evm-gasometer/std", "evm-runtime/std", "evm/std", + "parity-scale-codec/std", "sp-runtime-interface/std", ] -evm-tracing = ["evm-gasometer/tracing", "evm-runtime/tracing", "evm/tracing"] +evm-tracing = [ "evm-gasometer/tracing", "evm-runtime/tracing", "evm/tracing" ] diff --git a/vendor/primitives/txpool/Cargo.toml b/vendor/primitives/txpool/Cargo.toml index 9b4dcb0290..f54e9d5aa9 100644 --- a/vendor/primitives/txpool/Cargo.toml +++ b/vendor/primitives/txpool/Cargo.toml @@ -19,13 +19,13 @@ sp-runtime = { workspace = true } sp-std = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ "ethereum/std", + "parity-scale-codec/std", "scale-info/std", "sp-api/std", "sp-io/std", "sp-runtime/std", "sp-std/std", - "parity-scale-codec/std", ] diff --git a/vendor/runtime/evm-tracer/Cargo.toml b/vendor/runtime/evm-tracer/Cargo.toml index 8c6a62159b..8f25dce08c 100644 --- a/vendor/runtime/evm-tracer/Cargo.toml +++ b/vendor/runtime/evm-tracer/Cargo.toml @@ -29,9 +29,8 @@ fp-evm = { workspace = true } pallet-evm = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "ethereum-types/std", "evm-gasometer/std", "evm-runtime/std", @@ -41,7 +40,9 @@ std = [ "fp-evm/std", "moonbeam-primitives-ext/std", "pallet-evm/std", + "parity-scale-codec/std", "sp-core/std", + "sp-io/std", "sp-runtime/std", "sp-std/std", ] diff --git a/vendor/runtime/ext/Cargo.toml b/vendor/runtime/ext/Cargo.toml index 0a30218125..f769feddf9 100644 --- a/vendor/runtime/ext/Cargo.toml +++ b/vendor/runtime/ext/Cargo.toml @@ -20,11 +20,11 @@ sp-runtime-interface = { workspace = true } sp-std = { workspace = true } [features] -default = ["std"] +default = [ "std" ] std = [ - "parity-scale-codec/std", "ethereum-types/std", "evm-tracing-events/std", + "parity-scale-codec/std", "sp-externalities/std", "sp-runtime-interface/std", "sp-std/std",