[package] name = "westend-runtime" build = "build.rs" version = "18.0.1" description = "Westend testnet Relay Chain runtime." authors.workspace = true edition.workspace = true license.workspace = true [lints] workspace = true [dependencies] bitvec = { features = ["alloc"], workspace = true } codec = { features = ["derive", "max-encoded-len"], workspace = true } scale-info = { features = ["derive"], workspace = true } log = { workspace = true } serde = { workspace = true } serde_derive = { optional = true, workspace = true } serde_json = { features = ["alloc"], workspace = true } smallvec = { workspace = true, default-features = true } sp-authority-discovery.workspace = true sp-consensus-babe.workspace = true sp-consensus-beefy.workspace = true sp-consensus-grandpa.workspace = true binary-merkle-tree.workspace = true sp-inherents.workspace = true sp-offchain.workspace = true sp-api.workspace = true sp-application-crypto.workspace = true sp-arithmetic.workspace = true sp-genesis-builder.workspace = true sp-io.workspace = true sp-mmr-primitives.workspace = true sp-runtime.workspace = true sp-staking.workspace = true sp-core.workspace = true sp-session.workspace = true sp-storage.workspace = true sp-version.workspace = true sp-transaction-pool.workspace = true sp-block-builder.workspace = true sp-npos-elections.workspace = true frame-election-provider-support.workspace = true frame-executive.workspace = true frame-metadata-hash-extension.workspace = true frame-support = { features = ["experimental", "tuples-96"], workspace = true } frame-system.workspace = true frame-system-rpc-runtime-api.workspace = true westend-runtime-constants.workspace = true pallet-asset-rate.workspace = true pallet-authority-discovery.workspace = true pallet-authorship.workspace = true pallet-babe.workspace = true pallet-bags-list.workspace = true pallet-balances.workspace = true pallet-beefy.workspace = true pallet-beefy-mmr.workspace = true pallet-collective.workspace = true pallet-democracy.workspace = true pallet-elections-phragmen.workspace = true pallet-election-provider-multi-phase.workspace = true pallet-fast-unstake.workspace = true pallet-grandpa.workspace = true pallet-identity.workspace = true pallet-indices.workspace = true pallet-membership.workspace = true pallet-message-queue.workspace = true pallet-mmr.workspace = true pallet-multisig.workspace = true pallet-nomination-pools.workspace = true pallet-conviction-voting.workspace = true pallet-offences.workspace = true pallet-parameters.workspace = true pallet-preimage.workspace = true pallet-proxy.workspace = true pallet-recovery.workspace = true pallet-referenda.workspace = true pallet-scheduler.workspace = true pallet-session.workspace = true pallet-society.workspace = true pallet-staking.workspace = true pallet-staking-runtime-api.workspace = true pallet-delegated-staking.workspace = true pallet-state-trie-migration.workspace = true pallet-sudo.workspace = true pallet-timestamp.workspace = true pallet-transaction-payment.workspace = true pallet-transaction-payment-rpc-runtime-api.workspace = true pallet-nomination-pools-runtime-api.workspace = true pallet-treasury.workspace = true pallet-utility.workspace = true pallet-vesting.workspace = true pallet-whitelist.workspace = true pallet-xcm.workspace = true pallet-xcm-benchmarks = { optional = true, workspace = true } pallet-root-testing.workspace = true frame-benchmarking = { optional = true, workspace = true } frame-try-runtime = { optional = true, workspace = true } frame-system-benchmarking = { optional = true, workspace = true } pallet-election-provider-support-benchmarking = { optional = true, workspace = true } pallet-nomination-pools-benchmarking = { optional = true, workspace = true } pallet-offences-benchmarking = { optional = true, workspace = true } pallet-session-benchmarking = { optional = true, workspace = true } hex-literal = { workspace = true, default-features = true } polkadot-runtime-common.workspace = true polkadot-primitives.workspace = true polkadot-parachain-primitives.workspace = true polkadot-runtime-parachains.workspace = true xcm.workspace = true xcm-executor.workspace = true xcm-builder.workspace = true xcm-runtime-apis.workspace = true [dev-dependencies] tiny-keccak = { features = ["keccak"], workspace = true } sp-keyring = { default-features = true, path = "../../../substrate/primitives/keyring" } serde_json = { workspace = true, default-features = true } remote-externalities = { default-features = true, path = "../../../substrate/utils/frame/remote-externalities", package = "frame-remote-externalities" } tokio = { features = ["macros"], workspace = true, default-features = true } sp-tracing = { path = "../../../substrate/primitives/tracing", default-features = false } [build-dependencies] substrate-wasm-builder.workspace = true substrate-wasm-builder.default-features = true [features] default = ["std"] no_std = [] only-staking = [] std = [ "binary-merkle-tree/std", "bitvec/std", "codec/std", "frame-benchmarking?/std", "frame-election-provider-support/std", "frame-executive/std", "frame-metadata-hash-extension/std", "frame-support/std", "frame-system-benchmarking?/std", "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", "log/std", "pallet-asset-rate/std", "pallet-authority-discovery/std", "pallet-authorship/std", "pallet-babe/std", "pallet-bags-list/std", "pallet-balances/std", "pallet-beefy-mmr/std", "pallet-beefy/std", "pallet-collective/std", "pallet-conviction-voting/std", "pallet-delegated-staking/std", "pallet-democracy/std", "pallet-election-provider-multi-phase/std", "pallet-election-provider-support-benchmarking?/std", "pallet-elections-phragmen/std", "pallet-fast-unstake/std", "pallet-grandpa/std", "pallet-identity/std", "pallet-indices/std", "pallet-membership/std", "pallet-message-queue/std", "pallet-mmr/std", "pallet-multisig/std", "pallet-nomination-pools-benchmarking?/std", "pallet-nomination-pools-runtime-api/std", "pallet-nomination-pools/std", "pallet-offences-benchmarking?/std", "pallet-offences/std", "pallet-parameters/std", "pallet-preimage/std", "pallet-proxy/std", "pallet-recovery/std", "pallet-referenda/std", "pallet-root-testing/std", "pallet-scheduler/std", "pallet-session-benchmarking?/std", "pallet-session/std", "pallet-society/std", "pallet-staking-runtime-api/std", "pallet-staking/std", "pallet-state-trie-migration/std", "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-treasury/std", "pallet-utility/std", "pallet-vesting/std", "pallet-whitelist/std", "pallet-xcm-benchmarks?/std", "pallet-xcm/std", "polkadot-parachain-primitives/std", "polkadot-primitives/std", "polkadot-runtime-common/std", "polkadot-runtime-parachains/std", "scale-info/std", "serde/std", "serde_derive", "serde_json/std", "sp-api/std", "sp-application-crypto/std", "sp-arithmetic/std", "sp-authority-discovery/std", "sp-block-builder/std", "sp-consensus-babe/std", "sp-consensus-beefy/std", "sp-consensus-grandpa/std", "sp-core/std", "sp-genesis-builder/std", "sp-inherents/std", "sp-io/std", "sp-mmr-primitives/std", "sp-npos-elections/std", "sp-offchain/std", "sp-runtime/std", "sp-session/std", "sp-staking/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", "westend-runtime-constants/std", "xcm-builder/std", "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", "frame-election-provider-support/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-asset-rate/runtime-benchmarks", "pallet-babe/runtime-benchmarks", "pallet-bags-list/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-beefy-mmr/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", "pallet-delegated-staking/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-election-provider-support-benchmarking/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-fast-unstake/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-indices/runtime-benchmarks", "pallet-membership/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-mmr/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-nomination-pools-benchmarking/runtime-benchmarks", "pallet-nomination-pools/runtime-benchmarks", "pallet-offences-benchmarking/runtime-benchmarks", "pallet-offences/runtime-benchmarks", "pallet-parameters/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-recovery/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks", "pallet-society/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-state-trie-migration/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-whitelist/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "polkadot-runtime-parachains/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "sp-staking/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", ] try-runtime = [ "frame-election-provider-support/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime", "frame-try-runtime/try-runtime", "pallet-asset-rate/try-runtime", "pallet-authority-discovery/try-runtime", "pallet-authorship/try-runtime", "pallet-babe/try-runtime", "pallet-bags-list/try-runtime", "pallet-balances/try-runtime", "pallet-beefy-mmr/try-runtime", "pallet-beefy/try-runtime", "pallet-collective/try-runtime", "pallet-conviction-voting/try-runtime", "pallet-delegated-staking/try-runtime", "pallet-democracy/try-runtime", "pallet-election-provider-multi-phase/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-fast-unstake/try-runtime", "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", "pallet-indices/try-runtime", "pallet-membership/try-runtime", "pallet-message-queue/try-runtime", "pallet-mmr/try-runtime", "pallet-multisig/try-runtime", "pallet-nomination-pools/try-runtime", "pallet-offences/try-runtime", "pallet-parameters/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-recovery/try-runtime", "pallet-referenda/try-runtime", "pallet-root-testing/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", "pallet-society/try-runtime", "pallet-staking/try-runtime", "pallet-state-trie-migration/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", "pallet-whitelist/try-runtime", "pallet-xcm/try-runtime", "polkadot-runtime-common/try-runtime", "polkadot-runtime-parachains/try-runtime", "sp-runtime/try-runtime", ] # Enable the metadata hash generation in the wasm builder. metadata-hash = ["substrate-wasm-builder/metadata-hash"] # Set timing constants (e.g. session period) to faster versions to speed up testing. fast-runtime = [] runtime-metrics = [ "polkadot-runtime-parachains/runtime-metrics", "sp-io/with-tracing", ] # A feature that should be enabled when the runtime should be built for on-chain # deployment. This will disable stuff that shouldn't be part of the on-chain wasm # to make it smaller, like logging for example. on-chain-release-build = ["metadata-hash"]