diff --git a/Cargo.toml b/Cargo.toml index 645ae08c1..c36b6dbab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,6 +56,205 @@ resolver = "2" # probably concerns this list. # # This list is ordered alphabetically. + +[workspace.dependencies] +# Dependencies are split into 2 groups: wasm and client. +# - "wasm" dependencies requires to be no_std compatible, which often requires +# `default-features = false`. When used in a client-side crate the "std" feature should be enabled +# there if it exists. +# - "client" dependencies are only used in the client, and thus don't need to be no_std compatible. + +# Cumulus / Nimbus (client) +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-relay-chain-minimal-node = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32" } +nimbus-consensus = { git = "https://github.com/zeitgeistpm/external" } + +# Cumulus / Nimbus (wasm) +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +nimbus-primitives = { git = "https://github.com/zeitgeistpm/external", default-features = false } +pallet-author-inherent = { git = "https://github.com/zeitgeistpm/external", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/zeitgeistpm/external", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.32", default-features = false } +session-keys-primitives = { git = "https://github.com/zeitgeistpm/external", default-features = false } + +# Moonbeam (client) +moonbeam-vrf = { git = "https://github.com/zeitgeistpm/external" } + +# Moonbeam (wasm) +pallet-author-mapping = { git = "https://github.com/zeitgeistpm/external", default-features = false } +pallet-parachain-staking = { git = "https://github.com/zeitgeistpm/external", default-features = false } + +# ORML (wasm) +orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-benchmarking = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-unknown-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-xcm-support = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } +orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.32", default-features = false } + +# Substrate (client) +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32" } +xcm-emulator = { rev = "158a6bd2768c679563efa891aa17329635b2764b", git = "https://github.com/shaunxw/xcm-simulator" } + +# Substrate (wasm) +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-contracts = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-contracts-primitives = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +parity-scale-codec = { version = "3.0.0", default-features = false } +scale-info = { version = "2.1.1", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.32", default-features = false } +substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false } + +# Polkadot / XCM (client) +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } +polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32" } + +# Polkadot / XCM (wasm) +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +rococo-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.32", default-features = false } + +# Zeitgeist (client) +battery-station-runtime = { path = "runtime/battery-station" } +zeitgeist-runtime = { path = "runtime/zeitgeist" } +zrml-prediction-markets-fuzz = { path = "zrml/prediction-markets/fuzz" } +zrml-rikiddo-fuzz = { path = "zrml/rikkido/fuzz" } +zrml-swaps-fuzz = { path = "zrml/swaps/fuzz" } +zrml-swaps-rpc = { path = "zrml/swaps/rpc" } + +# Zeitgeist (wasm) +common-runtime = { path = "runtime/common", default-features = false } +zeitgeist-primitives = { path = "primitives", default-features = false } +zrml-authorized = { path = "zrml/authorized", default-features = false } +zrml-court = { path = "zrml/court", default-features = false } +zrml-global-disputes = { path = "zrml/global-disputes", default-features = false } +zrml-liquidity-mining = { path = "zrml/liquidity-mining", default-features = false } +zrml-market-commons = { path = "zrml/market-commons", default-features = false } +zrml-orderbook-v1 = { path = "zrml/orderbook-v1", default-features = false } +zrml-prediction-markets = { path = "zrml/prediction-markets", default-features = false } +zrml-prediction-markets-runtime-api = { path = "zrml/prediction-markets/runtime-api", default-features = false } +zrml-rikiddo = { path = "zrml/rikiddo", default-features = false } +zrml-simple-disputes = { path = "zrml/simple-disputes", default-features = false } +zrml-styx = { path = "zrml/styx", default-features = false } +zrml-swaps = { path = "zrml/swaps", default-features = false } +zrml-swaps-runtime-api = { path = "zrml/swaps/runtime-api", default-features = false } + +# Other (client) +clap = "4.0.9" +jsonrpsee = "0.15.1" +libfuzzer-sys = { workspace = true } +more-asserts = "0.2" +test-case = "2.0.2" +url = "2.2.2" + +# Other (wasm) +arbitrary = { version = "1.0", default-features = false } +arrayvec = { version = "0.7", default-features = false } +cfg-if = { version = "1.0.0" } +# Hashbrown works in no_std by default and default features are used in Rikiddo +hashbrown = { version = "0.11", default-features = true } +hex-literal = { version = "0.3.4", default-features = false } +log = { version = "0.4.18", default-features = false } +num-traits = { version = "0.2.15", default-features = false } +rand = { version = "0.8.4", default-features = false } +serde = { version = "1.0.144", default-features = false } + [profile.dev.package] blake2 = { opt-level = 3 } blake2-rfc = { opt-level = 3 } diff --git a/node/Cargo.toml b/node/Cargo.toml index 55a95d2bb..827790e0d 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -3,113 +3,113 @@ name = "zeitgeist" path = "./src/main.rs" [build-dependencies] -substrate-build-script-utils = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } +substrate-build-script-utils = { workspace = true } [dependencies] -pallet-asset-tx-payment = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment-rpc = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment-rpc-runtime-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-basic-authorship = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-cli = { branch = "polkadot-v0.9.32", features = ["wasmtime"], git = "https://github.com/paritytech/substrate" } -sc-client-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-consensus = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-executor = { branch = "polkadot-v0.9.32", features = ["wasmtime"], git = "https://github.com/paritytech/substrate" } -sc-keystore = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-rpc = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-rpc-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-service = { branch = "polkadot-v0.9.32", features = ["wasmtime"], git = "https://github.com/paritytech/substrate" } -sc-sysinfo = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-telemetry = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-transaction-pool = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-transaction-pool-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-block-builder = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-blockchain = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-consensus = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-core = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-inherents = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-keyring = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-offchain = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-session = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-storage = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-transaction-pool = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-trie = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -substrate-frame-rpc-system = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } +pallet-asset-tx-payment = { workspace = true, features = ["default"] } +pallet-transaction-payment = { workspace = true, features = ["default"] } +pallet-transaction-payment-rpc = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, features = ["default"] } +sc-basic-authorship = { workspace = true } +sc-cli = { workspace = true, features = ["wasmtime"] } +sc-client-api = { workspace = true } +sc-consensus = { workspace = true } +sc-executor = { workspace = true, features = ["wasmtime"] } +sc-keystore = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-api = { workspace = true } +sc-service = { workspace = true, features = ["wasmtime"] } +sc-sysinfo = { workspace = true } +sc-telemetry = { workspace = true } +sc-transaction-pool = { workspace = true } +sc-transaction-pool-api = { workspace = true } +sp-api = { workspace = true, features = ["default"] } +sp-block-builder = { workspace = true, features = ["default"] } +sp-blockchain = { workspace = true } +sp-consensus = { workspace = true } +sp-core = { workspace = true, features = ["default"] } +sp-inherents = { workspace = true, features = ["default"] } +sp-keyring = { workspace = true } +sp-offchain = { workspace = true, features = ["default"] } +sp-runtime = { workspace = true, features = ["default"] } +sp-session = { workspace = true, features = ["default"] } +sp-storage = { workspace = true } +sp-timestamp = { workspace = true } +sp-transaction-pool = { workspace = true, features = ["default"] } +sp-trie = { workspace = true } +substrate-frame-rpc-system = { workspace = true } # Try-Runtime -try-runtime-cli = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } +try-runtime-cli = { workspace = true, optional = true } # Benchmark -frame-benchmarking = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -frame-benchmarking-cli = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } +frame-benchmarking = { workspace = true, features = ["default"], optional = true } +frame-benchmarking-cli = { workspace = true } # Cumulus -cumulus-client-cli = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-client-collator = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-client-consensus-common = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-client-consensus-relay-chain = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-client-network = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-client-service = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-core = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-parachain-inherent = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-relay-chain-inprocess-interface = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-relay-chain-interface = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-relay-chain-minimal-node = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-relay-chain-rpc-interface = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/cumulus", optional = true } +cumulus-client-cli = { workspace = true, optional = true } +cumulus-client-collator = { workspace = true, optional = true } +cumulus-client-consensus-common = { workspace = true, optional = true } +cumulus-client-consensus-relay-chain = { workspace = true, optional = true } +cumulus-client-network = { workspace = true, optional = true } +cumulus-client-service = { workspace = true, optional = true } +cumulus-primitives-core = { workspace = true, features = ["default"], optional = true } +cumulus-primitives-parachain-inherent = { workspace = true, optional = true } +cumulus-relay-chain-inprocess-interface = { workspace = true, optional = true } +cumulus-relay-chain-interface = { workspace = true, optional = true } +cumulus-relay-chain-minimal-node = { workspace = true, optional = true } +cumulus-relay-chain-rpc-interface = { workspace = true, optional = true } # Parachain -moonbeam-vrf = { git = "https://github.com/zeitgeistpm/external", optional = true } -nimbus-consensus = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -nimbus-primitives = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-inherent = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-parachain-staking = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -parity-scale-codec = { optional = true, version = "3.0.0" } -sc-chain-spec = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sc-network = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sc-network-common = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sc-tracing = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -serde = { features = ["derive"], optional = true, version = "1.0.144" } -session-keys-primitives = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -sp-keystore = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -substrate-prometheus-endpoint = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } +moonbeam-vrf = { workspace = true, optional = true } +nimbus-consensus = { workspace = true, optional = true } +nimbus-primitives = { workspace = true, features = ["default"], optional = true } +pallet-author-inherent = { workspace = true, features = ["default"], optional = true } +pallet-parachain-staking = { workspace = true, features = ["default"], optional = true } +parity-scale-codec = { workspace = true, features = ["default"], optional = true } +sc-chain-spec = { workspace = true, optional = true } +sc-network = { workspace = true, optional = true } +sc-network-common = { workspace = true, optional = true } +sc-tracing = { workspace = true, optional = true } +serde = { workspace = true, features = ["default"], optional = true } +session-keys-primitives = { workspace = true, features = ["default"], optional = true } +sp-keystore = { workspace = true, optional = true } +substrate-prometheus-endpoint = { workspace = true, optional = true } # Polkadot -polkadot-cli = { branch = "release-v0.9.32", git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-parachain = { branch = "release-v0.9.32", git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-primitives = { branch = "release-v0.9.32", git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-service = { branch = "release-v0.9.32", git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-test-service = { branch = "release-v0.9.32", git = "https://github.com/paritytech/polkadot", optional = true } +polkadot-cli = { workspace = true, optional = true } +polkadot-parachain = { workspace = true, features = ["default"], optional = true } +polkadot-primitives = { workspace = true, features = ["default"], optional = true } +polkadot-service = { workspace = true, optional = true } +polkadot-test-service = { workspace = true, optional = true } # Standalone -sc-consensus-aura = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sc-finality-grandpa = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-consensus-aura = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-finality-grandpa = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } +sc-consensus-aura = { workspace = true } +sc-finality-grandpa = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-finality-grandpa = { workspace = true, features = ["default"] } # Utility -cfg-if = { version = "1.0.0" } -clap = { version = "4.0.9", features = ["derive"] } -hex-literal = { version = "0.3.4" } -jsonrpsee = { version = "0.15.1", features = ["server"] } -log = { optional = true, version = "0.4.18" } -url = "2.2.2" +cfg-if = { workspace = true } +clap = { workspace = true, features = ["derive"] } +hex-literal = { workspace = true } +jsonrpsee = { workspace = true, features = ["server"] } +log = { workspace = true, optional = true } +url = { workspace = true } # Zeitgeist -battery-station-runtime = { path = "../runtime/battery-station", optional = true } -zeitgeist-primitives = { path = "../primitives" } -zeitgeist-runtime = { path = "../runtime/zeitgeist", optional = true } -zrml-liquidity-mining = { path = "../zrml/liquidity-mining" } -zrml-swaps-rpc = { path = "../zrml/swaps/rpc" } +battery-station-runtime = { workspace = true, optional = true } +zeitgeist-primitives = { workspace = true, features = ["default"] } +zeitgeist-runtime = { workspace = true, optional = true } +zrml-liquidity-mining = { workspace = true, features = ["default"] } +zrml-swaps-rpc = { workspace = true } [features] default = ["with-battery-station-runtime", "with-zeitgeist-runtime"] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index d78759422..027e5692d 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,18 +1,18 @@ [dependencies] -arbitrary = { default-features = false, optional = true, version = "1.0" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-currencies = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-tokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -serde = { default-features = false, features = ["derive"], optional = true, version = "1.0.144" } -sp-core = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } +arbitrary = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +orml-currencies = { workspace = true } +orml-tokens = { workspace = true } +orml-traits = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } [dev-dependencies] -test-case = "2.0.2" +test-case = { workspace = true } [features] default = ["std"] diff --git a/runtime/battery-station/Cargo.toml b/runtime/battery-station/Cargo.toml index 0cca18d2a..5b2f05bb2 100644 --- a/runtime/battery-station/Cargo.toml +++ b/runtime/battery-station/Cargo.toml @@ -1,129 +1,129 @@ [build-dependencies] -substrate-wasm-builder = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } +substrate-wasm-builder = { workspace = true } [dependencies] -frame-executive = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system-rpc-runtime-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-currencies = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-tokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -pallet-asset-tx-payment = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-balances = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-bounties = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-collective = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-contracts = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-contracts-primitives = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-democracy = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-identity = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-membership = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-multisig = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-preimage = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-proxy = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-randomness-collective-flip = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-scheduler = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-sudo = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment-rpc-runtime-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-treasury = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-utility = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-vesting = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -polkadot-primitives = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-block-builder = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-core = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-inherents = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-offchain = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-session = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-std = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-transaction-pool = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-version = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -substrate-fixed = { default-features = false, features = ["serde"], git = "https://github.com/encointer/substrate-fixed" } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +orml-benchmarking = { workspace = true, optional = true } +orml-currencies = { workspace = true } +orml-tokens = { workspace = true } +orml-traits = { workspace = true } +pallet-asset-tx-payment = { workspace = true } +pallet-balances = { workspace = true } +pallet-bounties = { workspace = true } +pallet-collective = { workspace = true } +pallet-contracts = { workspace = true } +pallet-contracts-primitives = { workspace = true } +pallet-democracy = { workspace = true } +pallet-identity = { workspace = true } +pallet-membership = { workspace = true } +pallet-multisig = { workspace = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-randomness-collective-flip = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-sudo = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-vesting = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +polkadot-primitives = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-core = { workspace = true } +sp-inherents = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-transaction-pool = { workspace = true } +sp-version = { workspace = true } +substrate-fixed = { workspace = true, features = ["serde"] } # Try-Runtime -frame-try-runtime = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } +frame-try-runtime = { workspace = true, optional = true } # Benchmark -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate", optional = true } -frame-system-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate", optional = true } +frame-benchmarking = { workspace = true, optional = true } +frame-system-benchmarking = { workspace = true, optional = true } # Cumulus -cumulus-pallet-dmp-queue = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-pallet-parachain-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-pallet-xcm = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-pallet-xcmp-queue = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-core = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-timestamp = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-utility = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -parachain-info = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } +cumulus-pallet-dmp-queue = { workspace = true, optional = true } +cumulus-pallet-parachain-system = { workspace = true, optional = true } +cumulus-pallet-xcm = { workspace = true, optional = true } +cumulus-pallet-xcmp-queue = { workspace = true, optional = true } +cumulus-primitives-core = { workspace = true, optional = true } +cumulus-primitives-timestamp = { workspace = true, optional = true } +cumulus-primitives-utility = { workspace = true, optional = true } +parachain-info = { workspace = true, optional = true } # Parachain -nimbus-primitives = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-inherent = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-mapping = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-slot-filter = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-parachain-staking = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -session-keys-primitives = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } +nimbus-primitives = { workspace = true, optional = true } +pallet-author-inherent = { workspace = true, optional = true } +pallet-author-mapping = { workspace = true, optional = true } +pallet-author-slot-filter = { workspace = true, optional = true } +pallet-parachain-staking = { workspace = true, optional = true } +session-keys-primitives = { workspace = true, optional = true } # Polkadot -polkadot-parachain = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } +polkadot-parachain = { workspace = true, optional = true } # Standalone -pallet-aura = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-grandpa = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-consensus-aura = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-finality-grandpa = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } +pallet-aura = { workspace = true } +pallet-grandpa = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-finality-grandpa = { workspace = true } # Utility -cfg-if = { version = "1.0.0" } -hex-literal = { default-features = false, optional = true, version = "0.3.4" } -log = { version = "0.4.18", default-features = false, optional = true } +cfg-if = { workspace = true } +hex-literal = { workspace = true, optional = true } +log = { workspace = true, optional = true } # XCM -orml-asset-registry = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-unknown-tokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-xcm-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-xtokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -pallet-xcm = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-runtime-parachains = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -rococo-runtime = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -xcm = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -xcm-builder = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -xcm-executor = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } +orml-asset-registry = { workspace = true, optional = true } +orml-unknown-tokens = { workspace = true, optional = true } +orml-xcm-support = { workspace = true, optional = true } +orml-xtokens = { workspace = true, optional = true } +pallet-xcm = { workspace = true, optional = true } +polkadot-runtime-parachains = { workspace = true, optional = true } +rococo-runtime = { workspace = true, optional = true } +xcm = { workspace = true, optional = true } +xcm-builder = { workspace = true, optional = true } +xcm-executor = { workspace = true, optional = true } # Zeitgeist -common-runtime = { default-features = false, path = "../common" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-authorized = { default-features = false, path = "../../zrml/authorized" } -zrml-court = { default-features = false, path = "../../zrml/court" } -zrml-global-disputes = { default-features = false, path = "../../zrml/global-disputes", optional = true } -zrml-liquidity-mining = { default-features = false, path = "../../zrml/liquidity-mining" } -zrml-market-commons = { default-features = false, path = "../../zrml/market-commons" } -zrml-prediction-markets = { default-features = false, path = "../../zrml/prediction-markets" } -zrml-rikiddo = { default-features = false, path = "../../zrml/rikiddo" } -zrml-simple-disputes = { default-features = false, path = "../../zrml/simple-disputes" } -zrml-styx = { default-features = false, path = "../../zrml/styx" } -zrml-swaps = { default-features = false, path = "../../zrml/swaps" } -zrml-swaps-runtime-api = { default-features = false, path = "../../zrml/swaps/runtime-api" } +common-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-authorized = { workspace = true } +zrml-court = { workspace = true } +zrml-global-disputes = { workspace = true, optional = true } +zrml-liquidity-mining = { workspace = true } +zrml-market-commons = { workspace = true } +zrml-prediction-markets = { workspace = true } +zrml-rikiddo = { workspace = true } +zrml-simple-disputes = { workspace = true } +zrml-styx = { workspace = true } +zrml-swaps = { workspace = true } +zrml-swaps-runtime-api = { workspace = true } [dev-dependencies] -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -test-case = "2.0.2" -xcm-emulator = { rev = "158a6bd2768c679563efa891aa17329635b2764b", git = "https://github.com/shaunxw/xcm-simulator" } +sp-io = { workspace = true, features = ["default"] } +test-case = { workspace = true } +xcm-emulator = { workspace = true } [features] default = ["std"] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index ab6b5d086..8635720e8 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,37 +1,37 @@ [dependencies] # Pallets -cumulus-pallet-xcmp-queue = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-currencies = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-tokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -pallet-asset-tx-payment = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-author-inherent = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-mapping = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-slot-filter = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-balances = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-bounties = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-collective = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-contracts = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-contracts-primitives = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-democracy = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-identity = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-membership = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-multisig = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-parachain-staking = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-preimage = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-proxy = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-randomness-collective-flip = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-scheduler = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment-rpc-runtime-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-treasury = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-utility = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-vesting = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } +cumulus-pallet-xcmp-queue = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +orml-currencies = { workspace = true } +orml-tokens = { workspace = true } +pallet-asset-tx-payment = { workspace = true } +pallet-author-inherent = { workspace = true, optional = true } +pallet-author-mapping = { workspace = true, optional = true } +pallet-author-slot-filter = { workspace = true, optional = true } +pallet-balances = { workspace = true } +pallet-bounties = { workspace = true } +pallet-collective = { workspace = true } +pallet-contracts = { workspace = true } +pallet-contracts-primitives = { workspace = true } +pallet-democracy = { workspace = true } +pallet-identity = { workspace = true } +pallet-membership = { workspace = true } +pallet-multisig = { workspace = true } +pallet-parachain-staking = { workspace = true, optional = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-randomness-collective-flip = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-vesting = { workspace = true } # Utility -cfg-if = { version = "1.0.0" } +cfg-if = { workspace = true } [features] default = ["std"] diff --git a/runtime/zeitgeist/Cargo.toml b/runtime/zeitgeist/Cargo.toml index 957707731..96e4660ca 100644 --- a/runtime/zeitgeist/Cargo.toml +++ b/runtime/zeitgeist/Cargo.toml @@ -1,127 +1,127 @@ [build-dependencies] -substrate-wasm-builder = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } +substrate-wasm-builder = { workspace = true } [dependencies] -frame-executive = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system-rpc-runtime-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-currencies = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-tokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -pallet-asset-tx-payment = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-balances = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-bounties = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-collective = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-contracts = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-contracts-primitives = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-democracy = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-identity = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-membership = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-multisig = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-preimage = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-proxy = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-randomness-collective-flip = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-scheduler = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-transaction-payment-rpc-runtime-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-treasury = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-utility = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-vesting = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -polkadot-primitives = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-block-builder = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-core = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-inherents = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-offchain = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-session = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-std = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-transaction-pool = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-version = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -substrate-fixed = { default-features = false, features = ["serde"], git = "https://github.com/encointer/substrate-fixed" } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-rpc-runtime-api = { workspace = true } +orml-benchmarking = { workspace = true, optional = true } +orml-currencies = { workspace = true } +orml-tokens = { workspace = true } +orml-traits = { workspace = true } +pallet-asset-tx-payment = { workspace = true } +pallet-balances = { workspace = true } +pallet-bounties = { workspace = true } +pallet-collective = { workspace = true } +pallet-contracts = { workspace = true } +pallet-contracts-primitives = { workspace = true } +pallet-democracy = { workspace = true } +pallet-identity = { workspace = true } +pallet-membership = { workspace = true } +pallet-multisig = { workspace = true } +pallet-preimage = { workspace = true } +pallet-proxy = { workspace = true } +pallet-randomness-collective-flip = { workspace = true } +pallet-scheduler = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-transaction-payment = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true } +pallet-treasury = { workspace = true } +pallet-utility = { workspace = true } +pallet-vesting = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +polkadot-primitives = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-core = { workspace = true } +sp-inherents = { workspace = true } +sp-offchain = { workspace = true } +sp-runtime = { workspace = true } +sp-session = { workspace = true } +sp-std = { workspace = true } +sp-transaction-pool = { workspace = true } +sp-version = { workspace = true } +substrate-fixed = { workspace = true, features = ["serde"] } # Try-Runtime -frame-try-runtime = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } +frame-try-runtime = { workspace = true, optional = true } # Benchmark -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate", optional = true } -frame-system-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate", optional = true } +frame-benchmarking = { workspace = true, optional = true } +frame-system-benchmarking = { workspace = true, optional = true } # Cumulus -cumulus-pallet-dmp-queue = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-pallet-parachain-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-pallet-xcm = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-pallet-xcmp-queue = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-core = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-timestamp = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -cumulus-primitives-utility = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } -parachain-info = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/cumulus", optional = true } +cumulus-pallet-dmp-queue = { workspace = true, optional = true } +cumulus-pallet-parachain-system = { workspace = true, optional = true } +cumulus-pallet-xcm = { workspace = true, optional = true } +cumulus-pallet-xcmp-queue = { workspace = true, optional = true } +cumulus-primitives-core = { workspace = true, optional = true } +cumulus-primitives-timestamp = { workspace = true, optional = true } +cumulus-primitives-utility = { workspace = true, optional = true } +parachain-info = { workspace = true, optional = true } # Parachain -nimbus-primitives = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-inherent = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-mapping = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-author-slot-filter = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -pallet-parachain-staking = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } -session-keys-primitives = { default-features = false, git = "https://github.com/zeitgeistpm/external", optional = true } +nimbus-primitives = { workspace = true, optional = true } +pallet-author-inherent = { workspace = true, optional = true } +pallet-author-mapping = { workspace = true, optional = true } +pallet-author-slot-filter = { workspace = true, optional = true } +pallet-parachain-staking = { workspace = true, optional = true } +session-keys-primitives = { workspace = true, optional = true } # Polkadot -polkadot-parachain = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } +polkadot-parachain = { workspace = true, optional = true } # Standalone -pallet-aura = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -pallet-grandpa = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-consensus-aura = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-finality-grandpa = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } +pallet-aura = { workspace = true } +pallet-grandpa = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-finality-grandpa = { workspace = true } # Utility -cfg-if = { version = "1.0.0" } -hex-literal = { default-features = false, optional = true, version = "0.3.4" } -log = { version = "0.4.18", default-features = false, optional = true } +cfg-if = { workspace = true } +hex-literal = { workspace = true, optional = true } +log = { workspace = true, optional = true } # XCM -orml-asset-registry = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-unknown-tokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-xcm-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-xtokens = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -pallet-xcm = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-runtime = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -polkadot-runtime-parachains = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -xcm = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -xcm-builder = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } -xcm-executor = { branch = "release-v0.9.32", default-features = false, git = "https://github.com/paritytech/polkadot", optional = true } +orml-asset-registry = { workspace = true, optional = true } +orml-unknown-tokens = { workspace = true, optional = true } +orml-xcm-support = { workspace = true, optional = true } +orml-xtokens = { workspace = true, optional = true } +pallet-xcm = { workspace = true, optional = true } +polkadot-runtime = { workspace = true, optional = true } +polkadot-runtime-parachains = { workspace = true, optional = true } +xcm = { workspace = true, optional = true } +xcm-builder = { workspace = true, optional = true } +xcm-executor = { workspace = true, optional = true } # Zeitgeist -common-runtime = { default-features = false, path = "../common" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-authorized = { default-features = false, path = "../../zrml/authorized" } -zrml-court = { default-features = false, path = "../../zrml/court" } -zrml-global-disputes = { default-features = false, path = "../../zrml/global-disputes", optional = true } -zrml-liquidity-mining = { default-features = false, path = "../../zrml/liquidity-mining" } -zrml-market-commons = { default-features = false, path = "../../zrml/market-commons" } -zrml-prediction-markets = { default-features = false, path = "../../zrml/prediction-markets" } -zrml-rikiddo = { default-features = false, path = "../../zrml/rikiddo" } -zrml-simple-disputes = { default-features = false, path = "../../zrml/simple-disputes" } -zrml-styx = { default-features = false, path = "../../zrml/styx" } -zrml-swaps = { default-features = false, path = "../../zrml/swaps" } -zrml-swaps-runtime-api = { default-features = false, path = "../../zrml/swaps/runtime-api" } +common-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-authorized = { workspace = true } +zrml-court = { workspace = true } +zrml-global-disputes = { workspace = true, optional = true } +zrml-liquidity-mining = { workspace = true } +zrml-market-commons = { workspace = true } +zrml-prediction-markets = { workspace = true } +zrml-rikiddo = { workspace = true } +zrml-simple-disputes = { workspace = true } +zrml-styx = { workspace = true } +zrml-swaps = { workspace = true } +zrml-swaps-runtime-api = { workspace = true } [dev-dependencies] -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -test-case = "2.0.2" -xcm-emulator = { rev = "158a6bd2768c679563efa891aa17329635b2764b", git = "https://github.com/shaunxw/xcm-simulator" } +sp-io = { workspace = true, features = ["default"] } +test-case = { workspace = true } +xcm-emulator = { workspace = true } [features] default = ["std"] diff --git a/zrml/authorized/Cargo.toml b/zrml/authorized/Cargo.toml index 3cab15bed..24833b417 100644 --- a/zrml/authorized/Cargo.toml +++ b/zrml/authorized/Cargo.toml @@ -1,18 +1,18 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-market-commons = { default-features = false, path = "../market-commons" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-market-commons = { workspace = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] diff --git a/zrml/court/Cargo.toml b/zrml/court/Cargo.toml index 9254e1182..ad5fed25c 100644 --- a/zrml/court/Cargo.toml +++ b/zrml/court/Cargo.toml @@ -1,21 +1,21 @@ [dependencies] -arrayvec = { default-features = false, version = "0.7" } -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -rand = { default-features = false, features = ["alloc", "std_rng"], version = "0.8" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-market-commons = { default-features = false, path = "../market-commons" } +arrayvec = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +rand = { workspace = true, features = ["alloc", "std_rng"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-market-commons = { workspace = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-randomness-collective-flip = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-randomness-collective-flip = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] diff --git a/zrml/global-disputes/Cargo.toml b/zrml/global-disputes/Cargo.toml index 1b34b5c94..967a6869c 100644 --- a/zrml/global-disputes/Cargo.toml +++ b/zrml/global-disputes/Cargo.toml @@ -1,25 +1,25 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-std = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-market-commons = { default-features = false, path = "../market-commons" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-market-commons = { workspace = true } # Benchmark -num-traits = { version = "0.2.15", default-features = false, optional = true } +num-traits = { workspace = true, optional = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } -test-case = "2.0.2" +test-case = { workspace = true } [features] default = ["std"] diff --git a/zrml/liquidity-mining/Cargo.toml b/zrml/liquidity-mining/Cargo.toml index 2475bb1f0..2f3f4c9e0 100644 --- a/zrml/liquidity-mining/Cargo.toml +++ b/zrml/liquidity-mining/Cargo.toml @@ -1,19 +1,19 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate", optional = true } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -serde = { default-features = false, optional = true, version = "1.0.144" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-market-commons = { default-features = false, path = "../market-commons" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, optional = true } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-market-commons = { workspace = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] diff --git a/zrml/market-commons/Cargo.toml b/zrml/market-commons/Cargo.toml index 294dbca8d..e00d0e138 100644 --- a/zrml/market-commons/Cargo.toml +++ b/zrml/market-commons/Cargo.toml @@ -1,17 +1,17 @@ [dependencies] -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-arithmetic = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-arithmetic = { workspace = true } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] diff --git a/zrml/orderbook-v1/Cargo.toml b/zrml/orderbook-v1/Cargo.toml index 71dd5d00f..145b8e87c 100644 --- a/zrml/orderbook-v1/Cargo.toml +++ b/zrml/orderbook-v1/Cargo.toml @@ -1,28 +1,28 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +orml-traits = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } # Mock -orml-tokens = { branch = "polkadot-v0.9.32", git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } +orml-tokens = { workspace = true, optional = true } +pallet-balances = { workspace = true, optional = true } +sp-io = { workspace = true, optional = true } [dev-dependencies] -zrml-orderbook-v1 = { features = ["mock"], path = "." } +zrml-orderbook-v1 = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] mock = [ - "orml-tokens", - "pallet-balances", - "sp-io", + "orml-tokens/default", + "pallet-balances/default", + "sp-io/default", "zeitgeist-primitives/mock", ] runtime-benchmarks = [ diff --git a/zrml/orderbook-v1/fuzz/Cargo.toml b/zrml/orderbook-v1/fuzz/Cargo.toml index fcde37c37..c5f651a47 100644 --- a/zrml/orderbook-v1/fuzz/Cargo.toml +++ b/zrml/orderbook-v1/fuzz/Cargo.toml @@ -5,11 +5,11 @@ path = "orderbook_v1_full_workflow.rs" test = false [dependencies] -arbitrary = { features = ["derive"], version = "1.0" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -libfuzzer-sys = "0.4" -zeitgeist-primitives = { path = "../../../primitives" } -zrml-orderbook-v1 = { features = ["mock"], path = ".." } +arbitrary = { workspace = true, features = ["derive"] } +frame-system = { workspace = true, features = ["default"] } +libfuzzer-sys = { workspace = true } +zeitgeist-primitives = { workspace = true, features = ["default"] } +zrml-orderbook-v1 = { workspace = true, features = ["default", "mock"] } [package] authors = ["Automatically generated"] diff --git a/zrml/prediction-markets/Cargo.toml b/zrml/prediction-markets/Cargo.toml index 7207b6fba..1d462cc3f 100644 --- a/zrml/prediction-markets/Cargo.toml +++ b/zrml/prediction-markets/Cargo.toml @@ -1,63 +1,63 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -serde = { version = "1.0.144", default-features = false, optional = true } -sp-arithmetic = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-authorized = { default-features = false, path = "../authorized" } -zrml-court = { default-features = false, path = "../court" } -zrml-global-disputes = { default-features = false, path = "../global-disputes", optional = true } -zrml-liquidity-mining = { default-features = false, path = "../liquidity-mining" } -zrml-market-commons = { default-features = false, path = "../market-commons" } -zrml-simple-disputes = { default-features = false, path = "../simple-disputes" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +orml-traits = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, optional = true } +sp-arithmetic = { workspace = true } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-authorized = { workspace = true } +zrml-court = { workspace = true } +zrml-global-disputes = { workspace = true, optional = true } +zrml-liquidity-mining = { workspace = true } +zrml-market-commons = { workspace = true } +zrml-simple-disputes = { workspace = true } # Mock -orml-asset-registry = { branch = "polkadot-v0.9.32", git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-currencies = { branch = "polkadot-v0.9.32", git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-tokens = { branch = "polkadot-v0.9.32", git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -pallet-randomness-collective-flip = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -pallet-timestamp = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate", optional = true } -pallet-treasury = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sp-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -substrate-fixed = { optional = true, git = "https://github.com/encointer/substrate-fixed" } -xcm = { branch = "release-v0.9.32", git = "https://github.com/paritytech/polkadot", optional = true, default-features = false } -zrml-prediction-markets-runtime-api = { features = ["std"], optional = true, path = "./runtime-api" } -zrml-rikiddo = { optional = true, path = "../rikiddo" } -zrml-swaps = { optional = true, path = "../swaps" } +orml-asset-registry = { workspace = true, optional = true } +orml-currencies = { workspace = true, optional = true } +orml-tokens = { workspace = true, optional = true } +pallet-balances = { workspace = true, optional = true } +pallet-randomness-collective-flip = { workspace = true, optional = true } +pallet-timestamp = { workspace = true, optional = true } +pallet-treasury = { workspace = true, optional = true } +sp-api = { workspace = true, optional = true } +sp-io = { workspace = true, optional = true } +substrate-fixed = { workspace = true, optional = true } +xcm = { workspace = true, optional = true } +zrml-prediction-markets-runtime-api = { workspace = true, optional = true } +zrml-rikiddo = { workspace = true, optional = true } +zrml-swaps = { workspace = true, optional = true } [dev-dependencies] -more-asserts = "0.2" -test-case = "2.0.2" -zrml-prediction-markets = { features = ["mock"], path = "." } +more-asserts = { workspace = true } +test-case = { workspace = true } +zrml-prediction-markets = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] mock = [ - "orml-currencies", - "orml-tokens", + "orml-currencies/default", + "orml-tokens/default", "pallet-balances", - "pallet-randomness-collective-flip", - "pallet-timestamp/std", - "pallet-treasury", + "pallet-randomness-collective-flip/default", + "pallet-timestamp/default", + "pallet-treasury/default", "serde", - "sp-api", - "sp-io", + "sp-api/default", + "sp-io/default", "substrate-fixed", "zeitgeist-primitives/mock", - "zrml-prediction-markets-runtime-api", - "zrml-rikiddo", - "zrml-swaps", - "xcm", - "orml-asset-registry", + "zrml-prediction-markets-runtime-api/default", + "zrml-rikiddo/default", + "zrml-swaps/default", + "xcm/default", + "orml-asset-registry/default", ] parachain = [] runtime-benchmarks = [ diff --git a/zrml/prediction-markets/fuzz/Cargo.toml b/zrml/prediction-markets/fuzz/Cargo.toml index e35beb6a4..8e256abd3 100644 --- a/zrml/prediction-markets/fuzz/Cargo.toml +++ b/zrml/prediction-markets/fuzz/Cargo.toml @@ -5,12 +5,12 @@ path = "pm_full_workflow.rs" test = false [dependencies] -arbitrary = { features = ["derive"], version = "1.0" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -libfuzzer-sys = "0.4" -zeitgeist-primitives = { features = ["arbitrary", "mock"], default-features = false, path = "../../../primitives" } -zrml-prediction-markets = { features = ["mock"], path = ".." } -zrml-simple-disputes = { path = "../../simple-disputes" } +arbitrary = { workspace = true, features = ["derive"] } +frame-support = { workspace = true, features = ["default"] } +libfuzzer-sys = { workspace = true } +zeitgeist-primitives = { workspace = true, features = ["arbitrary", "mock", "default"] } +zrml-prediction-markets = { workspace = true, features = ["mock", "default"] } +zrml-simple-disputes = { workspace = true, features = ["default"] } [package] authors = ["Automatically generated"] diff --git a/zrml/prediction-markets/runtime-api/Cargo.toml b/zrml/prediction-markets/runtime-api/Cargo.toml index a455fc679..2b22a6434 100644 --- a/zrml/prediction-markets/runtime-api/Cargo.toml +++ b/zrml/prediction-markets/runtime-api/Cargo.toml @@ -1,7 +1,7 @@ [dependencies] -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -sp-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../../primitives" } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +sp-api = { workspace = true } +zeitgeist-primitives = { workspace = true } [features] default = ["std"] diff --git a/zrml/rikiddo/Cargo.toml b/zrml/rikiddo/Cargo.toml index 2937acd74..8d6d57c98 100644 --- a/zrml/rikiddo/Cargo.toml +++ b/zrml/rikiddo/Cargo.toml @@ -1,28 +1,28 @@ [dependencies] -arbitrary = { version = "1.0.1", features = ["derive"], optional = true } -cfg-if = { version = "1.0.0", default-features = false } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -hashbrown = { default-features = true, version = "0.11" } -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-core = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -substrate-fixed = { default-features = false, features = ["serde"], git = "https://github.com/encointer/substrate-fixed" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } +arbitrary = { workspace = true, features = ["derive"], optional = true } +cfg-if = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +hashbrown = { workspace = true } +pallet-balances = { workspace = true, optional = true } +pallet-timestamp = { workspace = true, optional = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-core = { workspace = true } +sp-io = { workspace = true, optional = true } +sp-runtime = { workspace = true } +substrate-fixed = { workspace = true, features = ["serde"] } +zeitgeist-primitives = { workspace = true } [dev-dependencies] -zrml-rikiddo = { features = ["mock"], path = "." } +zrml-rikiddo = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] mock = [ - "pallet-balances", - "pallet-timestamp", - "sp-io", + "pallet-balances/default", + "pallet-timestamp/default", + "sp-io/default", "zeitgeist-primitives/mock", ] std = [ diff --git a/zrml/rikiddo/fuzz/Cargo.toml b/zrml/rikiddo/fuzz/Cargo.toml index 5c28dfedf..0f9f597bc 100644 --- a/zrml/rikiddo/fuzz/Cargo.toml +++ b/zrml/rikiddo/fuzz/Cargo.toml @@ -71,12 +71,12 @@ path = "rikiddo_with_initial_fee.rs" test = false [dependencies] -arbitrary = { features = ["derive"], version = "1.0" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -libfuzzer-sys = "0.4" -substrate-fixed = { default-features = false, git = "https://github.com/encointer/substrate-fixed" } -zrml-rikiddo = { features = ["arbitrary", "mock"], path = ".." } +arbitrary = { workspace = true, features = ["derive"] } +frame-support = { workspace = true, features = ["default"] } +frame-system = { workspace = true, features = ["default"] } +libfuzzer-sys = { workspace = true } +substrate-fixed = { workspace = true } +zrml-rikiddo = { workspace = true, features = ["arbitrary", "mock", "default"] } [package] authors = ["Automatically generated"] diff --git a/zrml/simple-disputes/Cargo.toml b/zrml/simple-disputes/Cargo.toml index 32177eac2..e4615175f 100644 --- a/zrml/simple-disputes/Cargo.toml +++ b/zrml/simple-disputes/Cargo.toml @@ -1,18 +1,18 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-market-commons = { default-features = false, path = "../market-commons" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-market-commons = { workspace = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] diff --git a/zrml/styx/Cargo.toml b/zrml/styx/Cargo.toml index 95584ad0f..fdd8911f6 100644 --- a/zrml/styx/Cargo.toml +++ b/zrml/styx/Cargo.toml @@ -1,17 +1,17 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } [dev-dependencies] -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, features = ["mock"], path = "../../primitives" } +pallet-balances = { workspace = true, features = ["default"] } +pallet-timestamp = { workspace = true, features = ["default"] } +sp-io = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } [features] default = ["std"] diff --git a/zrml/swaps/Cargo.toml b/zrml/swaps/Cargo.toml index 9336dce0c..e7b42746b 100644 --- a/zrml/swaps/Cargo.toml +++ b/zrml/swaps/Cargo.toml @@ -1,43 +1,43 @@ [dependencies] -frame-benchmarking = { branch = "polkadot-v0.9.32", default-features = false, optional = true, git = "https://github.com/paritytech/substrate" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -frame-system = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -substrate-fixed = { default-features = false, git = "https://github.com/encointer/substrate-fixed" } -zeitgeist-primitives = { default-features = false, path = "../../primitives" } -zrml-liquidity-mining = { default-features = false, path = "../liquidity-mining" } -zrml-market-commons = { default-features = false, path = "../market-commons" } -zrml-rikiddo = { default-features = false, path = "../rikiddo" } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +orml-traits = { workspace = true } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } +substrate-fixed = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-liquidity-mining = { workspace = true } +zrml-market-commons = { workspace = true } +zrml-rikiddo = { workspace = true } # Mock -orml-currencies = { branch = "polkadot-v0.9.32", git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -orml-tokens = { branch = "polkadot-v0.9.32", git = "https://github.com/open-web3-stack/open-runtime-module-library", optional = true } -pallet-balances = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -pallet-timestamp = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sp-api = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -sp-io = { branch = "polkadot-v0.9.32", git = "https://github.com/paritytech/substrate", optional = true } -zrml-swaps-runtime-api = { optional = true, path = "./runtime-api" } +orml-currencies = { workspace = true, optional = true } +orml-tokens = { workspace = true, optional = true } +pallet-balances = { workspace = true, optional = true } +pallet-timestamp = { workspace = true, optional = true } +sp-api = { workspace = true, optional = true } +sp-io = { workspace = true, optional = true } +zrml-swaps-runtime-api = { workspace = true, optional = true } [dev-dependencies] -more-asserts = "0.2" -test-case = "2.0.2" -zrml-swaps = { features = ["mock"], path = "." } +more-asserts = { workspace = true } +test-case = { workspace = true } +zrml-swaps = { workspace = true, features = ["mock"] } [features] default = ["std"] mock = [ - "orml-currencies", - "orml-tokens", - "pallet-balances", - "pallet-timestamp", - "sp-api", - "sp-io", + "orml-currencies/default", + "orml-tokens/default", + "pallet-balances/default", + "pallet-timestamp/default", + "sp-api/default", + "sp-io/default", "zeitgeist-primitives/mock", - "zrml-swaps-runtime-api", + "zrml-swaps-runtime-api/default", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/zrml/swaps/fuzz/Cargo.toml b/zrml/swaps/fuzz/Cargo.toml index 900ff87a3..9490975ad 100644 --- a/zrml/swaps/fuzz/Cargo.toml +++ b/zrml/swaps/fuzz/Cargo.toml @@ -53,14 +53,14 @@ path = "pool_exit.rs" test = false [dependencies] -arbitrary = { features = ["derive"], version = "1.0" } -frame-support = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -libfuzzer-sys = "0.4" -orml-traits = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/open-web3-stack/open-runtime-module-library" } -rand = "0.8.4" -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { features = ["mock"], path = "../../../primitives" } -zrml-swaps = { features = ["mock"], path = ".." } +arbitrary = { workspace = true, features = ["derive"] } +frame-support = { workspace = true, features = ["default"] } +libfuzzer-sys = { workspace = true } +orml-traits = { workspace = true, features = ["default"] } +rand = { workspace = true, features = ["default"] } +sp-runtime = { workspace = true, features = ["default"] } +zeitgeist-primitives = { workspace = true, features = ["mock", "default"] } +zrml-swaps = { workspace = true, features = ["mock", "default"] } [package] authors = ["Automatically generated"] diff --git a/zrml/swaps/rpc/Cargo.toml b/zrml/swaps/rpc/Cargo.toml index 2fbdc9bd4..63f8e8c17 100644 --- a/zrml/swaps/rpc/Cargo.toml +++ b/zrml/swaps/rpc/Cargo.toml @@ -1,11 +1,11 @@ [dependencies] -jsonrpsee = { version = "0.15.1", features = ["server", "macros"] } -parity-scale-codec = { default-features = false, version = "3.0.0" } -sp-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-blockchain = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../../primitives" } -zrml-swaps-runtime-api = { default-features = false, features = ["std"], path = "../runtime-api" } +jsonrpsee = { workspace = true, features = ["server", "macros"] } +parity-scale-codec = { workspace = true, features = ["default"] } +sp-api = { workspace = true } +sp-blockchain = { workspace = true } +sp-runtime = { workspace = true } +zeitgeist-primitives = { workspace = true } +zrml-swaps-runtime-api = { workspace = true, features = ["default"] } [package] authors = ["Zeitgeist PM "] diff --git a/zrml/swaps/runtime-api/Cargo.toml b/zrml/swaps/runtime-api/Cargo.toml index e5a163f7d..1c386a6b7 100644 --- a/zrml/swaps/runtime-api/Cargo.toml +++ b/zrml/swaps/runtime-api/Cargo.toml @@ -1,9 +1,9 @@ [dependencies] -parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" } -sp-api = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-runtime = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -sp-std = { branch = "polkadot-v0.9.32", default-features = false, git = "https://github.com/paritytech/substrate" } -zeitgeist-primitives = { default-features = false, path = "../../../primitives" } +parity-scale-codec = { workspace = true, features = ["derive", "max-encoded-len"] } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +zeitgeist-primitives = { workspace = true } [features] default = ["std"]