|
| 1 | +[package] |
| 2 | +name = "bulletin-polkadot-runtime" |
| 3 | +version = "1.0.0" |
| 4 | +description = "Polkadot Bulletin solochain" |
| 5 | +authors = [ "Parity Technologies <[email protected]>"] |
| 6 | +edition.workspace = true |
| 7 | +license = "MIT-0" |
| 8 | +publish = false |
| 9 | +repository.workspace = true |
| 10 | + |
| 11 | +[package.metadata.docs.rs] |
| 12 | +targets = ["x86_64-unknown-linux-gnu"] |
| 13 | + |
| 14 | +[dependencies] |
| 15 | +codec = { workspace = true, features = ["derive"] } |
| 16 | +log = { workspace = true } |
| 17 | +scale-info = { features = ["derive"], workspace = true } |
| 18 | +serde_json = { features = ["alloc"], workspace = true } |
| 19 | +frame-executive = { workspace = true } |
| 20 | +frame-support = { workspace = true } |
| 21 | +frame-system = { workspace = true } |
| 22 | +frame-try-runtime = { workspace = true, optional = true } |
| 23 | +pallet-authorship = { workspace = true } |
| 24 | +pallet-babe = { workspace = true } |
| 25 | +pallet-grandpa = { workspace = true } |
| 26 | +pallet-offences = { workspace = true } |
| 27 | +pallet-session = { workspace = true } |
| 28 | +pallet-sudo = { workspace = true } |
| 29 | +pallet-timestamp = { workspace = true } |
| 30 | +sp-api = { workspace = true } |
| 31 | +sp-block-builder = { workspace = true } |
| 32 | +sp-consensus-babe = { workspace = true } |
| 33 | +sp-consensus-grandpa = { workspace = true } |
| 34 | +sp-core = { workspace = true } |
| 35 | +sp-genesis-builder = { workspace = true } |
| 36 | +sp-inherents = { workspace = true } |
| 37 | +sp-io = { workspace = true } |
| 38 | +sp-offchain = { workspace = true } |
| 39 | +sp-runtime = { workspace = true } |
| 40 | +sp-session = { workspace = true } |
| 41 | +sp-std = { workspace = true } |
| 42 | +sp-transaction-pool = { workspace = true } |
| 43 | +sp-transaction-storage-proof = { workspace = true } |
| 44 | +sp-version = { workspace = true } |
| 45 | +sp-storage = { optional = true, workspace = true } |
| 46 | + |
| 47 | +# Used for the node's RPCs |
| 48 | +frame-system-rpc-runtime-api = { workspace = true } |
| 49 | + |
| 50 | +# Used for runtime benchmarking |
| 51 | +frame-benchmarking = { workspace = true, optional = true } |
| 52 | +frame-system-benchmarking = { workspace = true, optional = true } |
| 53 | + |
| 54 | +# Local dependencies |
| 55 | +pallet-relayer-set = { workspace = true } |
| 56 | +pallet-transaction-storage = { workspace = true } |
| 57 | +pallet-validator-set = { workspace = true } |
| 58 | +pallets-common = { workspace = true } |
| 59 | + |
| 60 | +# Bridge dependencies |
| 61 | +bp-header-chain = { workspace = true } |
| 62 | +bp-messages = { workspace = true } |
| 63 | +bp-parachains = { workspace = true } |
| 64 | + |
| 65 | +bp-polkadot-bulletin = { workspace = true } |
| 66 | +bp-polkadot-core = { workspace = true } |
| 67 | +bp-runtime = { workspace = true } |
| 68 | +bridge-runtime-common = { workspace = true } |
| 69 | +pallet-bridge-grandpa = { workspace = true } |
| 70 | +pallet-bridge-parachains = { workspace = true } |
| 71 | +pallet-bridge-messages = { workspace = true } |
| 72 | +pallet-bridge-relayers = { workspace = true } |
| 73 | +pallet-xcm-bridge-hub = { workspace = true } |
| 74 | +pallet-transaction-payment = { workspace = true } |
| 75 | +pallet-transaction-payment-rpc-runtime-api = { workspace = true } |
| 76 | +bp-bridge-hub-cumulus = { workspace = true } |
| 77 | + |
| 78 | +# XCM dependencies |
| 79 | +xcm = { workspace = true } |
| 80 | +xcm-builder = { workspace = true } |
| 81 | +xcm-executor = { workspace = true } |
| 82 | + |
| 83 | +# TODO: just to pass `--features runtime-benchmarks` or `--features try-runtime` |
| 84 | +pallet-xcm = { optional = true, workspace = true } |
| 85 | +pallet-staking = { optional = true, workspace = true } |
| 86 | +sp-staking = { optional = true, workspace = true } |
| 87 | +parachains-common = { optional = true, workspace = true } |
| 88 | +# pallet-revive = { optional = true, workspace = true } |
| 89 | + |
| 90 | +[build-dependencies] |
| 91 | +substrate-wasm-builder = { optional = true, workspace = true } |
| 92 | + |
| 93 | +[dev-dependencies] |
| 94 | +bp-test-utils = { workspace = true } |
| 95 | +bridge-runtime-common = { workspace = true, features = ["integrity-test"] } |
| 96 | +hex = { workspace = true } |
| 97 | +sp-io = { workspace = true } |
| 98 | +sp-keyring = { workspace = true } |
| 99 | +sp-trie = { workspace = true } |
| 100 | +static_assertions = { workspace = true } |
| 101 | + |
| 102 | +[features] |
| 103 | +default = ["std"] |
| 104 | +std = [ |
| 105 | + "codec/std", |
| 106 | + "log/std", |
| 107 | + "scale-info/std", |
| 108 | + "serde_json/std", |
| 109 | + |
| 110 | + "bp-bridge-hub-cumulus/std", |
| 111 | + "frame-executive/std", |
| 112 | + "frame-support/std", |
| 113 | + "frame-system/std", |
| 114 | + "frame-try-runtime?/std", |
| 115 | + "pallet-authorship/std", |
| 116 | + "pallet-babe/std", |
| 117 | + "pallet-grandpa/std", |
| 118 | + "pallet-offences/std", |
| 119 | + "pallet-session/std", |
| 120 | + "pallet-sudo/std", |
| 121 | + "pallet-timestamp/std", |
| 122 | + "sp-api/std", |
| 123 | + "sp-block-builder/std", |
| 124 | + "sp-consensus-babe/std", |
| 125 | + "sp-consensus-grandpa/std", |
| 126 | + "sp-core/std", |
| 127 | + "sp-inherents/std", |
| 128 | + "sp-io/std", |
| 129 | + "sp-offchain/std", |
| 130 | + "sp-runtime/std", |
| 131 | + "sp-session/std", |
| 132 | + "sp-std/std", |
| 133 | + "sp-transaction-pool/std", |
| 134 | + "sp-transaction-storage-proof/std", |
| 135 | + "sp-version/std", |
| 136 | + |
| 137 | + "frame-system-rpc-runtime-api/std", |
| 138 | + |
| 139 | + "frame-benchmarking?/std", |
| 140 | + "frame-system-benchmarking?/std", |
| 141 | + |
| 142 | + "pallet-relayer-set/std", |
| 143 | + "pallet-transaction-payment-rpc-runtime-api/std", |
| 144 | + "pallet-transaction-payment/std", |
| 145 | + "pallet-transaction-storage/std", |
| 146 | + "pallet-validator-set/std", |
| 147 | + "pallets-common/std", |
| 148 | + |
| 149 | + "bp-header-chain/std", |
| 150 | + "bp-messages/std", |
| 151 | + "bp-parachains/std", |
| 152 | + "bp-polkadot-bulletin/std", |
| 153 | + "bp-polkadot-core/std", |
| 154 | + "bp-runtime/std", |
| 155 | + "bridge-runtime-common/std", |
| 156 | + "pallet-bridge-grandpa/std", |
| 157 | + "pallet-bridge-messages/std", |
| 158 | + "pallet-bridge-parachains/std", |
| 159 | + "pallet-xcm-bridge-hub/std", |
| 160 | + |
| 161 | + "xcm-builder/std", |
| 162 | + "xcm-executor/std", |
| 163 | + "xcm/std", |
| 164 | + |
| 165 | + "pallet-bridge-relayers/std", |
| 166 | + "pallet-staking?/std", |
| 167 | + "pallet-xcm?/std", |
| 168 | + "parachains-common?/std", |
| 169 | + "sp-genesis-builder/std", |
| 170 | + "sp-keyring/std", |
| 171 | + "sp-staking?/std", |
| 172 | + "sp-storage?/std", |
| 173 | + "sp-trie/std", |
| 174 | + "substrate-wasm-builder", |
| 175 | +] |
| 176 | +runtime-benchmarks = [ |
| 177 | + "frame-support/runtime-benchmarks", |
| 178 | + "frame-system/runtime-benchmarks", |
| 179 | + "pallet-babe/runtime-benchmarks", |
| 180 | + "pallet-grandpa/runtime-benchmarks", |
| 181 | + "pallet-offences/runtime-benchmarks", |
| 182 | + "pallet-sudo/runtime-benchmarks", |
| 183 | + "pallet-timestamp/runtime-benchmarks", |
| 184 | + "sp-runtime/runtime-benchmarks", |
| 185 | + "sp-storage", |
| 186 | + |
| 187 | + "frame-benchmarking/runtime-benchmarks", |
| 188 | + "frame-system-benchmarking/runtime-benchmarks", |
| 189 | + |
| 190 | + "bridge-runtime-common/runtime-benchmarks", |
| 191 | + "pallet-bridge-grandpa/runtime-benchmarks", |
| 192 | + "pallet-bridge-messages/runtime-benchmarks", |
| 193 | + "pallet-bridge-parachains/runtime-benchmarks", |
| 194 | + "pallet-xcm-bridge-hub/runtime-benchmarks", |
| 195 | + |
| 196 | + "pallet-relayer-set/runtime-benchmarks", |
| 197 | + "pallet-transaction-payment/runtime-benchmarks", |
| 198 | + "pallet-transaction-storage/runtime-benchmarks", |
| 199 | + "pallet-validator-set/runtime-benchmarks", |
| 200 | + |
| 201 | + "pallet-bridge-relayers/runtime-benchmarks", |
| 202 | + "pallets-common/runtime-benchmarks", |
| 203 | + "xcm-builder/runtime-benchmarks", |
| 204 | + "xcm-executor/runtime-benchmarks", |
| 205 | + "xcm/runtime-benchmarks", |
| 206 | + |
| 207 | + "pallet-staking/runtime-benchmarks", |
| 208 | + "pallet-xcm/runtime-benchmarks", |
| 209 | + "parachains-common/runtime-benchmarks", |
| 210 | + "sp-staking/runtime-benchmarks", |
| 211 | +] |
| 212 | +try-runtime = [ |
| 213 | + "frame-executive/try-runtime", |
| 214 | + "frame-support/try-runtime", |
| 215 | + "frame-system/try-runtime", |
| 216 | + "frame-try-runtime/try-runtime", |
| 217 | + "pallet-authorship/try-runtime", |
| 218 | + "pallet-babe/try-runtime", |
| 219 | + "pallet-grandpa/try-runtime", |
| 220 | + "pallet-offences/try-runtime", |
| 221 | + "pallet-session/try-runtime", |
| 222 | + "pallet-sudo/try-runtime", |
| 223 | + "pallet-timestamp/try-runtime", |
| 224 | + |
| 225 | + "pallet-bridge-grandpa/try-runtime", |
| 226 | + "pallet-bridge-messages/try-runtime", |
| 227 | + "pallet-bridge-parachains/try-runtime", |
| 228 | + "pallet-xcm-bridge-hub/try-runtime", |
| 229 | + |
| 230 | + "pallet-bridge-relayers/try-runtime", |
| 231 | + "pallet-relayer-set/try-runtime", |
| 232 | + "pallet-staking/try-runtime", |
| 233 | + "pallet-transaction-payment/try-runtime", |
| 234 | + "pallet-transaction-storage/try-runtime", |
| 235 | + "pallet-validator-set/try-runtime", |
| 236 | + "pallet-xcm?/try-runtime", |
| 237 | + "pallets-common/try-runtime", |
| 238 | + "parachains-common?/try-runtime", |
| 239 | + "sp-runtime/try-runtime", |
| 240 | +] |
0 commit comments