[package] name = "bridge-hub-rococo-runtime" version = "0.16.0" authors.workspace = true edition.workspace = true description = "Rococo's BridgeHub parachain runtime" license = "Apache-2.0" [lints] workspace = true [build-dependencies] substrate-wasm-builder = { optional = true, workspace = true, default-features = true } [dependencies] codec = { features = [ "derive", ], workspace = true } hex-literal = { workspace = true, default-features = true } log = { workspace = true } scale-info = { features = [ "derive", ], workspace = true } serde = { optional = true, features = ["derive"], workspace = true, default-features = true } serde_json = { features = ["alloc"], workspace = true } frame-benchmarking = { optional = true, workspace = true } frame-executive.workspace = true frame-metadata-hash-extension.workspace = true frame-support.workspace = true frame-system.workspace = true frame-system-benchmarking = { optional = true, workspace = true } frame-system-rpc-runtime-api.workspace = true frame-try-runtime = { optional = true, workspace = true } pallet-aura.workspace = true pallet-authorship.workspace = true pallet-balances.workspace = true pallet-session.workspace = true pallet-message-queue.workspace = true pallet-multisig.workspace = true pallet-timestamp.workspace = true pallet-transaction-payment.workspace = true pallet-transaction-payment-rpc-runtime-api.workspace = true pallet-utility.workspace = true sp-api.workspace = true sp-block-builder.workspace = true sp-consensus-aura.workspace = true sp-core.workspace = true sp-genesis-builder.workspace = true sp-inherents.workspace = true sp-io.workspace = true sp-offchain.workspace = true sp-runtime.workspace = true sp-session.workspace = true sp-std.workspace = true sp-storage.workspace = true sp-transaction-pool.workspace = true sp-version.workspace = true rococo-runtime-constants.workspace = true pallet-xcm.workspace = true pallet-xcm-benchmarks = { optional = true, workspace = true } polkadot-parachain-primitives.workspace = true polkadot-runtime-common.workspace = true xcm.workspace = true xcm-builder.workspace = true xcm-executor.workspace = true xcm-runtime-apis.workspace = true cumulus-pallet-aura-ext.workspace = true cumulus-pallet-parachain-system.workspace = true cumulus-pallet-session-benchmarking.workspace = true cumulus-pallet-xcm.workspace = true cumulus-pallet-xcmp-queue = { features = ["bridging"], workspace = true } cumulus-primitives-aura.workspace = true cumulus-primitives-core.workspace = true cumulus-primitives-storage-weight-reclaim.workspace = true cumulus-primitives-utility.workspace = true pallet-collator-selection.workspace = true parachain-info.workspace = true parachains-common.workspace = true testnet-parachains-constants = { features = ["rococo"], workspace = true } bp-asset-hub-rococo.workspace = true bp-asset-hub-westend.workspace = true bp-bridge-hub-polkadot.workspace = true bp-bridge-hub-rococo.workspace = true bp-bridge-hub-westend.workspace = true bp-header-chain.workspace = true bp-messages.workspace = true bp-parachains.workspace = true bp-polkadot-bulletin.workspace = true bp-polkadot-core.workspace = true bp-relayers.workspace = true bp-runtime.workspace = true bp-rococo.workspace = true bp-westend.workspace = true pallet-bridge-grandpa.workspace = true pallet-bridge-messages.workspace = true pallet-bridge-parachains.workspace = true pallet-bridge-relayers.workspace = true pallet-xcm-bridge-hub.workspace = true bridge-runtime-common.workspace = true snowbridge-beacon-primitives.workspace = true snowbridge-pallet-system.workspace = true snowbridge-system-runtime-api.workspace = true snowbridge-core.workspace = true snowbridge-pallet-ethereum-client.workspace = true snowbridge-pallet-inbound-queue.workspace = true snowbridge-pallet-outbound-queue.workspace = true snowbridge-outbound-queue-runtime-api.workspace = true snowbridge-router-primitives.workspace = true snowbridge-runtime-common.workspace = true bridge-hub-common.workspace = true [dev-dependencies] bridge-hub-test-utils = { default-features = true, path = "../test-utils" } bridge-runtime-common = { features = ["integrity-test"], default-features = true, path = "../../../../../bridges/bin/runtime-common" } pallet-bridge-relayers = { features = ["integrity-test"], path = "../../../../../bridges/modules/relayers", default-features = false } sp-keyring = { default-features = true, path = "../../../../../substrate/primitives/keyring" } snowbridge-runtime-test-common = { default-features = true, path = "../../../../../bridges/snowbridge/runtime/test-common" } [features] default = ["std"] std = [ "bp-asset-hub-rococo/std", "bp-asset-hub-westend/std", "bp-bridge-hub-polkadot/std", "bp-bridge-hub-rococo/std", "bp-bridge-hub-westend/std", "bp-header-chain/std", "bp-messages/std", "bp-parachains/std", "bp-polkadot-bulletin/std", "bp-polkadot-core/std", "bp-relayers/std", "bp-rococo/std", "bp-runtime/std", "bp-westend/std", "bridge-hub-common/std", "bridge-runtime-common/std", "codec/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-parachain-system/std", "cumulus-pallet-session-benchmarking/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", "cumulus-primitives-aura/std", "cumulus-primitives-core/std", "cumulus-primitives-storage-weight-reclaim/std", "cumulus-primitives-utility/std", "frame-benchmarking/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-aura/std", "pallet-authorship/std", "pallet-balances/std", "pallet-bridge-grandpa/std", "pallet-bridge-messages/std", "pallet-bridge-parachains/std", "pallet-bridge-relayers/std", "pallet-collator-selection/std", "pallet-message-queue/std", "pallet-multisig/std", "pallet-session/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-transaction-payment/std", "pallet-utility/std", "pallet-xcm-benchmarks?/std", "pallet-xcm-bridge-hub/std", "pallet-xcm/std", "parachain-info/std", "parachains-common/std", "polkadot-parachain-primitives/std", "polkadot-runtime-common/std", "rococo-runtime-constants/std", "scale-info/std", "serde", "serde_json/std", "snowbridge-beacon-primitives/std", "snowbridge-core/std", "snowbridge-outbound-queue-runtime-api/std", "snowbridge-pallet-ethereum-client/std", "snowbridge-pallet-inbound-queue/std", "snowbridge-pallet-outbound-queue/std", "snowbridge-pallet-system/std", "snowbridge-router-primitives/std", "snowbridge-runtime-common/std", "snowbridge-system-runtime-api/std", "sp-api/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-std/std", "sp-storage/std", "sp-transaction-pool/std", "sp-version/std", "substrate-wasm-builder", "testnet-parachains-constants/std", "xcm-builder/std", "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", ] runtime-benchmarks = [ "bridge-hub-common/runtime-benchmarks", "bridge-runtime-common/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", "cumulus-pallet-session-benchmarking/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "cumulus-primitives-core/runtime-benchmarks", "cumulus-primitives-utility/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-bridge-grandpa/runtime-benchmarks", "pallet-bridge-messages/runtime-benchmarks", "pallet-bridge-parachains/runtime-benchmarks", "pallet-bridge-relayers/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm-bridge-hub/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "snowbridge-core/runtime-benchmarks", "snowbridge-pallet-ethereum-client/runtime-benchmarks", "snowbridge-pallet-inbound-queue/runtime-benchmarks", "snowbridge-pallet-outbound-queue/runtime-benchmarks", "snowbridge-pallet-system/runtime-benchmarks", "snowbridge-router-primitives/runtime-benchmarks", "snowbridge-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-parachain-system/try-runtime", "cumulus-pallet-xcm/try-runtime", "cumulus-pallet-xcmp-queue/try-runtime", "frame-executive/try-runtime", "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime/try-runtime", "pallet-aura/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", "pallet-bridge-grandpa/try-runtime", "pallet-bridge-messages/try-runtime", "pallet-bridge-parachains/try-runtime", "pallet-bridge-relayers/try-runtime", "pallet-collator-selection/try-runtime", "pallet-message-queue/try-runtime", "pallet-multisig/try-runtime", "pallet-session/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-utility/try-runtime", "pallet-xcm-bridge-hub/try-runtime", "pallet-xcm/try-runtime", "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "snowbridge-pallet-ethereum-client/try-runtime", "snowbridge-pallet-inbound-queue/try-runtime", "snowbridge-pallet-outbound-queue/try-runtime", "snowbridge-pallet-system/try-runtime", "sp-runtime/try-runtime", ] fast-runtime = [] # 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 = []